Eric Rahm
6c9db7a162
Bug 1269047 - Remove chained ENSURE calls from GetStartNodeAndOffset. r=ehsan
2016-05-02 21:25:56 -07:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
585263dafa
Bug 1193762 part 4 - Avoid nsCOMPtr in ternary operator; r=froydnj
2016-05-01 21:29:22 +03:00
Aryeh Gregor
0a025f6cca
Bug 1193762 part 3 - Remove nsEditor::IsDescendantOfEditorRoot(nsIDOMNode*); r=ehsan
2016-05-01 17:59:29 +03:00
Aryeh Gregor
419ed0f1bb
Bug 1193762 part 2 - Remove nsHTMLEditor::IsVisBreak(nsIDOMNode*); r=ehsan
2016-05-01 17:59:17 +03:00
Aryeh Gregor
9f98b80267
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 17:59:05 +03:00
Aryeh Gregor
0a569d869c
Bug 1191356 part 9 - Convert nsHTMLEditRules::mNewBlock to Element; r=ehsan
2016-05-01 17:58:53 +03:00
Aryeh Gregor
81dd1ee865
Bug 1191356 part 8 - Clean up nsHTMLEditRules::WillAbsolutePosition; r=ehsan
2016-05-01 17:58:41 +03:00
Aryeh Gregor
bf808d8cc0
Bug 1191356 part 7 - Clean up nsHTMLEditor::GetSelectionContainer; r=ehsan
...
This makes the XPCOM GetSelectionContainer return an error in cases
where previously it would return success but a null pointer. This could
theoretically cause problems, but there's no obvious non-ugly way to
avoid it.
2016-05-01 17:58:29 +03:00
Aryeh Gregor
1d5314df0c
Bug 1191356 part 6 - Clean up nsHTMLEditRules::WillMakeBasicBlock; r=ehsan
2016-05-01 17:58:17 +03:00
Sebastian Hengst
2fd74ed0d1
Backed out changeset 6dbba6c4a200 (bug 1191356) for build bustage. r=backout on a CLOSED TREE
2016-05-01 16:27:40 +02:00
Sebastian Hengst
ce0ea5ad03
Backed out changeset aa61db1f8f83 (bug 1191356)
2016-05-01 16:27:29 +02:00
Sebastian Hengst
0526cdbd22
Backed out changeset 7b3284a488dc (bug 1191356)
2016-05-01 16:27:21 +02:00
Sebastian Hengst
bed664c09b
Backed out changeset acf185618acd (bug 1191356)
2016-05-01 16:27:11 +02:00
Sebastian Hengst
46b9ec79bb
Backed out changeset 50b15734fe1d (bug 1193762)
2016-05-01 16:27:03 +02:00
Sebastian Hengst
e1428250cb
Backed out changeset 6b3d9803990b (bug 1193762)
2016-05-01 16:26:56 +02:00
Sebastian Hengst
ff6ae40a51
Backed out changeset ef0eaadbed31 (bug 1193762)
2016-05-01 16:26:45 +02:00
Aryeh Gregor
4f5b418627
Bug 1193762 part 3 - Remove nsEditor::IsDescendantOfEditorRoot(nsIDOMNode*); r=ehsan
2016-05-01 16:18:39 +03:00
Aryeh Gregor
45c59d499f
Bug 1193762 part 2 - Remove nsHTMLEditor::IsVisBreak(nsIDOMNode*); r=ehsan
2016-05-01 16:18:26 +03:00
Aryeh Gregor
0c5699255e
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 16:18:14 +03:00
Aryeh Gregor
99add47b6d
Bug 1191356 part 9 - Convert nsHTMLEditRules::mNewBlock to Element; r=ehsan
2016-05-01 16:18:03 +03:00
Aryeh Gregor
dccb99b0b6
Bug 1191356 part 8 - Clean up nsHTMLEditRules::WillAbsolutePosition; r=ehsan
2016-05-01 16:17:50 +03:00
Aryeh Gregor
0d6d4b284b
Bug 1191356 part 7 - Clean up nsHTMLEditor::GetSelectionContainer; r=ehsan
...
This makes the XPCOM GetSelectionContainer return an error in cases
where previously it would return success but a null pointer. This could
theoretically cause problems, but there's no obvious non-ugly way to
avoid it.
2016-05-01 16:17:39 +03:00
Aryeh Gregor
77e622044a
Bug 1191356 part 6 - Clean up nsHTMLEditRules::WillMakeBasicBlock; r=ehsan
2016-05-01 16:17:27 +03:00
Aryeh Gregor
5905c70893
Bug 1191356 part 5 - Clean up nsHTMLEditRules::RelativeChangeIndentationOfElementNode; r=ehsan
2016-05-01 16:17:15 +03:00
Aryeh Gregor
8591247a42
Bug 1191356 part 4 - Clean up nsHTMLEditRules::MoveNodeSmart, MoveContents; r=ehsan
2016-05-01 16:17:03 +03:00
Aryeh Gregor
bfb967416f
Bug 1191356 part 3 - Clean up nsHTMLEditRules::MoveBlock; r=ehsan
2016-05-01 16:16:50 +03:00
Aryeh Gregor
5b2a15bdb0
Bug 1191356 part 2 - Clean up nsHTMLEditor::RemoveBlockContainer; r=ehsan
2016-05-01 16:16:38 +03:00
Aryeh Gregor
fb41b34868
Bug 1191356 part 1 - Clean up nsHTMLEditRules::RemoveListStructure; r=ehsan
2016-05-01 16:16:26 +03:00
Aryeh Gregor
a066bf53e5
Bug 1191354 part 13 - Clean up nsHTMLEditRules::SplitBlock; r=ehsan
2016-05-01 16:16:15 +03:00
Aryeh Gregor
097c58d5eb
Bug 1191354 part 12 - Clean up nsHTMLEditRules::OutdentPartOfBlock; r=ehsan
2016-05-01 16:16:03 +03:00
Aryeh Gregor
e2b45addf7
Bug 1191354 part 11 - Clean up nsHTMLEditRules::WillOutdent; r=ehsan
2016-05-01 16:15:51 +03:00
Aryeh Gregor
86500a0036
Bug 1191354 part 9 - Remove old nsHTMLEditRules::ConvertListType variant; r=ehsan
2016-05-01 16:15:27 +03:00
Aryeh Gregor
f9d2d13cb5
Bug 1191354 part 8 - Typedefs in headers for readability; r=ehsan
2016-05-01 16:15:14 +03:00
Aryeh Gregor
ef040f7942
Bug 1191354 part 7 - Clean up nsHTMLEditRules::CheckForInvisibleBR; r=ehsan
2016-05-01 16:15:02 +03:00
Aryeh Gregor
573c9d0ab3
Bug 1191354 part 6 - Clean up IsBlockNode/IsInlineNode in nsHTMLEditRules.cpp; r=ehsan
2016-05-01 16:14:51 +03:00
Aryeh Gregor
fcbd93de52
Bug 1191354 part 5 - Clean up nsHTMLEditRules::IsEmptyInline; r=ehsan
2016-05-01 16:14:39 +03:00
Aryeh Gregor
2f2e3c0922
Bug 1191354 part 4 - Clean up nsHTMLEditRules::AlignBlock; r=ehsan
2016-05-01 16:14:27 +03:00
Aryeh Gregor
53be15e904
Bug 1191354 part 3 - Clean up nsHTMLEditRules::InsertMozBRIfNeeded; r=ehsan
2016-05-01 16:14:15 +03:00
Aryeh Gregor
a242464c64
Bug 1191354 part 2 - Clean up nsHTMLEditRules::CheckInterlinePosition; r=ehsan
2016-05-01 16:14:02 +03:00
Aryeh Gregor
f8fa9944cb
Bug 1191354 part 1 - Clean up nsHTMLEditRules::GetHighestInlineParent; r=ehsan
2016-05-01 16:13:51 +03:00
Aryeh Gregor
62ef6c7bb5
Bug 1190172 part 12 - Clean up nsHTMLEditRules::ExpandSelectionForDeletion; r=ehsan
2016-05-01 16:13:39 +03:00
Aryeh Gregor
d92f03a311
Bug 1190172 part 11 - Clean up nsHTMLEditRules::IsEmptyBlock; r=ehsan
2016-05-01 16:13:27 +03:00
Aryeh Gregor
aa64a725d7
Bug 1190172 part 10 - Clean up nsHTMLEditor::ReturnInListItem; r=ehsan
2016-05-01 16:13:15 +03:00
Aryeh Gregor
844eb62b2f
Bug 1190172 part 9 - Clean up nsHTMLEditor::ReturnInHeader; r=ehsan
2016-05-01 16:13:03 +03:00
Aryeh Gregor
e876ffcb35
Bug 1190172 part 8 - Clean up nsHTMLEditor::PromoteRangeIfStartsOrEndsInNamedAnchor; r=ehsan
2016-05-01 16:12:51 +03:00
Aryeh Gregor
ae41a2dd75
Bug 1190172 part 7 - Clean up nsHTMLEditor::PromoteInlineRange; r=ehsan
2016-05-01 16:12:39 +03:00
Aryeh Gregor
1588157e3f
Bug 1190172 part 6 - Clean up nsHTMLEditor::RelativeFontChangeOnTextNode; r=ehsan
2016-05-01 16:12:27 +03:00
Aryeh Gregor
4965f76e10
Bug 1190172 part 5 - Clean up nsHTMLEditor::NodeIsProperty; r=ehsan
2016-05-01 16:12:15 +03:00
Aryeh Gregor
8aec477e68
Bug 1190172 part 4 - Remove unused nsHTMLEditor::HasAttr; r=ehsan
2016-05-01 16:12:04 +03:00