Commit Graph

1969 Commits

Author SHA1 Message Date
Masayuki Nakano
5a29f2b8bb Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano
c4b5648679 Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
b62ac16b3e Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
c2bf46d0e4 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
50519d8d6b Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
313f5cdffe Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Blake Kaplan
fe16c4ab95 Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Masayuki Nakano
3e20ab1463 Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug 2014-10-03 15:33:50 +09:00
Ehsan Akhgari
e22843a46d Bug 1073213 - Do not use nsIDOMWindowUtils in editor/; r=roc 2014-09-26 09:19:56 -04:00
Birunthan Mohanathas
17b20b074b Bug 1070709 - Collapse test-only moz.build files under editor/ into ancestor moz.build files. r=mshal 2014-09-26 07:20:22 +03:00
Masayuki Nakano
69aff1c6ec Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Jonathan Kew
8ff2ba776a 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
d9da6406d5 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
a07bf525b2 Bug 1038756: Callsites creating a channel in /editor/ (r=ehsan) 2014-09-21 09:46:30 -07:00
Fabrice Desré
417ad40e17 backout bug 1029943 for performance regressions (see bug 1066515) 2014-09-18 10:31:20 -07:00
Mats Palmgren
53a8b4a861 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
f076834e41 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
b96222279e 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
c2a27deef9 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
8fd95ad480 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
e1a88eb1fb bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
3840a97689 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
8ccf6545e3 Bug 1060978 - Fix more bad implicit constructors in editor; r=roc 2014-08-31 23:33:43 -04:00
Aryeh Gregor
c1bae97988 Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
71324b4c4a 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
e53aa50e33 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
6194ccdd49 Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
b5b19428b4 Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
3381ddc90f Bug 1056166 part 1 - Clean up nsHTMLEditRules::SplitAsNeeded; r=ehsan 2014-08-29 14:43:23 +03:00
Masayuki Nakano
00abc24da1 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
3b29af41ba Bug 1059705 - revert the change which made nsIEditor builtinclass, r=masayuki 2014-08-28 17:33:35 +03:00
Aryeh Gregor
b4d2044045 Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan 2014-08-26 16:13:22 +03:00
Masayuki Nakano
3a919822e2 Bug 1056545 part.4 nsEditorEventListener should use early return style r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
f53995a29b Bug 1056545 part.3 ns*EditorEventListener should conform to current coding rules r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
d0e3b33749 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
63489b425b 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
d41e6af583 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Trevor Saunders
b6b2d4b019 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
a0d8a86698 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
f15d5a8f87 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
a542d2e393 Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
9d43c392fa Bug 1055032 part 3 - Use cleaned-up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
d52d3738c7 Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
0782980fbc Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
49a561450e Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
4bbad0a566 Bug 1054735 part 2 - Clean up nsEditor::RemoveContainer; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
bc71dc7c05 Bug 1054735 part 1 - Clean up nsAutoReplaceContainerSelNotify; r=ehsan 2014-08-20 15:25:16 +03:00
Masayuki Nakano
f3ae3543d5 Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug 2014-08-19 20:54:08 +09:00
Masayuki Nakano
6eab86a59b Bug 1053048 Add tests for accessing selectionStart and selectionEnd from nsISelectionListener::NotifySelectionChanged() r=ehsan 2014-08-19 20:54:07 +09:00
Ehsan Akhgari
40847ea6bc 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