Commit Graph

168 Commits

Author SHA1 Message Date
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
a9370a8066 Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan 2012-07-23 13:27:22 +03:00
Aryeh Gregor
cd25ad4136 Bug 772332 part 1 - Make nsWSRunObject's type enum type-safe; r=ehsan 2012-07-13 09:33:43 +03:00
Aryeh Gregor
be252a8dce Bug 775552 - Don't access siblings of nodes that might be deleted; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
b37af2288b Bug 768756 part 1 - Use enum in nsHTMLCSSUtils for computed/specified style; r=ehsan 2012-07-06 14:50:07 +03:00
Ed Morley
53c5da4c5a Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage 2012-07-15 11:42:31 +01:00
Aryeh Gregor
a72a488e1a Bug 772332 part 1 - Don't access siblings of nodes that might be deleted; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
f2cd50775a Bug 768756 part 1 - Use enum in nsHTMLCSSUtils for computed/specified style; r=ehsan 2012-07-06 14:50:07 +03:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
0f9c1ead04 Bug 771994 - Make nsRangeStore refcounted; r=ehsan 2012-07-13 09:31:15 +03:00
Ehsan Akhgari
73aa3da3b5 Bug 772346 - Hold a strong ref to the child node in nsHTMLEditRules::DeleteNonTableElements; r=roc
--HG--
extra : rebase_source : 45e35f3c2ce9513a3e48fb801403ff59c0562412
2012-07-10 16:06:48 -04:00
Luqman Aden
f04474c3b4 Bug 770814 - Make nsEditor::GetNodeLocation return already_AddRefed<nsIDOMNode> instead of having it as an out param; r=ehsan 2012-07-08 20:45:12 -04:00
Aryeh Gregor
ddc08396b9 Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan 2012-07-02 15:07:57 +03:00
Aryeh Gregor
355d4ca236 Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan 2012-07-01 14:53:45 +03:00
Aryeh Gregor
596a599bd8 Bug 768748 part 1 - Clean up nsHTMLEditor::IsNext/PrevCharWhitespace; r=ehsan 2012-07-01 14:07:16 +03:00
Ehsan Akhgari
cfa33002d7 Bug 769008 - Don't pass a null node to GetBlockNodeParent; r=roc 2012-06-29 18:43:08 -04:00
Ms2ger
9a9ef017e3 Bug 761997 - Cleanup nsHTMLEditRules::GetListItemState / nsHTMLEditRules::GetDefinitionListItemTypes; r=ehsan 2012-06-17 10:11:16 +02:00
Aryeh Gregor
7005254f4f Bug 763283 part 2 - Use nsINode::AsContent() in editor/; r=ehsan 2012-06-10 15:39:21 +03:00
Aryeh Gregor
6865bb0c16 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Aryeh Gregor
816af37647 Bug 757771 part 2 - Change various callers to use nsTypedSelection; r=ehsan 2012-06-05 11:10:26 +03:00
Ms2ger
ea2dda7b49 Bug 761313 - Simplify nsHTMLEditRules::RemoveBlockStyle; r=ehsan 2012-06-06 09:41:56 +02:00
Ms2ger
3e9ba4ac53 Bug 756819 - Use dom::Element for the result of GetElementParent; r=ehsan 2012-06-06 09:36:52 +02:00
Ms2ger
4f0c76c829 Bug 756748 - Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType; r=ehsan 2012-06-06 09:36:46 +02:00
Ms2ger
b4027a20e9 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +02:00
Aryeh Gregor
12c360bc6f Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
Aryeh Gregor
137b1bb6a3 Bug 757371 part 1 - Clean up nsHTMLEditRules::ReapplyCachedStyles; r=ehsan 2012-05-22 13:15:09 +03:00
Ehsan Akhgari
0cff2c6d7a Bug 760583 - Null check the selection parameter passed to WillDoAction properly; rs=mconley 2012-06-01 16:36:09 -04:00
Aryeh Gregor
d9b433ad1a Bug 759748 - Crash in nsHTMLEditRules::WillDoAction; r=ehsan 2012-05-31 21:23:07 +03:00
Aryeh Gregor
e675ccb0d4 Bug 748307 part 3 - Clean up WillDoAction; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor
eb75258d5c Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan 2012-05-22 12:37:17 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
cf59f6497e Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Ms2ger
b0334f9c09 Bug 755264 - Use nsINode in nsHTMLEditRules::DeleteNonTableElements; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
e8622e297f Bug 755243 - Use nsINode in nsHTMLEditRules::AppendInnerFormatNodes; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
7bfbe480a8 Bug 755204 - Use nsINode::GetChildCount() in nsHTMLEditRules::MakeSureElemStartsOrEndsOnCR; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
1a1d355749 Bug 755202 - Simplify GetChildNodesForOperation; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
72e09057b5 Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan 2012-05-18 10:29:39 +02:00
Aryeh Gregor
cf4b492d16 Bug 590640 part 7 - Preserve type-in state when performing block commands; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor
7754f4e255 Bug 590640 part 6 - Don't create empty style tags unless we're about to insert text in them; r=ehsan 2012-05-10 15:00:14 +03:00
Aryeh Gregor
794a3e5f1b Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Aryeh Gregor
126afa8d03 Bug 590640 part 2 - Remove dead code; r=ehsan 2012-05-09 12:45:21 +03:00
Aryeh Gregor
4d5c547aa9 Bug 590640 part 1 - Clean up some nsHTMLEditRules methods; r=ehsan 2012-05-09 08:24:07 +03:00
Aryeh Gregor
ba69aaa763 Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor
3af9ba928a Bug 700538 part 1 - Name some nsEditor methods more consistently; r=ehsan 2012-05-01 13:01:28 +03:00
Aryeh Gregor
80c985d67f Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
Ms2ger
c5dcfd1bc7 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
f051ed6486 Bug 749329 - Cleanup TypeInState; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
c9da5bbd81 Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor
0d8f909e57 Bug 748313 part 1 - Remove unused argument to nsHTMLEditor::IsTextPropertySetByContent; r=ehsan 2012-05-03 10:09:44 +03:00
Aryeh Gregor
01a3e98230 Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan 2012-05-01 09:34:52 +03:00