Commit Graph

48 Commits

Author SHA1 Message Date
Alexandru Tifrea
bb499bf79a Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap
Gtk patch written by mrbkap@mozilla.com, with r=roc
2015-04-10 15:18:05 -07:00
Jonathan Kew
52feb02fd4 Bug 1076657 pt 3 - Support drawsVerticallyForCharacterAtIndex method in Cocoa childView and IME input handler. r=masayuki 2015-02-10 15:28:05 +00:00
David Parks
48a8665cd5 Bug 1051842 - Part 1 - [e10s] crash in -[ChildView keyDown:]. r=smichaud
Fix Cocoa window IME focus test to work even if window has not received
OSX main-window status.
2015-01-12 08:26:05 -08:00
Bill McCloskey
2786a8c5d1 Bug 1051842 - Backout 7310c42d346e (bug 1051842) due to bug 1122208 2015-01-20 14:04:17 -08:00
David Parks
eec87e5f3a Bug 1051842 - Part 1 - [e10s] crash in -[ChildView keyDown:]. r=smichaud
Fix Cocoa window IME focus test to work even if window has not received
OSX main-window status.
2015-01-12 08:26:05 -08:00
Josh Aas
974e19a35e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Masayuki Nakano
2d06ec005a Bug 1077345 part.12 IMEInputHandler of Cocoa should use NS_COMPOSITION_COMMIT* event r=smichaud 2014-11-25 14:02:34 +09:00
Masayuki Nakano
26f562530f Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
2512321856 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Ehsan Akhgari
8374df7bb3 Bug 1061001 - Fix more bad implicit constructors in widget; r=roc 2014-08-31 23:33:13 -04:00
Masayuki Nakano
850d4a4088 Bug 865649 part.3 Set KeyboardEvent.code value on Mac r=smaug+smichaud 2014-05-25 11:08:59 +09:00
Masayuki Nakano
18820082fa Bug 974318 part.6 Use WidgetTextEvent::mRanges on Mac r=smichaud 2014-03-04 22:48:27 +09:00
Ehsan Akhgari
68bfe70f09 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
dcda337a5e Bug 947115 All tests shouldn't use nsIDOMWindowUtils.sendNativeKeyEvent() directly. Use synthesizeNativeKey() instead. r=smaug 2013-12-18 16:02:46 +09:00
Masayuki Nakano
e8a10f0c1c Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00
Masayuki Nakano
8c4ece5434 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Masayuki Nakano
120418da29 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
9bb146c7b5 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
ea028aeada Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
36c92a3fec Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
c97e23707c Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc 2013-09-24 19:04:14 +09:00
Masayuki Nakano
81f22a33ff Bug 892539 modifier flag database should be reset if we detect mismatch between the stored data and the latest information via key event r=smichaud 2013-08-29 13:26:43 +09:00
Masayuki Nakano
4de14939b1 Bug 501496 part.3 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Cocoa r=smaug+smichaud 2013-07-25 15:09:28 +09:00
Masayuki Nakano
7e1c83a278 Bug 893973 Check if the keydown event received view actually has focus and separate the MOZ_CRASH() for each case r=smichaud 2013-07-17 11:08:44 +09:00
J. Ryan Stinnett
8a1edb7c99 Bug 282097 - Part 7: Simulate native events for testing. r=masayuki 2013-07-10 09:12:40 -05:00
Masayuki Nakano
377e5a76cd Bug 875674 part.8 Notify IME of focus change in Gecko for resetting IME stored window level r=smichaud 2013-07-11 16:46:36 +09:00
Masayuki Nakano
849dbc05a6 Bug 875674 part.7 Implement setMarkedText:selectedRange:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:36 +09:00
Masayuki Nakano
f0639ba842 Bug 875674 part.6 Implement insertText:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
f07ecb6cac Bug 875674 part.5 Implement attributedSubstringForProposedRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
0d3d549b9f Bug 875674 part.4 Implement firstRectForCharacterRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
cb619ade9b Bug 875674 part.3 Implement windowLevel of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
29fe3d3207 Bug 875674 part.2 Cache selection for improving the performance r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
2d321ecce9 Bug 807893 part.2 Cocoa widget should manage secure input mode with input context at changing the context and changing focus r=smichaud 2013-05-25 01:27:52 +09:00
Masayuki Nakano
6c0e9912ab Bug 842927 part.5 Implement D3E KeyboardEvent.key on Cocoa r=smaug+smichaud 2013-04-24 12:49:47 +09: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
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
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
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
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