Commit graph

526 commits

Author SHA1 Message Date
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
864eb77d4d Merge remote branch 'origin/master'
Conflicts:
	lib/ace/editor.js
	lib/ace/test/change_document_test.js
	lib/ace/test/event_emitter_test.js
	lib/ace/test/text_edit_test.js
	lib/ace/test/virtual_renderer_test.js
2010-12-02 11:21:09 +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
wittemann
b9982435f7 Fixed win key bindings. 2010-12-02 11:15:31 +00:00
Eddy Bruel
215cfbf4bf Fixed a bug in single line tabbing that caused
the tab length not being taken into account.

Added DOM emulation to the unit tests so that they
can be run from node.

Extended the Mockrenderer for the unit tests.

Made the majority of the unit tests work again
(barring those for moveLinesUp, see below).

Fixed a bug in moveLinesUp that caused an empty
line to be inserted. However, this fix causes the
editor to break (need to look at this).
2010-12-02 11:15:21 +00:00
Fabian Jakobs
abb53c3faa fix editor rendering bugs 2010-12-02 11:05:15 +00:00
Fabian Jakobs
014e5c39f5 fix render update when scrolling and text changes happen at the same time 2010-12-02 11:02:19 +00:00
feisty
ab01692314 fixing typo 2010-12-02 11:02:19 +00:00
Fabian Jakobs
ea0b9e3c92 fix default theme 2010-12-02 11:02:19 +00:00
Joe Walker
8f0d0a555f merge 2010-11-26 17:09:26 +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
wittemann
8d3e6e7449 Fixed win key bindings. 2010-11-25 20:56:46 +08:00
Fabian Jakobs
bd9b05ba00 Merge branch 'master' of http://github.com/ajaxorg/ace 2010-11-25 13:11:54 +01:00
Fabian Jakobs
7c42e9517a fix editor rendering bugs 2010-11-25 12:11:38 +01:00
Fabian Jakobs
5b465da4e3 fix render update when scrolling and text changes happen at the same time 2010-11-25 10:11:50 +01:00
Joe Walker
7b2bee9d49 remove command support from the plugin manager, and tidy up 2010-11-24 15:56:53 +00:00
Joe Walker
a2cca9118e make keybindings use the canon 2010-11-24 15:56:52 +00:00
Joe Walker
efa5909c76 morph ace commands to more closely resemble skywriter commands 2010-11-24 15:56:52 +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
9ee72169ac more startup hackery to populate the environment 2010-11-24 15:56:31 +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
0f6cc17340 hacking startup to setup an environment with settings 2010-11-24 14:14:05 +00:00
Joe Walker
cd03bfcda8 minor tidy-up 2010-11-24 14:13:40 +00:00
Eddy Bruel
9c13ef31b7 Merge branch 'master' of github.com:ajaxorg/ace 2010-11-24 14:01:53 +01:00
Eddy Bruel
d30340a809 Fixed a bug in single line tabbing that caused
the tab length not being taken into account.

Added DOM emulation to the unit tests so that they
can be run from node.

Extended the Mockrenderer for the unit tests.

Made the majority of the unit tests work again
(barring those for moveLinesUp, see below).

Fixed a bug in moveLinesUp that caused an empty
line to be inserted. However, this fix causes the
editor to break (need to look at this).
2010-11-24 13:27:38 +01:00
feisty
86478b332a fixing typo 2010-11-24 00:23:57 +08: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