Commit Graph

249 Commits

Author SHA1 Message Date
Ms2ger
b4027a20e9 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +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
c986ade870 Bug 757371 part 3 - Reuse existing style elements more aggressively; r=ehsan 2012-05-29 10:12:51 +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
63c3854253 Bug 755310 - Use nsINode::Length() in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger
982faa9b00 Bug 752253 - Remove nsEditor::GetIndexOf; 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
Ms2ger
9e0530fc9a Bug 752203 - Cleanup nsEditor::NodesSameType; r=ehsan 2012-05-18 10:29:38 +02:00
Ms2ger
4d1dcb2be8 Bug 752045 - Handle document fragments correctly in *CanContain* methods; r=ehsan 2012-05-18 10:29:38 +02: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
ba69aaa763 Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor
c2fb29a4a2 Bug 700538 part 3 - Add and use new EditorRoot methods in nsEditor; 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
125c939be4 Bug 750103 - Cleanup nsEditor::EndOfDocument(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
4df91dc293 Bug 750062 - Assert preconditions in IsVisTextNode; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
552a17939d Bug 750064 - Add some GetPriorNode/GetNextNode overloads that take nsINode; r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor
01a3e98230 Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan 2012-05-01 09:34:52 +03:00
Aryeh Gregor
a949fda3e3 Bug 748303 part 2 - Handle non-text/elements correctly when calling (Tag)CanContain(Tag); r=ehsan 2012-05-01 09:34:52 +03:00
Masayuki Nakano
ba56663cd3 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
9780e4893b Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Ehsan Akhgari
5cd881d802 Backed out changeset 3e6ca2158274 because of build bustage 2012-04-24 12:16:34 -04:00
Ehsan Akhgari
bd4140a99d Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Aryeh Gregor
6ed928a21d Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Aryeh Gregor
fc86041529 Bug 599983 part 1 - Clean up nsEditor::MarkNodeDirty; r=ehsan 2012-04-24 09:06:11 +03:00
Ms2ger
9427a8db0d Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Masayuki Nakano
2ab8e3fb4a Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
Ms2ger
a033505149 Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan 2012-03-24 09:19:14 +01:00
Ehsan Akhgari
5f3425b10d Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Olli Pettay
6139688226 Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan 2012-02-23 22:47:37 +02:00
Neil Deakin
3a318c367e Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin
de5e8ee45b Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Daniel Holbert
706eb31699 Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan 2012-02-15 01:18:24 -08:00
Ehsan Akhgari
370cc1fde8 Bug 725069 - Part 2: Only accept text and element nodes for the editability check; r=roc 2012-02-08 18:09:51 -05:00
Ehsan Akhgari
a802e7dffa Bug 725069 - Never mark the comment nodes as editable; r=roc 2012-02-07 18:39:05 -05:00
Ms2ger
1c2ff7f87b Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
cc91aec3cf Bug 722419 - Part b: BeginningOfDocument / GetFirstEditableNode; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
f6c81888f5 Bug 722419 - Part a: Introduce another version of GetNextNode; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
c080e16e2e Bug 722418 - Various nsEditor cleanup; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger
ced62efd51 Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan 2012-02-01 11:54:22 +01:00
Boris Zbarsky
5d70c080d6 Bug 713427. Don't assume things about lazy frame construction bits that just aren't true when doing IsVisible() testing. r=tnikkel 2012-01-18 16:10:06 -05:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
15ab474eed Bug 717370 - Cleanup range-using and nearby code in editor; r=smaug+ehsan 2012-01-15 09:13:12 +01:00
David Zbarsky
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Markus Stange
28a839403a Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc 2011-12-23 22:52:23 -05:00
Markus Stange
cb70f28632 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange
b4421e4a3b Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc 2011-12-23 22:52:21 -05:00