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
4ae17a5d60
The archiver options in the CMake file should disable, not enable.
...
We now try to compile all archivers by default unless one explicit disables
them individually, so these options needed to be handled differently.
2017-07-11 00:40:51 -04:00
Ryan C. Gordon
3b5091ba9f
macOS only needs to link against CoreFoundation, not Carbon.
2017-07-11 00:39:18 -04:00
Ryan C. Gordon
f2cbac7479
Don't rename the static library on Windows.
...
"physfs.lib" will also be the import library's name, so it's best to leave it
separate on that platform.
2017-07-10 23:32:54 -04:00
Ryan C. Gordon
a7f5ebf684
Added some option information to the CMake output.
2017-07-10 22:56:49 -04:00
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