Ryan C. Gordon
0ab061308d
Initialized some variables to stop compiler whining.
2002-07-27 22:06:25 +00:00
Ryan C. Gordon
1b29c3888c
More enumerate fixes.
2002-07-26 17:03:26 +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
8eeaf6c6d7
Rewrote ZIP_enumerateFiles() again. Hopefully it sucks less this time.
2002-07-25 04:41:43 +00:00
Ryan C. Gordon
7c80bcf537
Disabled shitty enumeration code. Will fix soon.
2002-07-23 22:55:47 +00:00
Ryan C. Gordon
a4d07b8e10
More enumeration fixes. I still hate this code.
2002-07-23 22:09:35 +00:00
Ryan C. Gordon
55b7638892
Fixed a double-free.
2002-07-23 21:26:51 +00:00
Ryan C. Gordon
083710dfc3
Fixed entry loading.
2002-07-23 18:11:12 +00:00
Ryan C. Gordon
e460c9ce9a
Fixed ZIP_isArchive() to report correctly if it has to check for the
...
end of central directory record.
2002-07-23 18:05:50 +00:00
Ryan C. Gordon
4765a364fe
Fixed enumerations that end with '/'.
2002-07-23 17:52:56 +00:00
Ryan C. Gordon
e98615a7ca
My rewrite continues. I'm mostly satisfied with this code now, minus debugging.
2002-07-23 07:49:13 +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
f558dcfe4a
Seeking backwards in ZIP_seek() works now.
2002-07-17 16:05:39 +00:00
Ryan C. Gordon
2fab3d9da4
Fixed symlink detection.
2002-07-15 13:20:34 +00:00
Ryan C. Gordon
2ec465ffc4
Symlink fixes. Still broken, though.
2002-07-15 02:22:52 +00:00
Ryan C. Gordon
480a259452
ZIP archiver rewrite.
2002-07-13 10:17:13 +00:00
Ryan C. Gordon
959a15e27f
FIXME cleanups.
2002-07-11 21:37:30 +00:00
Ryan C. Gordon
bbffe2d832
Readded.
2002-06-29 22:31:03 +00:00
Ryan C. Gordon
bac849c727
Fixed comment spacing.
2002-06-29 19:16:00 +00:00
Ryan C. Gordon
ffb3f0150a
Readded.
2002-06-28 03:50:24 +00:00
Ryan C. Gordon
e2c5ea91e1
Removed for new build system.
2002-06-14 21:20:34 +00:00
Ryan C. Gordon
8e5e1b5c42
Removed in build system rewrite.
2002-06-14 21:11:58 +00:00
Ryan C. Gordon
6fd0450c96
getLastModTime implemented.
2002-06-06 05:47:41 +00:00
Ryan C. Gordon
05b565422a
Implemeted getLastModTime method.
2002-06-06 05:38:47 +00:00
Ryan C. Gordon
eac8979577
Patched to compile.
2002-05-25 11:12:40 +00:00
Ryan C. Gordon
5386a5c6a2
Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
2002-05-25 09:41:14 +00:00
Ryan C. Gordon
769b2a5464
FIXME removal.
2002-05-21 11:29:00 +00:00
Ryan C. Gordon
fe8c832ef5
Initial add.
2002-05-20 12:27:46 +00:00
Ryan C. Gordon
195461abff
Added unzip.h, so "make dist" picks it up.
2002-05-10 17:36:52 +00:00
Ryan C. Gordon
a2bec46a6b
Initial autoconf support.
2002-05-10 09:25:25 +00:00
Ryan C. Gordon
bd450d0e68
Initial add.
2002-05-10 09:16:38 +00:00
Ryan C. Gordon
748cbac1c0
Patches for correctness and cleaner win32 support.
2002-04-12 05:53:12 +00:00
Ryan C. Gordon
ada7128625
Patched to compile on Linux/gcc.
2002-04-05 18:20:51 +00:00
Ryan C. Gordon
4fc4185b58
Cleaned up byteorder-safe reading functions. Use internal Physfs stricmp.
2002-04-05 18:07:18 +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
9982d89b5b
Removed now-unnecessary errno.h include.
2002-04-01 18:45:37 +00:00
Ryan C. Gordon
34bdd661c9
Missed an ferror(); fixed to use platform abstraction instead.
2002-04-01 18:43:59 +00:00
Ryan C. Gordon
5d2b8493f6
Patched to compile.
2002-03-30 01:57:53 +00:00
Ryan C. Gordon
d8cf534bf2
Platform abstracted i/o, other bugfixes.
2002-03-29 08:20:06 +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
6a0a1349a8
Fixed a crashbug when opening a file that doesn't exist.
2002-03-25 08:11:55 +00:00
Ryan C. Gordon
f6b15061c8
Abstracted file deletion, so we don't rely on C library for it anymore.
2002-03-25 05:02:12 +00:00
Ryan C. Gordon
51b65e1d5a
Now uses platform file i/o abstraction.
2002-03-25 04:06: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
57a176068c
const correctness fixes.
2002-03-16 03:53:46 +00:00
Ryan C. Gordon
ae140141fc
The DirHandle->funcs pointer wasn't getting set?!
2001-10-09 15:34:10 +00:00
Ryan C. Gordon
94406b6c35
Put a FIXME in place.
2001-10-09 15:15:40 +00:00
Ryan C. Gordon
7ab013b8b7
Fixed some syntax issues.
2001-10-09 15:15:24 +00:00
Ryan C. Gordon
3ad4abe6ce
Make sure that the writing functions get used when a write mode is
...
specified.
2001-09-26 03:09:35 +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
7aa0c252a9
More win32 updates.
2001-08-23 16:02:51 +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
0fe5d822a8
Avoids unzLocateFile(), since we already did all the searching ourselves.
2001-07-28 13:08:14 +00:00
Ryan C. Gordon
9ddb5923e7
ZIP entries are now cached at openArchive time, which cleans up the race
...
conditions and make i/o significantly more efficient. The code's a little
saner, too. Just a LITTLE, though. :) --ryan.
2001-07-28 12:14:09 +00:00
Ryan C. Gordon
bb35ebed98
Enough fixes to get the Build engine working with ZIP files instead of
...
GRPs. Currently does case-insensitive searching, which will change.
2001-07-23 09:24:59 +00:00
Ryan C. Gordon
2b66e50d49
Added individual file i/o code. Untested.
2001-07-23 07:16:22 +00:00
Ryan C. Gordon
1bed4abbaa
Initial add.
2001-07-23 04:48:04 +00:00
Ryan C. Gordon
9d0f8f0546
Now with all directory functions implemented (and debugged?). No file
...
functions in place, yet.
2001-07-23 04:47:47 +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
0ddd2b1f6d
Initial work on ZIPfile support. Not complete. Not very pleased with this
...
minizip library at this moment in time. --ryan.
2001-07-15 09:29:30 +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
Ryan C. Gordon
f97faa279e
Initial debugging: dropped PhysicsFS routines into the Build engine,
...
replacing Ken's groupfile management. Not finished, but lots of initial
debugging is complete. More bugs, likely in OUR groupfile code, are waiting
to be fixed, but the KenBuild editor runs without crashing (er...but the
palette doesn't seem to be loading... :) )
--ryan.
2001-07-08 13:57:28 +00:00
Ryan C. Gordon
59185346dd
More tweaks; GRP completely implemented. Everything builds clean.
2001-07-08 10:58:10 +00:00
Ryan C. Gordon
ee508bb2e0
Archive implementation (Build Groupfiles), other tweaks.
2001-07-08 05:27:05 +00:00
Ryan C. Gordon
2622be385d
Implementation compiles and links with no actual archive support. No test
...
case available at this moment. :)
2001-07-08 03:25:12 +00:00
Ryan C. Gordon
9c4faeaa88
Moved from root source dir.
2001-07-07 08:24:47 +00:00