Commit Graph

27 Commits

Author SHA1 Message Date
Ryan C. Gordon c188729b12 Backport from default branch: clean up the thread ID mess in platform_unix.
Backported from hg changeset f254870dd7dd.
2012-08-02 02:57:55 -04:00
Ryan C. Gordon 57a04afef5 Fixed some wrong parentheses in the OS/2 code. 2010-01-28 02:38:57 -05:00
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 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 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 49ebc305ac More minor OS/2 tweaks. 2005-07-23 22:01:03 +00:00
Ryan C. Gordon 507b099d5d Patched to compile on OS/2 again. 2005-07-21 18:10:17 +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 c2765f8571 Added callback APIs and ripped up the internals everywhere to use them. 2004-09-29 06:09:29 +00:00
Ryan C. Gordon 1822399aec Patched to compile on OS/2. 2003-11-11 14:08:32 +00:00
Ryan C. Gordon 09ef260209 Added internal function __PHYSFS_platformStrnicmp(). 2003-11-09 20:59:07 +00:00
Ryan C. Gordon 9d82110b57 Some cleanups for PocketPC port. 2002-11-22 06:24:10 +00:00
Ryan C. Gordon 593db4b13b Took out a FIXME comment (decided it was a safe operation anyhow). 2002-08-21 23:34:18 +00:00
Ryan C. Gordon 42be0046aa Natural language #defines and build system support. 2002-07-28 21:03:27 +00:00
Ryan C. Gordon d302b1e169 Minor error string correction. 2002-07-28 18:01:45 +00:00
Ryan C. Gordon 5aae2b749a Determines correct case for basedir. 2002-07-28 04:02:06 +00:00
Ryan C. Gordon e6e26f58bf Lots of fixes...seems to be fully functional, now. 2002-07-27 22:41:58 +00:00
Ryan C. Gordon ac74982b7a Minor patch. 2002-07-27 06:49:36 +00:00
Ryan C. Gordon ece998dd3a Fixed basedir/userdir calculation. 2002-07-27 06:38:28 +00:00
Ryan C. Gordon a83a9c81c6 Patched to compile...works a little. 2002-07-27 06:26:06 +00:00
Ryan C. Gordon 021752e953 Initial add. 2002-07-27 01:27:19 +00:00