Commit Graph

68 Commits

Author SHA1 Message Date
Ted Clancy
20737c09c6 Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
--HG--
extra : rebase_source : e7800dac174b1bd155dc2630a410f55eadef0f6b
2015-06-01 15:19:57 -04:00
Masayuki Nakano
274f4c6cb1 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Nathan Froyd
06a216ef04 Bug 1165982 - part 2 - validate an nsRange::SelectNode call in nsHTMLEditRules::Init; r=ehsan 2015-05-19 14:08:54 -04:00
Nathan Froyd
a587185972 Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan 2015-05-22 09:58:30 -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
Ehsan Akhgari
b3891dc524 Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -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
270f330257 Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; 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
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
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
0b2777b633 Bug 1147412 part 4 - Clean up nsHTMLEditor::GetInlinePropertyBase; 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
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
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
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
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
Milan Sreckovic
18a3f1d9ef Bug 1093245 - Make sure the return values are never returned uninitialized. r=ehsan 2014-11-04 13:11:54 -05:00
Masayuki Nakano
0c2f076b52 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
Aryeh Gregor
856fd44c65 Bug 1088054 part 10 - Clean up nsHTMLEditRules::WillDeleteSelection; r=ehsan 2014-11-02 14:04:14 +02:00
Aryeh Gregor
b4b8b2f42d Bug 1088054 part 9 - Clean up nsEditor::JoinNodeDeep; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
bf288c0e4c Bug 1088054 part 8 - Clean up nsHTMLEditor::GetFirst/LastEditableLeaf; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
85d56cc1f5 Bug 1088054 part 7 - Clean up nsHTMLEditRules::JoinNodesSmart; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
bd829f3642 Bug 1088054 part 6 - Clean up nsHTMLEditor::GetFirst/LastEditableChild; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
6a9b374570 Bug 1088054 part 5 - Clean up nsHTMLEditRules::GetTopEnclosingMailCite; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
5985cd622b Bug 1088054 part 4 - Clean up nsHTMLEditRules::GetGoodSelPointForNode; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor
e704c0d206 Bug 1088054 part 3 - Clean up nsHTMLEditRules::CheckForEmptyBlock; r=ehsan 2014-11-02 14:04:13 +02:00