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
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
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
de5a725c13
Bug 962140 Use PeekMessage() instead of GetMessage() in KeyboardLayout.cpp r=jimm
2014-02-01 01:31:01 +09: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
Jacek Caban
f1bc13f4ff
Bug 944894 - Fix char16_t/wchar_t mismatch in widget/windows/. r=jimm
...
--HG--
extra : rebase_source : 829390ff7e6f4eb71dcd32c9d1aa27f61baa6653
2013-12-03 16:12:57 +01: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
Masayuki Nakano
6d0b7bb736
Bug 602787 part.8 Don't implement nsWindowBase::DispatchPluginEvent() in windows/nsWindowBase.h r=jimm
2013-10-22 22:27:35 +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
117b70ba72
Bug 602787 part.8 Don't implement nsWindowBase::DispatchPluginEvent() in windows/nsWindowBase.h r=jimm
2013-10-22 22:27:35 +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
2a465d3e36
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09: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
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
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
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
Jacek Caban
c4be0ccdfc
Bug 855975 - Include typo fix.
2013-05-30 11:52:14 +02:00
Masayuki Nakano
14784660ce
Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm
2013-05-29 15:34:49 +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
Masayuki Nakano
da5d92d2e0
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
30bf421779
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
1a7102e066
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
77f6812c7f
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
c8623ab9ad
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
b272cd6a97
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
4eb35f33ea
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
106ef94c92
Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
556c1de91f
Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
427c32ac58
Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
b47fe5bf34
Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
02cbe37549
Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
852214ecc6
Bug 855975 part.3 Wrap MapVirtualKeyEx() API for converting VK to ScanCode with widget::KeyboardLayout r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
a178dc2642
Bug 855975 part.2 Wrap MapVirtualKeyEx() API for converting native key event to VK or Unichar with widget::NativeKey r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
85c5e63185
Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
bfc75dd35a
Bug 865566 Support "Separator" key on Numpad of Brazilian ABNT keyboard and JIS keyboard for Mac r=jimm
2013-05-01 08:19:04 +09:00
Masayuki Nakano
a6ebb0433e
Bug 842927 part.3 Implement D3E KeyboardEvent.key on Windows (Desktop) r=smaug+jimm
2013-04-24 12:49:47 +09:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Masayuki Nakano
b5584f2955
Bug 769190 part.2 Rename nsInputEvent::IsWin() and widget::MODIFIER_(SCROLL|WIN) to nsInputEvent::IsOS() and widget::MODIFIER_(SCROLLLOCK|OS) r=smaug
2012-07-06 09:42:05 +09:00
Masayuki Nakano
00843733cd
Bug 757688 part.7 Make nsWindow for Windows possible to test dead keys r=jimm
2012-06-15 18:52:51 +09:00
Masayuki Nakano
7515c8fa8e
Bug 757688 part.6 Add numpad keys to printable key table and remove KeyboardLayout::IsNumpadKey() r=jimm
2012-06-15 18:52:50 +09:00