Commit graph

34 commits

Author SHA1 Message Date
walterhiggins a7dcb503aa Major overhaul of plugin and module loading system and scriptcraft directory layout 2013-12-24 00:09:49 +00:00
walterhiggins f35a729ceb Adding support for 'require()' and node.js-style modules (not node modules per se - just support for the same module semantics) 2013-12-21 08:58:40 +00:00
walterhiggins a760cec44c spelling error in docs 2013-12-17 23:52:53 +00:00
walterhiggins 249d3dda31 improved require function 2013-12-17 23:49:00 +00:00
walterhiggins bcf44fe345 Adding experimental require() function like commonjs (barebones support for require() and exports) 2013-12-15 21:26:28 +00:00
walterhiggins 55563a090e added version to plugin.yml 2013-10-21 20:24:29 +01:00
walterhiggins 6f725423c0 reordered comments 2013-10-13 21:08:31 +01:00
walterhiggins 396a8e6107 Added setTimeout(), clearTimeout(), setInterval() and clearInterval() functions so javascript programmers familiar with these functions can use them in Minecraft 2013-10-09 18:42:39 +01:00
Aaron Mueller 720564652f Integrate the CoffeeScript Compiler for .coffee files
Simple integration of CoffeeScript support. The code uses the JavaScript
implementation of the CoffeeScript compiler. All *.coffee files get
compiled to JavaScript just before eval(). Additionaly a new command
named /coffe is introduced to run CoffeeScript code straight in the
Minecraft console.
2013-08-11 20:35:23 +02:00
walterhiggins a8ad3e0444 fixed api docs 2013-06-07 08:35:22 +01:00
walterhiggins 244e1af270 Fixed problems with AutoComplete 2013-04-07 20:09:04 +01:00
walterhiggins 79e05f2bc0 unregister event listeners when plugin is disabled (better co-op with other plugins) 2013-03-18 08:37:58 +00:00
walterhiggins 89b2dca496 fixed typo - forg -> org 2013-03-09 22:13:36 +00:00
walterhiggins 66abbfc142 fix for issue #69 2013-03-09 16:50:12 +00:00
walterhiggins 6e113a2eca Fixed autocomplete issue #68 2013-03-02 18:46:50 +00:00
walterhiggins 1eb6756204 moved drone buildings/add-ons to drone/contrib folder 2013-02-24 17:57:45 +00:00
edonaldson eebec82aea Update _scriptcraft.js to include unload Handlers
unload Handlers will be called just before the plugin is unloaded.  This will allow cleanup of event handlers and threads before all references are lost during a reload.
2013-02-22 15:43:38 -06:00
walterhiggins a684a0b333 fix issue #60 2013-02-19 22:38:23 +00:00
walterhiggins 8ce1de05ea Fix for issue #60 (files locked because the streamreader is not closed) 2013-02-18 19:33:21 +00:00
walterhiggins fbc459a4d3 Added more documentation. 2013-02-17 17:43:28 +00:00
walterhiggins 26c6fecc8b more comments/docs 2013-02-10 19:36:39 +00:00
walterhiggins d6965a43ca changed order of loading .js so that modules primary .js files get loaded before others in same directory 2013-02-10 17:52:37 +00:00
walterhiggins 5830c73df0 Added docs for events module 2013-02-10 13:42:32 +00:00
walterhiggins b34d456427 Fix issue #51 - tab completion reporting incorrect globals 2013-02-02 13:15:32 +00:00
walterhiggins a621c473c1 include object methods in tab complete 2013-01-29 22:02:30 +00:00
walterhiggins 1732bf15dd better tab completion on /jsp issue #35 2013-01-26 17:49:11 +00:00
walterhiggins 446ba9ad7b changed to and tweaked tabcomplete 2013-01-26 13:47:16 +00:00
walterhiggins a002e1100c changed plugin back to __plugin 2013-01-25 00:53:40 +00:00
walterhiggins 888ee6c208 renamed __self to self 2013-01-24 23:47:36 +00:00
walterhiggins 348a1d06ad don't make reload() function public 2013-01-24 20:22:22 +00:00
walterhiggins 844c70c21e don't load same javascript file more than once 2013-01-24 20:12:41 +00:00
walterhiggins 68f8acd922 More informative errors when evaluating javascript files 2013-01-23 00:50:16 +00:00
walterhiggins a8f0d0bdf9 load drone.js 2013-01-23 00:02:57 +00:00
walterhiggins 17dddb1dc9 Reorganised directories to be more maven-like 2013-01-21 23:10:57 +00:00
Renamed from js-plugins/core/_scriptcraft.js (Browse further)