Commit Graph

6902 Commits

Author SHA1 Message Date
Ms2ger
5829c12a8a Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
f547a68b93 Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Jorg K
d149dbdc08 Bug 1140617 - Don't clear inline style when pasting image. r=ehsan 2015-05-06 16:15:00 +02:00
Kartikaya Gupta
253b49cced Bug 1163640 - Fix the test for bug 417418 to not leave the widget in a drag session. r=ehsan 2015-05-11 17:21:30 -04:00
Jan Horak
ed82bef0cf Bug 967494 - "Preference Composition/Spelling/Language is ignored, and changing spellcheck language in one composition window affects all open and new compositions" [r=ehsan] 2015-04-28 12:01:00 +03:00
Ehsan Akhgari
5c6c077a96 Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
--HG--
rename : layout/base/tests/bug646382-1.html => editor/reftests/spellcheck-non-latin-arabic-ref.html
2015-05-08 22:45:16 -04:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Ehsan Akhgari
c8e40d05a1 Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc
--HG--
extra : rebase_source : 41de38057faf9d3b7831c61e126ff14e39b2f0cd
2015-04-29 18:35:00 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ehsan Akhgari
b3891dc524 Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -04:00
Boris Zbarsky
5af3e25ba7 Bug 1158452. Pass in the right node when messing with font sizes in editor. r=ehsan 2015-04-27 15:29:22 -04:00
Ehsan Akhgari
52d720a960 Bug 1158920 - Yield to the event loop before reading the spelling suggestions 2015-04-27 15:09:22 -04:00
Boris Zbarsky
d36060dc11 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04:00
Boris Zbarsky
839141fb74 Bug 1157898 part 3. Fix the remaining consumers of rv.ErrorCode() in NS_ENSURE_* expressions to not do that. r=peterv 2015-04-27 09:18:52 -04:00
Boris Zbarsky
418f0f69c3 Bug 1157898 part 2. Make code of the form "NS_ENSURE_SUCCESS(rv.ErrorCode(), rv.ErrorCode());" use Failed and StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/NS_ENSURE_SUCCESS\(([a-zA-Z0-9]+)\.ErrorCode\(\), \1.ErrorCode\(\)\);/NS_ENSURE_TRUE(!\1.Failed(), \1.StealNSResult());/'
2015-04-27 09:18:52 -04:00
Boris Zbarsky
1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Jorg K
a4d2a8c99c Bug 1140105 - Can't query for a specific font face when the selection is collapsed. r=ehsan
--HG--
extra : rebase_source : bfdc26a4bb9506f8adff9eadd94c1ad5e7d1dc03
2015-04-24 05:57:00 -04:00
David Anderson
979949ce62 Mark unaccelerated antialiasing reftest failures with APZ as fuzzy. (bug 1157716, r=mstange)
With APZ, we always layerize the first scrollable element of the page,
if the page itself is not scrollable. These additional layers can cause
fuzzy reftest failures in two ways: differences in blending, and by
disabling sub-pixel test anti-aliasing. The latter is only a problem
with unaccelerated drawing, because we don't support component alpha
layers with BasicLayers. (We also don't support them with
BasicCompositor, but "Reftest unaccelerated" only tests BasicLayers).
2015-04-24 10:13:32 -04:00
Aryeh Gregor
7aa649e324 Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
09fbec2fa2 Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
547b89759b Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
3dd037d676 Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
bdaa9608e6 Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
9f7724b473 Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
270f330257 Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
f09b4c2256 Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
9aea14124a Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
edc5f268b3 Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
bf443a34ea Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
de7eecee27 Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
ec9a70e7af Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
33565268b1 Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
76707ccecd Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
74ea691ed5 Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
7faae0a125 Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
78fd0e1b01 Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
29c872f3fa Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8eb649a5d8 Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8602582e9f Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
508d8057fd Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8f81628bd8 Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
5467a0e2f4 Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
338958cb1e Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
f85e598e03 Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
5b2285c847 Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
81e67d2d3e Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
1931f8875d Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
ae4d8d8492 Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
e501b598ea Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
912877d4eb Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
c59ad65916 Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
1ceb1e0a5c Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
4c5239467d Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj 2015-04-24 14:27:34 +03:00
Jorg K
e7be62f33e Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan 2015-04-22 10:50:00 +02:00
Carsten "Tomcat" Book
7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
David Anderson
9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Kyle Huey
044aeb9cda Backed out 3 changesets (bug 102663, bug 915962) for crashing constantly. a=me
Backed out changeset 984018eae04a (bug 102663)
Backed out changeset ec40bfefa08d (bug 915962)
Backed out changeset 79aeff6684f6 (bug 915962)
2015-04-21 09:19:01 -07:00
Carsten "Tomcat" Book
c911b0d2cc Backed out changeset 76d12a766103 (bug 1154791) for m-oth test bustage on a CLOSED TREE 2015-04-21 11:03:34 +02:00
Jorg K
4d11876a35 Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan
--HG--
extra : rebase_source : a8d2947e6e7064828a3bdf58fd88c9b652aed054
2015-04-17 14:47:00 +02:00
Carsten "Tomcat" Book
a469e611a5 Backed out 35 changesets (bug 1153629, bug 1149163, bug 1154701) for memory leaks in AsyncLatencyLogger, AsyncStatement etc on a CLOSED TREE
Backed out changeset e64fa8717641 (bug 1154701)
Backed out changeset 4fd3566e571c (bug 1154701)
Backed out changeset 9801778d9d5b (bug 1154701)
Backed out changeset a57f36dc00b4 (bug 1154701)
Backed out changeset 9bd74af965fd (bug 1154701)
Backed out changeset 69f9ae64772d (bug 1154701)
Backed out changeset 07620ff1a21a (bug 1154701)
Backed out changeset 8bd58656d297 (bug 1154701)
Backed out changeset a4d41b284d92 (bug 1154701)
Backed out changeset 1ab63df2b8eb (bug 1154701)
Backed out changeset 31281738003d (bug 1154701)
Backed out changeset 5ad34b482c25 (bug 1154701)
Backed out changeset d8a83215797f (bug 1154701)
Backed out changeset 81825eff1936 (bug 1154701)
Backed out changeset 25bc426c8c0e (bug 1153629)
Backed out changeset a9d071f07242 (bug 1153629)
Backed out changeset 1f0fdf67005d (bug 1153629)
Backed out changeset af47b386bea7 (bug 1153629)
Backed out changeset 42f5d3fc71b3 (bug 1153629)
Backed out changeset b0b609c3da83 (bug 1153629)
Backed out changeset 9a62d4ec4542 (bug 1153629)
Backed out changeset 87ff1d4bb056 (bug 1153629)
Backed out changeset cb266456a948 (bug 1153629)
Backed out changeset ee256b6f62ec (bug 1153629)
Backed out changeset ecdfdce695b5 (bug 1153629)
Backed out changeset 394ba1703c08 (bug 1153629)
Backed out changeset 641439af501f (bug 1149163)
Backed out changeset 54a8ecc0301d (bug 1149163)
Backed out changeset a31a87b6dfb7 (bug 1149163)
Backed out changeset e36d2f251276 (bug 1149163)
Backed out changeset 152ee688999b (bug 1149163)
Backed out changeset 7bf082213f82 (bug 1149163)
Backed out changeset 2817e4601371 (bug 1149163)
Backed out changeset bc75a87a2b7d (bug 1149163)
Backed out changeset 4392cf02f1c0 (bug 1149163)
2015-04-22 15:22:40 +02:00
Aryeh Gregor
fcfd672bba Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
6dfd369a45 Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
27902b013b Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
48afd5614f Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
9195507155 Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
62af180b5b Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
71efee461e Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
8aaf028d75 Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
93ed436b48 Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
8dcd5863c0 Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
5b43d87861 Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
30ee50d5a4 Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
663dfbbd65 Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
5bfecf04db Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan 2015-04-22 14:27:13 +03:00
Aryeh Gregor
7106d0b175 Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
51fddd30ee Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
64e8f10ae7 Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
313a21ad79 Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
c899a3d7e4 Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
3b37a005e2 Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
3e919338b5 Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
098aeb275f Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
a97a88e485 Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
46ef2fe868 Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
c209027f96 Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
2d24577b85 Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
0482d1aa1b Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
a589a12b04 Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
86f93aa7f3 Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
cde03c2171 Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
12ccfaab76 Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
179b7441b8 Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
d62de0f896 Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
b0c93122c4 Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
615e9c5418 Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj 2015-04-22 14:26:57 +03:00
Andrea Marchesini
085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Ehsan Akhgari
e0d61a0151 Bug 102663 - Add a test case for pressing space when an image map is focused; r=roc 2015-04-21 22:08:25 -04:00
Ehsan Akhgari
3b10fd3fcb Bug 915962 - Part 3: Do not crash when pressing the space bar without having an element focused; r=roc 2015-04-21 22:08:21 -04:00
Ehsan Akhgari
345ba44baa Bug 915962 - Part 2: Add a test case for pressing space when a tabindex=-1 and a button element is focused; r=roc
This is based on test_bug549262.html.
2015-04-21 22:07:43 -04:00
Masayuki Nakano
49d482da52 Bug 1128787 part.1 Add test r=ehsan 2015-04-21 15:27:09 +09:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ehsan Akhgari
0faeab0c12 Bug 102663 - Add a test case for pressing space when an image map is focused; r=roc 2015-04-19 18:57:53 -04:00
Ehsan Akhgari
0e26b6639a Bug 915962 - Part 2: Add a test case for pressing space when a tabindex=-1 and a button element is focused; r=roc
This is based on test_bug549262.html.
2015-04-19 18:57:52 -04:00
Phil Ringnalda
d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Aryeh Gregor
2acd624eb0 Bug 1147412 part 10 - Clean up nsHTMLCSSUtils::Get*Property, GetCSSInlinePropertyBase; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
84b6c03d3a Bug 1147412 part 9 - Convert some nsHTMLEditor members to Element; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
80da878691 Bug 1147412 part 8 - Clean up nsHTMLCSSUtils::IsCSSInvertible; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
e6d0f69eea Bug 1147412 part 7 - Remove nsHTMLCSSUtils::GetComputedStyle(nsIDOMElement*); r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
e241add3e1 Bug 1147412 part 6 - Remove nsHTMLCSSUtils::IsCSSEditableProperty(nsIDOMNode*,...); r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
951b06b0d0 Bug 1147412 part 5 - Clean up nsHTMLEditor::RemoveInlinePropertyImpl; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
0b2777b633 Bug 1147412 part 4 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
6afe078be0 Bug 1147412 part 3 - Fix completely broken nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet implementation; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
66f099e3c6 Bug 1147412 part 2 - Clean up nsHTMLEditor::SetInlinePropertyOnTextNode; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
d3282d35c7 Bug 1147412 part 1 - Make methods take nsINode*, not just nsIContent*; r=ehsan 2015-04-19 15:28:50 +03:00
Aryeh Gregor
e3a322b810 Bug 1153649 part 2 - Use some OwningNonNull in editor; r=ehsan 2015-04-19 15:28:49 +03:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ms2ger
3688595ddd Bug 949614 - Consolidate some spellchecking test code; r=ehsan 2015-04-14 15:26:14 +02:00
Olli Pettay
aad5b35ad2 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
--HG--
extra : rebase_source : 070a9902f23d8b47e48ac0f972213815f8e4302c
2015-04-08 21:48:11 +03:00
Masayuki Nakano
5ee4333980 Bug 1151186 part.2 nsHTMLEditor should accept composition events even while there is no active editing host but it has composition r=ehsan 2015-04-08 11:50:13 +09:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Jorg K
41b2c7b9b7 Bug 1141017 - resurrect serif and monospace. r=ehsan
--HG--
extra : rebase_source : 348e2da29d9e10186295d66350cb0141345785ce
2015-03-30 11:58:00 +02:00
Jorg K
a3ee4e22d2 Bug 756984 - Collapse the selection on the last text node on the line, skipping br and inline frames when clicking past the end of line; r=roc,ehsan 2015-03-27 20:04:29 -04:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Geoff Brown
53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Ehsan Akhgari
3189c0dc6e Bug 1148228 - Stop checking ul twice 2015-03-26 20:58:22 -04:00
Jeremy Chen
33732576cb Bug 1140625 - Part 3: Fix a bug in bug414526 so we can reopen the test. r=roc 2015-03-24 01:17:00 -04:00
Aryeh Gregor
a42b9e483a Bug 1134545 - Insufficient null check. r=ehsan 2015-03-25 13:52:56 -04:00
Ryan VanderMeulen
e88da8056c Backed out changeset e7688fa5ba48 (bug 1134545) for browser_vimemacs.js crashes.
CLOSED TREE
2015-03-25 13:19:29 -04:00
Aryeh Gregor
e3f8274ddc Bug 1134545 - Insufficient null check; r=ehsan 2015-03-25 17:37:52 +02:00
Ehsan Akhgari
db60d9a9cb Bug 1146883 - Null check the node passed to GetGoodSelPointForNode; r=smaug
Landed on a CLOSED TREE so that we can uplift to Firefox 37 soon.
2015-03-24 16:38:44 -04:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd
b252a27930 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Ehsan Akhgari
b628218278 Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
3c43e59507 Backed out changeset 4b7febba9c14 (bug 1140105) for m2 test failures 2015-03-12 11:42:40 +01:00
Carsten "Tomcat" Book
0ea2122540 Backed out changeset dc155e427213 (bug 1141017) 2015-03-12 11:41:52 +01:00
Neil Rashbrook
569cdd50d1 Bug 1141017 Querying for the current font sometimes returns "sans-serif" r=ehsan 2015-03-12 08:42:16 +00:00
Neil Rashbrook
bd1fe0f27a Bug 1140105 Can't query for a specific font face when the selection is collapsed r=ehsan 2015-03-12 08:40:29 +00:00
Alexandre Lissy
e8b4f395c0 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
Alexandre Lissy
c318ae4e07 Bug 1140429 - Force disable caret prefs for needs-focus reftests. r=ehsan 2015-03-08 05:11:00 -04:00
Andrea Marchesini
a22105261f Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Ting-Yu Lin
eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ekanan Ketunuti
0e031b1979 Bug 1133363 - Part 3 - Fix tests. r=ehsan 2015-02-25 20:24:58 +07:00
Chris Peterson
48957d0e7e Bug 1133288 - Remove nonstandard expression closures from editor. r=ehsan 2015-01-24 23:53:32 -08:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano
019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Carsten "Tomcat" Book
e2399947f4 Merge mozilla-central to mozilla-inbound 2015-02-16 16:14:51 +01:00
Jan Horak
ca4ceed59a Bug 1129859 - Wrong dictionary chosen when lang attribute is en-US on some Linux distros. r=roc
--HG--
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.test => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.good => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.test => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/base-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/base-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.good => extensions/spellcheck/hunspell/tests/unit/data/base-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/base-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.test => extensions/spellcheck/hunspell/tests/unit/data/base-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/base-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.aff => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.dic => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.test => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.test
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.good => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.test => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.aff => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.dic => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.test => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.test
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.wrong => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.aff => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.dic => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.good => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.good
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.sug => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.test => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.test
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.wrong => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.sug => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.wrong => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.wrong
extra : rebase_source : 09ef9975419ce11e104ce2792c2f0f3364f6db8d
2015-02-13 00:38:00 +01:00
Ting-Yu Lin
a14bf9a83b Bug 1096185 - Part 1 - Adjust caret size and shadow. r=roc
The size of the images is enlarged by 1.5x. The CSS rules in ua.css are
changed accordingly.
2015-02-11 19:55:00 +01:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Joel Maher
97f62104fb Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM 2014-12-27 00:44:52 +05:30
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Morris Tseng
581ea7f1d2 Bug 1120316 - Part 2: Batch changes for select all so we don't get selection change with no reason. r=roc
--HG--
extra : rebase_source : f585b16a7221c341376ad6aff3a451bc4a157d82
2015-02-04 21:35:00 +01:00
Morris Tseng
d729431099 Bug 1120316 - Part 1: Move SelectionBatcher to Selection.h. r=roc
--HG--
extra : rebase_source : e17ae33bc017fa1d460b611d251d3dbf29de37b1
2015-02-04 21:34:00 +01:00
Mats Palmgren
5818444d89 Bug 1127835 - part 1, Add a null-check to avoid fatal assertion if the split results in no left part. r=smaug 2015-02-02 22:34:17 +00:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Masayuki Nakano
7a85c69f66 Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
afb256c118 Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug 2015-01-28 15:27:32 +09:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Ehsan Akhgari
657ad4ff99 Bug 1120233 - Ensure that the delete command will stay enabled for password fields; r=roc 2015-01-22 23:26:59 -05:00
Ehsan Akhgari
905a3f9629 Bug 1119099 - Use fallible allocation in nsTextEditRules::TruncateInsertionIfNeeded; r=roc 2015-01-22 23:17:44 -05:00
Ehsan Akhgari
12229012ec Bug 611103 - Don't depend on the editor in nsDocumentEncoder; r=bzbarsky 2015-01-22 17:54:55 -05:00
Christoph Kerschbaumer
abb0caed63 Bug 1119006 - Remove files where code is still calling removed NS_OpenURI API (r=mcmanus) 2015-01-14 11:52:57 -08:00
Benjamin Peterson
8b8175fed3 Bug 1113121 followup - fix assertion r=me 2015-01-12 23:48:15 -05:00
Ehsan Akhgari
e791163ded Bug 1113121 - Null check the parent node in nsHTMLEditRules::JoinNodesSmart() before passing it to MoveNode; r=roc 2015-01-12 23:34:05 -05:00
Christoph Kerschbaumer
54b8e4e5e4 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Ehsan Akhgari
26c4d442fe Bug 1118420 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc 2015-01-07 10:08:12 -05:00
Ehsan Akhgari
6ee41ffc90 Bug 1117041 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc
This patch also devirtualizes some of the methods that were not
overridden by any derived classes.
2015-01-02 08:45:41 -05:00
Ehsan Akhgari
37f0d841d7 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
8ef3486369 Bug 1101364 - Part 1: Apply AutoApplyUserSelectStyle to nsHTMLEditor::SelectAll(). r=mats 2014-12-12 01:15:00 -05:00
Wes Kocher
e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari
09a262787c 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
2574d25df0 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
91d3fd2503 Bug 1097625 - Fallback to use LANG variable as dictionary doesn't work. r=ehsan 2014-12-09 03:22:00 -05:00
Ryan VanderMeulen
9dc33bae19 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
42e6680254 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
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Jan Horak
62d78cde2c 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
eccd00c15b 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
d566caf4cb 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
11f5bb6f92 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
9cafdfe447 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
51b0882e8a Bug 1101392 - Part 4: Add mochitest. r=roc 2014-11-27 21:27:00 +01:00
Morris Tseng
94165b2707 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
3e655bd8cc Bug 1101392 - Part 1: Fix coding style in nsEditorCommands.cpp. r=roc 2014-11-24 22:08:00 +01:00
Ehsan Akhgari
19a23b3d8b 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
d283a5588d 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
1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Milan Sreckovic
18a3f1d9ef Bug 1093245 - Make sure the return values are never returned uninitialized. r=ehsan 2014-11-04 13:11:54 -05:00
Morris Tseng
c1af02f12b 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
9f491a5703 Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano
c56c9a574f Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug 2014-11-25 14:02:31 +09:00