Commit graph

46 commits

Author SHA1 Message Date
Joe Walker
38c9fc7a93 a big lump of work to get the command line able to execute commands, and to hack in a trivial cli 2010-12-08 13:13:33 +00:00
Joe Walker
0c0357c177 convert settings API to have Setting class with get() and set() methods. Also several tidy-ups 2010-12-03 15:38:51 +00:00
Joe Walker
0930c37675 Rename Input to Cli. Extract CliUi as an interface. Add knowledge of cursor positioning to convert INCOMPLETE hints to INVALID if the cursor isnt in that hint. Many tidyups and tweaks as we create a test suite 2010-12-03 15:38:35 +00:00
Joe Walker
2c4bfd4310 Lots of work to flesh out the cli test suite 2010-12-03 15:38:14 +00:00
Joe Walker
3dbb9d4c65 Have Status use string constants in place of numbers for easy debugging for now 2010-12-03 15:38:13 +00:00
Joe Walker
f8af72dd07 fix hints, now all cli tests pass 2010-12-02 12:43:11 +00:00
Joe Walker
59794db155 convert Assignment from using plain text to using an Argument 2010-12-02 12:22:50 +00:00
Joe Walker
5ba1d3f75e Move types from commands/settings.js into types/settings.js 2010-12-02 11:15:31 +00:00
Joe Walker
d0fc416e01 addition of a new commandType that we use to generate completion hints 2010-12-02 11:15:31 +00:00
Joe Walker
c3d74828dc new arrayRemove method 2010-12-02 11:15:31 +00:00
Joe Walker
e544ad30fc rename Type methods: s/toString/stringify and s/fromString/parse to avoid clash with built in meaning for toString. Also add lots of documentation, a new DeferredType, and lots more checks to how types are created 2010-12-02 11:15:31 +00:00
Joe Walker
84a174f9d7 make sure new settings and commands are registered properly 2010-12-02 11:15:31 +00:00
Joe Walker
b44e8c83b6 minor tweaks 2010-12-02 11:15:31 +00:00
Joe Walker
f256175f71 A ton of fixes from the creation of unit tests. Addition of ConversionHint and Argument and classes from canon. Also Input is a lot flatter than it was (easier testing) 2010-12-02 11:15:31 +00:00
Joe Walker
e5b1a59c5e make addCommand convert parameters types to Types, make exec work on commands as well as command names, and thus remove execRequisition. Move Requisition and Assignment into canon, and lots of tidyup 2010-12-02 11:15:31 +00:00
Joe Walker
e63a3fb496 lots of new unit tests 2010-12-02 11:15:31 +00:00
Joe Walker
8dc758dcc1 ton of work porting input.js from old bespin 2010-11-26 16:12:10 +00:00
Joe Walker
3fd894954b minor tidy-up 2010-11-26 16:11:40 +00:00
Joe Walker
022f3b240d make fromString return a conversion object. rather than the converted value 2010-11-26 12:04:34 +00:00
Joe Walker
ab25eee135 Add greatly simplified Requisition and Assignment from old bespin 2010-11-26 12:04:27 +00:00
Joe Walker
7b2bee9d49 remove command support from the plugin manager, and tidy up 2010-11-24 15:56:53 +00:00
Joe Walker
f6fa510708 beef up the canon for exec commands and the knowledge of the environment 2010-11-24 15:56:42 +00:00
Joe Walker
f61550c862 adding historyLength setting 2010-11-24 14:21:50 +00:00
Joe Walker
1772e7eab5 add basic extension catalog 2010-11-24 14:21:25 +00:00
Joe Walker
ad335b2cce add extra modules to startup sequence 2010-11-24 14:14:40 +00:00
Joe Walker
98a711fa51 rationalize set|unset commands into a commandSpec and startup|shutdown config 2010-11-24 14:14:31 +00:00
Joe Walker
b92164036f fix startup process, remove Canon object and expose registration functions directly 2010-11-24 14:14:18 +00:00
Joe Walker
cd03bfcda8 minor tidy-up 2010-11-24 14:13:40 +00:00
Joe Walker
5b1f565a4d fix startup issue where a require of oop was missing from canon 2010-11-23 15:54:10 +00:00
Joe Walker
10843ba7e6 remove $ function and property from EventEmitter 2010-11-23 15:52:44 +00:00
Joe Walker
7974ef5a71 s/MEventEmitter/EventEmitter/g 2010-11-23 15:49:02 +00:00
Joe Walker
bd2a2bff98 move event_emitter into pilot 2010-11-23 15:46:59 +00:00
Joe Walker
3d3cef1a6f make canon and settings use EventEmitter 2010-11-23 15:38:32 +00:00
Joe Walker
81cb24ef17 minor tidyups 2010-11-23 14:50:28 +00:00
Joe Walker
be9b8a0f3f move oop.js into pilot 2010-11-23 14:36:12 +00:00
Joe Walker
5f3beef482 move lang.js into pilot 2010-11-23 14:35:01 +00:00
Joe Walker
0977c392f1 move event.js into pilot 2010-11-23 14:33:38 +00:00
Joe Walker
87a15aaa5a move dom.js into pilot 2010-11-23 14:27:44 +00:00
Joe Walker
82143b473b move core into pilot 2010-11-23 14:27:16 +00:00
Joe Walker
504acb230c fix loading
it appears that modules with a shutdown cause a load failure ???
2010-11-23 14:23:49 +00:00
Joe Walker
1de0d55759 move old browser fixes to a separate file, and have way to startup/shutdown other modules 2010-11-23 12:34:14 +00:00
Joe Walker
45e64eeca0 add canon from skywriter 2010-11-23 12:32:31 +00:00
Joe Walker
af278fa573 add settings from skywriter 2010-11-23 12:30:13 +00:00
Joe Walker
fca0eeb1ff Minor tidyups 2010-11-23 12:28:29 +00:00
Joe Walker
5564b2fd86 addition of types to pilot from skywriter 2010-11-19 15:48:45 +00:00
Kevin Dangoor
01e9fdf772 editor.html now boots with a bit of the plugin system 2010-11-18 23:13:56 -05:00