3460 Commits

Author SHA1 Message Date
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
c1bb239102 Added macros for common combinations of JS property flags, and added JSPROP_SHARED to all callback-based properties.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4169 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 10:48:50 +00:00
Jens Ayton
7a5e76669c Updated to latest Clang Static Analyzer (checker-254), and fixed all issues but one (which appears to be a bona fide Clang bug). Most of the fixes had to do with incorrect init methods.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4168 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-28 14:54:14 +00:00
Nikos Barkas
1f6eb8214b Commited updated Reference Sheet PDF plus equivalent OpenOffice.org source file.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4167 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 22:02:26 +00:00
Jens Ayton
d7b77e5f39 Suppress warnings when building icosmesh under Linux (feature request #5254).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4166 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 21:21:48 +00:00
Jens Ayton
b050faa3b2 Experimental support for letting station scripts determine whether a ship is physically able to dock. Disabled because of collision detection problems with inactive docking ports.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4165 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 19:50:13 +00:00
Jens Ayton
30b50bd694 Cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4164 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 19:21:12 +00:00
Jens Ayton
adec267577 Fixed JS missionVariable enumerable, and made SystemInfo objects enumerable (so :d system.info works, for example).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4163 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 18:50:21 +00:00
Eric Walch
e4bc696ed7 - Added a cloakAutomatic ship property an a cloak_automatic shipkey. Default = yes
- GROUP_ATTACK_TARGET messages are now also send to escorts is the mother is part of a bigger group.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4162 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 18:14:33 +00:00
Nikos Barkas
7b8df93f45 Fixed miniature planets and demoships remaining on screen when a JS mission screen was started.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4161 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-27 17:10:33 +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
019f71973e Further JavaScript streamlining.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4156 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 20:19:35 +00:00
Jens Ayton
4923976dcf Fix for something that builds in testrelease but not debug, for variation.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4155 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 20:08:12 +00:00
Jens Ayton
4270ec1eb1 JS Ship.prototype.equipmentStatus() now returns EQUIPMENT_UNKNOWN when passed a string that isn't a known equipment identifier.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4154 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 19:31:26 +00:00
Jens Ayton
aee2cacb23 Finished Clang run-through. One leak fixed, five messages remaining are accounted for. (Pity about the dozens in libnspr and libvorbis.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4153 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 19:17:55 +00:00
Jens Ayton
3289dfc9c5 More Clang Static Analyzer stuff. Fixed some potential junk accesses, asserted some previously-implicit assumptions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4152 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-25 19:14:33 +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
1e37e0961a Simplifed OOJSScript so there's now One True method call interface.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4150 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 21:40:15 +00:00
Jens Ayton
c73749773e Only send guiScreenChanged() once when switching to shipyard screen.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4149 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 20:53:36 +00:00
Jens Ayton
ad400a23ac Yet more JS event handling reform.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4148 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 20:52:32 +00:00
Jens Ayton
9c99848716 More JS event handling reform.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4147 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 20:00:49 +00:00
Jens Ayton
5e26246215 Undid mess.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4146 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 19:40:55 +00:00
Jens Ayton
8fba230594 Ensure consistent definition of OO_NEW_JS.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4145 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 19:39:45 +00:00
Jens Ayton
2fba6d4acb Disabling counts_as_kill also suppresses q-bomb cascade.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4144 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 18:32:12 +00:00
Jens Ayton
37c5982f4a Added counts_as_kill shipdata key.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4143 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 18:14:01 +00:00
Jens Ayton
a9fda60269 Belatedly remembered that the whole multiple-JavaScript-context thing was a completely bogus hack to work around bad exception handling, and ripped it out for the slight simplicity win.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4142 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 17:17:43 +00:00
Jens Ayton
df33517045 Fix type mismatch.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4141 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 16:35:51 +00:00
Jens Ayton
ade28ce185 Work on reducing the number of object translations involved in script dispatch. Also, hid every single JS_BeginRequest()/JS_EndRequest() pair inside OOJavaScriptEngine by baking them into acquireContext and releaseContext:.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4140 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-24 16:28:46 +00:00
Jens Ayton
b368c831af Aforementioned oldjs shenanigans, now with usefulness.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4139 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 22:35:05 +00:00
Jens Ayton
babf28f15b Workaround for defective ObjC type checking in gnu-gcc.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4138 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 22:33:45 +00:00
Jens Ayton
19c2ad245a More oldjs shenanigans.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4137 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 22:29:49 +00:00
Jens Ayton
f48845621e "The F11 key, it does nothing!"
"You'll just have to use the Settings screen like everyone else."



git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4136 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 22:25:01 +00:00
Nikos Barkas
bd59902632 Fixed (hopefully - please verify correctness of fix) build breakage on Windows.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4135 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 21:57:36 +00:00
Jens Ayton
d1c880e315 Converters defined with DEFINE_JS_OBJECT_GETTER() now show up with their real name in profiles.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4134 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 21:20:00 +00:00
Jens Ayton
f27f1c23b2 Streamlined JSFunctionPredicate.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4133 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 21:11:27 +00:00
Jens Ayton
fa0161db70 oldjs fixage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4132 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 20:52:13 +00:00
Jens Ayton
b636e923ce Work on using jsids instead of strings to identify methods and properties, starting with the simple cases.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4131 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 20:43:56 +00:00
Jens Ayton
0aba4b0971 Removed support for changedScriptHandlers.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4130 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 19:39:03 +00:00
Jens Ayton
4ef5f4a8b0 New JS method global.defaultFont.measureString().
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4129 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 18:24:52 +00:00
Jens Ayton
68c0a3c5b3 Build fixage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4128 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 17:48:46 +00:00
Jens Ayton
e5bcbdc5b7 Support for explicitly-sized overlays and backgrounds (bug #17201).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4126 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 17:06:26 +00:00
Jens Ayton
95b9116437 Infrastructure for specifying overlay/underlay height. Also fixed default value of runMissionScreen() spinModel setting.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4125 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 15:37:01 +00:00
Nikos Barkas
20687d8f71 Fixed SDL build warning (-recenterVirtualJoystick is a Mac-only method).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4124 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-23 14:39:41 +00:00