Jens Ayton
|
926b2f81ea
|
Made use of ECMAScript 5 meta-stuff; methods defined in prefix header are now non-enumerable and non-writeable just like native ones.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4016 127b21dd-08f5-0310-b4b7-95ae10353056
|
2011-01-06 12:05:16 +00:00 |
|
Jens Ayton
|
62f35e872c
|
Tweaked console script so console input isn't forced into strict mode.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4015 127b21dd-08f5-0310-b4b7-95ae10353056
|
2011-01-06 01:24:13 +00:00 |
|
Jens Ayton
|
d9678aa0dd
|
Output prettification for debug console (and improved :d macro).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4001 127b21dd-08f5-0310-b4b7-95ae10353056
|
2011-01-04 19:14:47 +00:00 |
|
Jens Ayton
|
c34f7e03f1
|
Enabled ECMAScript 5 strict mode in all built-in scripts.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3958 127b21dd-08f5-0310-b4b7-95ae10353056
|
2011-01-02 17:54:54 +00:00 |
|
Jens Ayton
|
ecfef79f97
|
File and line information is now suppressed for code called through the console.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3946 127b21dd-08f5-0310-b4b7-95ae10353056
|
2011-01-01 13:41:50 +00:00 |
|
Jens Ayton
|
dc5e27ada4
|
Built-in (more precisely, OXP-defined) console macros are now separate from user-defined ones; they take precedence and cannot be deleted or overwritten.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3909 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-12-26 13:28:06 +00:00 |
|
Jens Ayton
|
723846018e
|
Exposed global object as property of itself, instead of fiddling around with silly functions where it's needed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3730 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-07-30 20:00:46 +00:00 |
|
Jens Ayton
|
dcbfd7f1c5
|
Fix up some callObjC() stuff in debug console.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3638 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-28 06:58:03 +00:00 |
|
Jens Ayton
|
3c88ad59f5
|
Cleaned up some invalid JS attributes. Fixed JS namespace pollution with call() and inspect(), and renamed call() to callObjC(). Mission variable names may no longer begin with underscores. Script names may no longer begin or end with underscores or whitespace. The missionVariables object may now be enumerated with for-in.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3636 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-27 23:52:37 +00:00 |
|
Jens Ayton
|
18bebd07c7
|
Started deploying profiling and thread-safety macros - even if they don't work in Windows, they're useful elsewhere. Profiling is now used on all Vector3D and Quaternion methods, all System methods, and the hot path for System.addShips(). Disabled aggressive JS GC testing in Mac TestRelease builds, so that profiling results are vaguely useful.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3623 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-27 13:25:08 +00:00 |
|
Jens Ayton
|
288b0650d5
|
Improved JS profiler output.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3592 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-23 20:02:36 +00:00 |
|
Jens Ayton
|
844b875396
|
Added basic profiling facility for JavaScript. Examples of use:
console.profile(function(){ console.shaderMode = "SHADERS_OFF"; });
or
:profile console.shaderMode = "SHADERS_OFF"
either of which print a string like:
0.94239 seconds (2.00559e-05 seconds JavaScript, 0.94237 seconds extension
time)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3543 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-15 16:28:42 +00:00 |
|
Jens Ayton
|
abc947defa
|
More version bumpage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3526 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-06-13 17:44:06 +00:00 |
|
Jens Ayton
|
e12b40f5e2
|
Changes to the shader mode through the debug console is no longer saved. The reduced detail setting is now exposed through the console (also not saved), and disabled by the material test suite.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3430 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-05-29 19:42:46 +00:00 |
|
Jens Ayton
|
2474ea35a4
|
Documentation of maximumShaderMode in console script.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3346 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-05-14 17:12:42 +00:00 |
|
Jens Ayton
|
c9cdbc7631
|
Added extra shader validation, controlled by DEBUG_SHADER_VALIDATION flag. Removed DEBUG_ENTITIES and merged DEBUG_OCTREE and DEBUG_OCTREE_TEXT into DEBUG_OCTREE_LOGGING.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3148 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-11 16:03:43 +00:00 |
|
Jens Ayton
|
d267cf71bf
|
Implemented fallback to simple shader mode when full shader doesn't build, and added test case. Added debug flag to disable callback behaviour, used in shader test suite. Also moved debug flags to their own header.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3144 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-11 13:57:02 +00:00 |
|
Jens Ayton
|
a84f5cc45f
|
Added symbolic constants (or the closest you can get in JavaScript) for debug flags to console object.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3143 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-11 13:04:26 +00:00 |
|
Jens Ayton
|
d3dca497f2
|
Added debugConsole.platformDescription for shader test suite. Also more radium green, because I can.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3141 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-10 17:35:16 +00:00 |
|
Jens Ayton
|
d966b450d0
|
Exposed OOLogInsertMarker() to debug console.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3139 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-10 11:01:13 +00:00 |
|
Jens Ayton
|
4c93d3118b
|
Exposed FPS display toggle and some GL renderer info to debug console. Allow empty titles in mission screens.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3138 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-04-10 10:37:19 +00:00 |
|
Jens Ayton
|
a97c00a247
|
system.addPlanet() and system.addMoon() now return the new planet.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3042 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-02-26 11:33:22 +00:00 |
|
Jens Ayton
|
8eb9b061ee
|
Debug script tweakage; no more <unknown script> for syntax errors on script loading.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3036 127b21dd-08f5-0310-b4b7-95ae10353056
|
2010-02-19 14:09:32 +00:00 |
|
Jens Ayton
|
2e936d6971
|
New console feature: last non-null, non-undefined result is stored in varaible $.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2810 127b21dd-08f5-0310-b4b7-95ae10353056
|
2009-11-30 14:37:52 +00:00 |
|
Jens Ayton
|
b3f7f8508a
|
Tidying up in project directory.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2793 127b21dd-08f5-0310-b4b7-95ae10353056
|
2009-11-28 14:25:17 +00:00 |
|