Inez Korczynski
9173608afb
Adapt ContentEditable code to new schema of directories and files
2012-02-07 01:43:49 +00:00
Trevor Parscal
8078b0f8a2
Fixed backspace - another issue related the r110805 (or as we are now calling it, "The Great Code Migration of 2012")
2012-02-07 01:11:32 +00:00
Trevor Parscal
d172b220b7
Minor fixes (line length breaking, jshint nagging, etc)
2012-02-07 00:42:16 +00:00
christian
8fa33f3136
work on copying and pasting
2012-02-07 00:21:38 +00:00
Trevor Parscal
5d71c888f9
Updated unit tests in response to structural changes in r110805
2012-02-07 00:12:31 +00:00
Inez Korczynski
3a79aa7d63
Get wikitext preview pane to work in contentEditable
2012-02-07 00:08:59 +00:00
Trevor Parscal
fb09439ae6
Fixed image file links from sandbox.css to images supplied by es and ui packages
2012-02-06 23:55:58 +00:00
Trevor Parscal
6dcc39fe11
Migrated es.* to new ve.* namespace which is more structured, and will make it easier to keep data model, edit surface, user interface and content editable work separated cleanly
2012-02-06 23:50:56 +00:00
Gabriel Wicke
53bf4f2bd0
Temporarily disable the sanitizer and start to support preprocessor
...
functionality (comments, templates, template arguments) in arbitrary
attributes. The grammar for this is still quite rough, will need to
consolidate that area.
2012-02-06 19:15:44 +00:00
Gabriel Wicke
c26243989e
Improve toJSON handlers to include all properties
2012-02-06 19:12:29 +00:00
Alexandre Emsenhuber
8280989bc8
svn:eol-style native
2012-02-04 11:59:37 +00:00
Gabriel Wicke
0bea9fdfbb
Fix nowiki tokenization regression introduced r110495
2012-02-03 13:10:04 +00:00
Gabriel Wicke
26f2026cff
Add custom JSON serializers for tokens that include a type attribute
2012-02-03 13:09:01 +00:00
Inez Korczynski
61dae35ebc
Playground for IME (switch from textarea to contenteditable div)
2012-02-03 00:59:46 +00:00
Inez Korczynski
9c311d0d94
Playground for IME
2012-02-02 23:22:23 +00:00
christian
e174082b35
table cell styling
2012-02-02 21:29:02 +00:00
christian
60e1f366a0
experimentation with table editing
2012-02-02 21:28:43 +00:00
christian
92670e1aa3
adding ce-leafNode class to leaf nodes
2012-02-02 02:34:39 +00:00
Inez Korczynski
142609481e
Fix showCursorAt method for bug of ">=" vs ">"
2012-02-02 02:27:45 +00:00
christian
71515f7bfc
changes to margins
2012-02-02 01:17:02 +00:00
christian
328c6a5fd9
floating table
2012-02-02 00:50:45 +00:00
Inez Korczynski
d6ae65af27
Get rid of "position: relative" - it breaks selection in contentEditable
2012-02-02 00:43:43 +00:00
christian
6a1b77f864
switching back to fully contenteditable for tables, disabling handles in firefox, changing title tag
2012-02-02 00:20:26 +00:00
Inez Korczynski
24ae5f7823
Don't replace spaces with in content editable
2012-02-01 23:48:44 +00:00
christian
9340ed6e72
contenteditable false for tables - true for table cells
2012-02-01 23:26:30 +00:00
christian
29270facde
removing outline from contenteditable elements
2012-02-01 23:26:08 +00:00
christian
c255dd966e
tweaking margins
2012-02-01 23:10:28 +00:00
Inez Korczynski
c9ff18175f
Render paragraphs as a <p> tags (indtead of <div>)
2012-02-01 22:56:15 +00:00
Inez Korczynski
d2ecda1361
Port contentEditable demo to EditingSurface layout
2012-02-01 22:38:57 +00:00
christian
e6f0de626c
adding resources for table rendering
2012-02-01 22:28:39 +00:00
Inez Korczynski
8bfb9c9440
Port contentEditable demo to EditingSurface layout
2012-02-01 22:27:28 +00:00
christian
91c6c83483
adding table to hybrid demo
2012-02-01 22:22:16 +00:00
Raimond Spekking
e5de3c2207
Localisation updates for core and extension messages from translatewiki.net
2012-02-01 20:58:11 +00:00
Gabriel Wicke
8c75aa1a7a
Remove type attribute for tag tokens.
2012-02-01 18:37:48 +00:00
Gabriel Wicke
689f697a93
Push token format conversion a bit further along, and add defines that were
...
missing in last commit.
2012-02-01 17:03:08 +00:00
Gabriel Wicke
a5b7ea7bcd
Add --debug and --trace options to parserTests as well.
2012-02-01 17:02:37 +00:00
Gabriel Wicke
a5cc10a06b
Change token format to plain strings for text tokens, and specific objects for
...
other tokens. This is only the first half of the conversion. The next step is
to drop the type attribute on most tokens and match on the constructor in the
token transform machinery.
2012-02-01 16:30:43 +00:00
Gabriel Wicke
dd3707ded5
Remove some modules normally bundled with node.js from dependencies, and
...
remove some older ones that are only used in currently-dead code.
2012-02-01 10:32:33 +00:00
Gabriel Wicke
e65c6502c0
Add source for #time implementation in comment
2012-02-01 10:14:01 +00:00
christian
5863c887b8
testing commit access
2012-02-01 02:52:00 +00:00
christian
4d2debd63b
adding range pixel position detection
2012-02-01 02:46:43 +00:00
Roan Kattouw
935cae67c6
As promised, reorganize insert() so the order of cases makes more sense (from simple to complex)
2012-01-31 17:14:16 +00:00
Gabriel Wicke
14a8a13678
A few more debug helpers including a --trace mode for light debugging. Some
...
improvements to parser functions on the way to support the cite extensions.
Preparation for generic template and template arg in attribute support. 222
parser tests now passing.
2012-01-31 16:50:16 +00:00
Roan Kattouw
6832be68ed
Fix test #30 : was failing because getScope() was broken and insert() didn't account for the case of inserting something like </list><list> at a structural offset. All tests are now passing, yay!
...
* Fix getScope()
** Drop the -1 which caused the result to be off by one level
** Prevent JS errors from occurring if bad input causes the loop to try to traverse up above the root node
* insert()
** Detect the case where the input data tries to close the containing element; in that case, we'll get scope != node
** Move the getNodeFromOffset() and getScope() calls up and out of the conditionals
** Remove unnecessary parent==model conditional, no longer needed now that getScope() can safely handle things that try to traverse too far up
** Add some comments to explain what's going on. I'll restructure this function a bit more shortly
2012-01-31 16:43:21 +00:00
Neil Kandalgaonkar
2688f823ef
added dependencies to README
2012-01-31 00:56:07 +00:00
Neil Kandalgaonkar
4d4f3ecdc5
should be in contents
2012-01-31 00:10:03 +00:00
Neil Kandalgaonkar
fbd14a7a75
if error, do not tell remote users what the actual command was
2012-01-31 00:07:07 +00:00
Neil Kandalgaonkar
f0b934ef2e
first pass at an API method that returns wikidom. Shells out to node. Some issues with XML API result formatting but works fine in JSON
2012-01-31 00:02:48 +00:00
Raimond Spekking
6d0cbce109
Localisation updates for core and extension messages from translatewiki.net
2012-01-28 20:37:44 +00:00
Gabriel Wicke
7cd94df47d
A few minor tweaks to reduce memory usage
2012-01-27 13:32:44 +00:00