Ryan C. Gordon
1c48a28166
Use .tar.bz2 on this branch, too.
2012-10-23 14:59:29 -04:00
Ryan C. Gordon
3f212a8a44
Lowercased most of the CMake project file.
2012-10-23 14:58:54 -04:00
Sam Lantinga
724b71a657
Fixed warning on iOS
2012-09-04 23:25:37 -07:00
Ryan C. Gordon
13855849e6
Fixed infinite loop (thanks, Sam!)
2012-09-08 22:18:52 -04:00
Ryan C. Gordon
986c40ac6a
Don't look for libhistory.
...
Apparently libreadline provides this now (maybe it always did?), and it fixes
things on OpenBSD.
2012-08-20 14:39:46 -04:00
Ryan C. Gordon
e38b5e9cb7
An attempt to make this more Unix-friendly.
2012-08-02 03:03:06 -04:00
Ryan C. Gordon
e70c6847a9
Turns out the CoreFoundation API is way simpler.
...
Fixed assertion, too.
2012-06-25 15:50:20 -04:00
Ryan C. Gordon
c59105bd03
Patched to compile on Mac OS X.
2012-06-25 15:25:55 -04:00
Ryan C. Gordon
bbbbb17258
For iOS, build the Mac OS X platform code, not the generic Unix code.
...
Also removed some Carbon calls; use CoreFoundation instead. These functions
exist in all versions of Mac OS X and iOS, and replace the Mac OS Classic
APIs we were previously depending upon.
2012-06-25 14:40:03 -04:00
Ryan C. Gordon
2a4d891ac5
Fixed logic bug (thanks, Sam!).
2012-06-20 20:16:11 -04:00
Ryan C. Gordon
9159717a27
Fixed non-Zip64 .zip files.
2012-06-07 10:42:19 -04:00
Ryan C. Gordon
5c18db7fe9
Don't sort if there's nothing to do (prevents array underflow, too).
2012-06-07 10:21:43 -04:00
Ryan C. Gordon
4d9f2534f2
Fixed var that should be 64 bits instead of 32 now.
2012-06-01 06:07:12 -04:00
Ryan C. Gordon
2b39e47fda
Removed a '//' comment.
2012-06-01 05:59:12 -04:00
Ryan C. Gordon
a865b14bec
Added Zip64 support to the .zip archiver.
...
Now we can handle .zip files > 4 gigabytes, etc.
2012-06-01 05:44:50 -04:00
Ryan C. Gordon
3e750a903f
Added getmointpoint command to test_physfs.
2012-04-07 21:33:18 -04:00
Ryan C. Gordon
758e5beedb
Moved PHYSFS_ArchiveInfo into PHYSFS_Archiver.
2012-03-25 17:17:56 -04:00
Ryan C. Gordon
6222a4a92d
Add binary compatibility to PHYSFS_Io.
2012-03-25 17:18:24 -04:00
Ryan C. Gordon
a7383c295f
Moved some functions around.
...
We want the #undef malloc, etc, lines as close to the end of the file as
possible, and __PHYSFS_readAll() not in the middle of the allocator code.
2012-03-25 16:15:10 -04:00
Ryan C. Gordon
107f07da97
Better cleanup if PHYSFS_init() fails halfway through.
2012-03-25 16:13:23 -04:00
Ryan C. Gordon
4cfd7277f3
Made archiver list dynamic, in preparation for external archivers.
2012-03-25 15:59:29 -04:00
Ryan C. Gordon
b3fbba7af0
Removed "dvoid" typedef.
2012-03-25 14:52:24 -04:00
Ryan C. Gordon
716ea0522f
Fixed Doxygen typo.
2012-03-24 15:06:28 -04:00
Ryan C. Gordon
de54065b31
Updated docs on PHYSFS_setSaneConfig().
2012-03-24 15:02:18 -04:00
Ryan C. Gordon
af4bf8419f
Changed enum typedef to make this Doxygen-friendly.
2012-03-24 14:57:30 -04:00
Ryan C. Gordon
d4a99cc204
Fixed comment.
2012-03-24 14:55:32 -04:00
Ryan C. Gordon
fed8e331a5
Make Doxygen ignore PHYSFS_DEPRECATED.
2012-03-24 14:55:26 -04:00
Ryan C. Gordon
0de337eb75
Renamed PHYSFS_Archiver::dirClose() to PHYSFS_Archiver::closeArchive().
2012-03-24 10:36:11 -04:00
Ryan C. Gordon
24aef83ead
More FIXME cleanup.
2012-03-24 00:49:34 -04:00
Ryan C. Gordon
b2e6882f52
Another FIXME.
2012-03-24 00:32:22 -04:00
Ryan C. Gordon
14d723c316
FIXME cleanup.
2012-03-24 00:29:47 -04:00
Ryan C. Gordon
dda627412c
More FIXME cleanup.
2012-03-24 00:26:04 -04:00
Ryan C. Gordon
2392ca1aa3
Favor /proc/self/exe over argv[0] on Linux, to match other platforms.
...
We don't favor searching the $PATH, though, since that relies on argv[0] too.
2012-03-23 04:54:20 -04:00
Ryan C. Gordon
9d01a645ed
Make sure base dir always has a dirsep at the end of it.
...
Now the higher level doesn't have to check for this and realloc the string.
2012-03-23 04:14:01 -04:00
Ryan C. Gordon
c306437ece
test_physfs's "stat" command now respects unknown file times (-1).
2012-03-23 03:30:16 -04:00
Ryan C. Gordon
a6ff95c6aa
Updated TODO.txt
2012-03-23 03:29:48 -04:00
Ryan C. Gordon
0360899357
Moved QPAK support into archiver_unpacked.c
...
More dupe code removal, and more functional generic backend code!
2012-03-23 02:45:38 -04:00
Ryan C. Gordon
a688d5c686
Minor tweak.
2012-03-23 02:43:22 -04:00
Ryan C. Gordon
320b154a11
Removed archive description macros, moved those strings inline.
2012-03-23 00:55:56 -04:00
Ryan C. Gordon
0584117f85
Changed so that this builds a reasonable default with no command line #defines.
...
That is, it now builds .zip and native dir support, and that's it.
2012-03-23 00:52:32 -04:00
Ryan C. Gordon
cd5362cc57
Removed a bogus FIXME.
2012-03-22 03:15:50 -04:00
Ryan C. Gordon
66fbf41bc0
Allow Windows to read/write more than 4 gigs to a file in one shot.
...
Removes a FIXME, but the fix probably won't ever get used. :)
2012-03-22 03:11:54 -04:00
Ryan C. Gordon
53fe6d360a
Renamed __PHYSFS_utf8strcasecmp() to __PHYSFS_utf8stricmp().
...
This matches style of other function names we use.
2012-03-22 03:02:50 -04:00
Ryan C. Gordon
4aec77e618
Fixed a typo in the docs.
2012-03-22 03:00:16 -04:00
Ryan C. Gordon
76fdd9cab6
Removed a FIXME: actually, the code DOES set an error, as far as I can tell.
2012-03-22 02:58:45 -04:00
Ryan C. Gordon
b7f3e5bd1e
Removed a FIXME.
...
I assume that Win95 didn't allow large files, so this concern probably wasn't
ever valid in any case. Still, Win95 support has been dropped, so it doesn't
matter.
2012-03-22 02:38:10 -04:00
Ryan C. Gordon
46125c95b3
Removed a FIXME.
2012-03-22 02:57:29 -04:00
Ryan C. Gordon
0d8bf3a129
Windows: Use cross-thread Critical Sections instead of cross-process Mutexes.
2012-03-22 00:41:39 -04:00
Ryan C. Gordon
a0af6bbb71
Removed fallback for systems that have no userdir.
...
This would try to build something under the basedir for Windows 95, OS/2, etc,
but those targets are gone now. Modern systems provide this. If a given
system can't in the future, they can pull this code out of revision control
and use it in their implementation of __PHYSFS_platformCalcUserDir().
This change let me remove __PHYSFS_platformGetUserName(), too.
2012-03-22 00:27:46 -04:00
Ryan C. Gordon
b1d4afcbd3
Cleaned up some FIXMEs.
2012-03-22 00:21:28 -04:00