Ryan C. Gordon
857d9bc84d
Since all the platform layers were using the same cut-and-paste of the
...
malloc/realloc/free allocator, I moved it into physfs.c as a default, which
is used if the platform layer doesn't offer a platform-specific default
allocator, which none do at this point, but will soon.
2007-03-20 18:33:56 +00:00
Ryan C. Gordon
bb1d757244
Removed __PHYSFS_platformTimeslice()...we don't actually use this anymore.
2007-03-20 17:57:45 +00:00
Ryan C. Gordon
607d39a1d3
Bunch of work on Unicode...added case-folding stricmp, removed
...
platform-specific stricmp implementations, changed appropriate calls to an
ASCII-only stricmp that ignores locale. Fixed case on UTF-8 API entry points.
2007-03-15 08:16:23 +00:00
Ryan C. Gordon
69598e49ab
Now compiles everything whether we need it or not, removing whole files with
...
#ifdefs...this will make it easier to "embed" this library in other projects
or use a different build system: just push everything through the compiler
with preprocessor defines for the parts you want/need...platform modules are
determined automatically without the build system needing to intervene, so
you just have to #define the archivers, etc that you want.
2007-03-11 22:50:53 +00:00
Ryan C. Gordon
e029cb54e5
Fixed some comments.
2007-03-11 10:12:39 +00:00
Ryan C. Gordon
53bbe35ddd
Renamed LICENSE to LICENSE.txt
2007-03-11 10:10:28 +00:00
Ryan C. Gordon
ca2489418e
Removed config.h references from old autotools build system.
2007-03-11 09:44:21 +00:00
Ryan C. Gordon
d5327897cb
Updated PocketPC code to handle UTF-8 strings.
2007-03-09 08:15:47 +00:00
Ryan C. Gordon
a41e32d112
Ryanized the formatting in pocketpc.c
2007-03-08 22:37:51 +00:00
Ryan C. Gordon
a66c36b42a
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
...
Lebedenco for pointing out the original issue with long long literals).
2006-01-01 12:19:44 +00:00
Ryan C. Gordon
6e7e45cdaf
API BREAKAGE: Changed PHYSFS_enumerateFilesCallback() to pass the originally
...
requested directory back to the app.
2005-09-18 21:44:42 +00:00
Ryan C. Gordon
64599213f1
Don't use size_t in physfs.h, since it relies on C runtime headers.
2005-09-06 06:24:42 +00:00
Ryan C. Gordon
d840403c1c
All memory management now goes through allocation hooks instead of directly to
...
C runtime malloc/realloc/free...
2005-03-14 11:49:30 +00:00
Ryan C. Gordon
ed5de27c73
Fixed incorrect comment.
2005-02-15 22:25:03 +00:00
Ryan C. Gordon
c2765f8571
Added callback APIs and ripped up the internals everywhere to use them.
2004-09-29 06:09:29 +00:00
Ryan C. Gordon
27f82cc5e2
Changed vars named "FileHandle" to "Handle" to not cause confusion with
...
new type in physfs.c ...
2004-09-26 13:03:00 +00:00
Ryan C. Gordon
09ef260209
Added internal function __PHYSFS_platformStrnicmp().
2003-11-09 20:59:07 +00:00
Ryan C. Gordon
f4309f51e8
Tabs-to-spaces patch by James Turk.
2003-07-20 21:08:24 +00:00
Ryan C. Gordon
b50342ad13
PocketPC fixes (thanks, David Hedbor!)
2003-05-18 07:52:28 +00:00
Ryan C. Gordon
7d08cd6232
Initial add.
2002-11-22 06:17:59 +00:00