Commit Graph

135 Commits

Author SHA1 Message Date
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 94759513d9 Cleaned up archiver interface to not deal with DirHandles anymore,
which simplifies things, removes some responsibility and code
duplication from the archivers, and trims some malloc pressure.
Also ripped up the allocation hook code a little. We'll try to screw
with memory locking later, since it makes everything ugly and
complex. Oh well.
2004-09-26 00:25:04 +00:00
Ryan C. Gordon c0acfc0118 Initial structure for replacable allocator work. 2004-09-23 06:45:36 +00:00
Ryan C. Gordon 0cc3dea44f Removed more .cvsignore files from Subversion repository. 2004-09-23 03:33:17 +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 ffb2e6ca45 Fixed search-and-replace fuckup (thanks, Brian!). 2003-12-22 17:12:00 +00:00
Ryan C. Gordon 9ac33cdcbe Fixed Win32 seeking on > 2gig files, other Cygwin issues. 2003-12-08 12:37:58 +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 f4309f51e8 Tabs-to-spaces patch by James Turk. 2003-07-20 21:08:24 +00:00
Ryan C. Gordon 01b8809162 Rewrote MacOSX/Darwin CD detection to use IOKit, for accurate results. 2003-05-24 03:36:36 +00:00
Ryan C. Gordon 8dbc9bf877 Fixed crash if PHYSFS_init(NULL) is used... 2003-05-22 04:01:19 +00:00
Ryan C. Gordon b50342ad13 PocketPC fixes (thanks, David Hedbor!) 2003-05-18 07:52:28 +00:00
Ryan C. Gordon fbbaf19a4f Minor strcasecmp optimization. 2003-03-30 20:46:45 +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 8701e4d98d Added hack for OSX bundles, from Eric Wing. 2003-01-04 23:24:50 +00:00
Ryan C. Gordon 2193cd81b7 Hack to make this compile with Mingw32. 2002-12-11 15:56:53 +00:00
Ryan C. Gordon c79285af0e Minor fix for odd PATH entries. 2002-11-30 04:50:49 +00:00
Ryan C. Gordon 9d82110b57 Some cleanups for PocketPC port. 2002-11-22 06:24:10 +00:00
Ryan C. Gordon 7d08cd6232 Initial add. 2002-11-22 06:17:59 +00:00
Ryan C. Gordon edfd5082b9 Removed a FIXME. 2002-08-28 07:56:14 +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 1f5b571be7 Bunch of tedious corrections, optimizations, and cleanups. 2002-08-21 02:59:15 +00:00
Ryan C. Gordon 9852dec8eb Attempt to fix pthread-to-ui64 cast issue. 2002-08-09 19:47:06 +00:00
Ryan C. Gordon 721d7395b7 Fixed typo. 2002-08-01 20:22:27 +00:00
Ryan C. Gordon 55afcada59 Updated. 2002-07-30 05:43:27 +00:00
Ryan C. Gordon d701627335 Patched memory leaks (thanks, Valgrind!) 2002-07-29 06:18:58 +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 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 2580f1460d Added platform/os2.c to build system. 2002-07-27 06:28:45 +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
Ryan C. Gordon 0c05876240 Whoops; the pthread-disabling condition was flipped. Fixed. 2002-07-25 23:22:29 +00:00
Ryan C. Gordon 69859a7bd9 Minor cleanups. 2002-07-25 21:52:07 +00:00
Ryan C. Gordon 2b0cecee7c First step towards getting __PHYSFS_platformGetThreadID() to work universally. 2002-07-25 17:42:21 +00:00
Ryan C. Gordon cdac19f131 Stub code for platforms without functional pthreads. 2002-07-25 17:13:03 +00:00
Ryan C. Gordon 1ce70462bd Can now disable CD-ROM code on Unix systems at build time if need be. The
configure option is not exposed, but the configure script can check this
 on a system by system basis.
2002-07-25 05:21:00 +00:00
Ryan C. Gordon 5b55a52af7 Changed enumeration code to use __PHYSFS_addToLinkedStringList(). 2002-07-23 07:46:36 +00:00
Ryan C. Gordon 248b3381bf Generalized CD-ROM routine selection. 2002-07-20 00:19:53 +00:00
Ryan C. Gordon c02838ad5e FreeBSD patches; appears to be fully functional now. 2002-07-17 23:25:18 +00:00
Ryan C. Gordon 0db235a52b Changed CD-ROM detection code to be compatible with Windows NT 3.x. 2002-07-14 15:11:39 +00:00
Ryan C. Gordon 959a15e27f FIXME cleanups. 2002-07-11 21:37:30 +00:00
Ryan C. Gordon 0b0c57d1be Removed extra #endif 2002-07-11 08:44:27 +00:00
Ryan C. Gordon 99a03b9452 Build system corrections for BeOS and Cygwin. 2002-07-10 21:14:33 +00:00