christian
|
010c97acc8
|
removing min height attribute to fix IE bug
|
2012-03-12 23:31:08 +00:00 |
|
christian
|
ba437744b3
|
preventing native contenteditable resizing tools
|
2012-03-12 23:06:47 +00:00 |
|
Rob Moen
|
350a53fd93
|
rework context icon positioning for CE surface using new getSelectionRect method
|
2012-03-12 22:14:43 +00:00 |
|
Rob Moen
|
22a351e855
|
small fix: getSelectionRange was breaking the surface layer, changed to saved state member
|
2012-03-12 22:04:29 +00:00 |
|
Rob Moen
|
65170e13df
|
port over select event listener, and updateSelection methods for setting and removing context icon, add getSelectionRect method for context icon position
|
2012-03-12 21:50:22 +00:00 |
|
christian
|
56b9068d03
|
switch to getSelectionRange and fixing IME native menu
|
2012-03-12 20:39:08 +00:00 |
|
Gabriel Wicke
|
4cd8b302ac
|
Improved template tokenization. The parser can now template-expand
[[:en:Barack Obama]] without exceeding 1.7GB of memory (which is the node
limit).
|
2012-03-12 17:31:45 +00:00 |
|
Gabriel Wicke
|
3c5fe2523c
|
Tolerate more newlines and spaces in templates, and support templates and
comments in urls.
|
2012-03-12 14:31:06 +00:00 |
|
Gabriel Wicke
|
ae4ab7a39c
|
Refactor syntactic stops into an object and add a stack variant for option
values.
|
2012-03-12 13:08:43 +00:00 |
|
Alexandre Emsenhuber
|
99a31bacbc
|
svn:eol-style native
|
2012-03-11 18:38:27 +00:00 |
|
Raimond Spekking
|
67df6001f9
|
Localisation updates for core and extension messages from translatewiki.net
|
2012-03-10 22:57:43 +00:00 |
|
Roan Kattouw
|
29f416937e
|
Fix some usages of splice.apply in the data model to use
ve.batchedSplice(). Added FIXME comments for occurrences outside of DM
|
2012-03-10 00:31:28 +00:00 |
|
Inez Korczynski
|
9a8f7059fc
|
Make ContentObserver pass information about content when emiting change event.
|
2012-03-09 23:15:23 +00:00 |
|
Trevor Parscal
|
02592b3ec0
|
More cleanup
|
2012-03-09 22:55:49 +00:00 |
|
Trevor Parscal
|
60c9c484aa
|
More cleanup (jshint complaints)
|
2012-03-09 22:51:00 +00:00 |
|
Trevor Parscal
|
ce824d6299
|
Cleanup
|
2012-03-09 22:45:22 +00:00 |
|
Inez Korczynski
|
4bc7dbbe5e
|
Initial import of CursorObserver and ContentObserver (not being used yet).
|
2012-03-09 22:18:24 +00:00 |
|
Trevor Parscal
|
2f9fcde16e
|
Removed duplicate static methods and members that were copied to ve.dm - lets just leave them in ve.dm.DocumentNode for now.
|
2012-03-09 21:54:00 +00:00 |
|
Trevor Parscal
|
15b3515a1b
|
Updated QUnit
|
2012-03-09 21:50:24 +00:00 |
|
Trevor Parscal
|
c977591886
|
Added test for ve.dm.DocumentSynchronizer that exercises multi-action synchronizations
|
2012-03-09 19:38:54 +00:00 |
|
Roan Kattouw
|
d70aa70707
|
Add test for replacing a table with a list. This only works because
nesting validity isn't checked yet (lists inside lists are illegal
IIRC), but for now it tests the reversal of the order of the closing
tags nicely
|
2012-03-09 02:19:50 +00:00 |
|
Roan Kattouw
|
b13d0a849d
|
Add a check for the length of unwrapOuter, and add a test for each
exception
|
2012-03-09 01:44:31 +00:00 |
|
Roan Kattouw
|
bc600b34be
|
Make prepareWrap() use the data from the model rather than the unwrap
parameters. This fixes the case where rolling back a list unwrap would
restore the list items without their attributes
|
2012-03-09 01:14:41 +00:00 |
|
Roan Kattouw
|
3bc6b3d8c7
|
Add tests for unwrapping a list
This also excercises unwrapEach. One of the tests is still subtly broken
in that the attributes on the listItems aren't preserved, I'll fix that
next.
|
2012-03-09 00:38:35 +00:00 |
|
Roan Kattouw
|
04910777d9
|
Fix stupid typos so wrapEach actually works
|
2012-03-09 00:38:34 +00:00 |
|
Roan Kattouw
|
ab26581b2e
|
Fix cursor adjustment in replace()
|
2012-03-08 23:21:28 +00:00 |
|
Roan Kattouw
|
5054ed320e
|
Implement prepareWrap and add tests for it
|
2012-03-08 23:21:26 +00:00 |
|
Roan Kattouw
|
9b66749575
|
Add documentation for to-be-written prepareWrap function
|
2012-03-08 23:21:24 +00:00 |
|
Roan Kattouw
|
10a6ee73f4
|
Add tests for content replacements
|
2012-03-08 23:21:23 +00:00 |
|
Roan Kattouw
|
d978797fca
|
Add a very simple transaction builder for content replacements
|
2012-03-08 23:21:21 +00:00 |
|
Roan Kattouw
|
cac9971299
|
Implement the replace operation for the linear model
|
2012-03-08 23:21:20 +00:00 |
|
Roan Kattouw
|
46dbb30b7a
|
Factor the batched splice code out from ve.insertIntoArray() into a
separate function
|
2012-03-08 23:21:18 +00:00 |
|
Roan Kattouw
|
93deba7b5c
|
Add replace operation
|
2012-03-08 23:21:17 +00:00 |
|
Trevor Parscal
|
3ec0c07843
|
Fixed name of test suite to match actual class name
|
2012-03-08 19:37:13 +00:00 |
|
Trevor Parscal
|
becb1daa39
|
Added more tests for ve.dm.DocumentSynchronizer and fixed some bugs along the way
|
2012-03-08 19:35:51 +00:00 |
|
Gabriel Wicke
|
ffc9383096
|
Temporary fix for template tokenization, especially needed for
[[Template:Cite core]].
|
2012-03-08 14:24:04 +00:00 |
|
Alexandre Emsenhuber
|
62e8312535
|
svn:eol-style native
|
2012-03-08 12:27:02 +00:00 |
|
Gabriel Wicke
|
39017dd769
|
Percent-encode spaces in URLs, so that they are recognized as valid URLs later
on.
|
2012-03-08 11:53:15 +00:00 |
|
Gabriel Wicke
|
7518db8197
|
A few fixes to parser functions and template expansion. Trim whitespace off
template arguments, let the last duplicate key win and fake pagenamee slightly
better.
|
2012-03-08 11:44:37 +00:00 |
|
Gabriel Wicke
|
51023feaa4
|
Improvements for image option handling.
|
2012-03-08 10:03:22 +00:00 |
|
Gabriel Wicke
|
b1e131d568
|
A bit more documentation and naming cleanup in the tokenizer wrapper.
|
2012-03-08 09:00:45 +00:00 |
|
Trevor Parscal
|
459c4fa271
|
Added some basic tests for resize and insert. Fixed some bugs in both of those code paths along the way.
|
2012-03-08 00:52:30 +00:00 |
|
Trevor Parscal
|
de0f83643b
|
Typo in file name
|
2012-03-07 23:48:58 +00:00 |
|
christian
|
df4f017b21
|
preserve range after applying annotation
|
2012-03-07 23:35:38 +00:00 |
|
Inez Korczynski
|
ab496f7bc9
|
Get rid of showCursorAt method. And replace calls to it with calls to showCursor.
|
2012-03-07 23:33:41 +00:00 |
|
Inez Korczynski
|
8e56acbaca
|
Added getDOMNodeAndOffset and showSelection methods to Surface. Ohhh and little wrapper around it - showCursor.
|
2012-03-07 23:32:26 +00:00 |
|
christian
|
76b7127e29
|
removing usage of rangy anchornode for determining rendering scope - using model and autoRender
|
2012-03-07 21:41:53 +00:00 |
|
Inez Korczynski
|
73f53e89c6
|
Small refactoring. Changed method name, from Surface.getSelection to Surface.getSelectionRange.
|
2012-03-07 21:37:39 +00:00 |
|
christian
|
22ce25dc69
|
replacing cursor after annotating works
|
2012-03-07 21:06:07 +00:00 |
|
Trevor Parscal
|
55cf0c8ada
|
Added sketch for ve.dm.DocumentSynchronizer which is a utility object for queueing up actions to be performed on the model tree such as deletion, insertion, rebuilding, resizing and updating of node. Using this approach, we can collect actions across multiple steps, and then normalize them to avoid duplicate work and mutate the model tree in a single step.
|
2012-03-07 20:21:32 +00:00 |
|