Commit Graph

233 Commits

Author SHA1 Message Date
Masayuki Nakano
096956c7d6 Bug 962140 Log more details in the queue when PeekMessage() fails to remove found char message r=jimm 2014-02-26 09:43:45 +09:00
Masayuki Nakano
f52c6e8706 Bug 962140 NativeKey should not check scan code at comparing found char message and removed char message r=jimm 2014-02-18 21:42:04 +09:00
Masayuki Nakano
08a01a9c16 Bug 962140 Remove following char message of keydown message with found message r=jimm 2014-02-11 14:29:17 +09:00
Masayuki Nakano
b90b9129fa Bug 962140 Append unexpected message log to crash report r=jimm 2014-02-04 20:46:20 +09:00
Masayuki Nakano
dfbf8cb0cb Bug 962140 Use PeekMessage() instead of GetMessage() in KeyboardLayout.cpp r=jimm 2014-02-01 01:31:01 +09:00
Matt Brubeck
51551b551b Bug 957490 - Fix initialization of MouseEvent.buttons on Metro [r=jimm] 2014-01-08 20:16:48 -08:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano
fff0d3d5be Bug 912858 part.2 Implement KeyboardEvent.key for printable keys on Windows r=jimm+smaug 2013-12-11 01:14:54 +09:00
Birunthan Mohanathas
88a0348924 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo 2013-12-08 21:52:54 -05:00
Masatoshi Kimura
a39c875384 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Masayuki Nakano
09b46679bd Bug 600117 part.2 Implement KeyboardEvent.repeat on Windows r=jimm 2013-11-07 20:17:32 +09:00
Masayuki Nakano
a0705d74fd Bug 602787 part.9 Don't implement methods which need BasicEvents.h or TextEvents.h in windows/KeyboardLayout.h r=jimm 2013-10-22 22:27:36 +09:00
Wes Kocher
3708337984 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
57d344ad79 Bug 602787 part.9 Don't implement methods which need BasicEvents.h or TextEvents.h in windows/KeyboardLayout.h r=jimm 2013-10-22 22:27:36 +09:00
Masayuki Nakano
f567d797c5 Bug 920425 part.26 Use mozilla::WidgetEvent::AsMouseEventBase() r=smaug 2013-10-18 15:10:26 +09:00
Birunthan Mohanathas
610c975730 Bug 784739 - Switch from NULL to nullptr in widget/windows/ (1/3); r=ehsan 2013-10-08 14:48:02 -04:00
Masayuki Nakano
ed3fbdf704 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
fd1b65f17b Bug 920377 part.27 Get rid of nsMouseEvent_base r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
65a801dd59 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
36c92a3fec Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
308f01bab4 Bug 920377 part.16 Get rid of nsAlternativeCharCode r=roc 2013-10-01 16:22:57 +09:00
Masayuki Nakano
c23797df63 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
5256146045 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
4a5dc45e59 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Jim Mathies
0de49a1cde Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano
2556d226ea Bug 907657 Don't store following char message because it may be removed during dispatching keydown event r=jimm 2013-08-27 21:34:57 +09:00
David Zbarsky
931c39df43 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Masayuki Nakano
d273ff7bbf Bug 892606 part.4 Don't handle non-keydown message as a part of dead key handling after keydown causes resetting dead key state r=jimm 2013-08-14 11:09:38 +09:00
Masayuki Nakano
4bb46fbdd0 Bug 892606 part.3 FakeCharMsg should be marked as consumed and only non-consumed char message should be synthesized r=jimm 2013-08-14 11:09:38 +09:00
Masayuki Nakano
cdcabf09b1 Bug 892606 part.2 Fix scancode value in lParam generated by KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-08-14 11:09:38 +09:00
Masayuki Nakano
a1902373bc Bug 892606 part.1 Add debug logs to KeyboardLayout.cpp r=jimm 2013-08-14 11:09:37 +09:00
Masayuki Nakano
11514fdf0b Bug 501496 part.1 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Windows r=smaug+jimm 2013-07-25 15:09:28 +09:00
Masayuki Nakano
086c87a2a6 Bug 896362 part.1 Support VK_ABNT_C1 and VK_ABNT_C2 (keyCode and location) r=jimm+smaug 2013-07-25 15:04:17 +09:00
Masayuki Nakano
70bc2363f8 Bug 891292 r=jimm 2013-07-10 00:54:41 +09:00
Justin Lebar
8cc88f21ce Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Masayuki Nakano
d8a186c3d6 Bug 865565 Refer current keyboard layout locale at mapping from native keycode to D3E key name index on Windows r=smaug+jimm 2013-06-28 09:58:11 +09:00
Masayuki Nakano
1c60bf448f Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
9fa9982ea7 Bug 855975 part.20 Sort out the scope of the methods of widget::NativKey r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
03f1e09b3a Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
d58bbe2e14 Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
ee5977a0d9 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
25b47115c2 Bug 855975 part.16 Move keydown message redirect manager from nsWindow to widget::RedirectedKeyDownMessageManager r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
5160a5d510 Bug 855975 part.15 Use widget::NativeKey::mCommittedCharsAndModifiers directly in the methods of widget::NativeKey r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
7508a7e92d Bug 855975 part.14 Move following WM_*CHAR message handler from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventForFollowingCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
d91ad2ae01 Bug 855975 part.13 widget::NativeKey should manage following WM_*CHAR message if it's initialized with WM_*KEYDOWN r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
a98bd7ecbe Bug 855975 part.12 Move special keypress event handling from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsAndDiscardsCharMessages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
eebe0b5bff Bug 855975 part.11 Sort out the if statement which checks whether the native keydown message needs to be handled without following char messages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
03142919a1 Bug 855975 part.9 Move keypress events dispatcher of nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsWithKeyboardLayout() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
30ee8d406d Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm 2013-05-29 15:34:48 +09:00