Commit Graph

28 Commits

Author SHA1 Message Date
Masayuki Nakano
ea674543f7 Bug 821329 Set charCode of keypress event when TextInputHandler::InsertText() is called without native key event r=smichaud 2013-01-11 12:30:12 +09:00
Masayuki Nakano
040bff16f0 Bug 815383 Handle shift, control, option and meta flags in NSFlagsChanged event handler even if some applications send it with device dependent flags but without proper keyCode r=smichaud 2012-12-21 17:31:24 +09:00
Masayuki Nakano
9722fe8c92 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
bd8bd05b9a Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug 2012-10-31 08:22:22 +09:00
Ehsan Akhgari
5537d09f04 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
Ehsan Akhgari
e91c80d60b Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
d766300da5 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Masayuki Nakano
21857504d7 Bug 786956 Rewrite FSFlagsChanged handler r=smichaud 2012-10-19 10:17:07 +09:00
Masayuki Nakano
b47e19282e Bug 795230 Use ASCII capable keyboard layout for computing charCode if current input source is an IME mode and open r=smichaud 2012-10-16 10:43:50 +09:00
Josh Aas
9198e7804c Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Jonathan Kew
945446be40 bug 799900 - [HiDPI] account for device-pixel scaling for IME window position. r=smichaud 2012-10-10 19:09:29 +01:00
Phil Ringnalda
0c06f95ced Bug 784783 followup, remove the stray ) which is causing build bustage 2012-08-30 21:22:26 -07:00
Masayuki Nakano
9193957d07 Bug 784783 Don't access [NSEvent characters] if the event type is neither NSKeyDown nor NSKeyUp r=smichaud 2012-08-31 12:55:23 +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
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
e3e1225e61 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Masayuki Nakano
8e00b74dd9 Bug 775414 InitKeyEvent() should decide input string instead of InitKeyPressEvent() r=smichaud 2012-07-21 08:24:48 +09:00
Masayuki Nakano
ad431e2f13 Bug 764285 part.2 Use naming rules of virtual keycodes in SDK for defining undefined keycode r=smichaud 2012-07-04 14:59:50 +09:00
Masayuki Nakano
c46a560187 Bug 764285 part.1 Use virtual keycodes defined in SDK r=smichaud 2012-07-04 14:59:50 +09:00
Masayuki Nakano
d31395f6fb Bug 759524 Fix the condition of NS_ASSERTION in TISInputSourceWrapper::InitKeyPressEvent() r=smichaud 2012-05-31 10:25:26 +09:00
Masayuki Nakano
e3adc4593f Bug 758420 Use specified character by inserText rather than the first character of current key event for charCode r=smichaud 2012-05-26 11:35:58 +09:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
a517999587 Bug 677252 part.2 Add Eisu keycode for Japanese keyboard layout of Mac r=smichaud, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
821722799d Bug 677252 part.1 Reimplement keycode computation in cocoa widget r=smaug+smichaud 2012-05-17 16:04:16 +09:00
Masayuki Nakano
d09286dbf9 Bug 166240 part.4 Add support KeyboardEvent.location on Cocoa r=smichaud 2012-05-03 17:35:02 +09:00
Masayuki Nakano
87530f9870 Bug 630811 part.6 Support new modifiers on all events derived from nsInputEvent on Cocoa r=smichaud 2012-04-25 12:00:02 +09:00
Masayuki Nakano
35e02034fd Bug 735648 Append command char and shifted commanded char when command key is pressed on Dvorak-QWERTY r=smichaud+karlt 2012-03-30 12:37:40 +09:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00