Commit Graph

679 Commits

Author SHA1 Message Date
David Zbarsky
e8e97fe2ba Bug 1015433: Backout bug 828169 for regressing text editing 2014-05-31 10:49:38 -04:00
Aryeh Gregor
d8ffd04dd3 Bug 1004522 part 12 - Clean up nsWSRunObject::DeleteChars; r=ehsan 2014-05-02 15:15:27 +03:00
Carsten "Tomcat" Book
e6b96b4237 Backed out changeset 79a84a415709 (bug 1004522) 2014-05-12 14:12:38 +02:00
Aryeh Gregor
4d0b76a7fc Bug 1004522 part 12 - Clean up nsWSRunObject::DeleteChars; r=ehsan 2014-05-02 15:15:27 +03:00
Neil Rashbrook
c1fa4b8acd Bug 1003894 Followup to switch from Text to nsIContent so that we can safely use do_QueryInterface r=ehsan 2014-05-10 21:16:03 +01:00
Aryeh Gregor
c995efe830 Bug 1003894 part 2 - Clean up nsWSRunObject::CheckTrailingNBSPOfRun; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
25174ff482 Bug 1003808 part 5 - Allow nsEditor::IsEditable to take nsINode*; r=ehsan 2014-04-28 19:03:12 +03:00
Aryeh Gregor
ee9f0798da Bug 1003808 part 4 - Clean up nsAutoTrackDOMPoint; r=ehsan 2014-04-28 18:40:28 +03:00
Aryeh Gregor
6a874d1085 Bug 1003808 part 3 - Clean up nsRangeStore; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
dce22d2849 Bug 1003808 part 2 - Clean up nsEditorUtils::IsDescendantOf; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
c1d08075e3 Bug 1003808 part 1 - Clean up DOMPoint; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
3499f610a6 Bug 1002429 part 7 - Clean up nsEditor::CreateHTMLContent; r=ehsan 2014-04-28 14:54:47 +03:00
Aryeh Gregor
30ff66c6a7 Bug 1002429 part 6 - Clean up nsHTMLEditor::ReplaceHeadContentsWithHTML; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
d57c018025 Bug 1002429 part 3 - Clean up nsEditor::IsContainer; r=ehsan 2014-04-28 14:54:46 +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
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
Aryeh Gregor
45fbfe5e45 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +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
Masayuki Nakano
ac8db29622 Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09: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
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
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
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
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
Andrew McCreight
6d6e9c420b Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00
Masayuki Nakano
ebe6a3a543 Bug 974318 part.2 TextComposition should store TextRangeArray at editor handling text event and nsEditor should refer it r=smaug+ehsan 2014-03-04 22:48:26 +09:00
Reuben Morais
f954df12ae Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Peter Van der Beken
46ee609d7b Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Peter Van der Beken
6f93fad4e2 Bug 923054 part 2 - Convert DataTransfer to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=smaug 2014-02-26 22:23:31 -05:00
Maksim Lebedev
e95a2f50c4 Bug 970199 - Switch mouse event button type from ushort to short according to spec change. r=smaug
--HG--
extra : rebase_source : 7da22cbb4a3fcc6fa7cc8350bea0f87adf896788
2014-02-20 10:38:13 -08:00
Ehsan Akhgari
7baf3dec8e Bug 966155 - Ensure that we handle the native key bindings for all key events in designMode documents; r=Neil 2014-02-16 19:09:52 -05:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Masayuki Nakano
3407551379 Bug 960866 part.6 mozilla::TextComposition should holds a weak reference to composition handling editor during composition r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
49f0d8e935 Bug 960866 part.5 nsEditor shouldn't allow composition and text events created by chrome JS r=smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
7f76077322 Bug 960866 part.4 Remove nsEditor::mIMEBufferLength r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
2da5807b47 Bug 960866 part.3 Remove nsEditor::mIsIMEComposing r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
4798da645c Bug 960866 part.2 Remove nsEditor::mInIMEMode r=ehsan 2014-02-12 22:02:55 +09:00
Masayuki Nakano
1b410997b5 Bug 960866 part.1 nsEditor should store a pointer of TextComposition while composition r=ehsan 2014-02-12 22:02:55 +09:00
Mats Palmgren
48a4213ce5 Bug 969773 - Restore Selection/Controller state when disconnecting the editor. r=ehsan 2014-02-10 02:14:38 +00:00
Ehsan Akhgari
026e591974 Bug 289384 - Run the native key binding handlers from nsEditorEventListener; r=Neil,masayuki 2014-01-22 22:18:51 -05:00