Commit Graph

832 Commits

Author SHA1 Message Date
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 4787894ffa Updated. 2005-03-14 11:48:29 +00:00
Ryan C. Gordon c799a14c70 Commented out a printf() and cleaned up some mallocs. 2005-03-14 11:47:42 +00:00
Ryan C. Gordon 2211ea7240 Fixed an error string. 2005-03-14 07:33:37 +00:00
Ryan C. Gordon a2cc461727 More mountpoint work and other cleanups. 2005-03-14 07:15:40 +00:00
Ryan C. Gordon ae093ff0fc Added more entry points. 2005-03-14 07:14:58 +00:00
Ryan C. Gordon d992f4325a Cleaned up some mallocs. 2005-03-13 21:16:15 +00:00
Ryan C. Gordon 38a1c7f559 If rejecting an archive for not matching a mount point, set an error state,
otherwise, PHYSFS_openRead could fail with a null error message.
2005-03-13 21:03:31 +00:00
Ryan C. Gordon 67776da8cc Split off sanitizePlatformIndependentPath() from verifySecurity(), which makes
this faster and reduces malloc() pressure. Plus cleanups, and other mount
 work.
2005-03-13 12:03:05 +00:00
Ryan C. Gordon c557443265 Updated. 2005-03-13 12:01:59 +00:00
Ryan C. Gordon 71da6381ad Some mount functionality stuff. 2005-03-13 11:59:53 +00:00
Ryan C. Gordon 8786d07f5d Updated. 2005-03-13 09:16:26 +00:00
Ryan C. Gordon 93adbf1d88 First chunk of PHYSFS_mount() implementation. Incomplete! 2005-03-13 09:09:26 +00:00
Ryan C. Gordon 389a4d826a Cleaned up some minor bloat with my new evil GOTO_*_MACRO macros. 2005-03-13 03:33:11 +00:00
Ryan C. Gordon 9f9800928d Fixed unix.c to compile again on MacOS X. 2005-03-13 03:18:18 +00:00
Ryan C. Gordon bdb7f54bd9 Added evil GOTO_*_MACRO_* macros. 2005-03-13 03:04:04 +00:00
Ryan C. Gordon 0dd93d3c13 Updated. 2005-02-15 22:26:05 +00:00
Ryan C. Gordon ed5de27c73 Fixed incorrect comment. 2005-02-15 22:25:03 +00:00
Ryan C. Gordon 5c313d7a93 Fixed filename sorting, to fix lookups that shouldn't fail (thanks, Chris!). 2005-01-05 05:15:12 +00:00
Ryan C. Gordon d19d7b5a59 Fixed some documentation/header comment typos (thanks, Gaetan!) 2004-12-16 16:20:46 +00:00
Ryan C. Gordon e2c199b8ab Fixed infinite loop in enum code (thanks, Adam!) 2004-10-31 12:20:00 +00:00
Ryan C. Gordon a27c289f29 CFLAGS is used after PHYSFSCFLAGS, so you can override optimization flags, etc. 2004-10-30 23:45:29 +00:00
Ryan C. Gordon bdd4ca0d93 Fixed a strcpy bug. 2004-10-30 09:31:54 +00:00
Ryan C. Gordon 3e06b381e9 Removed profiling code. 2004-10-07 02:10:01 +00:00
Ryan C. Gordon 35ec4ba395 Updated. 2004-10-01 07:58:12 +00:00
Ryan C. Gordon 4b02bb0c64 Updated. 2004-10-01 07:47:32 +00:00
Ryan C. Gordon c2c71fb55f Removed LinkedStringList and related code. 2004-09-29 06:37:20 +00:00
Ryan C. Gordon 0492580bda Removed all the forward declaration cruft from the archivers. 2004-09-29 06:18:04 +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 80535e9b83 Updated. 2004-09-29 06:03:44 +00:00
Ryan C. Gordon 8641e4e7ef Changed PHYSFS_file to PHYSFS_File to match rest of API's naming
convention. This won't break binary compat (function signatures are
extern "C" so name mangling doesn't apply), and I've placed a typedef
for the old name to support legacy source code.
2004-09-26 13:17:54 +00:00
Ryan C. Gordon 221a2303be Updated. 2004-09-26 13:16:06 +00:00
Ryan C. Gordon e0da355650 Updated. 2004-09-26 13:15:03 +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 90031c81f3 Did the same thing to FileHandles than I did to DirHandles, but this
triggered massive tweaking in physfs.c. A lot of code got little
cleanups, which was nice. Less malloc pressure, too, since opening a
file used to allocate a ton of crap and mush it together...now it's
basically down to one structure and the instance data in whatever
archiver.
2004-09-26 13:00:59 +00:00
Ryan C. Gordon 73044892fa Updated. 2004-09-26 12:56:23 +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 c02b0db3ec Updated. 2004-09-26 00:24:05 +00:00
Ryan C. Gordon 7553af8acf Minor allocation hook corrections. 2004-09-23 23:59:17 +00:00
Ryan C. Gordon 0030a3cd04 Updated. 2004-09-23 06:53:16 +00:00
Ryan C. Gordon c0acfc0118 Initial structure for replacable allocator work. 2004-09-23 06:45:36 +00:00
Ryan C. Gordon d9675edf4b Updated with current 2.0 wishlist. 2004-09-23 06:38:51 +00:00
Ryan C. Gordon cd942faff4 Updated. 2004-09-23 03:49:59 +00:00
Ryan C. Gordon 1ba7972aa9 Readded Spanish translation:
From: 	Pedro J Perez
To: 	icculus@clutteredmind.org
Subject: 	PhysicsFS license change - Spanish translation
Date: 	Tue, 2 Mar 2004 19:10:20 -0500

Hi Ryan,

You have my permission to change the spanish translation license to fit with the
rest of PhysicsFS.


|Pedro Javier Prez Rodrguez -- [email removed] |
|                                              |
|Homepage (Spanish) @ http://icculus.org/~pj/  |
2004-09-23 03:48:27 +00:00
Ryan C. Gordon 0cc3dea44f Removed more .cvsignore files from Subversion repository. 2004-09-23 03:33:17 +00:00
Ryan C. Gordon d7b46c9697 Removed from Subversion. 2004-09-23 03:31:54 +00:00
Ryan C. Gordon f3af262a99 Don't throw away buffer if a seek is totally within existing cache. 2004-08-23 03:34:03 +00:00
Ryan C. Gordon bf41b44099 Initial add. 2004-08-13 15:54:10 +00:00
Ryan C. Gordon a7fe9bcdad Updated. 2004-04-09 06:37:03 +00:00