Trevor Saunders
dc7cb06198
bug 821593 - stop using nsIDOMCSSValue / nsIDOMRGBColor in editor r=bz
2012-12-14 04:14:21 -05:00
Ms2ger
7debeae6b4
Backout bug 821593 for bustage.
2012-12-22 15:33:46 +01:00
Trevor Saunders
d07cd72fc2
bug 821593 - stop using nsIDOMCSSValue / nsIDOMRGBColor in editor r=bz
2012-12-14 04:14:21 -05:00
Ms2ger
1ffa67723b
Bug 813532 - Part b: Some cleanup for GetNextHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Ms2ger
5ebe7ea292
Bug 813532 - Part a: Some cleanup for GetPriorHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Masayuki Nakano
2455263ab2
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
792137f340
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Boris Zbarsky
7cbdd79ac6
Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking
2012-12-13 17:08:44 -05:00
Trevor Saunders
cdabdac86e
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Saurabh Anand
c9e3659e16
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Olli Pettay
3243bf0a89
Bug 803853, make sure to not leak mRules, r=ehsan
2012-12-07 01:31:48 +02:00
Aryeh Gregor
316edf1905
Bug 200416 - Test; r=ehsan
2012-12-04 14:11:47 +02:00
Kai Engert
838796da5f
Bug 200416 - Account for blocks inside inlines when deleting; r=ehsan
2012-11-25 14:38:23 +02:00
Mats Palmgren
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Ms2ger
cf85be986f
Bug 812891 - Remove duplicated code from nsEditor::Get{Left,Right}mostChild; r=ehsan
2012-12-02 09:59:45 +01:00
Ms2ger
590f343557
Bug 812885 - Cleanup nsHTMLEditor::GetElementOrParentByTagName some; r=ehsan
2012-12-02 09:59:41 +01:00
Benoit Jacob
ec39e2a150
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Daniel Glazman
ec5abc800c
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08:00
Mounir Lamouri
33e851046c
Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb
2012-11-09 10:30:54 +00:00
Masayuki Nakano
189313a6bf
Bug 806996 part.5 nsEditor::PostCreate() should call nsIMEStateManager::UpdateIMEState() rather than nsIMEStateManager::OnChangeFocus() when it already has focus r=ehsan
2012-11-09 17:40:39 +09:00
Chris Peterson
7f643fb710
Bug 806142 - Only hide password characters if the text editor is (still) a password editor. r=ehsan
2012-11-06 10:45:58 -08:00
Bobby Holley
c351c18d32
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Ed Morley
b159aab211
Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html
2012-11-02 14:12:51 +00:00
Bobby Holley
ac090a0e20
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Jet Villegas
3727936e46
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Josh Matthews
fcf5f9bfe7
Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan
2012-06-30 07:50:07 -07:00
Robert O'Callahan
5b94df5bb2
Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
...
--HG--
extra : rebase_source : c2c8652585958ddaeb9e01ed1fe47a391339c2ec
2012-10-29 17:31:26 +13:00
Masayuki Nakano
072949e794
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Mike Conley
c6e489304e
Bug 790475 - Part 2: Regression test for the adjacent text node case. r=ehsan.
2012-10-25 18:32:22 -04:00
Ehsan Akhgari
f117c7a7b0
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Aryeh Gregor
18d73c0331
Bug 802995 - Missing null check in nsTextServicesDocument::DeleteSelection; r=ehsan
2012-10-25 14:36:23 +02:00
Ehsan Akhgari
1f78e9ca0c
Merge mozilla-central into mozilla-inbound
2012-10-22 17:05:46 -04:00
Olli Pettay
5edd829335
Bug 798677, make sure events are fully handled in editor, r=ehsan
2012-10-21 15:35:47 +03:00
Olli Pettay
f5c0c70f94
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Aryeh Gregor
2b7a1092b2
Bug 795708 - Use more nsCOMPtr; r=ehsan
2012-10-11 12:26:15 +02:00
Peter Van der Beken
57adeb4354
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Peter Van der Beken
350f7dd89a
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Ehsan Akhgari
335b6cc84a
Bug 802884 - Fix a build failure in Visual C++ 2012 because of what seems to be a compiler bug; r=me
2012-10-17 20:07:05 -04:00
Masayuki Nakano
d03c724521
Bug 705057 part.3 XP level code shouldn't call nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() directly r=smaug+ehsan
2012-09-26 14:47:51 +09:00
David Zbarsky
0e8c52b0d4
Bug 801803: Followup to convert 2 more call sites r=me
2012-10-15 17:39:46 -04:00
Masayuki Nakano
89534dc748
Bug 795785 part.3 Add horizontal scroll test r=smaug
2012-10-15 09:32:53 +09:00
Trevor Saunders
9ab39abf8f
bug 798599 - remove prmem from editor r=ehsan
2012-10-04 02:45:16 -04:00
Ehsan Akhgari
5a7253fa1e
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Olli Pettay
69e091e8e4
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Aryeh Gregor
c7f2c15225
Bug 793866 - Missing null check in mozInlineSpellChecker::UpdateCurrentDictionary(); r=ehsan
2012-10-10 09:05:16 +02:00
Masayuki Nakano
a4e119b5dc
Bug 795785 part.2 Scroll editor when caret is moved even if it's specified overflow: hidden; r=smaug
2012-10-08 03:45:51 +09:00
Masayuki Nakano
cbffcf6ade
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09:00
Ed Morley
cc9e8c3305
Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted
2012-10-06 16:46:09 +01:00
Vladimir Vukicevic
52a04c8b93
b=716031 and probably 752808 and 759254; fix test_selection_move_commands by driving RefreshDriver directly; r=ehsan
2012-10-02 14:41:04 -04:00
Ehsan Akhgari
e630637a1d
Bug 796839 - Part 4: Don't pretend that empty text nodes are not editable; r=roc
...
This is the real fix for this bug. Previously we mistakenly thought
that if a text node is empty (or has only whitespace content), it is not
editable. This patch removes that check completely and makes us treat
text nodes the same way that we treat element nodes.
2012-10-03 21:25:00 -04:00
Ehsan Akhgari
10859e4967
Bug 796839 - Part 3: Don't get the inline properties from empty text nodes; r=roc
...
This is basically the equivalent of the previous part, just for getting
the inline properties.
2012-10-04 20:58:00 -04:00
Ehsan Akhgari
9fe0740025
Bug 796839 - Part 2 - Don't set inline properties on empty text nodes; r=roc
...
This part, similar to the previous one, ensures that we skip empty text
nodes when setting inline properties. Previously we were implicitly
getting this behavior becasue we were calling IsEditable, but we need to
be explicit about this.
2012-10-04 20:37:45 -04:00
Ehsan Akhgari
9d564e7cf4
Bug 796839 - Part 1: Make sure not to try wrapping empty text nodes when applying alignment in editable regions; r=roc
...
The code here is just missing this condition, and this patch is needed
to make the last part of this series pass tests. Previously,
nsEditor::IsEditable would return false when it hit an empty text node,
which implied this property almost by accident. This check makes this
property explicit, so this patch by itself doesn't really change
semantics.
2012-10-04 11:34:58 -04:00
Vladimir Vukicevic
89abde398d
b=768838; fix intermittent test_bug549262 failure; r=ehsan
2012-10-01 17:51:28 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
58d3d65ab2
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Aryeh Gregor
a127537505
Bug 787432 - Don't strip existing empty wrappers when inserting text; r=ehsan
2012-09-27 14:39:39 +02:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
0b20201fde
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Bobby Holley
9f03f90fb7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
ff1c5bbcf7
Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
...
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Aryeh Gregor
dedea83946
Bug 788950 - Prevent mRules from dying in DoInsertHTMLWithContext; r=ehsan
2012-09-16 13:13:31 +03:00
Mark Capella
5a5ba0a45c
Bug 785091 - Remove nsIEditorObserver, r=ehsan
2012-09-17 11:14:56 -04:00
Andrew McCreight
3a73ccc71e
Bug 775868 - fix more tests. r=bholley
2012-09-10 12:44:29 -07:00
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
Ehsan Akhgari
cfa33002d7
Bug 769008 - Don't pass a null node to GetBlockNodeParent; r=roc
2012-06-29 18:43:08 -04:00
Matt Woodrow
c96dc0e2ed
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Ehsan Akhgari
45fe6d3ae2
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
3e9c8587b9
Bug 766845 part 3 - Fix assertion in DeleteRangeTxn; r=ehsan,surkov
2012-06-25 14:44:40 +03:00
Aryeh Gregor
9ef585c26d
Bug 766845 part 1 - Clean up DeleteRangeTxn; r=ehsan
2012-06-25 13:22:49 +03:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Aryeh Gregor
7c14d74420
Bug 766387 - Make editing commands disabled in more cases; r=ehsan
2012-06-24 17:39:11 +03:00
Aryeh Gregor
8de5177c67
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Aryeh Gregor
daea0d4fbf
Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan
2012-06-21 15:05:24 +03:00
Aryeh Gregor
e00ca063fb
Back out bac4434b31d2 for test failures
2012-06-24 10:30:34 +03:00
Aryeh Gregor
f4aa9bb43b
Back out 66b3801292a0 for test failures
2012-06-24 10:30:13 +03:00
Aryeh Gregor
868bf136db
Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan
2012-06-24 09:54:43 +03:00
Aryeh Gregor
7076392170
Bug 766387 - Make editing commands disabled in more cases; r=ehsan
2012-06-24 09:54:43 +03:00
Aryeh Gregor
718762dae4
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Aryeh Gregor
e8463207f1
Bug 766305 - WSFragment should use PRInt32 for offsets, not PRInt16; r=ehsan
2012-06-24 09:54:42 +03:00
Aryeh Gregor
78c9af52bc
Bug 766413 - Fix crash in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan on a CLOSED TREE
2012-06-20 15:48:02 +01:00
Mike Hommey
c533a83b6c
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Ms2ger
9a9ef017e3
Bug 761997 - Cleanup nsHTMLEditRules::GetListItemState / nsHTMLEditRules::GetDefinitionListItemTypes; r=ehsan
2012-06-17 10:11:16 +02:00
Mike Hommey
311cae060f
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Mike Hommey
88257ed076
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02: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
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
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
Henri Sivonen
79e3d21a31
Bug 750096. r=bzbarsky.
2012-06-14 09:14:47 +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
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
Aryeh Gregor
2576359708
Bug 748307 part 1 - Make TypedText's second argument a named enum; r=ehsan
2012-05-22 12:37:17 +03:00
Ehsan Akhgari
92fba010e4
Bug 741216 - Allow dropping files into the file picker control; r=bzbarsky
2012-04-02 16:25:09 -04:00
Laurent Dulary
09cc80dcb7
Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap
2012-05-16 13:18:33 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
e4cafc9e8b
Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan
2012-04-15 15:57:20 +03:00
Ms2ger
cf59f6497e
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
51da75f4d7
Bug 755314 - Make nsBaseStateUpdatingCommand::mTagName an nsIAtom*; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
fd7c039757
Bug 754228 - nsBaseStateUpdatingCommand::{ToggleState,GetCurrentState} shouldn't have an aTagName argument; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
f43fe0ad08
Bug 755311 - Simplify SetDocTitleTxn::SetDomTitle; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
63c3854253
Bug 755310 - Use nsINode::Length() in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan
2012-05-18 10:29:40 +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
f427fc956f
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
982faa9b00
Bug 752253 - Remove nsEditor::GetIndexOf; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
1e061e0b6a
Bug 752210 - Part c: Use nsIContent in nsHTMLEditor::RelativeFontChange; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
0357ad4d64
Bug 752210 - Part b: Use nsIContent in nsHTMLEditor::RelativeFontChangeOnNode; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
1c757ad41d
Bug 752210 - Part a: Use nsIContent in nsHTMLEditor::RelativeFontChangeHelper; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
9092890951
Bug 752209 - Use nsINode::GetChildCount() in nsHTMLEditor::AbsolutelyPositionElement; 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
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
99aedb3227
Bug 590640 part 3 - Remove unnecessary use of NodeIsTypeString; r=ehsan
2012-05-09 12:45:23 +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
81df634941
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Joel Maher
e04f7c8aa2
Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel
2012-05-14 10:19:28 -04:00
Ehsan Akhgari
08a85471a8
Bug 754292 - Make spellcheck-textarea-ref.html blur its contents so that we would test the right thing; r=roc
2012-05-11 11:39:38 -04:00
Ehsan Akhgari
376445a39e
Bug 753233 - Make the spell checker aware of data: URIs; r=roc
2012-05-09 16:15:52 -04:00
Ehsan Akhgari
d50878a182
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Aryeh Gregor
5a93134139
Bug 752304 - Logic error in nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan
2012-05-07 08:54:54 +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
3309c31f9c
Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; 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
e0dcb42930
Bug 751328 - Use nsINode::GetChildCount() in nsTextServicesDocument::CreateDocumentContentRootToNodeOffsetRange; r=ehsan
2012-05-05 11:00:06 +02: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
9abc05b1d6
Bug 750085 - Pass nsIContent to SetInlinePropertyOnNodeImpl and use nsINode APIs to iterate over children; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
d266e823ac
Bug 750079 - Part c: Pass nsIContent to nsHTMLEditor::HasAttrVal; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
e873c43701
Bug 750079 - Part b: Return nsIContent from GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
3296a0d96c
Bug 750079 - Part a: Add IsOnlyAttribute(nsIContent*, const nsAString&); 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
552a17939d
Bug 750064 - Add some GetPriorNode/GetNextNode overloads that take nsINode; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
c9da5bbd81
Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
3c8b660b66
Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
c780c8c700
Bug 750094 - Some cleanup in nsComposerCommands.cpp; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
19776d2393
Bug 750093 - Cleanup SetTextProperty in nsComposerCommands.cpp; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
6b5d679f68
Bug 750073 - Use nsContentUtils::WordBreaker() in nsTextServicesDocument::FindWordBounds; r=ehsan
2012-05-05 11:00:05 +02:00