Commit Graph

102 Commits

Author SHA1 Message Date
Ryan C. Gordon 9e756312d5 Bumped version to 3.0.0! 2017-09-27 11:54:25 -04:00
R?mi Verschelde 3167a48675 CMake: Honor LIB_SUFFIX for pkgconfig install path 2017-09-27 21:04:15 +02:00
Ryan C. Gordon 4ca60a090b cmake: mark readline include directories as SYSTEM (thanks, Tobias!). 2017-09-25 17:07:08 -04:00
Marty Plummer db700fd327 Allow physfs.pc generation on mingw-w64 and osx homebrew/etc,
Rename physfs-static to physfs on mingw-w64
2017-07-16 23:03:07 -05:00
Ryan C. Gordon e19422cc06 qnx: Added more proper support for QNX. 2017-08-16 20:02:54 -04:00
Ryan C. Gordon cd0ccf64ed Bump version to 2.1.1, since we've been at 2.1.0 for 8.5 years. :)
There isn't going to be an official 2.1.1 (or 2.1.0) release; we'll let this
marinate a little and jump to 3.0!
2017-08-15 02:08:24 -04:00
Ryan C. Gordon 982411ec8a apple: Start using some Cocoa APIs, clean up a few related things. 2017-08-08 03:36:56 -04:00
Ryan C. Gordon 0a730433ae Rename physfs_platform_macos.c to physfs_platform_apple.m
It's not really "macOS," it's all of Apple's platforms (iOS, watchOS,
tvOS...AppleCarOS? heh), and second...we're about to need access to Cocoa
APIs, so we need it to be Objective-C. I fought as long as I could.  :/
2017-08-08 02:34:25 -04:00
Ryan C. Gordon ca4d5be5f8 cmake: Pacify warning about Policy CMP0042 not being set. 2017-08-08 02:27:47 -04:00
Ryan C. Gordon 99992bb1d5 WinRT: Disable harmless (in our case) linker warning. 2017-07-26 09:03:04 -04:00
Ryan C. Gordon f578f85557 Fixed building for WinRT via CMake. 2017-07-25 19:55:08 -04:00
Ryan C. Gordon 1e2650b6fc Serious cleanup and update of Windows RT support.
This compiles for WinRT, but isn't otherwise tested at all yet.
2017-07-24 03:29:33 -04:00
Ryan C. Gordon 18c89c1cbc Renamed all the sources to start with "physfs_"
So now you can drop this into your program and not worry about filename
conflicts, or where "platform_unix.c" came from in the debugger, etc.

Also renamed the "beos" sources to "haiku" and "macosx" to "macos" to match
modern platform names.
2017-07-22 12:59:06 -04:00
Ryan C. Gordon d9f040cb6a Add platform_os2.c to the CMake file. 2017-07-22 12:55:50 -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 46db289145 Fix lzma option in CMakeLists.txt 2017-07-12 20:39:03 -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 9ae6fc9e87 Maybe macOS needs -fno-common ...? 2017-07-12 02:40:16 -04:00
Ryan C. Gordon 5f5eca8d01 Remove -pthread argument. 2017-07-12 00:33:47 -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 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 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 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 e4206408e5 Add support for VDF 2017-06-20 13:22:41 -04:00
Ryan C. Gordon 6d9923706d Added pkg-config support (thanks, Jonas!). 2013-11-13 00:38:35 -05:00
Ryan C. Gordon 8156bd219c Only check for pthread library if pthread.h was found. 2012-11-25 21:52:36 -05:00
Ryan C. Gordon 06edd385fc From stable-2.0: explicitly check for pthread library, and link against it. 2012-11-25 21:51:43 -05:00
Aleksi Nurmi fd137cba42 SLB archiver 2012-11-12 23:40:29 +02:00
Ryan C. Gordon de59afc5a2 Remove SWIG stuff from build.
This is never going to work well everywhere. I'll leave the SWIG stuff
elsewhere, though, for those that want to build their own bindings.
2012-10-23 15:02:30 -04:00
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
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 bb6c5e468c Let's gamble that everything has assert.h.
(and we'll mask out specific platforms if we find one that doesn't.)
2012-03-19 20:27:28 -04:00
Ryan C. Gordon 1030e5d5ec Removed llseek().
Use Linux's off64_t support instead.
2012-03-18 12:31:29 -04:00
Ryan C. Gordon 700d94e577 Replaced zlib with a hacked up copy of miniz: http://code.google.com/p/miniz/ 2012-03-10 02:31:58 -05:00
Ryan C. Gordon 9e2acfd8a6 Removed OS/2 support. 2012-03-09 01:24:40 -05:00
Ryan C. Gordon 4d46d42f73 Removed PocketPC support. It was old and crusty and targeted a dead platform. 2012-03-09 00:44:59 -05:00
Ryan C. Gordon e4cc3fcd9b Removed a space in CMakeLists.txt that can make the linker grumpy. 2011-07-25 11:32:32 -07:00
Ryan C. Gordon 4075482826 Treat Haiku as BeOS in CMakeLists.txt ... this lets CD-ROM support build, etc. 2011-07-16 14:14:00 +00:00
Ryan C. Gordon 2939b26b7f Added an option to disable all SWIG bindings at once. 2011-02-22 00:16:56 -05:00
Ryan C. Gordon 4298d85313 Removed wxWidgets test program. 2011-02-21 23:55:58 -05:00
Ryan C. Gordon 014f0e2254 Put some quotes around autogenerated Doxygen options. 2011-02-21 23:45:22 -05:00
Ryan C. Gordon 72f0e7f9b5 Corrected doc paths for development branch. 2011-02-21 23:43:36 -05:00
Ryan C. Gordon 67995ad0c5 Bumping version in CMakeLists.txt (but this is not ready for a release!). 2011-02-21 23:42:54 -05:00
Ryan C. Gordon 7dee41eb0c Fixed "make docs" for out-of-tree builds.
Also: this automatically updates the version number in the docs, so I don't
 have to with each release.
(transplanted from 72778f1e98f06c1e02f88dc8d263027d61469766)
2011-02-21 23:35:24 -05:00
Ryan C. Gordon 54f72a0b42 Use LIB_SUFFIX to install to lib64 instead of lib (thanks, Cristian!). 2011-02-17 15:02:20 -05:00