Neil Deakin
7276ffca3a
Bug 788404, return unconditionally from attempts to insert from drop to prevent mutliple copies of text from appearing in contenteditable areas, r=ehsan
2012-09-07 15:57:10 -04:00
Isaac Aggrey
bdf73fba49
Bug 785131 - Don't process any node when aChildrenOnly is set; r=ehsan
2012-08-23 12:17:43 -05:00
Abhishek Potnis
91a7ba9fed
Bug 777925 : Removes HTML editor logging support; r=ehsan
2012-09-04 21:18:59 +05:30
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e7af112ab9
Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky
2012-08-29 16:43:32 -04:00
Andrew McCreight
62325fa9f3
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Isaac Aggrey
7bf0363244
Bug 711862 - Do not process the node itself in nsHTMLEditor::RemoveStyleInside if the caller requests only children to be modified; r=ehsan
2012-08-21 14:31:19 -04:00
Ian Melven
46a3add818
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Kent James
65f0d8311e
Bug 780908 - Fix crash in editor with head after body. r=ehsan
2012-08-17 08:39:52 -07:00
Neil Deakin
96c084b896
Bug 775110, allow data from the same domain to be dropped in editor fields, r=ehsan
2012-08-15 15:35:08 -04:00
Aryeh Gregor
768886d6ef
Bug 782252 - Don't return nsresult from main() (editor/); r=ehsan
2012-08-07 20:17:26 +03:00
Aryeh Gregor
1f5f272808
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
b88e267a1a
Bug 780035 - Don't cache font-style as CSS; r=ehsan
2012-08-14 12:10:43 +03:00
Aryeh Gregor
30201a72e9
Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan
2012-08-12 21:28:26 +03:00
Ed Morley
afd5340800
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
f1b5bdfdf7
Bug 780502 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:11 +02:00
Ms2ger
eb175d3103
Bug 179956 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:06 +02:00
Ms2ger
cb6fef5051
Bug 461440 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:01 +02:00
Aryeh Gregor
fbd5b103d1
Bug 778428 - Refcount arrays of nodes in editor/; r=ehsan
2012-08-01 11:17:51 +03:00
Aryeh Gregor
07e11d5e7d
Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan
2012-08-01 15:22:07 +03:00
Aryeh Gregor
13b54b385e
Bug 751554 part 3 - Fix OperationID type errors; r=ehsan
2012-08-01 15:20:59 +03:00
Bobby Holley
364da93593
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
7a0429e652
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Matt Brubeck
5ebf50f2e1
Bug 779551 - Mark spellcheck-superscript-2.html as failing on native Android, so reftest-3 can be unhidden; rs=edmorley
2012-08-05 13:20:23 +01:00
Ms2ger
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Aryeh Gregor
2ee8ee4c51
Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan
2012-07-31 11:50:04 +03:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
a261a556a4
Bug 291789 part 3 - Try not to ever delete across table boundaries; r=ehsan
2012-07-27 17:03:28 +03:00
Aryeh Gregor
2c96b3d490
Bug 291789 part 2 - Clean up nsHTMLEditRules::InDifferentTableElements; r=ehsan
2012-07-27 17:03:28 +03:00
Aryeh Gregor
b03a28a187
Bug 291789 part 1 - Make various nsHTMLEditUtils methods take nsINode instead of Element; r=ehsan
2012-07-27 17:03:28 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
6c09cdec31
Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
54cb385be1
Bug 777292 - exit(-1) instead of exit(NS_ERROR_FAILURE); r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
73e087be3a
Bug 777292 - editor/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=ehsan
2012-07-27 16:46:48 +03:00
Ehsan Akhgari
ad3c2e474a
Bug 778028 - Build editor/ in parallel; r=khuey
2012-07-26 22:24:27 -04:00
Ehsan Akhgari
8f397072dd
Bug 777949 - Make the editor Makefile.in's splendid; r=khuey
...
--HG--
extra : rebase_source : cc24614034ecaa18260fdc16654d18d2ef844c7f
2012-07-26 21:57:31 -04:00
Ehsan Akhgari
7d6fb91713
Bug 777937 - Remove the useless EXPORTS rule from editor/public/Makefile.in; r=khuey
...
--HG--
extra : rebase_source : 227bc8019a86a7f114677464a905625c57b4fa94
2012-07-26 21:55:53 -04:00
Jonathan Watt
5b2ddde846
Bug 776686 - Remove bogus include path from Editor. r=ehsan.
2012-07-23 21:28:30 +01:00
Aryeh Gregor
a9370a8066
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
a80cb9b3a2
Bug 776323 part 1 - Fix crash due to silly logic error in nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +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
bd54d2aad1
Bug 768756 part 4 - Clean up nsHTMLCSSUtils::GetCSSInlinePropertyBase; r=ehsan
2012-07-08 13:31:53 +03:00
Aryeh Gregor
6161edba6d
Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan
2012-07-08 12:50:31 +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
Masayuki Nakano
d628388400
Bug 751749 part.3 Editor should handle Win key as a modifier key r=ehsan
2012-07-19 10:28:17 +09:00
Ehsan Akhgari
deb9e622cc
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
a390f133e1
Bug 754169 - Fix intermittent orange related to imprecise scrolling positions in test. r=ehsan
2012-07-17 11:40:49 -04:00
Ehsan Akhgari
71498b39d7
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
5733f277d8
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
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
Makoto Kato
578f93622b
Bug 772327 - Password mask timer is too short on Android. r=blassy
2012-07-13 11:26:20 +09:00
Sankha Narayan Guria
47ed501a26
Bug 770812 - Remove nsIEditorSupport; r=ehsan
2012-07-11 18:06:02 -04:00
Aryeh Gregor
11df0cc2ad
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
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
Aryeh Gregor
bbf508b17b
Bug 771983 - Re-add non-debug null check to nsEditor::GetNodeLocation; r=ehsan
2012-07-10 09:53:59 +03:00
Aryeh Gregor
a33c083752
Bug 771435 - Fix nsEditor::DoTransaction to use transaction interfaces sanely; r=ehsan
2012-07-09 11:41:47 +03:00
Aryeh Gregor
552206e532
Bug 771749 - Fix dangling pointer in nsEditor::RemoveContainer; r=ehsan
2012-07-09 11:41:47 +03:00
Ryan VanderMeulen
959e0d6234
Merge m-c to inbound.
2012-07-09 20:53:11 -04:00
Olli Pettay
bf724401ab
Bug 771961, fix a regression from Bug 756750, r=ehsan
2012-07-09 23:52:31 +03: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
0b6b626d97
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz
2012-07-05 10:45:08 +03:00
Nathan Froyd
a7eb97f896
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
5567f1a177
Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar
2012-07-06 18:43:28 +09:00
Aryeh Gregor
195ee54544
Bug 765595 part 4 - Make nsEditor::DoAfter*Transaction infallible; r=ehsan
2012-07-05 10:45:09 +03:00
Aryeh Gregor
c91fcaf3b7
Bug 765595 part 3 - Make PeekUndoStack/PeekRedoStack infallible; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
09a0d8a8a6
Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
8bc8a569ed
Bug 765595 part 1 - Clean up nsEditor::DoTransaction; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
e89f0d1d6d
Bug 766025 - Remove incorrect assert in DeleteTextTxn::Init; r=ehsan
2012-06-19 16:21:48 +03:00
Aryeh Gregor
7b584a3083
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
57a04113a4
Bug 767684 Test to prevent regression from bug 752210 happening again r=ehsan
2012-07-05 21:35:10 +01:00
Neil Rashbrook
d221e4cad2
Bug 767684 Fix regression from bug 752210 r=ehsan
2012-07-05 21:33:10 +01:00
Aryeh Gregor
a4abe9ed88
Backed out changeset f49e52ee86f3, insufficient review
2012-07-05 11:51:18 +03:00
Aryeh Gregor
e97005691e
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan
2012-07-05 10:45:08 +03:00
Aryeh Gregor
05ec8ced0c
Bug 768765 - Fix assert in nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-07-02 16:31:49 +03:00
Aryeh Gregor
41444ebe91
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
9e45933575
Bug 769967 part 3 - Clean up DeleteElementTxn and nsEditor::DeleteNode; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
ddc08396b9
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Aryeh Gregor
e44ac36034
Bug 769967 part 1 - Clean up nsEditor::GetChildOffset; r=ehsan
2012-07-02 14:42:19 +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
46cbc36da6
Merge backout of DLBI from mozilla-central
2012-07-03 20:53:08 -04:00
Ehsan Akhgari
3575c71b74
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
df2fb388c2
Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions
2012-07-03 20:21:03 -04:00
Ehsan Akhgari
845df21297
Backed out changeset 0f1a8f17bfdf because the patch was not reviewed!
2012-07-03 18:04:35 -04:00
Ehsan Akhgari
012de7d1d7
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
bb3f6c2bad
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
6529faea6d
Bug 770013 - Cleanup NodeIsBlockStatic/IsBlockNode a bit; r=ehsan
2012-07-01 21:53:16 +02:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ekanan Ketunuti
89b4f231b8
Bug 769913 - TestTXMgr.cpp should use fail() from TestHarness.h; r=ehsan
2012-06-30 23:56:18 +07:00
Aryeh Gregor
a0343acde5
Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz
2012-06-28 14:29:56 +03:00