Commit Graph

1309 Commits

Author SHA1 Message Date
Ehsan Akhgari
89a464a6cb Bug 771976 - Part 3: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc
--HG--
extra : rebase_source : 08c052ed543bbdcb8bc2c084e8aff24fbd4b40a5
2012-07-17 23:02:00 -04:00
Jared Wein
c186c238d0 Bug 754169 - Fix intermittent orange related to imprecise scrolling positions in test. r=ehsan 2012-07-17 11:40:49 -04:00
Ehsan Akhgari
989a0759e3 Bug 771976 - Part 2: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc 2012-07-17 00:01:15 -04:00
Aryeh Gregor
2c69b5ad68 Bug 773262 - Re-add SetMaxTransactionCount call incorrectly removed by bug 765595 part 2; r=ehsan 2012-07-15 09:11:47 +03:00
Aryeh Gregor
eb15649aa5 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Aryeh Gregor
4fe4e6539d Bug 771994 - Make nsRangeStore refcounted; r=ehsan 2012-07-13 09:31:15 +03:00
Makoto Kato
35bbe30c30 Bug 772327 - Password mask timer is too short on Android. r=blassy 2012-07-13 11:26:20 +09:00
Sankha Narayan Guria
e1b70ac4df Bug 770812 - Remove nsIEditorSupport; r=ehsan 2012-07-11 18:06:02 -04:00
Aryeh Gregor
4ee48abbf5 Bug 772282 - Hold on to nodes when we delete them in nsEditor::MoveNode; r=ehsan 2012-07-11 10:51:13 +03:00
Ehsan Akhgari
3591cf9669 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
Aryeh Gregor
ca7c169297 Bug 771983 - Re-add non-debug null check to nsEditor::GetNodeLocation; r=ehsan 2012-07-10 09:53:59 +03:00
Aryeh Gregor
b99d144ca3 Bug 771435 - Fix nsEditor::DoTransaction to use transaction interfaces sanely; r=ehsan 2012-07-09 11:41:47 +03:00
Aryeh Gregor
acbe12b416 Bug 771749 - Fix dangling pointer in nsEditor::RemoveContainer; r=ehsan 2012-07-09 11:41:47 +03:00
Ryan VanderMeulen
54b1ac51b6 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Olli Pettay
4bd4108ce2 Bug 771961, fix a regression from Bug 756750, r=ehsan 2012-07-09 23:52:31 +03:00
Luqman Aden
591dff9c8a 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
66e50b4b82 Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz 2012-07-05 10:45:08 +03:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Makoto Kato
70a261905e Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar 2012-07-06 18:43:28 +09:00
Aryeh Gregor
3beb0bfd34 Bug 765595 part 4 - Make nsEditor::DoAfter*Transaction infallible; r=ehsan 2012-07-05 10:45:09 +03:00
Aryeh Gregor
bc414e9c49 Bug 765595 part 3 - Make PeekUndoStack/PeekRedoStack infallible; r=ehsan 2012-06-19 16:23:36 +03:00
Aryeh Gregor
383608c823 Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan 2012-06-19 16:23:36 +03:00
Aryeh Gregor
597b901972 Bug 765595 part 1 - Clean up nsEditor::DoTransaction; r=ehsan 2012-06-19 16:23:36 +03:00
Aryeh Gregor
51a3aa4b5b Bug 766025 - Remove incorrect assert in DeleteTextTxn::Init; r=ehsan 2012-06-19 16:21:48 +03:00
Aryeh Gregor
cd62d0322c Bug 769967 part 5 - Don't special-case -moz-user-select: all elements for deletion; r=ehsan 2012-07-02 16:25:33 +03:00
Aryeh Gregor
18fa0731af Bug 767684 Test to prevent regression from bug 752210 happening again r=ehsan 2012-07-05 21:35:10 +01:00
Neil Rashbrook
15d0c6dd6c Bug 767684 Fix regression from bug 752210 r=ehsan 2012-07-05 21:33:10 +01:00
Aryeh Gregor
158c6a92b5 Backed out changeset f49e52ee86f3, insufficient review 2012-07-05 11:51:18 +03:00
Aryeh Gregor
a718fdad44 Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan 2012-07-05 10:45:08 +03:00
Aryeh Gregor
857375332d Bug 768765 - Fix assert in nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan 2012-07-02 16:31:49 +03:00
Aryeh Gregor
e7a8c5d478 Bug 769967 part 4 - Rename DeleteElementTxn to DeleteNodeTxn; r=ehsan
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : editor/libeditor/base/DeleteElementTxn.h => editor/libeditor/base/DeleteNodeTxn.h
2012-06-19 16:23:36 +03:00
Aryeh Gregor
aa6eaad2df Bug 769967 part 3 - Clean up DeleteElementTxn and nsEditor::DeleteNode; r=ehsan 2012-06-19 16:23:36 +03:00
Aryeh Gregor
34bda3a6b6 Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan 2012-07-02 15:07:57 +03:00
Aryeh Gregor
59797949ac Bug 769967 part 1 - Clean up nsEditor::GetChildOffset; r=ehsan 2012-07-02 14:42:19 +03:00
Aryeh Gregor
5dc7614205 Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan 2012-07-01 14:53:45 +03:00
Aryeh Gregor
6ddc2a97b5 Bug 768748 part 1 - Clean up nsHTMLEditor::IsNext/PrevCharWhitespace; r=ehsan 2012-07-01 14:07:16 +03:00
Ehsan Akhgari
2e13064d3a Merge backout of DLBI from mozilla-central 2012-07-03 20:53:08 -04:00
Ehsan Akhgari
52053459a3 Bug 330868 - Fall back to assuming that we have retrieved HTML data from the clipboard if it lies to us saying that it has returned CF_HTML; r=roc 2012-07-03 20:44:46 -04:00
Ehsan Akhgari
729030ee5b Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Ehsan Akhgari
7cfd589dca Backed out changeset 0f1a8f17bfdf because the patch was not reviewed! 2012-07-03 18:04:35 -04:00
Ehsan Akhgari
0897eb962f Bug 330868 - Fall back to assuming that we have retrieved HTML data from the clipboard if it lies to us saying that it has returned CF_HTML; r=roc 2012-07-03 18:03:22 -04:00
Ed Morley
b0cc4dae44 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
26b13a6a2d Bug 770013 - Cleanup NodeIsBlockStatic/IsBlockNode a bit; r=ehsan 2012-07-01 21:53:16 +02:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ekanan Ketunuti
1b8f5b60ad Bug 769913 - TestTXMgr.cpp should use fail() from TestHarness.h; r=ehsan 2012-06-30 23:56:18 +07:00
Aryeh Gregor
fe8e98a3f0 Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz 2012-06-28 14:29:56 +03:00
Ehsan Akhgari
2df811342b Bug 769008 - Don't pass a null node to GetBlockNodeParent; r=roc 2012-06-29 18:43:08 -04:00
Matt Woodrow
4b10a2b53c Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
ccc8365e72 Bug 766845 part 3 - Fix assertion in DeleteRangeTxn; r=ehsan,surkov 2012-06-25 14:44:40 +03:00