Ehsan Akhgari
35f9f75544
Bug 1109465 - Fix the interface maps of IMETextTxn and InsertTextTxn; r=smaug
...
The original change in bug 1056166 used NS_INTERFACE_MAP_ENTRY_AMBIGUOUS with
the wrong order for argument names. But more importantly, we cannot use
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS here because the cast from the concrete
class to nsISupports* will remain ambiguous even when casting first through
nsITransaction, so we need to write the implementation without using any
macros.
2014-12-30 11:57:58 -05:00
Morris Tseng
8df054062f
Bug 1101364 - Part 1: Apply AutoApplyUserSelectStyle to nsHTMLEditor::SelectAll(). r=mats
2014-12-12 01:15:00 -05:00
Wes Kocher
fb749897f2
Merge b2g-inbound to m-c a=merge
2014-12-12 16:43:37 -08:00
Ehsan Akhgari
309b4049b4
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Morris Tseng
50a266cec3
Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc
2014-11-10 02:04:00 -05:00
Jan Horak
4a1c903156
Bug 1097625 - Fallback to use LANG variable as dictionary doesn't work. r=ehsan
2014-12-09 03:22:00 -05:00
Ryan VanderMeulen
0e0519738e
Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
...
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Morris Tseng
6186bb2601
Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc
2014-11-10 02:04:00 +01:00
Wes Kocher
c659ea6bce
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Jan Horak
b306f66757
Bug 1097550 - "System dictionaries with underscore separator are ignored when trying to find dictionary". r=ehsan
2014-12-02 04:52:00 +01:00
Daniel Holbert
9d62810fef
Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan
2014-12-01 21:07:42 -08:00
Daniel Holbert
2984a58744
Bug 1093191 part 2: Add some missing includes & forward-decls in libeditor .h files. r=ehsan
2014-12-01 21:06:55 -08:00
Daniel Holbert
f5e527d605
Bug 1093191 part 1: Remove some unnecessary #includes of stdio.h "for printf" in some libeditor files that don't use printf. r=ehsan
2014-12-01 21:06:55 -08:00
Mats Palmgren
8e2e146845
Bug 1105184 - Setup the mCaret used for DND so that it displays the caret also when dragging a selection within the same shell. r=roc
2014-12-01 15:55:16 +00:00
Morris Tseng
eea2acbf16
Bug 1101392 - Part 4: Add mochitest. r=roc
2014-11-27 21:27:00 +01:00
Morris Tseng
6682e1351f
Bug 1101392 - Part 2: Add a command that collapse selection to end after copying. r=roc
2014-11-26 23:06:00 +01:00
Morris Tseng
524e7c5152
Bug 1101392 - Part 1: Fix coding style in nsEditorCommands.cpp. r=roc
2014-11-24 22:08:00 +01:00
Ehsan Akhgari
77d8eb386f
Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc
...
We no longer rely on the bogus br node for positioning the caret.
If an editable region has a non-editable block element, we can
probably rely on the block element to reserve the vertical
height, so in those cases we should be able to get away without
a bogus br node.
2014-11-27 21:06:44 -05:00
Ting-Yu Lin
4bdd821df7
Bug 1102906 - Fix immovable caret after drag-and-drop. r=roc
...
The deleted lines were added in bug 924692 part 4. It will incorrectly
disable the caret in PresShell so that the caret cannot be moved by
using keyboard in nsSelectMoveScrollCommand::DoCommand().
2014-11-26 20:36:00 +01:00
Trevor Saunders
333d3d2125
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Milan Sreckovic
fa506d757d
Bug 1093245 - Make sure the return values are never returned uninitialized. r=ehsan
2014-11-04 13:11:54 -05:00
Morris Tseng
643c4fbaf6
Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
...
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Masayuki Nakano
6169af4b21
Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
fb530e9039
Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug
2014-11-25 14:02:31 +09:00
Masayuki Nakano
15a6678731
Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug
2014-11-25 14:02:31 +09:00
Jonathan Kew
910a201c88
Bug 1077515 - Followup to fix non-unified build bustage. r=me
2014-11-22 15:33:36 +00:00
Jonathan Kew
c0b38979ac
Bug 1077515 - part 9 - Support physical caret movement and selection commands in Editor. r=roc
2014-11-22 14:39:04 +00:00
Jonathan Kew
95f1955871
Bug 1077515 - part 8 - Minor refactoring of editor's handling of selection-move commands. r=roc
2014-11-22 14:39:04 +00:00
Jonathan Kew
87b30bb2e0
Bug 1077515 - part 2 - Update currentStatus.js for browserscope richtext2 test to reflect newly-passing testcases. r=roc
2014-11-22 14:39:02 +00:00
Simon Montagu
19f27e666a
Bug 1100071 patch 1: change uint8_t to nsBidiLevel in a few more places, r=dholbert
2014-11-20 12:45:22 +02:00
Olli Pettay
1789c8e1f6
Bug 1101595 - [shadow-dom] <input> doesn't emit 'input' event when inside shadow-root, r=wchen
...
--HG--
extra : rebase_source : 6b0698d0bb9af3d41d39d4aab7b64aa0a6e7131a
2014-11-20 02:23:50 +02:00
Morris Tseng
5e00e9ae92
Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc
2014-11-10 02:04:00 +01:00
Boris Zbarsky
f1eec49cdd
Bug 1090616. Don't assume that the nodes we just pasted are still in the DOM, because mutation listeners suck like that. r=smaug
2014-11-11 12:47:36 -05:00
Masayuki Nakano
810c426d81
Bug 1094000 part.2 Add tests of HTML editor inserting <br> node at removing a last character r=roc
2014-11-11 13:55:02 +09:00
Masayuki Nakano
04352f1e00
Bug 1094000 part.1 Ensure that nsHTMLEditRules::InsertBRIfNeeded() runs after a text node is removed at handling Backspace key r=roc
2014-11-11 13:55:02 +09:00
Wes Kocher
7cb16d8094
Backed out 3 changesets (bug 1092888) for marionette bustage on a CLOSED TREE
...
Backed out changeset eeff2ff03d39 (bug 1092888)
Backed out changeset c25a6fd7903f (bug 1092888)
Backed out changeset e4e735cdd665 (bug 1092888)
2014-11-10 14:47:52 -08:00
Morris Tseng
b9246cdc96
Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc
...
--HG--
extra : rebase_source : b9e1b6289275cb34067cf1dca71a258de7379a95
2014-11-10 02:04:00 -05:00
Masayuki Nakano
b80158ee9e
Bug 1047588 - IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails. r=smaug
2014-11-05 08:12:44 -05:00
Wes Kocher
aa88290d8d
Backed out changeset f86dbba73d43 (bug 1047588) under suspicion of adding a hazard on a CLOSED TREE
2014-11-04 20:25:47 -08:00
Masayuki Nakano
1c6b557ffb
Bug 1047588 IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails r=smaug
2014-11-05 10:36:37 +09:00
Ting-Yu Lin
d4b059aa6d
Bug 1029943 - Part 2 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan
2014-10-31 09:14:00 +01:00
Aryeh Gregor
ded7e6ed57
Bug 1088054 part 10 - Clean up nsHTMLEditRules::WillDeleteSelection; r=ehsan
2014-11-02 14:04:14 +02:00
Aryeh Gregor
e4f38e4ad1
Bug 1088054 part 9 - Clean up nsEditor::JoinNodeDeep; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
9fe7e46891
Bug 1088054 part 8 - Clean up nsHTMLEditor::GetFirst/LastEditableLeaf; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
9ac29614a9
Bug 1088054 part 7 - Clean up nsHTMLEditRules::JoinNodesSmart; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
a65855cb26
Bug 1088054 part 6 - Clean up nsHTMLEditor::GetFirst/LastEditableChild; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
cbeb43b675
Bug 1088054 part 5 - Clean up nsHTMLEditRules::GetTopEnclosingMailCite; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
3f2ed4847b
Bug 1088054 part 4 - Clean up nsHTMLEditRules::GetGoodSelPointForNode; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
2fd28efae6
Bug 1088054 part 3 - Clean up nsHTMLEditRules::CheckForEmptyBlock; r=ehsan
2014-11-02 14:04:13 +02:00