Ryan C. Gordon
ebb00f0520
Fixed building on MingW.
2017-07-10 17:50:27 -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
ffdc55f1e5
Fix some buildbot warnings about jobserver mode if $MAKE had a -j2, etc.
2017-07-09 17:09:40 -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
7cb89ce454
Updated TODO: zip64 support has been in for awhile now.
2017-07-09 16:57:56 -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
3e5f92d756
Added buildbot-raspberrypi.sh and fixed some other buildbot script things.
2017-07-08 22:20:43 -04:00
Ryan C. Gordon
bbd1fd4b38
Added buildbot-emscripten.sh, fixed up some minor things in buildbot-os2.sh.
2017-07-08 20:52:12 -04:00
Ryan C. Gordon
d1f8c9df35
buildbot-os2: zip to subdir to avoid tarbombing.
2017-07-08 20:20:03 -04:00
Ryan C. Gordon
e9e0ca81de
buildbot-os2.sh: still trying to get this path right...
2017-07-08 20:09:34 -04:00
Ryan C. Gordon
fc1687cc2d
buildbot-os2.sh: fixed some paths.
2017-07-08 20:02:54 -04:00
Ryan C. Gordon
35ab010a7b
buildbot-os2.sh: Zip to a specific filename.
2017-07-08 19:56:05 -04:00
Ryan C. Gordon
3776e50310
buildbot-os2.sh: build with full optimizations, zip up final library.
2017-07-08 19:45:35 -04:00
Ryan C. Gordon
16850b0a9c
buildbot-os2.sh: actually report an error code.
2017-07-08 19:25:59 -04:00
Ryan C. Gordon
b2e9cbf004
Added script to run Clang static analysis.
2017-07-08 19:16:47 -04:00
Ryan C. Gordon
3346eb24c6
Added a quick script to cross-compile to OS/2 from Linux with OpenWatcom.
2017-07-08 18:26:04 -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
d3237eba1f
Added Francesco Bertolaccini to the credits.
2017-07-07 14:04:58 -04:00
Ryan C. Gordon
377b420a18
Updated TODO.
2017-07-07 13:57:21 -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
Ryan C. Gordon
9a19eba065
Patched to compile with C89 compilers.
2017-07-07 09:21:06 -04:00
Ryan C. Gordon
2bd8c33fe5
OS/2: implemented Unicode support, modernized platform_os2.c's code.
...
(untested.)
Implemented Unicode support, ripped out old APIs that aren't used any more,
corrected some things.
2017-07-06 21:34:24 -04:00
Ryan C. Gordon
32da097a55
Cleanup BAIL_* and GOTO_* macros to be less cluttered.
...
This also fixes really aggressive compiler warnings about the "if (!ERRPASS)"
construct producing unreachable code.
2017-07-06 11:51:41 -04:00
Ryan C. Gordon
9aebcff5ba
OS/2: base dir needs to end with a path separator.
2017-07-06 00:47:36 -04:00
Ryan C. Gordon
34009cf762
Fix some endlines.
2017-07-06 00:04:10 -04:00
Ryan C. Gordon
d1e40af4e3
OS/2: fix up the base/user/pref dir code.
...
There might be better ways to do this in modern times than shove it all into
the base dir, though.
2017-07-06 00:03:49 -04:00
Ryan C. Gordon
062bdc2c5b
Patched to compile with OpenWatcom.
2017-07-05 23:49:10 -04:00
Ryan C. Gordon
9ca88e3794
Patched platform_os2.c to compile.
2017-07-05 23:48:21 -04:00
Ryan C. Gordon
58bca6ae05
Watcom C should include malloc.h to make the alloca macro available.
2017-07-05 21:30:39 -04:00
Ryan C. Gordon
15c18b0c04
os2: added OS/2 support back in.
...
With the release of ArcaOS, this is a live platform again.
This code probably doesn't compile yet; I've just given it a first shot at
resolving the changes between the last OS/2-supported revision and now.
This still needs Unicode support added in any case.
2017-07-05 21:29:37 -04:00
Francesco Bertolaccini
4b80422a79
vdf: Remove unused chunks of code, fix endianness.
2017-07-03 14:47:25 -04:00
Francesco Bertolaccini
dc5958ec71
Remove unused variable.
2017-07-03 14:41:08 -04:00
Ryan C. Gordon
656a9b92c0
Changed some URLs from http:// to https://, where supported.
2017-06-20 14:06:13 -04:00
Francesco Bertolaccini
e4206408e5
Add support for VDF
2017-06-20 13:22:41 -04:00
Ryan C. Gordon
cf18d4f2c6
Updated copyright to 2017.
2017-02-17 20:39:45 -05:00
Ryan C. Gordon
468edd80eb
Removed unused variable in extras/ignorecase.c ...
2016-10-06 15:39:49 -04:00
Ryan C. Gordon
2777b5efe2
Added a mostly-harmless FIXME.
2016-09-12 15:39:35 -04:00
Ryan C. Gordon
66b7767cec
Added support for password-protected .zip files.
...
To use: mount a .zip file as usual, open a file as usual, but append '$' plus
the password to the end of the path, like so:
PHYSFS_File *f = PHYSFS_openRead("/path/to/my/file.txt$MyPassword");
Note that this is the "traditional" PKWARE crypto, like you might get from
PkZip 2.04g or Info-ZIP. They have more advanced cryptography in the modern
.zip spec, but that's not implemented here. If you've ever tried to unzip
an archive and were prompted for a password, you probably saw the traditional
crypto at work.
Note that this is NOT a secure thing: if you ship an app that contains a
password, someone with a debugger can retrieve it. Note also that this
password could be available to any code registered as a PHYSFS_Archiver, and
that due to how archives combine into a single file tree, the wrong archiver
can get the password, at a minimum causing it to fail because passwords don't
match.
In short: make sure you know what you're doing before you use this!
2016-09-12 15:38:30 -04:00
Ryan C. Gordon
ab7eb81a4a
Platform deinit should happen last, since other deinit bits might depend on it.
2016-09-07 21:21:59 -04:00
Ryan C. Gordon
dfd658ff92
Fixed miniz code that triggers recent GCCs' -Wmisleading-indentation.
2016-08-26 18:46:11 -04:00