Ryan C. Gordon
f71362cbb7
Fixed minor whitespace issue.
2005-11-28 13:25:18 +00:00
Ryan C. Gordon
a2ca51373c
Fixed compiler warning in physfs.c.
2005-07-23 23:39:12 +00:00
Ryan C. Gordon
4b036dc0a2
strcpy/strcat fix, backported from devbranch.
2004-10-30 09:57:56 +00:00
Ryan C. Gordon
58fac19bb4
Backported buffered seeking fix from dev branch.
2004-09-21 17:34:27 +00:00
Ryan C. Gordon
efdc4ac8a6
Added Doom WAD support.
2003-12-15 04:01:18 +00:00
Ryan C. Gordon
1400b98be7
Readded new qpak archiver.
2003-07-21 00:27:27 +00:00
Ryan C. Gordon
f4309f51e8
Tabs-to-spaces patch by James Turk.
2003-07-20 21:08:24 +00:00
Ryan C. Gordon
025aef8a15
Switched to zlib license.
2003-07-20 20:57:55 +00:00
Ryan C. Gordon
3a27dd9310
Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
2003-03-30 18:59:54 +00:00
Ryan C. Gordon
3744f54064
Minor brainfart fix in verifySecurity() and optimized mkdir().
2003-03-19 06:31:53 +00:00
Ryan C. Gordon
8bdc0ea570
Two important PHYSFS_mkdir() fixes (one involving a change to
...
__PHYSFS_verifySecurity()...).
2003-03-19 06:04:09 +00:00
bhook
433ae86ef8
*** empty log message ***
2003-03-16 03:30:43 +00:00
bhook
f101472293
*** empty log message ***
2003-03-16 03:26:52 +00:00
Ryan C. Gordon
6f1d693fe8
Another attempt at type size correctness.
2003-03-12 06:19:37 +00:00
Ryan C. Gordon
01505d8d58
Attempt at type correctness.
2003-03-12 05:39:51 +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
7246213c2f
Fixed seeking in readable, buffered files.
2003-01-28 18:27:44 +00:00
Ryan C. Gordon
3ad51e49e4
Added buffering API.
2002-12-01 11:21:27 +00:00
Ryan C. Gordon
9d82110b57
Some cleanups for PocketPC port.
2002-11-22 06:24:10 +00:00
Ryan C. Gordon
b0a63caf40
Quick-rejection optimization in __PHYSFS_verifySecurity().
2002-08-28 23:27:10 +00:00
Ryan C. Gordon
c2a4dd6378
Minor streamlining.
2002-08-22 10:36:19 +00:00
Ryan C. Gordon
2e0c0faa1d
Special-case optimization in __PHYSFS_verifySecurity().
2002-08-22 00:13:48 +00:00
Ryan C. Gordon
1f5b571be7
Bunch of tedious corrections, optimizations, and cleanups.
2002-08-21 02:59:15 +00:00
Ryan C. Gordon
e2eb658d9a
Made sorting more generic, moved it here. Added sort profiling code.
2002-08-20 00:59:03 +00:00
Ryan C. Gordon
bd584d5985
Added qpak.c to build systems.
2002-08-09 19:47:35 +00:00
Ryan C. Gordon
42be0046aa
Natural language #defines and build system support.
2002-07-28 21:03:27 +00:00
Ryan C. Gordon
af32072304
Archivers with matching file extensions get first shot at an archive.
2002-07-26 06:18:30 +00:00
Ryan C. Gordon
69859a7bd9
Minor cleanups.
2002-07-25 21:52:07 +00:00
Ryan C. Gordon
01567b3dcf
Added __PHYSFS_addToLinkedStringList().
2002-07-23 07:48:08 +00:00
Ryan C. Gordon
1db7c3b70f
Reports correctly when opening files for read without a search path defined.
2002-06-29 22:24:52 +00:00
Ryan C. Gordon
943904cdd9
Fixed a crashbug when calling PHYSFS_deinit() twice in a row.
2002-06-08 08:50:00 +00:00
Ryan C. Gordon
56cbc659da
More proper error reporting.
2002-05-25 11:12:17 +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
a2bec46a6b
Initial autoconf support.
2002-05-10 09:25:25 +00:00
Ryan C. Gordon
7ffd15fb42
Doesn't grab mutex in __PHYSFS_setError() if PHYSFS_init() hasn't been called.
2002-04-08 13:35:29 +00:00
Ryan C. Gordon
bf00a81579
Updated.
2002-04-06 05:18:49 +00:00
Ryan C. Gordon
d5a699ccd2
Error subsystem does basic initialization during PHYSFS_init(), now.
2002-04-04 17:58:02 +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
5d5f15ca9a
-Made type cast changes that Ryan needs to approve.
...
-MSVC complained about 64-bit to 32-bit implicit conversions.
-Added Win32 specific #defines for 64-bit datatypes.
2002-04-03 04:17:54 +00:00
Ryan C. Gordon
21a2eda1b5
Fixed calculateUserDir() to prevent extra dir separator insertion in default case.
2002-04-02 13:39:44 +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
39406cbacc
First shot at thread-safety.
2002-03-30 16:44:09 +00:00
Ryan C. Gordon
f2887cf047
Added typedefs and platform-specific i/o.
2002-03-24 19:47:33 +00:00
Ryan C. Gordon
419d5cd017
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
2002-03-24 06:36:48 +00:00
Ryan C. Gordon
57a176068c
const correctness fixes.
2002-03-16 03:53:46 +00:00
Ryan C. Gordon
cd58c9e523
Reports trouble setting the write dir in PHYSFS_setSaneConfig().
2002-03-15 14:53:23 +00:00
Ryan C. Gordon
e444f9ed02
PHYSFS_setSaneConfig() fixes: set write dir correctly, and put it at start
...
of search path.
2001-09-26 03:08:57 +00:00
Ryan C. Gordon
1e6f2bc0d9
Changed PHYSFS_setSaneConfig()'s behaviour. API BREAKAGE.
2001-09-26 01:44:41 +00:00
Ryan C. Gordon
c3a00ee94b
Patches from David Hedbor to handle missing current working directories.
...
"The attached patch makes PhysFS handle the case when the current
directory (as returned by getcwd()) has been deleted.
Fix 1, platform/unix.c:
Only retry getcwd if the error is ERANGE. Before it retried till the
malloc failed in the case of the directory not existing.
Fix 2: physfs.c:
If __PHYSFS_platformCurrentDir() return's NULL, use the root as the
base dir. Bad solution but the best I can think of (alternative :
use /tmp or Windows TEMP dir?)."
2001-09-14 22:59:53 +00:00