Commit Graph

91 Commits

Author SHA1 Message Date
Masayuki Nakano
c9a75395dd Bug 1019427 Log scancode -> virtual keycode table on Windows r=jimm 2014-06-14 11:24:16 +09:00
Masayuki Nakano
f7ad5f2eba Bug 1015028 Compute scan code value from virtual keycode if a keydown/keyup message doesn't have proper scancode value r=jimm 2014-06-01 11:32:08 +09:00
Masayuki Nakano
c98f587fde Bug 865649 part.2 Set KeyboardEvent.code value on Windows r=smaug+jimm 2014-05-25 11:08:59 +09:00
Masayuki Nakano
ebc9e417b9 Bug 981963 Ignore following char message if its wParam is 0 r=jimm 2014-03-20 22:52:27 +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
d74f62cf5a Bug 981960 Retry to remove found char message with GetMessage() when PeekMessage() fails to remove the message from the queue r=jimm 2014-03-12 20:04:17 +09:00
Masayuki Nakano
e26150301a Bug 962140 Collect more details of the queue status when we removed unexpected char message from the queue r=jimm 2014-03-07 11:27:49 +09:00
Masayuki Nakano
97ffbf115b Bug 962140 When PeekMessage() fails to remove found char message, just ignore it (not to dispatch keyprese event) r=jimm 2014-03-04 10:34:27 +09:00
Masayuki Nakano
f64032fc0a 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
1817cc5d8e 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
2a6f11f4f4 Bug 962140 Remove following char message of keydown message with found message r=jimm 2014-02-11 14:29:17 +09:00
Masayuki Nakano
9aa7b7c706 Bug 962140 Append unexpected message log to crash report r=jimm 2014-02-04 20:46:20 +09:00
Masayuki Nakano
de5a725c13 Bug 962140 Use PeekMessage() instead of GetMessage() in KeyboardLayout.cpp r=jimm 2014-02-01 01:31:01 +09:00
Matt Brubeck
7f76e8d2c5 Bug 957490 - Fix initialization of MouseEvent.buttons on Metro [r=jimm] 2014-01-08 20:16:48 -08:00
Ehsan Akhgari
ebd358dfd7 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
cc462d3db1 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
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Masayuki Nakano
f0fc1b27ae Bug 600117 part.2 Implement KeyboardEvent.repeat on Windows r=jimm 2013-11-07 20:17:32 +09:00
Masayuki Nakano
cfb1d04a6c 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
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
9d5a516f41 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
e872789a92 Bug 920425 part.26 Use mozilla::WidgetEvent::AsMouseEventBase() r=smaug 2013-10-18 15:10:26 +09:00
Birunthan Mohanathas
123d79927e Bug 784739 - Switch from NULL to nullptr in widget/windows/ (1/3); r=ehsan
--HG--
extra : rebase_source : 02a90b963833b2e9bf2938b32f401746730adf84
2013-10-08 14:48:02 -04:00
Masayuki Nakano
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
3224fb4749 Bug 920377 part.27 Get rid of nsMouseEvent_base r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
512bc33b30 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +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
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Jim Mathies
c434d3632d Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano
b9953c2f24 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
0f565540a1 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Masayuki Nakano
9fb545971d 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
6e8acf6c58 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
c08a6fe63f 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
bdaeddf9ea Bug 892606 part.1 Add debug logs to KeyboardLayout.cpp r=jimm 2013-08-14 11:09:37 +09:00
Masayuki Nakano
ee07abab87 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
23ca32449a 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
66884dfda6 Bug 891292 r=jimm 2013-07-10 00:54:41 +09:00
Justin Lebar
6c46d0633d 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
75c400493b 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
11f8143caa 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
deb01d1e15 Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
49bc7406ab 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
838fa772a2 Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
d8b50c6c85 Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
e4d4596767 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00