Commit graph

5467 commits

Author SHA1 Message Date
christian 13fe37193a re-enabling native browser spellcheck 2012-02-28 23:43:38 +00:00
christian 13c6b46821 adding bidirectional text for testing 2012-02-28 23:40:29 +00:00
Alexandre Emsenhuber a22a861c92 svn:eol-style native 2012-02-28 17:44:35 +00:00
Gabriel Wicke ebcfc2c7a1 Improve grepper documentation. 2012-02-28 14:24:37 +00:00
Gabriel Wicke b767e03449 Tweak martian regexp and grepper output format. 2012-02-28 14:11:44 +00:00
Gabriel Wicke 4806505ce4 Finish color highlighting for dump grepper / fix broken commit r112592. 2012-02-28 13:48:47 +00:00
Gabriel Wicke b8bb503199 Actually commit onlyinclude, as already announced in r112592. 2012-02-28 13:24:35 +00:00
Gabriel Wicke 7daeb34d4d Implement onlyinclude transformer. 254 tests passing. 2012-02-28 13:21:01 +00:00
Rob Moen f6f05241c7 fixed my typo follow up r112555 2012-02-28 01:37:38 +00:00
Inez Korczynski 951c95b10b Improved support for spellchecker 2012-02-28 01:17:55 +00:00
Rob Moen 78eedb8c74 cleanup previous commit. follow up r112552 2012-02-28 00:46:23 +00:00
Rob Moen 37ffc61c19 prototype RTL text mode cursor handling. Need to complete the unicode regular expression, and make helper methods for RTL boundary 2012-02-28 00:35:17 +00:00
Inez Korczynski fe7a223746 Input implementation that seems to work in IE, FF and Chrome (all tested on Windows only) 2012-02-28 00:21:54 +00:00
Inez Korczynski aa2e0615b7 Input implementation that seems to work in IE, FF and Chrome (all tested on Windows only) 2012-02-28 00:19:23 +00:00
Inez Korczynski df20e27712 Detecting if change to text is coming from keyboard or spellcheck 2012-02-27 22:43:12 +00:00
christian 7053e0517c prevent dragging and dropping text - can be removed later if operation supported via model 2012-02-27 21:56:56 +00:00
Rob Moen 0575db24f7 added a left positioning to input to properly position ime context menu 2012-02-27 19:44:02 +00:00
Gabriel Wicke 32012c00cd Add martian-endtags regexp wrapper around dumpGrepper. 2012-02-27 16:51:20 +00:00
Gabriel Wicke 19c67c28a2 Add a simple dump grepper using DumpReader. Useful to inform parser design
decisions, and as a way to exercise the dump reader in preparation for tests
over full dumps.
2012-02-27 16:40:01 +00:00
Gabriel Wicke 21855c99cd Tweak dumpReader to work with current libxmljs and stdin 'data' events. 2012-02-27 15:46:08 +00:00
Inez Korczynski 9ba2492fa0 New approach for handling input in ContentEditable - compare not only plain text but also hash of DOM structure of the particular leafnode (it let's detect spellcheck weird behaviour and react to it) 2012-02-24 22:37:17 +00:00
Rob Moen ed35395ba2 fix typo which prevented readInterval from stopping onBlur 2012-02-24 17:41:22 +00:00
Inez Korczynski 2d500705ad Testing new approach figure out where the change is coming from based on the cursor offset, not based on key events 2012-02-24 01:43:33 +00:00
Rob Moen dab0396b54 minor fixes: removed whitespace, added semicolon 2012-02-24 00:49:28 +00:00
Rob Moen 8cf2fe9f33 follow up to r112276, fixed bug which prevented word selection 2012-02-24 00:32:44 +00:00
Trevor Parscal 7baae71363 very minor fixes 2012-02-24 00:05:29 +00:00
Rob Moen 26ab5f7408 Fixed bug when moving cursor with click. Calling showCursor after input regains focus prevents browser from freakishly scrolling 2012-02-24 00:04:21 +00:00
Rob Moen 297d41bb63 Rework general input to no longer clear during IME. Polling interval for non keyDown text comparison. Chunked text insertion for all normal keys which makes nice transactions and clears input. 2012-02-23 23:20:47 +00:00
Inez Korczynski 97aebbe226 Recogonize if input came from spellcheck or from keyboard (Chrome) 2012-02-23 23:20:35 +00:00
Inez Korczynski 25c2372a50 Fix relative paths to js files 2012-02-23 20:11:53 +00:00
Inez Korczynski daf57e6f98 Move playground to demos subdirectory 2012-02-23 20:11:04 +00:00
Inez Korczynski 6429a4ea49 Move playground to demos subdirectory 2012-02-23 20:10:40 +00:00
Inez Korczynski 6a4cfcb357 Move playground to demos subdirectory 2012-02-23 20:10:00 +00:00
Inez Korczynski b63cac18e2 Move playground to demos subdirectory 2012-02-23 20:06:14 +00:00
Alexandre Emsenhuber 8c26b32e01 svn:eol-style native 2012-02-23 19:11:34 +00:00
Inez Korczynski b6ff0d5c02 Input implementation that seems to work in IE, FF and Chrome (all tested on Windows only) 2012-02-23 03:19:54 +00:00
Trevor Parscal 7366a22046 Added support for respecting new lines in pre-formatted blocks - using Shift+Enter will show this in action! 2012-02-23 01:18:01 +00:00
Inez Korczynski 2944f6ea5e Use flag 'isime' to correctly detect keyboard input in firefox. 2012-02-23 00:08:34 +00:00
Inez Korczynski ac07938007 Implementation of setinterval loop that checks for changes in contenteditable content 2012-02-22 23:31:00 +00:00
Inez Korczynski d583816cd2 Initial implementation of logic to recognize if edit is coming from keyboard or somewhere else (spellcheck) 2012-02-22 22:16:44 +00:00
Trevor Parscal 696f5cb2a0 Replaced "set" and "clear" method for attribute transactions with "replace" method, which allows correct reversion. Also fixed list item tools to correctly use the new function signature. 2012-02-22 21:23:28 +00:00
Inez Korczynski 4e81a183c4 Simple and temporary playground to work on retrieving content changes from content editable element. 2012-02-22 21:14:04 +00:00
Gabriel Wicke 3227903d48 Follow-up to r112116, accidentally committed from subdirectory. 2012-02-22 16:41:01 +00:00
Gabriel Wicke 2e41b19af8 Green two more parser tests by implementing some parser functions. 2012-02-22 16:39:50 +00:00
Gabriel Wicke 3568dfee14 Add some support for functionhooks in test parser and parserTests.js, and
tweak a few parser functions.
2012-02-22 15:59:11 +00:00
Gabriel Wicke d7da324272 Basic fall-through support for #switch parser function 2012-02-22 14:57:50 +00:00
Gabriel Wicke 491ad5ffef Cleanup and commenting. 2012-02-22 13:13:18 +00:00
Gabriel Wicke 9b3313d923 Speed up flatten slightly by avoiding garbage for already flat arrays. Also,
use simple string concatenation instead of arrays as the strings tend to be
few and short.
2012-02-22 11:25:44 +00:00
Gabriel Wicke 8dde1f77b4 Reduce debug print overhead, roughly a 10% speed-up on parserTests. 2012-02-21 18:49:43 +00:00
Gabriel Wicke 058c4213a4 Remove some more unused code and tidy up some more. 2012-02-21 18:26:40 +00:00