Commit graph

278 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
7ddf0d673d Reworked the time get/set functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4522 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 10:23:57 +00:00
Linus Nielsen Feltzing
18d5d30c1c Better POSIX compatibility for mkdir(), rmdir() and opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4521 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 10:15:39 +00:00
Linus Nielsen Feltzing
bc9397d1fa New function: rmdir(). Also some changes in the fat code, to track the parent directory in opendir(), to be able to delete directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 08:58:29 +00:00
Linus Nielsen Feltzing
ef7293f0bc New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Daniel Stenberg
e15ac75ea0 easy-to-use function types for typecasting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4118 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 06:48:10 +00:00
Daniel Stenberg
cf2c577d3d works with older glibc headers too now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4117 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 22:29:40 +00:00
Daniel Stenberg
ae960a9ece my take at fixing the simulator warnings by adding mode_t, size_t, ssize_t
and off_t


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 21:58:38 +00:00
Björn Stenberg
12e237a3f1 Cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4112 a1c6a512-1295-4272-9138-f99709370657
2003-12-06 23:22:05 +00:00
Björn Stenberg
a4baacd3ec Renamed flush() to fsync() to be more in line with POSIX/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 13:17:19 +00:00
Linus Nielsen Feltzing
e98bad5b38 Added the filesize() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 00:39:57 +00:00
Daniel Stenberg
5bbed107ab added fprintf() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3451 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:44:48 +00:00
Linus Nielsen Feltzing
44e51833ed Zagor added the flush() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:10:46 +00:00
Robert Hak
648ccc8f0f code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3350 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 21:39:13 +00:00
Daniel Stenberg
c97056d9ed include "standard" files with <> and not ""
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3266 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:38:21 +00:00
Felix Arends
e3403ecd9f this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Daniel Stenberg
cb2de174c1 more moves
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3221 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:13:23 +00:00
Daniel Stenberg
f9b4490066 Include File Cleanup And Move-Around Party 2003.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3213 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:41:57 +00:00
Daniel Stenberg
b6bf9b768d Public firmware header files should now be put in firmware/include/ directory
while firmware-private header files may remain in firmware/

First out: kernel.h is moved


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3209 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 11:57:04 +00:00
Björn Stenberg
529e166888 New vastly improved random algorithm: Mersenne Twister
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1377 a1c6a512-1295-4272-9138-f99709370657
2002-07-17 23:07:45 +00:00
Felix Arends
dce52c7901 added debug function header file.
it defines macros that can be used for debugging purposes. IS_FUNCTION checks whether a function pointer is inside the memory (not in ROM).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1159 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 16:00:06 +00:00
Daniel Stenberg
ac7b23f7ae removed lotsa protos and now it seems to build on sim too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1063 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 11:04:22 +00:00
Daniel Stenberg
c5d24c6702 fat.c includes time.h so we need this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1062 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 09:41:28 +00:00
Daniel Stenberg
b1fe81d8c7 abs() is abs and should work as abs when you want abs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1056 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 07:08:41 +00:00
Daniel Stenberg
945a5973b5 remove bad include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1053 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 06:45:40 +00:00
Daniel Stenberg
980359f924 fix ctype extern
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1046 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:51:51 +00:00
Daniel Stenberg
a898728c54 fixed to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1039 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:34:04 +00:00
Daniel Stenberg
f7b10a3747 added protos and fixed to make them work as proper newlib replacement
headers


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1034 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:19:18 +00:00
Daniel Stenberg
7da93d58fd This is my initial attempt to get rid of the newlib headers requirement,
for gcc built without newlib.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1017 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 15:49:32 +00:00