61 Commits

Author SHA1 Message Date
Jens Ayton
e351cbdc17 Xcode project update 2014-11-08 00:26:07 +01:00
Jens Ayton
86ded4d81a Mac: perform Xcode upgrade check, upgrade unit tests 2014-09-21 14:20:30 +02:00
Jens Ayton
dcca8d1763 Xcode 6 compatibility
* Always use latest Mac OS X SDK
* Don't build fake poll() in libnspr
* Suppress auto-import warnings (applies to Xcode 5.1 too)
2014-09-21 12:44:13 +02:00
Jens Ayton
3a5a99fc9b Update for Xcode 5.1 2014-04-06 14:16:20 +02:00
Jens Ayton
d66798f670 Fix more Xcode 5 project issues
I thought I'd done these, but apparently not.
2013-11-02 14:27:09 +01:00
Jens Ayton
1e3117655f Use submodules for Ogg and Vorbis (OS X) 2013-05-13 20:44:27 +02:00
Jens Ayton
c6e8a6acb6 Use submodule for SpiderMonkey (OS X/Linux) 2013-05-13 19:09:39 +02:00
Jens Ayton
52dff6239c Update Mac build system for git layout and Xcode 4.6.2 2013-05-11 21:33:02 +02:00
Jens Ayton
33be8e28dd [Xcode 4.6] Minor warning cleanup and project tweaks.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5630 127b21dd-08f5-0310-b4b7-95ae10353056
2013-01-29 20:13:37 +00:00
Jens Ayton
7491a2b6d4 Xcode 4.5 project updates.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5349 127b21dd-08f5-0310-b4b7-95ae10353056
2012-09-22 12:18:22 +00:00
Jens Ayton
31129eaac4 Updated some currently unused Xcode settings to recommended defaults. Renamed shared Xcode schemes so as to stop confusing the poor mailing list commit hook.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5140 127b21dd-08f5-0310-b4b7-95ae10353056
2012-07-28 14:43:57 +00:00
Jens Ayton
d623cef04d [Mac] Fixes for Xcode 4.3 compatibility.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4786 127b21dd-08f5-0310-b4b7-95ae10353056
2012-02-17 00:00:39 +00:00
Jens Ayton
4cdf3812c2 Updated libpng to 1.5.8 for Mac OS X.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4757 127b21dd-08f5-0310-b4b7-95ae10353056
2012-02-02 22:06:25 +00:00
Jens Ayton
11619ea6fa This time for real: avoid redundant builds of libjs under Xcode 4.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4732 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 22:32:37 +00:00
Jens Ayton
17ebd69552 Avoid redundant recompilation of 30 files in libjs in every Xcode 4 build.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4730 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 21:49:04 +00:00
Jens Ayton
d0b7235ecf Eliminated arithmetic functions that existed only for (mostly dubious) PowerPC optimizations.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4720 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:16:18 +00:00
Jens Ayton
5921ace94f Repeated a bunch of configuration changes for Xcode 4 that somehow got lost in a git rebase.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4714 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:15:17 +00:00
Jens Ayton
16d7119c0a Switched compiler to Clang.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4712 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:14:56 +00:00
Jens Ayton
7bf2a10879 Configuration fixes to get libpng deployment release to build.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4710 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:14:40 +00:00
Jens Ayton
95de278701 Removed PowerPC-specific hacks for SpiderMonkey.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4706 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:14:05 +00:00
Jens Ayton
b3e2d8ccd0 Mac build setting changes and code compatibility fixes:
SDK is now 10.6.
Deployment target is now 10.5.
PowerPC support disabled.
Compatibility wrappers added to NSFileManager.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4705 127b21dd-08f5-0310-b4b7-95ae10353056
2012-01-08 18:13:56 +00:00
Jens Ayton
f13537c2a1 Fixed 32-bit Mac debug builds of libpng.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4467 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-13 00:34:18 +00:00
Jens Ayton
67dd32dc17 [Mac] Removed custom configuration for libpng; too much bother for a 133 KiB saving. Fixes bug #17968.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4451 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-10 17:27:18 +00:00
Jens Ayton
7ec4ffbef7 Bumped SpiderMonkey to FF4rc1. No code changes needed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4447 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-10 15:50:22 +00:00
Michael Werle
0ff18e7dd8 Convert download scripts to /bin/sh, as requested by 'Spooky' for better compatibility with FreeBSD (and other Unices).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4443 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-08 15:23:01 +00:00
Jens Ayton
71e7128d73 Updated to FF4b12 SpiderMonkey for Mac; code now requires this version due to an API change.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4409 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-26 10:30:27 +00:00
Michael Werle
d915f5fde5 Makefiles - rework to accomodate new Javascript library
(Combined effort from Micha, Konstantinos, and Nikos)
 + removed support for building legacy libjs
 + (Linux only) now use the MacOS update script to auto-download the JS library
     - download script failure checks tweaked for older versions of bash
 + new Makefiles:
     - libjs.make - to download & build libjs (Linux only)
     - config.make - contains shared configuration variables between makefiles
 + debian packaging rules updated to suit



git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4362 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-16 13:24:56 +00:00
Jens Ayton
b6b00ab89a Cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4223 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-04 12:53:25 +00:00
Jens Ayton
436dfe5ebe [Mac] Fixed link error in TestRelease builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4174 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 13:31:46 +00:00
Jens Ayton
114a7b7d9f Player debris (and ejection doppelgänger) now inherit player temperature. (Bug #17391)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4173 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 13:07:01 +00:00
Jens Ayton
afd4e2c301 [Mac] Fixed overzealous download script fix redux. Also, disabled environment variable spew when building Ogg and Vorbis.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4172 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 12:40:00 +00:00
Jens Ayton
a278738d02 Fixed overzealous download script fix.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4171 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 12:26:05 +00:00
Jens Ayton
e59ffc2aff Switch to FireFox 4 beta 10 version of SpiderMonkey for Mac OS X.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4170 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 11:55:19 +00:00
Jens Ayton
19f05aa8f2 Changed assertion on targeting a wormhole without a wormhole scanner to soft fallback behaviour, after a report in the forum. Possibly a recycled entity ID? Memo: entity IDs are evil.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4160 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 00:29:27 +00:00
Jens Ayton
1fabd05576 [Mac] jsautooplen.h and jsautokw.h are now actually automatically generated for ease of updating.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4159 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-26 17:49:05 +00:00
Jens Ayton
a749e59a43 Missing file.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4158 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-26 00:11:54 +00:00
Jens Ayton
f987fd0829 [Mac] Added Sparkle update support, finally.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4157 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 23:31:19 +00:00
Jens Ayton
40eb15a237 Going through Clang Static Analyzer messages. Some fixes, some cleanup. In particular, fixed leaks of planet texture generators.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4151 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 18:51:52 +00:00
Jens Ayton
9a35273d39 [Mac] Build fix for JS profiling.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4085 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-17 07:47:37 +00:00
Jens Ayton
dec2c7332b JavaScript functions are now included in profiles (requires newjs, native ObjC exceptions and MOZ_TRACE_JSCALLS).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4083 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-16 22:03:35 +00:00
Jens Ayton
7067036207 Compatibility fixes for libpng 1.5.0, and some general libpng usage fixes. Didn't update to 1.5.0 for Mac because it's buggy and spews a bunch of spurious warnings.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4030 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-07 15:13:58 +00:00
Jens Ayton
607a842dd8 [Mac] Libpng now gets its own Xcode project rather than skulking around in the main one.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4029 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-07 13:59:33 +00:00
Jens Ayton
7d12bca54f Enabled YARR (regexp) JIT for Mac OS X.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4000 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-04 17:41:14 +00:00
Jens Ayton
ded11b65a3 Made JSEntityGetEntity() and similar accessors more efficient. Started work of making native callbacks explicitly return VOID when necessary, as this is no longer handled implicitly when not setting a return value.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3937 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-31 15:30:07 +00:00
Jens Ayton
e239e66d13 Disabled jsapi test testIsAboutToBeFinalized.cpp, which appears to be making unwarranted assumptions about GC behaviour.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3928 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-30 22:32:13 +00:00
Jens Ayton
abb85d2126 Partial fix for jsapi test failures in i386-debug build. Minor cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3927 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-30 22:07:08 +00:00
Jens Ayton
c3bb0702d4 Added Mac target for jsapi tests to jslib project (except one test which has linker problems).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3926 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-30 21:14:00 +00:00
Jens Ayton
b057dcfeb3 Enabled method JIT (JaegerMonkey) in Mac newjs builds. Activated JIT in non-debug builds on all platforms.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3924 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-30 14:30:11 +00:00
Jens Ayton
ddf27ca613 Enabled tracing JIT (TraceMonkey) in Mac newjs builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3921 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-29 20:55:55 +00:00
Jens Ayton
6a97dcf564 Minimized amount of nspr built for Mac newjs builds. Enabled thread-safe mode for debug builds so the nspr stuff is actually used for something.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3920 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-29 18:03:45 +00:00