Daniel Stenberg
db4fb95585
make the ctype array unsigned so that bit 7 (octal 0200) can be set and
...
used properly without warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7120 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:06:38 +00:00
Jens Arnold
399c081f93
Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 18:32:57 +00:00
Jean-Philippe Bernardy
5426994398
Better definition & usage of the ATTRIBUTE_PRINTF macro
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6080 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 09:48:35 +00:00
Jean-Philippe Bernardy
5da99ed570
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6071 a1c6a512-1295-4272-9138-f99709370657
2005-02-26 21:18:05 +00:00
Daniel Stenberg
22b7701fe7
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
...
between uisimulator files and firmware/apps files are better done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Dave Chapman
8243127dc4
Add an labs() macro - needed by Tremor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6014 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 11:50:53 +00:00
Daniel Stenberg
593510549f
simulator prototype for exit()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6006 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 15:37:56 +00:00
Daniel Stenberg
bd8d576e1a
add a fprintf() for the sims too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6005 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 14:46:25 +00:00
Daniel Stenberg
56337006ff
localtime() proto for sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6004 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 14:41:42 +00:00
Daniel Stenberg
cdde25b597
Unified build system to use SOURCES for sim builds too, a single Makefile-look
...
made by configure and various related adjustments. This has not yet been tested
on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Dave Chapman
de3d58c4dc
Initial check-in - needed by various codec libraries
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5956 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 19:45:38 +00:00
Jean-Philippe Bernardy
effb196053
random longness fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5950 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 13:28:39 +00:00
Jean-Philippe Bernardy
fe06a23699
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5947 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 11:49:15 +00:00
Jean-Philippe Bernardy
947dceb205
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 21:54:31 +00:00
Jörg Hohensohn
dc7534bdb2
preparations for hotswapping MMC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5701 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 21:32:16 +00:00
Björn Stenberg
6660f8e910
Added ID3 searching
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5683 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 22:21:08 +00:00
Jean-Philippe Bernardy
cea551dd9c
int -> long where needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5643 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:29:35 +00:00
Jean-Philippe Bernardy
fc0372b209
Support for %l* plus __attribute__ printf support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5641 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:08:07 +00:00
Jörg Hohensohn
da84857631
prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
0ceaa5e365
Const policed pointer arguments to functions, part 2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Linus Nielsen Feltzing
dd0b12c9ac
Added RAND_MAX
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4921 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 10:38:16 +00:00
Jens Arnold
0258287e57
Made the char property lookup table constant
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4905 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:32:17 +00:00
Linus Nielsen Feltzing
0c458c043a
The plugin API now supports ctype macros like tolower() and friends
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:01:41 +00:00
Jörg Hohensohn
74eb64257a
infrastructure for sorting by date+time, now we "only" need to decide on the UI
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4778 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 16:34:29 +00:00
Linus Nielsen Feltzing
a6142ab7ab
Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:29:52 +00:00
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