Commit Graph

2260 Commits

Author SHA1 Message Date
Ehsan Akhgari
0d96a01e8e Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
Anthony Tseng
c3e1645f26 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Ehsan Akhgari
97c6373a84 Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc 2015-04-29 18:35:00 -04:00
Mike Hommey
b848e4bfcf 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
483acccf3a Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -04:00
Boris Zbarsky
eff2c12307 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
376ce10632 Bug 1158920 - Yield to the event loop before reading the spelling suggestions 2015-04-27 15:09:22 -04:00
Boris Zbarsky
f751c0a094 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
b29b29a61d 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
b61068714a 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
6a3f2d3909 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
89c9687fb6 Bug 1140105 - Can't query for a specific font face when the selection is collapsed. r=ehsan 2015-04-24 05:57:00 -04:00
David Anderson
1560992fa3 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
5559b42167 Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
ceee182c20 Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
42e024a5e1 Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
c0859eb2c9 Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
84b82b8a8a Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
b9e21bcba1 Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
0a91545372 Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
ec4f9082a8 Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
55df320c95 Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8ee8ed29c6 Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
879c23b05e Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
3822444332 Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
d9f91a37a9 Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
1bcd6b15f3 Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
ed04019516 Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
42901bdb8b Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
46f80630d0 Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
f3c8c6888c Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
4351e04642 Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
56dd67943a Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
9faa53a2d5 Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
bfa9938fe7 Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
ddb1cf3533 Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
0e67c34af6 Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
50c3d7f793 Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
9a26632d35 Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
7d4de7095d Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
ce645dccf4 Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
e2b45cc221 Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
f7ac18840a Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
573b4b62cc Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
cd3dda88a5 Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
5b8d67d766 Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
8d0e712a85 Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
aeff5c2a41 Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj 2015-04-24 14:27:34 +03:00
Jorg K
fc20be49e3 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
f44ebb2180 merge mozilla-central to mozilla-inbound IGNORE IDL 2015-04-22 16:09:56 +02:00
Kartikaya Gupta
05d5dd9734 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
5b1fe423b2 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
d52710a0e4 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
15eed0f011 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
c7cade54e4 Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan 2015-04-17 14:47:00 +02:00
Carsten "Tomcat" Book
9f9ca21297 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
593bf8614e Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
bfb3f9c688 Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
be20af1451 Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
f82b39964b Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
4fd0f9d847 Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
9596fc80b5 Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
c2a21d15a1 Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
0748ca5f8a Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2015-04-22 14:27:18 +03:00
Aryeh Gregor
24fb09ff93 Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
f1e46ce1dd Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
f35d1b10c5 Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
585ffb1ece Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
bfebf30994 Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan 2015-04-22 14:27:17 +03:00
Aryeh Gregor
7cbaa6c568 Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan 2015-04-22 14:27:13 +03:00
Aryeh Gregor
ea81dad7a5 Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
c1951552d6 Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
25ae56bf43 Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
e06c96335f Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
6a88a116a3 Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
26b6d13e08 Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
186a8de1ad Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
5d474625c0 Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan 2015-04-22 14:26:58 +03:00
Aryeh Gregor
7e28d95a8e Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
c8d5732422 Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
ba02c13997 Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
ebf30f1853 Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan 2015-04-22 14:26:57 +03:00
Aryeh Gregor
3b0397f88d Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
9e010fd98c Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
808f109604 Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
214a2f45aa Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
714187f51f Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
26d5e27dea Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
017fb27c00 Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
cfc0d71b43 Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj 2015-04-22 14:26:57 +03:00
Aryeh Gregor
73afbca1d2 Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj 2015-04-22 14:26:57 +03:00
Andrea Marchesini
c77bfc0235 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
2f85936541 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
382165a211 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
306373e406 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
38627eb7f4 Bug 1128787 part.1 Add test r=ehsan 2015-04-21 15:27:09 +09:00
Denis Volk
cd6346cce0 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ehsan Akhgari
e714e04298 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
08330b3615 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
afbd405312 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00