Commit Graph

970 Commits

Author SHA1 Message Date
Ryan C. Gordon f1cd4d8f0d THIS is Christoph's PHYSFS_stat() work.
I've merged some basic ideas from the other patch, which was Indy Sam's work,
 and cleaned up a few things.
2010-02-15 14:02:36 -05:00
Ryan C. Gordon 8e78e4719d Backed out changeset f87b0b7cca8e ... This wasn't Christoph's patch. Sorry! 2010-02-15 09:19:38 -05:00
Ryan C. Gordon 7cc80bebc5 Added first work on PHYSFS_stat() API (thanks, Christoph!). 2010-02-14 23:07:19 -05:00
Ryan C. Gordon eafefbdfdc Added SWIG-based Ruby bindings. 2010-02-04 04:46:14 -05:00
Ryan C. Gordon c08d722c2e Added Patrice to the credits. 2010-02-03 23:19:23 -05:00
Ryan C. Gordon 5a98fc83a8 Catch case where we use the Unix code on a non-Unix system that lacks pthreads.
Thanks, Patrice!
2010-02-03 23:14:11 -05:00
Ryan C. Gordon 6d6fec87ad Some targets need string.h here.
Thanks, Patrice!
2010-02-03 22:50:07 -05:00
Ryan C. Gordon 68db1196be Install test_physfs.pl with the rest of the project.
(Although I might yank this stuff...it probably doesn't need to go on the
end-user's system.)
2010-02-02 23:55:12 -05:00
Ryan C. Gordon 13a9f9b2dd Fixed "make dist" target. 2010-02-02 23:33:57 -05:00
Ryan C. Gordon 8ce71e5924 Added uninstall target for Unix platforms. 2010-02-02 23:22:49 -05:00
Ryan C. Gordon a40d3e1e3b Prevent bogus addition of -rpath to libraries. 2010-02-02 23:04:28 -05:00
Ryan C. Gordon 12ad3828e7 Not sure if this is still needed (it's definitely unneeded in CMake 2.8). 2010-02-02 23:04:13 -05:00
Ryan C. Gordon 35ed8dd586 Fixed filename collision when linking the library and script bindings. 2010-02-02 22:49:48 -05:00
Ryan C. Gordon 282bf1b3ec More perl bindings wanking. 2010-02-01 23:15:36 -05:00
Ryan C. Gordon bdd4d3ebe3 Added simple test for perl bindings. 2010-02-01 23:04:25 -05:00
Ryan C. Gordon 6116683f5e More work on Perl bindings linking.
Fixes linking on Mac OS X; the bindings now work there, too!.
2010-02-01 22:04:36 -05:00
Ryan C. Gordon c844a98be3 I think this gets the right Perl include path value.
Fixes Perl compiles on Mac OS X.
2010-02-01 21:33:20 -05:00
Ryan C. Gordon 8415f297f0 Use FIND_PROGRAM(perl) instead of FindPerl.
I don't see the value in using FindPerl at the moment.
2010-02-01 21:32:38 -05:00
Ryan C. Gordon 319ff77100 Initial work on Ruby bindings, barely started.
Mostly this is work on abstracting things in the build system.
2010-02-01 04:22:05 -05:00
Ryan C. Gordon 23d28cbe12 Tightened the SWIG warning filter. 2010-02-01 03:29:56 -05:00
Ryan C. Gordon 392193ea0c Hooked up Perl bindings, via SWIG. 2010-02-01 03:17:14 -05:00
Ryan C. Gordon 5720b168ca Fixed compiler warning on newer Linux systems. 2010-02-01 03:02:18 -05:00
Ryan C. Gordon a09a54d0f2 Initial SWIG work. 2010-01-29 04:17:44 -05:00
Ryan C. Gordon aa7126619e Added some (disabled!) calling conventions stuff. 2010-01-29 03:18:03 -05:00
Ryan C. Gordon 5629f8b8bc Renamed __EXPORT__ to PHYSFS_DECL. 2010-01-29 03:09:16 -05:00
Ryan C. Gordon c2c1ba9cc5 Fixed some C++-style one-line comments in C code. 2010-01-28 02:35:32 -05:00
Ryan C. Gordon 4cbe694020 Removed makedist.sh ... not needed with Mercurial's "hg archive" 2010-01-28 02:31:58 -05:00
Ryan C. Gordon 595ac1da39 Cleaned up returns that look like function calls for my updated coding style. 2010-01-28 02:27:45 -05:00
Ryan C. Gordon 17b2640d71 Corrected physfs.h installation for new directory layout (thanks, Patrice!). 2009-11-16 12:26:28 -05:00
Ryan C. Gordon cef8847a06 Attempt to clean up the thread ID mess in platform_unix ... 2009-09-06 01:05:27 -04:00
Ryan C. Gordon 5a26df8383 Fixed building with Mac OS X 10.6 SDK.
The SDK defines the TARGET_OS_IPHONE, etc symbols to 0, so you can't check
 "#if defined" for them.
2009-09-06 01:04:17 -04:00
Ryan C. Gordon 88729ebff2 Don't use -fvisibility=hidden on Windows, since MinGW doesn't support it. :( 2009-07-12 16:43:59 -04:00
Ryan C. Gordon a69f97bb26 Added some people to the credits. 2009-07-08 18:46:54 -04:00
Ryan C. Gordon 71e0e6883d Fixed CMakeLists.txt to properly handle cross-compiling (thanks, Marc!). 2009-07-08 18:45:21 -04:00
Ryan C. Gordon 44f6c8306d Try /proc/$PID/exe if /proc/self/exe doesn't work out. 2009-07-08 17:53:48 -04:00
Ryan C. Gordon 43207273dd Try to shrink returned buffer's allocation. 2009-07-08 17:47:05 -04:00
Ryan C. Gordon ff80fc8003 Fixed wrong readlink() usage (lstat() doesn't report dest link size!).
Thanks to Henk Boom for pointing this out.
2009-07-08 17:46:48 -04:00
Ryan C. Gordon 71fc15fd19 Temporary fix for (re)opening files in lzma archives (thanks, Sam!) 2009-06-21 17:37:47 -04:00
Ryan C. Gordon 5323b6a532 Fixed latin1 to UTF-8 conversion (sign conversion was broken). 2009-06-03 18:44:15 -04:00
Ryan C. Gordon 04b6388b68 Merged 0410dc655d45 from the 2.0-stable branch: strict-aliasing fix. 2009-05-03 01:36:18 -07:00
Ryan C. Gordon d7945d5955 Fixed strict-aliasing issue that gcc 4.4 complains about. 2009-05-03 01:24:41 -07:00
Ryan C. Gordon 94d1b71e49 I think sys/mount.h is only needed in the ucred.h path.
Fixes building on hurd, I think.
2009-05-02 23:25:41 -07:00
Ryan C. Gordon cedcd95541 Corrected __EXPORT__ test for Solaris. 2009-04-20 23:48:16 -04:00
Ryan C. Gordon 652f0ec03c Fixed a problem in some CMake versions. 2009-04-20 23:43:36 -04:00
Ryan C. Gordon d26781a809 Fixed SET_SOURCE_FILES_PROPERTIES in CMakefile for wxWidgets test app. 2009-04-20 23:41:27 -04:00
Ryan C. Gordon 57d908dca0 Added the Sun Studio equivalent of -fvisibility=hidden 2009-04-16 22:37:38 -04:00
Ryan C. Gordon 0bc32891ba Added sys/mnttab.h CD-ROM detection. Fixes missing CD-ROM support on Solaris. 2009-04-13 17:59:15 -04:00
Ryan C. Gordon 3b91814f20 Ignore empty files (like #ifdef'd out platform code) on Sun Studio compiler. 2009-04-13 17:58:35 -04:00
Ryan C. Gordon 05e3864db8 Updated test_physfs.c's version to match everything else. 2009-04-13 17:57:56 -04:00
Ryan C. Gordon d8d296e8c6 Merge all the Unix __PHYSFS_platformDetectAvailableCDs() funcs into one. 2009-04-13 17:09:36 -04:00