3532 Commits

Author SHA1 Message Date
getafix
747fb4ae53 Fixed OOStringParsing.m Linux build warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4199 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 18:37:05 +00:00
getafix
773b6ef889 Fixed OODebugTCPConsoleClient.m Linux build warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4198 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 17:55:45 +00:00
Jens Ayton
5e4d3e5695 Purged OO_NEW_JS. Now would be a good time for comprehensive test builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4197 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 17:27:40 +00:00
Jens Ayton
c997498109 Found the random combination of documentation and source code comments that makes it clear that DOUBLE_TO_JSVAL is invalid when value may be an integer, and switched everything to JS_NewNumberValue() (which is like JS_NewDoubleValue() only different, since JS_NewDoubleValue() was also invalid for potentially-integer values).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4196 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 16:30:06 +00:00
Jens Ayton
177ffb9baf Took a detour to improve printing of values in error messages and debug things.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4195 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 15:33:06 +00:00
Jens Ayton
69444e6943 Oldjs removal: various thin wrappers and stuff.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4194 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 14:49:46 +00:00
Jens Ayton
45de8ac142 Oldjs removal: started on replacing JS_NewDoubleValue() with DOUBLE_TO_JSVAL(), ended up reforming accessor error handling. Lots more to come.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4193 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 14:33:39 +00:00
getafix
05087b9427 Fixed MOZ_TRACE_JSCALLS warning on Linux builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4192 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 13:04:28 +00:00
getafix
ecc939e70d Updated Linux ports (i.e. 32bit & 64bit) to build with JavaScript engine 4.0b10.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4190 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 12:23:39 +00:00
Jens Ayton
e45e247a69 Beacon code memory management fix.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4189 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 22:18:51 +00:00
Eric Walch
75fd718d9d - Corrected a C&P error
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4188 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 21:51:05 +00:00
Jens Ayton
11df41547a [Mac] Hopefully fixed horrible-loud-noise bug (bug #17214), and definitely fixed quieter popping noises at the end of sounds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4187 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 21:40:03 +00:00
Jens Ayton
bce687613f Disabled TAF in deployment builds (and also shader debug hotkey, and extra info on FPSometer).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4184 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 20:45:17 +00:00
Jens Ayton
10dce944f1 Removed some dead code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4183 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 19:21:34 +00:00
Jens Ayton
0c57476192 Moar less UniversalIDs.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4182 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:51:26 +00:00
getafix
4ae2559403 Detach Linux <make clean> from deps/Cross-platform-deps/SpiderMonkey too.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4181 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:32:29 +00:00
Jens Ayton
9eacaec79b Switched from UniversalIDs to WeakRefs in beacon list.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4180 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:21:20 +00:00
getafix
16077685a5 Detach Linux builds from using /deps/Cross-platform-deps/SpiderMonkey source.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4179 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:17:47 +00:00
Eric Walch
42eb084069 - Fixed escort position for police ships.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4178 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:50:27 +00:00
Jens Ayton
2fd63cfc12 Fixed JS ship properties that weren't updated properly in r4169.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4177 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:17:48 +00:00
Jens Ayton
24a6856f44 Beacon icons are now rendered using OOPolygonSprite (bug #17828).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4176 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:01:55 +00:00
Jens Ayton
fcb033d3ef Added Entity.prototype.dumpState() method when using debug console. [Mac] Debug.OXP is once again build by Build All target. Don't know what happened there.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4175 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 15:18:51 +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
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