Masayuki Nakano
825a645a66
Bug 962140 Use PeekMessage() instead of GetMessage() in KeyboardLayout.cpp r=jimm
2014-02-01 01:31:01 +09:00
Ehsan Akhgari
1b83407ce9
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
54f8cc293a
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
193fd83275
Bug 600117 part.2 Implement KeyboardEvent.repeat on Windows r=jimm
2013-11-07 20:17:32 +09:00
Masayuki Nakano
f135c17228
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
e73dea32d8
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
e3f57c4d94
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
1aaa1d8c9f
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
8086dafaf2
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
84078f9904
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
3a0b655e5a
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Masayuki Nakano
0fbfe07d7e
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
8d50fcdfab
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
890fa71e70
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
f29b3580a9
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
33a5b971f9
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
e07e1329ce
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
5aaae31bae
Bug 891292 r=jimm
2013-07-10 00:54:41 +09:00
Justin Lebar
051c5b560a
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
95dd1b74cc
Bug 855975 - Include typo fix.
2013-05-30 11:52:14 +02:00
Masayuki Nakano
a0dfbbe736
Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
04f15faf88
Bug 855975 part.21 Rename nsFakeCharMessage with widget::NativeKey::FakeCharMsg r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
a077030500
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
3a5490f2b4
Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
c9d8a4d90f
Bug 855975 part.18 Merge widget::NativeKey::DispatchKeyDown() into widget::NativeKey::HandleKeyDown() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
22ab5a3d5b
Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm
2013-05-29 15:34:49 +09:00
Masayuki Nakano
544e9ff0bb
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
60c98c8f62
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
9b75f6917d
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
31dd337bab
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
0b76a23565
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
453ec6a2b0
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
9a0e09a849
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
672ed5b1c6
Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
e96de74786
Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm
2013-05-29 15:34:48 +09:00
Masayuki Nakano
fc5549ae89
Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
4428a65a82
Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
86c934be16
Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
e5373c9e94
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
529c849332
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
73367a9a5c
Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm
2013-05-29 15:34:47 +09:00
Masayuki Nakano
324317e896
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
877ab22109
Bug 842927 part.3 Implement D3E KeyboardEvent.key on Windows (Desktop) r=smaug+jimm
2013-04-24 12:49:47 +09:00
Ehsan Akhgari
e368dc9c85
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
ade943befb
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
53a964cc2e
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
8dd94156c6
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
Masayuki Nakano
085496f7f8
Bug 757688 part.5 Make KeyboardLayout stateless for non-dead keys r=jimm
2012-06-15 18:52:50 +09:00
Masayuki Nakano
8647e16b8d
Bug 757688 part.4 Remove GetShiftState() and move SetShiftState() to VirtualKey r=jimm
2012-06-15 18:52:50 +09:00
Masayuki Nakano
7a1182d4f9
Bug 757688 part.3 Don't use VirtualKey::ShiftState for the arguments of public methods of KeyboardLayout r=jimm
2012-06-15 18:52:50 +09:00