Ryan C. Gordon
7ab5cc52ce
Fixed 64-bit ints in LZMA SDK on Watcom C.
2017-07-17 14:56:52 -04:00
Ryan C. Gordon
f6c830968c
Workaround strict-aliasing warnings on some versions of GCC.
2017-07-17 14:46:36 -04:00
Ryan C. Gordon
3765efb652
Still more LZMA SDK trimming.
2017-07-17 14:43:36 -04:00
Ryan C. Gordon
a28a01c124
Patched to compile on Visual Studio.
2017-07-17 14:37:02 -04:00
Ryan C. Gordon
8553113870
Patched to compile on OpenWatcom.
2017-07-17 14:35:47 -04:00
Ryan C. Gordon
7fed370cfd
Chopped more unused pieces out of the LZMA SDK.
2017-07-17 14:35:36 -04:00
Ryan C. Gordon
43f8ffcd2d
Chopped out some unused code from the LZMA SDK.
2017-07-17 14:27:51 -04:00
Ryan C. Gordon
afacf0395e
Static analysis fix.
2017-07-17 14:19:29 -04:00
Ryan C. Gordon
d38c10dea7
Removed unused variables.
2017-07-17 12:42:09 -04:00
Ryan C. Gordon
f83e36a8be
Static analysis fix (maybe?).
2017-07-17 12:41:28 -04:00
Ryan C. Gordon
c375504463
Removed unused variable.
2017-07-17 12:39:43 -04:00
Ryan C. Gordon
8c3501491c
Whoops, forgot to add the file. :)
2017-07-17 12:35:35 -04:00
Ryan C. Gordon
da1561a09f
Removed ancient LZMA SDK.
2017-07-17 12:20:14 -04:00
Ryan C. Gordon
a5d3dd498e
Rewrote the 7zip archiver.
...
This also updates the LZMA SDK to something more modern, which is now public
domain code, and squashed it into a single header for easier building.
2017-07-17 12:26:50 -04:00
Ryan C. Gordon
63de092cb7
zip: fail with correct error code if opening a directory.
2017-07-17 12:21:26 -04:00
Ryan C. Gordon
e84277a1df
Corrected reported value for unknown PHYSFS_stat() access times.
2017-07-17 12:21:02 -04:00
Ryan C. Gordon
62ad133862
Reworked the "unpacked" archivers to use DirTree.
...
This cleaned up a lot of code and improved things, and also allowed a lot of
the restrictions on unpacked archivers to be removed.
2017-07-16 04:39:14 -04:00
Ryan C. Gordon
ffa1836335
Moved ZIP tree management up to a higher level, to be reused elsewhere.
2017-07-15 15:59:55 -04:00
Ryan C. Gordon
56bddb0b78
Fixed some comments.
2017-07-16 04:35:46 -04:00
Ryan C. Gordon
5afd9754e2
Reenable QPAK support by default.
2017-07-16 04:34:52 -04:00
Ryan C. Gordon
9cec66be3e
Removed SWIG ifdefs in physfs.h
2017-07-16 04:36:40 -04:00
Ryan C. Gordon
53225ca62c
Fixed more Visual Studio compiler warnings.
2017-07-13 00:21:25 -04:00
Ryan C. Gordon
1bacc6d6af
Fixed some compiler warnings with Visual Studio.
2017-07-13 00:16:24 -04:00
Ryan C. Gordon
bf9999af2d
Fixed compiler warnings on Visual Studio about const qualifiers.
2017-07-12 23:54:45 -04:00
Ryan C. Gordon
efd71e08f6
Move headers around to get those MSVC anti-portability nags to go away.
2017-07-12 20:55:58 -04:00
Ryan C. Gordon
a681fe258d
unix: OS-specific paths should also chop filename off base path.
2017-07-12 20:52:51 -04:00
Ryan C. Gordon
187d04ae9e
Debian/kFreeBSD should use the FreeBSD-specific codepaths, not generic Unix.
2017-07-12 20:49:53 -04:00
Ryan C. Gordon
19b15d34a1
Cleaned up what symbols are exported from the library.
2017-07-12 15:41:12 -04:00
Ryan C. Gordon
2cb1f73737
Cygwin has mntent.h, and no need to check for CMake tests now.
2017-07-12 02:41:28 -04:00
Ryan C. Gordon
4b2180dd17
unix: Don't #error if no CD-ROM support, because we already give a #warning.
2017-07-12 02:33:15 -04:00
Ryan C. Gordon
68ad1fa8c5
Removed BeOS support (Haiku still supported, though!).
...
Since Haiku has pthread support, dropped the BLocker code and use the pthread
code from platform_posix.c instead.
2017-07-12 00:16:57 -04:00
Ryan C. Gordon
c2c1c7ac30
Removed __PHYSFS_platformSetDefaultAllocator(); nothing uses it now.
...
We can pull it back from revision control if something needs it later.
2017-07-11 23:52:13 -04:00
Ryan C. Gordon
0be0e3fd33
mac: Removed Carbon header include and custom allocator (just use malloc).
2017-07-11 23:47:48 -04:00
Ryan C. Gordon
73070339a4
Simplify CMakeLists.txt, etc.
...
Try to test things with preprocessor macros instead of CMake, and get rid of
silly options like turning off thread safety.
2017-07-11 23:32:46 -04:00
Ryan C. Gordon
fe55814681
vdf: make private functions static.
2017-07-11 23:25:20 -04:00
Ryan C. Gordon
4015689068
Patched to compile on BeOS/Haiku.
2017-07-09 20:50:48 -04:00
Ryan C. Gordon
53c81e216a
Checking if this #pragma pack works better on gcc 2.95.
2017-07-09 20:46:31 -04:00
Ryan C. Gordon
2dbd784cc1
Fixed some DOS newlines.
2017-07-09 20:45:34 -04:00
Ryan C. Gordon
3324ec88a9
Maybe fix compiler warnings on Cygwin.
2017-07-09 18:21:54 -04:00
Ryan C. Gordon
f5c6383b4b
Patched to compile on Visual Studio.
2017-07-09 18:17:33 -04:00
Ryan C. Gordon
cf11d2ec99
Workaround snprintf() deficiencies on Visual Studio.
2017-07-09 17:46:53 -04:00
Ryan C. Gordon
c057f2d7dd
Fixed compiler warnings on FreeBSD.
2017-07-09 17:31:27 -04:00
Ryan C. Gordon
083940aef1
Don't try to build CD-ROM support on Emscripten.
2017-07-09 17:28:33 -04:00
Ryan C. Gordon
f8ed5c6f7e
Replaced sprintf() calls with snprintf().
2017-07-09 17:06:37 -04:00
Ryan C. Gordon
e4c035a99f
Pacify compiler warning.
2017-07-09 17:02:13 -04:00
Ryan C. Gordon
bae1f440ba
Patched to compile on Windows.
2017-07-09 15:03:12 -04:00
Ryan C. Gordon
84231feb0f
windows: (re)added support for symbolic links.
2017-07-09 15:01:17 -04:00
Ryan C. Gordon
59a07020a8
Turn on all the archivers by default.
...
(Except for the lzma archiver, since it needs a bunch of external code.)
The difference in binary size, for Linux/amd64 compiled for size (-Os),
is 4 kilobytes. It's senseless to not just compile them all in.
2017-07-08 18:25:20 -04:00
Ryan C. Gordon
4cbffd39e8
OS/2: actually working again, now.
2017-07-07 13:55:52 -04:00
Ryan C. Gordon
683216def8
OS/2: more work on getting this to compile.
2017-07-07 13:06:44 -04:00