Trevor Parscal
|
b1f54c5ae5
|
Refactored annotation of content - now there's an annotate method in surface view
|
2011-12-06 23:48:47 +00:00 |
|
Trevor Parscal
|
ee1caca875
|
Only act on selection change if it changed
|
2011-12-06 22:45:38 +00:00 |
|
Trevor Parscal
|
68a0026f56
|
Disabled console logging
|
2011-12-06 22:14:48 +00:00 |
|
Trevor Parscal
|
c863ab63e3
|
Adjusted the demo document a bit - disabled tables for now
|
2011-12-06 22:13:52 +00:00 |
|
Trevor Parscal
|
e61e66856c
|
Fixed issue in transaction processor's insert method - no need for a special case for structural offsets anymore
|
2011-12-06 22:04:18 +00:00 |
|
Gabriel Wicke
|
418a5067c6
|
Parse attributes in tables using generic attribute production. Some table
tests still do not pass as the MW table output reorders attributes ;)
|
2011-12-06 22:03:21 +00:00 |
|
Trevor Parscal
|
7ed901d74c
|
Bypass processing if there's no annotations
|
2011-12-06 21:28:21 +00:00 |
|
Gabriel Wicke
|
3d06707152
|
Slightly speed up inline tag productions using guards and grouping; Fix list
processing function.
|
2011-12-06 18:35:05 +00:00 |
|
Gabriel Wicke
|
ea8f226fd5
|
Remove ext and references special cases, now subsumed by generic XML tag
productions. Document issue around special tokenizer mode for other extension
tags.
|
2011-12-06 16:44:27 +00:00 |
|
Gabriel Wicke
|
e7de089d5b
|
Decode urls and html entities, 163 tests now passing.
|
2011-12-06 13:17:14 +00:00 |
|
Gabriel Wicke
|
a72a9e55a3
|
Don't match internal links with url as target. 161 passing.
|
2011-12-06 12:26:57 +00:00 |
|
Gabriel Wicke
|
2b5cc67bf5
|
Further tweaks to headings. 157 tests now passing.
|
2011-12-06 11:59:41 +00:00 |
|
Gabriel Wicke
|
f4d123886e
|
Convert heading rules to single rule that figures out the level. This saves a
lot of backtracking and inline break complexity.
|
2011-12-06 11:06:05 +00:00 |
|
Neil Kandalgaonkar
|
dbe4890ed6
|
Simplified transaction model, introduced isPartial for some deletes
|
2011-12-06 01:52:38 +00:00 |
|
Neil Kandalgaonkar
|
e3fc95f41a
|
Revert r104884 "no longer track selections in states. Also makes the 'combine' parameter obsolete"
This reverts git-svn commit e4e3468605c97bd5e611fdf8fc80c04e034e4eb4.
This reverts svn commit r104884
|
2011-12-06 01:52:34 +00:00 |
|
Inez Korczynski
|
8b1c0ff4ee
|
Fix for turning single elements in tables cells into listItems
|
2011-12-06 00:49:00 +00:00 |
|
Inez Korczynski
|
959963cf6e
|
Prototype of code that wraps nodes as listItems (inside a list)
|
2011-12-06 00:42:15 +00:00 |
|
Trevor Parscal
|
1b89cbb79d
|
Moved the menu of a drop down tool to be inside the drop down tool itself
|
2011-12-06 00:10:30 +00:00 |
|
Trevor Parscal
|
2810f79605
|
inArray returns an index, -1 is failure not 0 or a falsey value
|
2011-12-05 22:55:39 +00:00 |
|
Inez Korczynski
|
a22eadee54
|
Fix toolbar for IE8 and IE9. Fix mouse button detection for IE8 and IE9.
|
2011-12-05 22:01:06 +00:00 |
|
Trevor Parscal
|
accc605e8a
|
Fixed annotation tool - data is used generically outside, shouldn't have changed that
|
2011-12-05 21:39:54 +00:00 |
|
Inez Korczynski
|
8ec3fb5b81
|
Bunch of fixes for IE8
|
2011-12-05 21:37:38 +00:00 |
|
Trevor Parscal
|
7cf6990af3
|
Added comments to code
|
2011-12-05 21:10:19 +00:00 |
|
Inez Korczynski
|
5be5d276a4
|
Removed empty lines
|
2011-12-05 20:46:53 +00:00 |
|
Trevor Parscal
|
fc3015b260
|
Moved es.Tool to base classes
|
2011-12-05 20:42:45 +00:00 |
|
Trevor Parscal
|
8d5c83d87b
|
Prevent inserting unless there was an effective input, such as text being typed - this is done by checking the length of the range of the selection - if it's non-zero then there wasn't any input (because selecting text in the editor fill the input and selects it)
|
2011-12-05 20:40:35 +00:00 |
|
Inez Korczynski
|
0938f24c5b
|
Use getContentText method to get text of selection
|
2011-12-05 20:32:05 +00:00 |
|
Inez Korczynski
|
09c0557929
|
Fix for getContentText method. Do not treat content offsets with annotations as elements.
|
2011-12-05 20:10:50 +00:00 |
|
Trevor Parscal
|
2d7d4866bc
|
Fixed misnamed method, and off by one issue when getting content data from a document
|
2011-12-05 20:08:49 +00:00 |
|
Gabriel Wicke
|
33e19f7275
|
Recognize block-level elements independent of case; Ignore toc and section
edit links in tests. 148 parser tests passing.
|
2011-12-05 20:03:24 +00:00 |
|
Trevor Parscal
|
07af0cab63
|
* Moved getContent and getText from leaf nodes to document model nodes
* Renamed getContent to getContentData
* Renamed getText to getContentText
* Added getElementData
|
2011-12-05 19:41:04 +00:00 |
|
Trevor Parscal
|
4bcc31846b
|
Fixed font size in overlays when embedding in mediawiki
|
2011-12-05 18:42:58 +00:00 |
|
Trevor Parscal
|
02c88fcddf
|
Prevent cancel link from changing url
|
2011-12-05 18:38:12 +00:00 |
|
Trevor Parscal
|
f9bb9cf586
|
100char line breaks
|
2011-12-05 18:31:39 +00:00 |
|
Gabriel Wicke
|
9ed9cb31bd
|
Fix template argument handling somewhat.
|
2011-12-05 17:58:11 +00:00 |
|
Gabriel Wicke
|
1760210d13
|
Fixes to tables, headings and misc smaller stuff. Tracked down an issue caused
by improperly caching of production results, which interfered with the
flag-dependent inline_break production.
|
2011-12-04 19:23:24 +00:00 |
|
Inez Korczynski
|
ba5abf6bbd
|
Set: svn:eol-style => native
|
2011-12-04 02:59:53 +00:00 |
|
Inez Korczynski
|
f361648059
|
Added indentation tool (indent, outdent)
|
2011-12-04 02:54:33 +00:00 |
|
Inez Korczynski
|
78451cb00a
|
Added partial support for copying functionality
|
2011-12-03 01:30:44 +00:00 |
|
Inez Korczynski
|
e683199853
|
Avoid using global variables
|
2011-12-03 00:53:37 +00:00 |
|
Inez Korczynski
|
1f3604a959
|
Optimization for toolbarView. Count data for all toolbars (currently two) once, and do it not more often than 50ms.
|
2011-12-02 23:01:21 +00:00 |
|
Trevor Parscal
|
babf3eb9fb
|
Made heading labels less verbose
|
2011-12-02 22:21:58 +00:00 |
|
Trevor Parscal
|
667e145706
|
* Fixed empty drop down not being the right size
* Added previews for formatting menu
|
2011-12-02 22:20:26 +00:00 |
|
Trevor Parscal
|
f463a3a6bb
|
Added a history icon
|
2011-12-02 21:54:27 +00:00 |
|
Trevor Parscal
|
a555f307f0
|
Removed unused icon
|
2011-12-02 21:48:07 +00:00 |
|
Trevor Parscal
|
ea1d57146a
|
Updated icons
|
2011-12-02 21:46:48 +00:00 |
|
Trevor Parscal
|
12ead70876
|
Added visible breaks to to toolbar groups
|
2011-12-02 21:31:49 +00:00 |
|
Trevor Parscal
|
3d678ea3bd
|
Integrated menuView into format drop down tool
|
2011-12-02 21:25:19 +00:00 |
|
Inez Korczynski
|
01180e4f8f
|
Rename function and comment it
|
2011-12-02 20:41:43 +00:00 |
|
Inez Korczynski
|
a9a53a00a8
|
Initiali implementation of number and bullet buttons for lists.
|
2011-12-02 06:43:26 +00:00 |
|