Ryan C. Gordon
3b0e1d7471
Various archiver swap and compare functions now check if they are
...
swapping/comparing an item against itself, for efficiency and to prevent
overlapping memcpy() calls.
2008-02-20 12:24:10 +00:00
Ryan C. Gordon
1e6550292d
Logic bug in MVL/HOG/GRP archivers: these archives never contain subdirs...but they
...
only enumerated their files when looking in a directory other than the root,
instead of enumerating only for the root. Thanks to Chris Taylor for the
catch.
2007-03-28 17:29:52 +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
c81367d0ca
Changed my email address.
2006-01-01 12:33:19 +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
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
389a4d826a
Cleaned up some minor bloat with my new evil GOTO_*_MACRO macros.
2005-03-13 03:33:11 +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
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
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
9d82110b57
Some cleanups for PocketPC port.
2002-11-22 06:24:10 +00:00
Ryan C. Gordon
0eb5f71880
Cleaned up some stuff, reduced some unnecessary 64-bit ints to 32.
2002-08-28 08:58:39 +00:00
Ryan C. Gordon
1f5b571be7
Bunch of tedious corrections, optimizations, and cleanups.
2002-08-21 02:59:15 +00:00
Ryan C. Gordon
1e2372b44c
Generalized sorting routines, and removed individual implementations.
2002-08-20 01:34:27 +00:00
Ryan C. Gordon
42be0046aa
Natural language #defines and build system support.
2002-07-28 21:03:27 +00:00
Ryan C. Gordon
3ae1f1fa80
Changed DirFunctions struct a little.
2002-07-26 06:19:09 +00:00
Ryan C. Gordon
69859a7bd9
Minor cleanups.
2002-07-25 21:52:07 +00:00
Ryan C. Gordon
083710dfc3
Fixed entry loading.
2002-07-23 18:11:12 +00:00
Ryan C. Gordon
168f63d2da
Major overhauls. More efficient, robust, and bug-free.
2002-07-23 07:48:43 +00:00
Ryan C. Gordon
959a15e27f
FIXME cleanups.
2002-07-11 21:37:30 +00:00
Ryan C. Gordon
6fd0450c96
getLastModTime implemented.
2002-06-06 05:47:41 +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
748cbac1c0
Patches for correctness and cleaner win32 support.
2002-04-12 05:53:12 +00:00
Ryan C. Gordon
0cc9d27961
Fixed byte ordering bugs.
2002-04-05 18:05:50 +00:00
Ryan C. Gordon
a366cfe1a2
Approved zeph's comments, fixed a few of my screwups.
2002-04-03 07:40:27 +00:00
Gregory S. Read
0217b7cdd7
-Added type casting that Ryan needs to approve.
...
-MSVC complained about implicit 64-bit to 32-bit conversions.
2002-04-03 04:20:07 +00:00
Ryan C. Gordon
cccf065f68
Patched to compile on MacOS Classic, with CodeWarrior 6.
2002-04-01 18:48:24 +00:00
Ryan C. Gordon
4573c8a5ea
Converted to file i/o abstraction, removed race condition.
2002-03-25 08:13:06 +00:00
Ryan C. Gordon
f2887cf047
Added typedefs and platform-specific i/o.
2002-03-24 19:47:33 +00:00
Ryan C. Gordon
94406b6c35
Put a FIXME in place.
2001-10-09 15:15:40 +00:00
Ryan C. Gordon
c7aad1afd6
Changed author credits to wrap email addresses in "<>" and not "()" chars.
2001-09-14 22:55:44 +00:00
Ryan C. Gordon
ed2a43b2ea
Patched to compile with an ancient version of CodeWarrior.
2001-09-02 04:55:25 +00:00
Ryan C. Gordon
f0c09894c8
Updates, corrections and enhancements to get this ported to win32.
2001-08-23 15:23:21 +00:00
Ryan C. Gordon
beb42ac451
Changed URL to physfs homepage.
2001-08-07 02:57:16 +00:00
Ryan C. Gordon
c7fe9ab439
Architecture adjustment for enumerating files with regards to whether
...
symlinks are permitted.
2001-07-16 17:36:28 +00:00
Ryan C. Gordon
7d90c12f74
Lots of bugfixes, enhancements, and corrections due to the work on
...
test_physfs exposing problems.
2001-07-16 14:36:02 +00:00
Ryan C. Gordon
b1d32ec742
Updated archiver info to format I think is best for text.
2001-07-16 10:31:28 +00:00
Ryan C. Gordon
fe77666054
Fixed GRP_enumerateFiles() so that it will only list files in the root of
...
the readable file tree.
2001-07-15 09:28:37 +00:00
Ryan C. Gordon
78f47916c0
Added more fields to the ArchiveInfo struct: author and url.
2001-07-09 23:33:37 +00:00
Ryan C. Gordon
eea743579a
Added PHYSFS_fileLength(). Bleh.
2001-07-09 04:15:35 +00:00
Ryan C. Gordon
ce29f03218
Logic fixes; seems to work rather well with KenBuild, now.
2001-07-09 01:43:28 +00:00
Ryan C. Gordon
fabb803a65
Initial add. Implemented, buggy, but not crashing.
2001-07-09 00:49:41 +00:00