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
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
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
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
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
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