Commit Graph

1242 Commits

Author SHA1 Message Date
Aryeh Gregor
b1c8f77493 Bug 762183 part 5 - Fix misleading comments/variable names; r=ehsan 2012-06-13 18:38:05 +03:00
Aryeh Gregor
9395a049ae Bug 762183 part 4 - Fix assertion in DeleteTextTxn::Init; r=ehsan 2012-06-12 19:05:27 +03:00
Aryeh Gregor
d99bb584ed Bug 762183 part 3 - Clean up some nsEditor methods; r=ehsan 2012-06-12 18:44:44 +03:00
Aryeh Gregor
2879091bf6 Bug 762183 part 1 - Clean up DeleteTextTxn; r=ehsan 2012-06-08 12:58:29 +03:00
Henri Sivonen
79e3d21a31 Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Aryeh Gregor
7005254f4f Bug 763283 part 2 - Use nsINode::AsContent() in editor/; r=ehsan 2012-06-10 15:39:21 +03:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
d8b05307aa Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Ryan VanderMeulen
bf2b50270d Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +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
Ehsan Akhgari
ca80281227 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari
701213914b Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
b29a2f9ea8 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Aryeh Gregor
96d34dcd72 Bug 762430 - Fix uninitialized nsresult in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
b36b8ee24e Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
43b3bdf8ac Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h 2012-06-07 18:00:58 +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
Ed Morley
5571c78064 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Aryeh Gregor
b3b79e9ccb Bug 761861 - Fix crash in nsHTMLEditor::DeleteSelectionImpl; r=ehsan 2012-06-06 14:19:16 +03:00
Ehsan Akhgari
c6218431ee Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Ms2ger
1405bb4441 Bug 761297 - Followup: Fix build warning in opt builds. 2012-06-06 12:34:46 +02:00
Ms2ger
603e690fa0 Bug 761306 - Make nsInsertTagCommand::mTagName an nsIAtom*; r=ehsan 2012-06-06 09:42:01 +02:00
Ms2ger
ea2dda7b49 Bug 761313 - Simplify nsHTMLEditRules::RemoveBlockStyle; r=ehsan 2012-06-06 09:41:56 +02:00
Ms2ger
3018b53a7f Bug 761308 - Part b: Cleanup CreateElementTxn::DoTransaction(); r=ehsan 2012-06-06 09:41:51 +02:00
Ms2ger
0760b4100e Bug 761308 - Part a: Remove unnecessary assertion from CreateElementTxn::Init(); r=ehsan 2012-06-06 09:41:46 +02:00
Ms2ger
a8a4d62100 Bug 761299 - Cleanup DeleteRangeTxn::CreateTxnsToDeleteBetween; r=ehsan 2012-06-06 09:41:41 +02:00
Ms2ger
31d4a8943a Bug 761297 - Simplify debug code in DeleteRangeTxn::Init; r=ehsan 2012-06-06 09:41:35 +02:00
Ms2ger
ea3c39ba87 Bug 761296 - Cleanup InsertElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:30 +02:00
Ms2ger
251dc7b180 Bug 761288 - Cleanup JoinElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:22 +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
30a9860b7d Bug 756758 - Use nsINode in nsEditor::ReplaceContainer; r=ehsan 2012-06-06 09:36:33 +02:00
Ms2ger
0d99f62caa Bug 756757 - Use nsINode in nsHTMLEditor::MergeCells; r=ehsan 2012-06-06 09:36:28 +02:00
Ms2ger
5e4ea1d70f Bug 756756 - Cleanup nsTextServicesDocument::GetCollapsedSelection; r=ehsan 2012-06-06 09:36:23 +02:00
Ms2ger
8bebfeb3bb Bug 756755 - Cleanup nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2012-06-06 09:36:17 +02:00
Ms2ger
7a7a94f9d6 Bug 756754 - Part b: Use nsINode in nsEditor::InsertContainerAbove; r=ehsan 2012-06-06 09:36:12 +02:00
Ms2ger
b4027a20e9 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +02:00
Ms2ger
5ed4a1334e Bug 756752 - Remove nsHTMLEditor::IsContainer(nsINode*); r=ehsan 2012-06-06 09:36:00 +02:00
Ms2ger
45110b50cf Bug 756750 - Cleanup nsEditor::RemoveContainer; r=ehsan 2012-06-06 09:35:54 +02:00
Ms2ger
24cef0b1ea Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan 2012-06-06 09:35:47 +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
15e1ced83b Bug 757371 part 4 - Do not insert style tags if the style is already applied; r=ehsan 2012-05-23 10:49:29 +03:00
Aryeh Gregor
c986ade870 Bug 757371 part 3 - Reuse existing style elements more aggressively; r=ehsan 2012-05-29 10:12:51 +03:00
Aryeh Gregor
48e8c70512 Bug 757371 part 2 - Improve correctness of nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan 2012-05-28 14:20:27 +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
Mats Palmgren
5e1fe0c564 Bug 760080 - Use info() for log messages that aren't tests. Move SimpleTest.finish() last. r=ehsan 2012-06-01 20:52:37 +02:00
Aryeh Gregor
d9b433ad1a Bug 759748 - Crash in nsHTMLEditRules::WillDoAction; r=ehsan 2012-05-31 21:23:07 +03:00
Aryeh Gregor
c1e77a8721 Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00