Commit Graph

66 Commits

Author SHA1 Message Date
Masayuki Nakano
3826cd036b 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
2cb73aa082 Bug 842927 part.3 Implement D3E KeyboardEvent.key on Windows (Desktop) r=smaug+jimm 2013-04-24 12:49:47 +09:00
Ehsan Akhgari
243c878d26 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
9ab804c5a0 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
af52ae53fe 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
d8453b72ed 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
4ca510f31b Bug 757688 part.5 Make KeyboardLayout stateless for non-dead keys r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
9098d673f0 Bug 757688 part.4 Remove GetShiftState() and move SetShiftState() to VirtualKey r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
30a851ed6d 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
Masayuki Nakano
8e9b8bcce9 Bug 757688 part.2 Move nsModifierKeyState to KeyboardLayout and redesign it r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
b1f66dbf7f Bug 757688 part.1 Make KeyboardLayout::IsDeadKey() stateless r=jimm 2012-06-15 18:52:50 +09:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
40da17620b Bug 630810 part.1 Should convert from native keycode to DOM keycode for every keys on Windows r=smaug+jimm, sr=roc 2012-05-17 16:04:16 +09:00
Masayuki Nakano
4526468e66 Bug 751881 Set keycode to keypress event at WM_CHAR handler when charcode is 0 r=jimm 2012-05-05 07:47:46 +09:00
Masayuki Nakano
af6b0f9145 Bug 166240 part.2 Add support KeyboardEvent.location on Windows r=jimm 2012-05-03 17:35:02 +09:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00