Commit Graph

6495 Commits

Author SHA1 Message Date
Jonathan Kew
b6b5757057 Bug 1068979 - Tests for backspacing over SMP characters preceding element boundaries due to markup or pasted content. r=ehsan 2014-09-22 22:15:04 +01:00
Jonathan Kew
7a4e779423 Bug 1068979 - Handle surrogate pair if necessary when backspacing into a text node. r=ehsan 2014-09-22 22:15:02 +01:00
Christoph Kerschbaumer
ed39c773e8 Bug 1038756: Callsites creating a channel in /editor/ (r=ehsan) 2014-09-21 09:46:30 -07:00
Fabrice Desré
70514dcc33 backout bug 1029943 for performance regressions (see bug 1066515) 2014-09-18 10:31:20 -07:00
Mats Palmgren
2c38b0b6b7 Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Bobby Holley
86df050cfc Bug 1062631 - Use SpecialPowers.wrapCallback for QI in more tests. r=bz
Otherwise the QI throws as soon as it tries to pass the IID into content code.
2014-09-08 13:36:20 -07:00
Ting-Yu Lin
56ad372904 Bug 1029943 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan
--HG--
rename : layout/base/tests/test_bug558663.html => layout/base/tests/bug558663.html
2014-08-27 01:24:00 -04:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
1541d1e681 Bug 1061050 - Fix more bad implicit constructors in editor; r=roc
--HG--
extra : rebase_source : 4bc00b1cf3807cfe7267cc20ed618ed2ce827a64
2014-08-31 23:49:37 -04:00
Ehsan Akhgari
7dc5883ffa Bug 1060978 - Fix more bad implicit constructors in editor; r=roc 2014-08-31 23:33:43 -04:00
Aryeh Gregor
57373fa0f6 Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
7547add233 Bug 1056166 part 5 - Clean up ChangeCSSInlineStyleTxn; r=ehsan
--HG--
rename : editor/libeditor/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/ChangeStyleTxn.cpp
rename : editor/libeditor/ChangeCSSInlineStyleTxn.h => editor/libeditor/ChangeStyleTxn.h
2014-08-29 14:43:24 +03:00
Aryeh Gregor
4ba29d6526 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
23b1ac0529 Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
bfb6a46780 Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
7752358f63 Bug 1056166 part 1 - Clean up nsHTMLEditRules::SplitAsNeeded; r=ehsan 2014-08-29 14:43:23 +03:00
Masayuki Nakano
93cf48640e Bug 826657 part.2 Implement NOTIFY_IME_OF_MOUSE_BUTTON_EVENT in XP part r=smaug+ehsan 2014-08-29 19:08:43 +09:00
Olli Pettay
8dfe1d7cf5 Bug 1059705 - revert the change which made nsIEditor builtinclass, r=masayuki 2014-08-28 17:33:35 +03:00
Aryeh Gregor
e4b461d0b3 Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan 2014-08-26 16:13:22 +03:00
Masayuki Nakano
7b12f55430 Bug 1056545 part.4 nsEditorEventListener should use early return style r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
312d2e9889 Bug 1056545 part.3 ns*EditorEventListener should conform to current coding rules r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
095437d212 Bug 1056545 part.2 Each event handler of ns*EditorEventListener should take specific event interface rather than nsIDOMEvent if it's necessary r=ehsan 2014-08-26 09:57:45 +09:00
Masayuki Nakano
9d5a4dc9ad Bug 1056545 part.1 Make event handlers of ns*EditorEventListener protected and virtual as far as possible r=ehsan 2014-08-26 09:57:45 +09:00
Birunthan Mohanathas
77bfad00a6 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Ting-Yu Lin
aecd542da9 Bug 1054889 - Update images for touch caret and selection carets. r=roc, f=mtseng, ui-r=chuang
Update images provided in bug 1024930, and make touch caret uses the
same images as selection carets.
2014-08-19 01:34:00 -04:00
Aryeh Gregor
e49b3bdc72 Bug 1055032 part 5 - Rename InsertElementTxn to InsertNodeTxn and clean up; r=ehsan
--HG--
rename : editor/libeditor/InsertElementTxn.cpp => editor/libeditor/InsertNodeTxn.cpp
rename : editor/libeditor/InsertElementTxn.h => editor/libeditor/InsertNodeTxn.h
2014-08-20 15:25:17 +03:00
Aryeh Gregor
40c68fb20c Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
327bd79fe4 Bug 1055032 part 3 - Use cleaned-up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
32dc932d99 Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
630695995b Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
b51de04d4d Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
cfbc88c288 Bug 1054735 part 2 - Clean up nsEditor::RemoveContainer; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
9dcb3c4d06 Bug 1054735 part 1 - Clean up nsAutoReplaceContainerSelNotify; r=ehsan 2014-08-20 15:25:16 +03:00
Masayuki Nakano
877aa4d8fb Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug 2014-08-19 20:54:08 +09:00
Masayuki Nakano
c2443fe41c Bug 1053048 Add tests for accessing selectionStart and selectionEnd from nsISelectionListener::NotifySelectionChanged() r=ehsan 2014-08-19 20:54:07 +09:00
Ehsan Akhgari
aa072a423f Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru
--HG--
rename : editor/libeditor/text/crashtests/403965-1.xhtml => editor/libeditor/crashtests/403965-1.xhtml
rename : editor/libeditor/text/crashtests/580151-1.xhtml => editor/libeditor/crashtests/580151-1.xhtml
rename : editor/libeditor/text/nsInternetCiter.cpp => editor/libeditor/nsInternetCiter.cpp
rename : editor/libeditor/text/nsInternetCiter.h => editor/libeditor/nsInternetCiter.h
rename : editor/libeditor/text/nsPlaintextDataTransfer.cpp => editor/libeditor/nsPlaintextDataTransfer.cpp
rename : editor/libeditor/text/nsPlaintextEditor.cpp => editor/libeditor/nsPlaintextEditor.cpp
rename : editor/libeditor/text/nsPlaintextEditor.h => editor/libeditor/nsPlaintextEditor.h
rename : editor/libeditor/text/nsTextEditRules.cpp => editor/libeditor/nsTextEditRules.cpp
rename : editor/libeditor/text/nsTextEditRules.h => editor/libeditor/nsTextEditRules.h
rename : editor/libeditor/text/nsTextEditRulesBidi.cpp => editor/libeditor/nsTextEditRulesBidi.cpp
rename : editor/libeditor/text/nsTextEditUtils.cpp => editor/libeditor/nsTextEditUtils.cpp
rename : editor/libeditor/text/nsTextEditUtils.h => editor/libeditor/nsTextEditUtils.h
rename : editor/libeditor/text/tests/test_bug1026397.html => editor/libeditor/tests/test_bug1026397.html
rename : editor/libeditor/text/tests/test_bug318065.html => editor/libeditor/tests/test_bug318065.html
rename : editor/libeditor/text/tests/test_bug471319.html => editor/libeditor/tests/test_bug471319.html
rename : editor/libeditor/text/tests/test_bug471722.html => editor/libeditor/tests/test_bug471722.html
rename : editor/libeditor/text/tests/test_bug483651.html => editor/libeditor/tests/test_bug483651.html
rename : editor/libeditor/text/tests/test_bug527935.html => editor/libeditor/tests/test_bug527935.html
rename : editor/libeditor/text/tests/test_bug569988.html => editor/libeditor/tests/test_bug569988.html
rename : editor/libeditor/text/tests/test_bug590554.html => editor/libeditor/tests/test_bug590554.html
rename : editor/libeditor/text/tests/test_bug596001.html => editor/libeditor/tests/test_bug596001.html
rename : editor/libeditor/text/tests/test_bug596333.html => editor/libeditor/tests/test_bug596333.html
rename : editor/libeditor/text/tests/test_bug596506.html => editor/libeditor/tests/test_bug596506.html
rename : editor/libeditor/text/tests/test_bug597331.html => editor/libeditor/tests/test_bug597331.html
rename : editor/libeditor/text/tests/test_bug600570.html => editor/libeditor/tests/test_bug600570.html
rename : editor/libeditor/text/tests/test_bug602130.html => editor/libeditor/tests/test_bug602130.html
rename : editor/libeditor/text/tests/test_bug603556.html => editor/libeditor/tests/test_bug603556.html
rename : editor/libeditor/text/tests/test_bug604532.html => editor/libeditor/tests/test_bug604532.html
rename : editor/libeditor/text/tests/test_bug625452.html => editor/libeditor/tests/test_bug625452.html
rename : editor/libeditor/text/tests/test_bug629172.html => editor/libeditor/tests/test_bug629172.html
rename : editor/libeditor/text/tests/test_bug636465.xul => editor/libeditor/tests/test_bug636465.xul
rename : editor/libeditor/text/tests/test_bug638596.html => editor/libeditor/tests/test_bug638596.html
rename : editor/libeditor/text/tests/test_bug641466.html => editor/libeditor/tests/test_bug641466.html
rename : editor/libeditor/text/tests/test_bug645914.html => editor/libeditor/tests/test_bug645914.html
rename : editor/libeditor/text/tests/test_bug681229.html => editor/libeditor/tests/test_bug681229.html
rename : editor/libeditor/text/tests/test_bug692520.html => editor/libeditor/tests/test_bug692520.html
rename : editor/libeditor/text/tests/test_bug740784.html => editor/libeditor/tests/test_bug740784.html
rename : editor/libeditor/text/tests/test_bug757771.html => editor/libeditor/tests/test_bug757771.html
rename : editor/libeditor/text/tests/test_bug830600.html => editor/libeditor/tests/test_bug830600.html
rename : editor/libeditor/text/tests/test_dom_input_event_on_texteditor.html => editor/libeditor/tests/test_dom_input_event_on_texteditor.html
rename : editor/libeditor/text/tests/test_texteditor_keyevent_handling.html => editor/libeditor/tests/test_texteditor_keyevent_handling.html
2014-08-18 20:59:37 -04:00
Ehsan Akhgari
3c53568904 Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru
--HG--
rename : editor/libeditor/html/TextEditorTest.cpp => editor/libeditor/TextEditorTest.cpp
rename : editor/libeditor/html/TextEditorTest.h => editor/libeditor/TextEditorTest.h
rename : editor/libeditor/html/TypeInState.cpp => editor/libeditor/TypeInState.cpp
rename : editor/libeditor/html/TypeInState.h => editor/libeditor/TypeInState.h
rename : editor/libeditor/html/crashtests/336081-1.xhtml => editor/libeditor/crashtests/336081-1.xhtml
rename : editor/libeditor/html/crashtests/382778-1.html => editor/libeditor/crashtests/382778-1.html
rename : editor/libeditor/html/crashtests/407074-1.html => editor/libeditor/crashtests/407074-1.html
rename : editor/libeditor/html/crashtests/407277-1.html => editor/libeditor/crashtests/407277-1.html
rename : editor/libeditor/html/crashtests/414178-1.html => editor/libeditor/crashtests/414178-1.html
rename : editor/libeditor/html/crashtests/418923-1.html => editor/libeditor/crashtests/418923-1.html
rename : editor/libeditor/html/crashtests/420439.html => editor/libeditor/crashtests/420439.html
rename : editor/libeditor/html/crashtests/428489-1.html => editor/libeditor/crashtests/428489-1.html
rename : editor/libeditor/html/crashtests/431086-1.xhtml => editor/libeditor/crashtests/431086-1.xhtml
rename : editor/libeditor/html/crashtests/448329-1.html => editor/libeditor/crashtests/448329-1.html
rename : editor/libeditor/html/crashtests/448329-2.html => editor/libeditor/crashtests/448329-2.html
rename : editor/libeditor/html/crashtests/448329-3.html => editor/libeditor/crashtests/448329-3.html
rename : editor/libeditor/html/crashtests/456727-1.html => editor/libeditor/crashtests/456727-1.html
rename : editor/libeditor/html/crashtests/456727-2.html => editor/libeditor/crashtests/456727-2.html
rename : editor/libeditor/html/crashtests/467647-1.html => editor/libeditor/crashtests/467647-1.html
rename : editor/libeditor/html/crashtests/499844-1.html => editor/libeditor/crashtests/499844-1.html
rename : editor/libeditor/html/crashtests/503709-1.xhtml => editor/libeditor/crashtests/503709-1.xhtml
rename : editor/libeditor/html/crashtests/513375-1.xhtml => editor/libeditor/crashtests/513375-1.xhtml
rename : editor/libeditor/html/crashtests/535632-1.xhtml => editor/libeditor/crashtests/535632-1.xhtml
rename : editor/libeditor/html/crashtests/574558-1.xhtml => editor/libeditor/crashtests/574558-1.xhtml
rename : editor/libeditor/html/crashtests/582138-1.xhtml => editor/libeditor/crashtests/582138-1.xhtml
rename : editor/libeditor/html/crashtests/612565-1.html => editor/libeditor/crashtests/612565-1.html
rename : editor/libeditor/html/crashtests/615015-1.html => editor/libeditor/crashtests/615015-1.html
rename : editor/libeditor/html/crashtests/615450-1.html => editor/libeditor/crashtests/615450-1.html
rename : editor/libeditor/html/crashtests/639736-1.xhtml => editor/libeditor/crashtests/639736-1.xhtml
rename : editor/libeditor/html/crashtests/643786-1.html => editor/libeditor/crashtests/643786-1.html
rename : editor/libeditor/html/crashtests/682650-1.html => editor/libeditor/crashtests/682650-1.html
rename : editor/libeditor/html/crashtests/716456-1.html => editor/libeditor/crashtests/716456-1.html
rename : editor/libeditor/html/crashtests/759748.html => editor/libeditor/crashtests/759748.html
rename : editor/libeditor/html/crashtests/761861.html => editor/libeditor/crashtests/761861.html
rename : editor/libeditor/html/crashtests/766305.html => editor/libeditor/crashtests/766305.html
rename : editor/libeditor/html/crashtests/766387.html => editor/libeditor/crashtests/766387.html
rename : editor/libeditor/html/crashtests/766795.html => editor/libeditor/crashtests/766795.html
rename : editor/libeditor/html/crashtests/767169.html => editor/libeditor/crashtests/767169.html
rename : editor/libeditor/html/crashtests/768748.html => editor/libeditor/crashtests/768748.html
rename : editor/libeditor/html/crashtests/769008-1.html => editor/libeditor/crashtests/769008-1.html
rename : editor/libeditor/html/crashtests/769967.xhtml => editor/libeditor/crashtests/769967.xhtml
rename : editor/libeditor/html/crashtests/793866.html => editor/libeditor/crashtests/793866.html
rename : editor/libeditor/html/nsEditProperty.cpp => editor/libeditor/nsEditProperty.cpp
rename : editor/libeditor/html/nsHTMLAbsPosition.cpp => editor/libeditor/nsHTMLAbsPosition.cpp
rename : editor/libeditor/html/nsHTMLAnonymousUtils.cpp => editor/libeditor/nsHTMLAnonymousUtils.cpp
rename : editor/libeditor/html/nsHTMLCSSUtils.cpp => editor/libeditor/nsHTMLCSSUtils.cpp
rename : editor/libeditor/html/nsHTMLCSSUtils.h => editor/libeditor/nsHTMLCSSUtils.h
rename : editor/libeditor/html/nsHTMLDataTransfer.cpp => editor/libeditor/nsHTMLDataTransfer.cpp
rename : editor/libeditor/html/nsHTMLEditRules.cpp => editor/libeditor/nsHTMLEditRules.cpp
rename : editor/libeditor/html/nsHTMLEditRules.h => editor/libeditor/nsHTMLEditRules.h
rename : editor/libeditor/html/nsHTMLEditUtils.cpp => editor/libeditor/nsHTMLEditUtils.cpp
rename : editor/libeditor/html/nsHTMLEditUtils.h => editor/libeditor/nsHTMLEditUtils.h
rename : editor/libeditor/html/nsHTMLEditor.cpp => editor/libeditor/nsHTMLEditor.cpp
rename : editor/libeditor/html/nsHTMLEditor.h => editor/libeditor/nsHTMLEditor.h
rename : editor/libeditor/html/nsHTMLEditorEventListener.cpp => editor/libeditor/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorEventListener.h => editor/libeditor/nsHTMLEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorStyle.cpp => editor/libeditor/nsHTMLEditorStyle.cpp
rename : editor/libeditor/html/nsHTMLInlineTableEditor.cpp => editor/libeditor/nsHTMLInlineTableEditor.cpp
rename : editor/libeditor/html/nsHTMLObjectResizer.cpp => editor/libeditor/nsHTMLObjectResizer.cpp
rename : editor/libeditor/html/nsHTMLObjectResizer.h => editor/libeditor/nsHTMLObjectResizer.h
rename : editor/libeditor/html/nsHTMLURIRefObject.cpp => editor/libeditor/nsHTMLURIRefObject.cpp
rename : editor/libeditor/html/nsHTMLURIRefObject.h => editor/libeditor/nsHTMLURIRefObject.h
rename : editor/libeditor/html/nsTableEditor.cpp => editor/libeditor/nsTableEditor.cpp
rename : editor/libeditor/html/nsWSRunObject.cpp => editor/libeditor/nsWSRunObject.cpp
rename : editor/libeditor/html/nsWSRunObject.h => editor/libeditor/nsWSRunObject.h
rename : editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE => editor/libeditor/tests/browserscope/lib/richtext/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/richtext/README => editor/libeditor/tests/browserscope/lib/richtext/README
rename : editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext/current_revision => editor/libeditor/tests/browserscope/lib/richtext/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/editable.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js => editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/richtext.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/LICENSE => editor/libeditor/tests/browserscope/lib/richtext2/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README => editor/libeditor/tests/browserscope/lib/richtext2/README
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext2/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext2/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/current_revision => editor/libeditor/tests/browserscope/lib/richtext2/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/__init__.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/common.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/common.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/handlers.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/handlers.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/common.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/common.css
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable.css
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/output.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/output.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/run.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/run.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/units.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/units.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/output.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/output.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/apply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/apply.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/change.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/change.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/delete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/delete.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/insert.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/insert.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/selection.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/selection.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/unittestexample.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/unittestexample.html
rename : editor/libeditor/html/tests/browserscope/lib/richtext2/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext2/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/mochitest.ini => editor/libeditor/tests/browserscope/mochitest.ini
rename : editor/libeditor/html/tests/browserscope/test_richtext.html => editor/libeditor/tests/browserscope/test_richtext.html
rename : editor/libeditor/html/tests/browserscope/test_richtext2.html => editor/libeditor/tests/browserscope/test_richtext2.html
rename : editor/libeditor/html/tests/data/cfhtml-chromium.txt => editor/libeditor/tests/data/cfhtml-chromium.txt
rename : editor/libeditor/html/tests/data/cfhtml-firefox.txt => editor/libeditor/tests/data/cfhtml-firefox.txt
rename : editor/libeditor/html/tests/data/cfhtml-ie.txt => editor/libeditor/tests/data/cfhtml-ie.txt
rename : editor/libeditor/html/tests/data/cfhtml-nocontext.txt => editor/libeditor/tests/data/cfhtml-nocontext.txt
rename : editor/libeditor/html/tests/data/cfhtml-ooo.txt => editor/libeditor/tests/data/cfhtml-ooo.txt
rename : editor/libeditor/html/tests/file_bug549262.html => editor/libeditor/tests/file_bug549262.html
rename : editor/libeditor/html/tests/file_bug674770-1.html => editor/libeditor/tests/file_bug674770-1.html
rename : editor/libeditor/html/tests/file_select_all_without_body.html => editor/libeditor/tests/file_select_all_without_body.html
rename : editor/libeditor/html/tests/green.png => editor/libeditor/tests/green.png
rename : editor/libeditor/html/tests/test_CF_HTML_clipboard.html => editor/libeditor/tests/test_CF_HTML_clipboard.html
rename : editor/libeditor/html/tests/test_bug200416.html => editor/libeditor/tests/test_bug200416.html
rename : editor/libeditor/html/tests/test_bug289384.html => editor/libeditor/tests/test_bug289384.html
rename : editor/libeditor/html/tests/test_bug290026.html => editor/libeditor/tests/test_bug290026.html
rename : editor/libeditor/html/tests/test_bug291780.html => editor/libeditor/tests/test_bug291780.html
rename : editor/libeditor/html/tests/test_bug316447.html => editor/libeditor/tests/test_bug316447.html
rename : editor/libeditor/html/tests/test_bug332636.html => editor/libeditor/tests/test_bug332636.html
rename : editor/libeditor/html/tests/test_bug332636.html^headers^ => editor/libeditor/tests/test_bug332636.html^headers^
rename : editor/libeditor/html/tests/test_bug366682.html => editor/libeditor/tests/test_bug366682.html
rename : editor/libeditor/html/tests/test_bug372345.html => editor/libeditor/tests/test_bug372345.html
rename : editor/libeditor/html/tests/test_bug404320.html => editor/libeditor/tests/test_bug404320.html
rename : editor/libeditor/html/tests/test_bug410986.html => editor/libeditor/tests/test_bug410986.html
rename : editor/libeditor/html/tests/test_bug414526.html => editor/libeditor/tests/test_bug414526.html
rename : editor/libeditor/html/tests/test_bug417418.html => editor/libeditor/tests/test_bug417418.html
rename : editor/libeditor/html/tests/test_bug432225.html => editor/libeditor/tests/test_bug432225.html
rename : editor/libeditor/html/tests/test_bug439808.html => editor/libeditor/tests/test_bug439808.html
rename : editor/libeditor/html/tests/test_bug442186.html => editor/libeditor/tests/test_bug442186.html
rename : editor/libeditor/html/tests/test_bug449243.html => editor/libeditor/tests/test_bug449243.html
rename : editor/libeditor/html/tests/test_bug455992.html => editor/libeditor/tests/test_bug455992.html
rename : editor/libeditor/html/tests/test_bug456244.html => editor/libeditor/tests/test_bug456244.html
rename : editor/libeditor/html/tests/test_bug460740.html => editor/libeditor/tests/test_bug460740.html
rename : editor/libeditor/html/tests/test_bug468353.html => editor/libeditor/tests/test_bug468353.html
rename : editor/libeditor/html/tests/test_bug478725.html => editor/libeditor/tests/test_bug478725.html
rename : editor/libeditor/html/tests/test_bug480647.html => editor/libeditor/tests/test_bug480647.html
rename : editor/libeditor/html/tests/test_bug480972.html => editor/libeditor/tests/test_bug480972.html
rename : editor/libeditor/html/tests/test_bug484181.html => editor/libeditor/tests/test_bug484181.html
rename : editor/libeditor/html/tests/test_bug487524.html => editor/libeditor/tests/test_bug487524.html
rename : editor/libeditor/html/tests/test_bug489202.xul => editor/libeditor/tests/test_bug489202.xul
rename : editor/libeditor/html/tests/test_bug490879.xul => editor/libeditor/tests/test_bug490879.xul
rename : editor/libeditor/html/tests/test_bug520189.html => editor/libeditor/tests/test_bug520189.html
rename : editor/libeditor/html/tests/test_bug525389.html => editor/libeditor/tests/test_bug525389.html
rename : editor/libeditor/html/tests/test_bug537046.html => editor/libeditor/tests/test_bug537046.html
rename : editor/libeditor/html/tests/test_bug549262.html => editor/libeditor/tests/test_bug549262.html
rename : editor/libeditor/html/tests/test_bug550434.html => editor/libeditor/tests/test_bug550434.html
rename : editor/libeditor/html/tests/test_bug551704.html => editor/libeditor/tests/test_bug551704.html
rename : editor/libeditor/html/tests/test_bug552782.html => editor/libeditor/tests/test_bug552782.html
rename : editor/libeditor/html/tests/test_bug570144.html => editor/libeditor/tests/test_bug570144.html
rename : editor/libeditor/html/tests/test_bug578771.html => editor/libeditor/tests/test_bug578771.html
rename : editor/libeditor/html/tests/test_bug587461.html => editor/libeditor/tests/test_bug587461.html
rename : editor/libeditor/html/tests/test_bug592592.html => editor/libeditor/tests/test_bug592592.html
rename : editor/libeditor/html/tests/test_bug597784.html => editor/libeditor/tests/test_bug597784.html
rename : editor/libeditor/html/tests/test_bug599322.html => editor/libeditor/tests/test_bug599322.html
rename : editor/libeditor/html/tests/test_bug607584.html => editor/libeditor/tests/test_bug607584.html
rename : editor/libeditor/html/tests/test_bug607584.xul => editor/libeditor/tests/test_bug607584.xul
rename : editor/libeditor/html/tests/test_bug611182.html => editor/libeditor/tests/test_bug611182.html
rename : editor/libeditor/html/tests/test_bug612128.html => editor/libeditor/tests/test_bug612128.html
rename : editor/libeditor/html/tests/test_bug612447.html => editor/libeditor/tests/test_bug612447.html
rename : editor/libeditor/html/tests/test_bug616590.xul => editor/libeditor/tests/test_bug616590.xul
rename : editor/libeditor/html/tests/test_bug620906.html => editor/libeditor/tests/test_bug620906.html
rename : editor/libeditor/html/tests/test_bug622371.html => editor/libeditor/tests/test_bug622371.html
rename : editor/libeditor/html/tests/test_bug629845.html => editor/libeditor/tests/test_bug629845.html
rename : editor/libeditor/html/tests/test_bug635636.html => editor/libeditor/tests/test_bug635636.html
rename : editor/libeditor/html/tests/test_bug640321.html => editor/libeditor/tests/test_bug640321.html
rename : editor/libeditor/html/tests/test_bug668599.html => editor/libeditor/tests/test_bug668599.html
rename : editor/libeditor/html/tests/test_bug674770-1.html => editor/libeditor/tests/test_bug674770-1.html
rename : editor/libeditor/html/tests/test_bug674770-2.html => editor/libeditor/tests/test_bug674770-2.html
rename : editor/libeditor/html/tests/test_bug674861.html => editor/libeditor/tests/test_bug674861.html
rename : editor/libeditor/html/tests/test_bug676401.html => editor/libeditor/tests/test_bug676401.html
rename : editor/libeditor/html/tests/test_bug677752.html => editor/libeditor/tests/test_bug677752.html
rename : editor/libeditor/html/tests/test_bug686203.html => editor/libeditor/tests/test_bug686203.html
rename : editor/libeditor/html/tests/test_bug697842.html => editor/libeditor/tests/test_bug697842.html
rename : editor/libeditor/html/tests/test_bug725069.html => editor/libeditor/tests/test_bug725069.html
rename : editor/libeditor/html/tests/test_bug735059.html => editor/libeditor/tests/test_bug735059.html
rename : editor/libeditor/html/tests/test_bug738366.html => editor/libeditor/tests/test_bug738366.html
rename : editor/libeditor/html/tests/test_bug757371.html => editor/libeditor/tests/test_bug757371.html
rename : editor/libeditor/html/tests/test_bug767684.html => editor/libeditor/tests/test_bug767684.html
rename : editor/libeditor/html/tests/test_bug780035.html => editor/libeditor/tests/test_bug780035.html
rename : editor/libeditor/html/tests/test_bug780908.xul => editor/libeditor/tests/test_bug780908.xul
rename : editor/libeditor/html/tests/test_bug787432.html => editor/libeditor/tests/test_bug787432.html
rename : editor/libeditor/html/tests/test_bug790475.html => editor/libeditor/tests/test_bug790475.html
rename : editor/libeditor/html/tests/test_bug796839.html => editor/libeditor/tests/test_bug796839.html
rename : editor/libeditor/html/tests/test_bug832025.html => editor/libeditor/tests/test_bug832025.html
rename : editor/libeditor/html/tests/test_bug857487.html => editor/libeditor/tests/test_bug857487.html
rename : editor/libeditor/html/tests/test_bug966155.html => editor/libeditor/tests/test_bug966155.html
rename : editor/libeditor/html/tests/test_bug966552.html => editor/libeditor/tests/test_bug966552.html
rename : editor/libeditor/html/tests/test_bug998188.html => editor/libeditor/tests/test_bug998188.html
rename : editor/libeditor/html/tests/test_contenteditable_focus.html => editor/libeditor/tests/test_contenteditable_focus.html
rename : editor/libeditor/html/tests/test_contenteditable_text_input_handling.html => editor/libeditor/tests/test_contenteditable_text_input_handling.html
rename : editor/libeditor/html/tests/test_dom_input_event_on_htmleditor.html => editor/libeditor/tests/test_dom_input_event_on_htmleditor.html
rename : editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html => editor/libeditor/tests/test_htmleditor_keyevent_handling.html
rename : editor/libeditor/html/tests/test_keypress_untrusted_event.html => editor/libeditor/tests/test_keypress_untrusted_event.html
rename : editor/libeditor/html/tests/test_root_element_replacement.html => editor/libeditor/tests/test_root_element_replacement.html
rename : editor/libeditor/html/tests/test_select_all_without_body.html => editor/libeditor/tests/test_select_all_without_body.html
rename : editor/libeditor/html/tests/test_spellcheck_pref.html => editor/libeditor/tests/test_spellcheck_pref.html
2014-08-18 17:28:17 -04:00
Aryeh Gregor
ebb9721ed7 Bug 1053779 part 3 - Clean up nsEditor::CloneAttributes; r=ehsan 2014-08-18 17:44:50 +03:00
Aryeh Gregor
c9b178f39a Bug 1053779 part 2 - Clean up nsEditor::ReplaceContainer; r=ehsan 2014-08-13 14:53:33 +03:00
Aryeh Gregor
c5a22b8268 Bug 1053779 part 1 - Clean up nsEditor::CreateHTMLContent; r=ehsan 2014-08-13 14:53:33 +03:00
Aryeh Gregor
91963e0976 Bug 1010760 - Add nsINode::GetAsText; r=smaug 2014-08-13 14:53:32 +03:00
Aryeh Gregor
93bf3f1a27 Bug 1010761 - Use Text in nsWSRunObject; r=ehsan 2014-08-13 14:53:32 +03:00
Robert O'Callahan
342293245c Bug 1048752. Part 38: Adjust test annotation for fixed assertion. r=tn
This test used to assert because we tried to get frame geometry during a caret
update while the frame was dirty. That no longer happens since now we only try
to get frame geometry during a paint. During a paint, frames can still be dirty
so this assertion could still be triggered, and we should probably fix that
eventually, but it would only happen during an interrupted layout which is
quite rare.

--HG--
extra : rebase_source : a73866834119e5c617adb0a7757fde27d2791759
2014-08-06 17:19:32 +12:00
Robert O'Callahan
967ecc3283 Bug 1048752. Part 32: Rename DrawAtPosition to SetCaretPosition and don't make it turn off blinking. r=tn
There's no need for this method to turn off blinking anymore. Its only
caller already calls SetCaretReadOnly to achieve the same effect. That
means we don't actually need the mIsBlinking flag after all.

--HG--
extra : rebase_source : 9d4c31282ed280c0f822f1d9f7fa8ae1c2ba6cab
2014-08-06 17:19:31 +12:00
Robert O'Callahan
2730385743 Bug 1048752. Part 27: Remove obsolete caret state logic and just SchedulePaint as needed. r=tn
This is the core of the whole patch set.

Now GetPaintGeometry/PaintCaret figure out on their own almost all the state
they need every time we paint. So when caret flags change, all we need
to do is SchedulePaint. We don't need to fiddle with mDrawn and most of the
logic in DrawCaret is obsolete. (In fact, it was duplicated by GetGeometry
and friends, and we're removing that duplication.) EraseCaret, CheckCaretState
and UpdateCaretPosition are also obsolete.

We need to have GetPaintGeometry/PaintCaret choose the correct content node
and offset, either getting them from the Selection or using specific data set by
DrawAtPosition. This logic, plus a bit of other code shared between them, is
put into the helper GetFrameAndOffset.

--HG--
extra : rebase_source : e777605dd2507ae043e9f82d0a30e23aa06e0c12
2014-08-06 17:19:29 +12:00
Robert O'Callahan
150ec76871 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
0a6d04586e Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
The forward declaration of Selection in nsCaret.h will be used in later patches.

--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00