Aryeh Gregor
10fad0e95e
Bug 1000959 - nsHTMLEditor.cpp cleanup; r=ehsan
2014-04-25 13:34:42 +03:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ehsan Akhgari
78f2d4560c
Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
...
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way. This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.
But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation. Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug. And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Birunthan Mohanathas
4de1915f30
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Masayuki Nakano
6de1b7019c
Bug 998188 part.1 Add test for this crash on debug build r=ehsan
2014-04-26 08:52:12 +09:00
Wes Kocher
bd1e85ccff
Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE
2014-04-25 15:12:22 -07:00
Ehsan Akhgari
eec70383e0
Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
...
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way. This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.
But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation. Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug. And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Aryeh Gregor
45fbfe5e45
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Aryeh Gregor
2c948ec408
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Robert O'Callahan
192b5d6603
Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
...
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.
We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.
--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
Ehsan Akhgari
eecd52253c
Bug 996009 - Ensure that the richtext2 browserscope tests do not attempt to contact the external network; r=roc
2014-04-15 09:32:36 -04:00
Carsten "Tomcat" Book
af79385cb2
Backed out changeset 5a50c5065173 (bug 992944) for spellcheck mochitest test failures on a CLOSED TREE
2014-04-10 11:28:23 +02:00
Jan Horak
e447c27008
Bug 992944 - Spell checker skips current locale when pref spellchecker.dictionary or document content invalid. r=ehsan
2014-04-07 08:00:00 +02:00
Masayuki Nakano
ac8db29622
Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan
2014-04-10 16:11:37 +09:00
Geoff Brown
e5a312f133
Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey
2014-04-09 08:38:44 -06:00
Peter Van der Beken
a12d286723
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
7741df1efa
Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
8cf720bdb0
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Carsten "Tomcat" Book
0b0e0af8c2
Backed out changeset 1f9bd1c29a40 (bug 923376) mochitest test 4 test failures
2014-04-07 15:51:05 +02:00
Aryeh Gregor
168b96deba
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Masayuki Nakano
ff8b968574
Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug
2014-04-03 13:18:38 +09:00
Masayuki Nakano
af12a23985
Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug
2014-04-03 13:18:37 +09:00
Masayuki Nakano
01ad44156b
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Daniel Holbert
7ad7ddd1a2
Bug 984786 part 6: Mark struct nsRangeStore in /editor as MOZ_FINAL & give it a private destructor. r=ehsan
2014-04-02 09:21:12 -07:00
Ehsan Akhgari
5b9f45a1a5
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
L. David Baron
7715383653
Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc
2014-03-23 18:44:50 -07:00
Robert O'Callahan
d30f7006c6
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
...
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Ryan VanderMeulen
4b007b082c
Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage.
2014-03-20 16:33:54 -04:00
Robert O'Callahan
0518f069ab
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Carsten "Tomcat" Book
174014df63
Backed out changeset e60fe593236d (bug 918189)
2014-03-19 09:45:57 +01:00
Robert O'Callahan
0da1d0044c
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Neil Rashbrook
c3b2f90f39
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masayuki Nakano
a7a5e56dd5
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Masayuki Nakano
1824709e52
Bug 981261 part.4 Move EventListenerFlags from mozilla::dom:: to mozilla:: r=smaug
2014-03-17 15:56:52 +09:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Masayuki Nakano
f2734aa16b
Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud
2014-03-14 22:13:31 +09:00
Masayuki Nakano
1f5d69ab81
Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc
2014-03-14 22:13:31 +09:00
Masayuki Nakano
fd06be64c3
Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc
2014-03-14 22:13:30 +09:00
Bill McCloskey
aa5f40a77e
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
74d0d984a3
Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher
2014-03-13 10:40:10 -04:00
Joel Maher
d9d37c35a6
Bug 983076 - editor/libeditor/html/tests/mochitest.ini contains support files which are actually tests. r=ted
2014-03-13 10:39:58 -04:00
Benoit Jacob
162c30b16f
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
1e4d8e1868
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Masayuki Nakano
2c3296d1bb
Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
...
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00