Commit Graph

1972 Commits

Author SHA1 Message Date
Masayuki Nakano
da1ac44cbc Bug 1083629 Use nsHTMLEditor::IsAcceptableInputEvent() instead of nsEditor::IsDescendantOfEditorRoot() for checking if a mouse down event target is in focused HTML editor r=ehsan 2014-10-17 10:09:32 +09:00
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Jan Jongboom
fefd025806 Bug 1067255 - Disallow cut and copy in password fields. r=ehsan 2014-10-08 16:27:31 -07:00
Masayuki Nakano
d68882f8c8 Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano
a9123d7c21 Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
7860ac681d Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
5c5627f00c 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
20ded1179a 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
7806a4ddb7 Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Blake Kaplan
8917309372 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
a06e8de5c8 Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug 2014-10-03 15:33:50 +09:00
Ehsan Akhgari
1e289f24e0 Bug 1073213 - Do not use nsIDOMWindowUtils in editor/; r=roc 2014-09-26 09:19:56 -04:00
Birunthan Mohanathas
ea2d1341c8 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
a071ef0db7 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
216cb04cfc 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
45c1a45968 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
169ee771c8 Bug 1038756: Callsites creating a channel in /editor/ (r=ehsan) 2014-09-21 09:46:30 -07:00
Fabrice Desré
e0a4f5d5c8 backout bug 1029943 for performance regressions (see bug 1066515) 2014-09-18 10:31:20 -07:00
Mats Palmgren
162270b2ba 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
28f5c5135a 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
2356c7b436 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
6258dd8523 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
fc99c53ae5 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
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
d6c8acdc56 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
156fd7d00c Bug 1060978 - Fix more bad implicit constructors in editor; r=roc 2014-08-31 23:33:43 -04:00
Aryeh Gregor
eb3f645a9a Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
93b45ae743 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
7512726531 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor
96521dbcbb Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
8cd37dc2dc Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor
2a10f6f17e Bug 1056166 part 1 - Clean up nsHTMLEditRules::SplitAsNeeded; r=ehsan 2014-08-29 14:43:23 +03:00
Masayuki Nakano
6f43834088 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
dc7e48aa78 Bug 1059705 - revert the change which made nsIEditor builtinclass, r=masayuki 2014-08-28 17:33:35 +03:00
Aryeh Gregor
0237250880 Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan 2014-08-26 16:13:22 +03:00
Masayuki Nakano
10655a6777 Bug 1056545 part.4 nsEditorEventListener should use early return style r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
e5b4c89ef8 Bug 1056545 part.3 ns*EditorEventListener should conform to current coding rules r=ehsan 2014-08-26 09:57:46 +09:00
Masayuki Nakano
cb16f6ad26 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
da96c841c9 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
57751773f4 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Trevor Saunders
86b7aff8fc 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
0fdbd536e5 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
2d81442a4a 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
3636d3f3ed Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
a039a183da Bug 1055032 part 3 - Use cleaned-up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
a3528223d8 Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
2617e03750 Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
bfd4d7f023 Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
4e466e080d Bug 1054735 part 2 - Clean up nsEditor::RemoveContainer; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor
b22c792652 Bug 1054735 part 1 - Clean up nsAutoReplaceContainerSelNotify; r=ehsan 2014-08-20 15:25:16 +03:00