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
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
e9cf90feda
Ehh...I lied. Reverting change.
2005-03-16 12:07:10 +00:00
Ryan C. Gordon
5c7308cdd3
Whoops, this goes here.
2005-03-16 12:06:18 +00:00
Ryan C. Gordon
12684647dc
MacOS Classic fixes and MPW support (thanks, Chris!).
2005-03-16 11:42:54 +00:00
Ryan C. Gordon
3a0e6fa051
Builds on Mac Classic again.
2005-03-14 12:05:07 +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
24c8651f7f
Patches to get this building on Mac Classic again.
2003-12-29 08:50:21 +00:00
Ryan C. Gordon
09ef260209
Added internal function __PHYSFS_platformStrnicmp().
2003-11-09 20:59:07 +00:00
Ryan C. Gordon
3a479b6cd8
Now compiles on CodeWarrior 6 for MacOS Classic again.
2003-01-31 04:07:48 +00:00
Ryan C. Gordon
42be0046aa
Natural language #defines and build system support.
2002-07-28 21:03:27 +00:00
Ryan C. Gordon
286ce8f00e
Now returns human-readable error messages when possible. Minor fix in
...
__PHYSFS_platformClose() and other tweaks.
2002-07-28 18:02:55 +00:00
Ryan C. Gordon
69859a7bd9
Minor cleanups.
2002-07-25 21:52:07 +00:00
Ryan C. Gordon
5b55a52af7
Changed enumeration code to use __PHYSFS_addToLinkedStringList().
2002-07-23 07:46:36 +00:00
Ryan C. Gordon
959a15e27f
FIXME cleanups.
2002-07-11 21:37:30 +00:00
Ryan C. Gordon
3df9dda733
Fixed buffer overflow in CD-ROM detection code.
2002-06-29 22:25:57 +00:00
Ryan C. Gordon
c1be8137b7
Implemented __PHYSFS_platformGetLastModTime().
2002-05-25 22:15:39 +00:00
Ryan C. Gordon
5386a5c6a2
Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
2002-05-25 09:41:14 +00:00
Ryan C. Gordon
a2bec46a6b
Initial autoconf support.
2002-05-10 09:25:25 +00:00
Ryan C. Gordon
f56737b579
Fixed __PHYSFS_platformRealPath(), and changed userdir behaviour. We're now feature-complete on the Mac, as far as I can tell.
2002-04-06 05:10:06 +00:00
Ryan C. Gordon
c0b501934a
Now handles Finder aliases as if they were symlinks.
2002-04-06 02:00:00 +00:00
Ryan C. Gordon
b0637e0182
Mostly implemented (fully implemented if you don't want aliases to work like symlinks).
2002-04-05 09:04:34 +00:00
Ryan C. Gordon
148a933399
Fixed isDirectory and enumarateFiles (had wrong param in PBGetCatInfoSync()).
2002-04-04 19:35:59 +00:00
Ryan C. Gordon
992321a07e
More work. More to go.
2002-04-04 17:56:20 +00:00
Ryan C. Gordon
7fd98219ca
Implemented platformTimeslice, platformGetCurrentDir, and platformCvtToDependent.
2002-04-03 07:38:10 +00:00
Ryan C. Gordon
6519a249ff
Username is now accurately reported, which means that the default user dir works more correctly.
2002-04-02 14:33:08 +00:00
Ryan C. Gordon
af1452aa64
Initial add. Not nearly complete, but enough to get through PHYSFS_init().
2002-04-02 13:43:29 +00:00