Commit graph

659 commits

Author SHA1 Message Date
Björn Stenberg
49b4488d8a Added 'type' testcase for open/read/close
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@514 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:13:47 +00:00
Björn Stenberg
073ce1aab3 Fixed read() for sub-sector requests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@513 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:10:30 +00:00
Björn Stenberg
7dd442b7c3 Fixed EOF handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@512 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:02:42 +00:00
Daniel Stenberg
143471447c added icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@511 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 11:05:28 +00:00
Stefan Meyer
81948a5994 add "icons.c" to the project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@510 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 10:49:48 +00:00
Linus Nielsen Feltzing
48d38d918f sleep() always sleeps at least one tick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@509 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:41:19 +00:00
Linus Nielsen Feltzing
b900a83046 Fixed lame timeout handling and wrong return codes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@508 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:27:44 +00:00
Robert Hak
3d05c6301a creation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@507 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:59 +00:00
Linus Nielsen Feltzing
3fd7fe9bb2 Fixed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@506 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:38 +00:00
Robert Hak
d22a3fb11b added externs from icon.[ch]
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@505 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:22:38 +00:00
Daniel Stenberg
af5c607832 uninitialised variable and better return code check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@504 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 07:10:16 +00:00
Stefan Meyer
bdc3ff0b08 add attribute and size to readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@503 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 07:06:16 +00:00
Linus Nielsen Feltzing
9566349db6 tick_start() now uses HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@502 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 23:01:42 +00:00
Linus Nielsen Feltzing
dc4977d98c Killed a few bugs. Tested in target. Works fairly good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@501 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:59:03 +00:00
Daniel Stenberg
4674e87017 my little icons in front of the files/dirs to show what kind of entry it
is, similar to how the Archos firmware works


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@500 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:56:01 +00:00
Björn Stenberg
802740cd88 Create correct shortnames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@499 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 18:56:32 +00:00
Björn Stenberg
4bd870360a Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 16:01:53 +00:00
Björn Stenberg
44b1a21f17 Removed stray bad char
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@497 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 13:13:17 +00:00
Björn Stenberg
3af5a61230 rolo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@496 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:48:43 +00:00
Björn Stenberg
96947e3fb8 Fixed makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@495 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:43:31 +00:00
Daniel Stenberg
7488832c7e NULL is not defined when this compiles on Linux, let's avoid that for now
but we should fix it later


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@494 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:34:45 +00:00
Daniel Stenberg
e3a12d34ea adjusted to build on my solaris box
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@493 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:25:30 +00:00
Daniel Stenberg
27dfc7c14e extended the wrapper layer, we can't depend on much in the "real" dirent
struct since it differs too much between unixes. d_name is there, the rest
we get with stat() calls to simulate the target dirent properly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@492 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:06:32 +00:00
Daniel Stenberg
8ae29ff4b2 is_dir() is removed, we now read the 'attribute' field from the dirent
struct. This is supposed to work with the X11 simulator as of now, and I
trust that the win32 one will grok this pretty soon too!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@491 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:46:37 +00:00
Daniel Stenberg
48521063ce added x11_readdir() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@490 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:44:36 +00:00
Daniel Stenberg
dd67452f89 if DIRFUNCTIONS_DEFINED is defined, then don't do the function prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@489 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:36:32 +00:00
Daniel Stenberg
159d448739 readdir() wrapper for proper dirent struct emulation in target code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@488 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:35:03 +00:00
Daniel Stenberg
276f62bc6e load rockbox-mode in emacs!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@487 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 07:43:57 +00:00
Daniel Stenberg
a037f0c226 strtok_r() freshly implemented by yours truly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@486 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 07:42:30 +00:00
Linus Nielsen Feltzing
5993f56007 Minor commenting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@485 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 22:16:31 +00:00
Linus Nielsen Feltzing
ba396f0ed2 Added some prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@484 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 19:26:56 +00:00
Linus Nielsen Feltzing
dba731f4b5 Serial DMA works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@483 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 19:25:40 +00:00
Dave Chapman
1e0323a1bd small bugfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@482 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 17:15:03 +00:00
Dave Chapman
04fdc1eb83 first implementation of directory scrolling - partly by Stefan Meyer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@481 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 17:02:57 +00:00
Dave Chapman
f830e3827f fixed title string in x11 window
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@480 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 16:10:22 +00:00
Dave Chapman
ca532502bd fixed buffer overflow in setid3v1title
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@479 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 15:21:43 +00:00
Björn Stenberg
6904d1ad5c Added note about strtok() not being thread safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@478 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 15:05:17 +00:00
Björn Stenberg
27a153e421 Added atributes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@477 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 14:19:10 +00:00
Björn Stenberg
40b1f4f0ec Fixed dir parsing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@476 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 14:16:20 +00:00
Daniel Stenberg
697485ef6a compile as SIMULATOR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@475 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:26:35 +00:00
Daniel Stenberg
c84439aec3 make debugf() do properly when SIMULATOR is defined, ignore the CRT_DISPLAY
and use the symbol we'll always have defined when running on host


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@474 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:25:44 +00:00
Daniel Stenberg
00f090ff1c no more Logf(), only use debugf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@473 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:24:34 +00:00
Daniel Stenberg
9dff75fcb9 compile debug.c from the firmware for logging errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@472 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:24:08 +00:00
Stefan Meyer
6c25733946 missing #define for VC++
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@471 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:12:07 +00:00
Stefan Meyer
ee77969109 - added Logf ( maybe it should be defined somewhere else)
- changed to wvsprintf because of the parameter list


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@470 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:08:10 +00:00
Stefan Meyer
8dd2faebfc add / del some files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@469 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:02:33 +00:00
Robert Hak
1bd3bc2ed5 Grammer corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@468 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 09:02:19 +00:00
Robert Hak
f7e476a622 Capitalization corrections on menu structure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@467 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 08:47:10 +00:00
Robert Hak
40fe97b477 Added menu.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@466 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 08:43:00 +00:00
Robert Hak
fe6c52cc76 Cleaned up for menu.c/h usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@465 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 08:42:20 +00:00