Commit Graph

47 Commits

Author SHA1 Message Date
Ryan VanderMeulen
77e8bee35e Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
471476102e Bug 989198, Patch 1: Implementation of InternalBeforeAfterKeyboardEvent, r=smaug,masayuki
---
 widget/BasicEvents.h              |    5 +++
 widget/EventClassList.h           |    1 +
 widget/TextEvents.h               |   72 +++++++++++++++++++++++++++++++++++--
 widget/nsGUIEventIPC.h            |   31 ++++++++++++++++
 widget/shared/WidgetEventImpl.cpp |    4 +++
 5 files changed, 111 insertions(+), 2 deletions(-)
2014-10-14 15:09:15 +08:00
Masayuki Nakano
2ddc898239 Bug 960871 part.7 Get rid of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
40622dd546 Bug 960871 part.5 Copy mRanges and related methods from WidgetTextEvent to WidgetCompositionEvent r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
8d151211dc Bug 960871 part.3 Remove WidgetTextEvent::isChar since it's always false on all platforms r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
93e60b7855 Bug 960871 part.2 Rename WidgetCompositionEvent::data to WidgetCompositionEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
7806a4ddb7 Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
986da15669 Bug 1046101 part.10 Rename NS_EDITOR_INPUT_EVENT to eEditorInputEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
b46105aba9 Bug 1046101 part.9 Rename NS_SELECTION_EVENT to eSelectionEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
b19dd031fd Bug 1046101 part.8 Rename NS_QUERY_CONTENT_EVENT to eQueryContentEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
6d826c9a34 Bug 1046101 part.7 Rename NS_TEXT_EVENT to eTextEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
0aa89314d0 Bug 1046101 part.6 Rename NS_COMPOSITION_EVENT to eCompositionEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
4bc5175b20 Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Tom Schuster
1922816491 Bug 1013744 - Send alternative char codes for keypress events to the child (for shortcuts etc.). r=masayuki 2014-07-23 13:05:45 +02:00
Masayuki Nakano
c981e66e2f Bug 865649 part.1 Implement KeyboardEvent.code r=smaug 2014-05-25 11:08:58 +09:00
Masayuki Nakano
2e098a58a9 Bug 998188 part.2 ContentEventHandler should support 2 modes, native line break mode and XP line break mode r=smaug 2014-04-26 08:52:12 +09: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
2b5cff5cd0 Bug 993234 part.1 Implement KeyboardEvent.isComposing r=smaug 2014-04-10 16:11:36 +09:00
Masayuki Nakano
407c8302bc Bug 989213 part.3 Rename nsVKList.h to mozilla/VirtualKeyCodeList.h r=smaug
--HG--
rename : dom/events/nsVKList.h => dom/events/VirtualKeyCodeList.h
2014-04-01 20:42:16 +09:00
Masayuki Nakano
c83bdff42a Bug 964718 Don't dispatch DOM event if internal event doesn't need that. Otherwise, implement Duplicate() method r=smaug 2014-03-27 22:53:19 +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
Masayuki Nakano
3a137667e8 Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
793376edad Bug 974318 part.1 Add WidgetTextEvent::mRanges which is an array class of TextRange r=smaug 2014-03-04 22:48:26 +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
d79df21a02 Bug 329127 Create WidgetEvent::Duplicate() for nsDOMEvent::DuplicatePrivateData() r=smaug 2014-01-27 15:10:44 +09:00
Makoto Kato
6a9c10527e Bug 960493 - SelectionEvent doesn't call MOZ_CRASH for IPC. r=roc 2014-01-17 10:14:39 +09:00
Ed Morley
aa88ab2dc2 Merge mozilla-central and b2g-inbound
--HG--
rename : content/events/src/nsDOMEvent.h => dom/events/nsDOMEvent.h
2014-01-15 18:09:12 +00:00
Yuan Xulei
e7aa3ecf90 Bug 946068 - Fix composition events' synthesizing in chrome process. r=masayuki 2014-01-15 09:41:39 -05:00
Nathan Froyd
d530ec1b69 Bug 957659 - slim down WidgetKeyboardEvent::GetDOMKeyName; r=masayuki
Instead of calling nsAString::Assign several hundred times along with a
switch statement that may or may not get translated into a jump table,
let's implement our own lookup table that we can guarantee will be
constant time.  The KeyNameTable struct is used instead of the more
obvious |const char* const table[]| idiom to avoid runtime relocations.
2014-01-08 11:45:30 -05:00
Masayuki Nakano
98ce118337 Bug 912858 part.1 WidgetKeyboardEvent should be able to store .key value as string if the key name isn't one of pre-defined key names r=smaug 2013-12-11 01:14:53 +09:00
Masayuki Nakano
94dd316fd4 Bug 600117 part.1 Implement KeyboardEvent.repeat r=smaug, sr=jst 2013-11-07 20:17:32 +09:00
Masayuki Nakano
f531a41e2f Bug 930900 part.1 Add new key name index which means KeyboardEvent.key should refer stored string (not implemented yet) r=smaug 2013-10-29 13:14:42 +09:00
Masayuki Nakano
15be48ff2e Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Wes Kocher
6559234e89 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
381b632044 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Masayuki Nakano
452744c70c Bug 920425 part.2 Implement mozilla::WidgetEvent::As*Event() methods r=roc 2013-10-18 15:10:20 +09:00
Masayuki Nakano
ebe48cadea Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
597d5ac7d2 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
10d848c578 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
f3095ec496 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
8f96a132b0 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
c3fd4e8e5d Bug 920377 part.19 Get rid of nsTextRangeArray r=roc 2013-09-28 09:14:06 +09:00
Masayuki Nakano
9b8afa1588 Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
1ccd49e4ab Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
c9fa186ff0 Bug 920377 part.16 Get rid of nsAlternativeCharCode r=roc 2013-10-01 16:22:57 +09:00
Masayuki Nakano
3dd88b59ba Bug 912956 part.4 Create mozilla/TextEvents.h r=roc 2013-09-24 19:04:15 +09:00