Commit Graph

77 Commits

Author SHA1 Message Date
J. Ryan Stinnett
0236c42aa9 Bug 435164 - Stop mapping Ctrl+Space to context menu on Cocoa. r=smichaud 2014-03-07 20:17:48 -06:00
Masayuki Nakano
fbc7e55d78 Bug 974318 part.6 Use WidgetTextEvent::mRanges on Mac r=smichaud 2014-03-04 22:48:27 +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
Masayuki Nakano
7a9446edee Bug 950564 ComplexTextInputPanel should be positioned to bottom-left of the focused plugin feedback=emk, r=smichaud 2013-12-20 08:19:17 +09:00
Masayuki Nakano
da4f6206c0 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
e468ad900b Bug 912858 part.3 Implement KeyboardEvent.key for printable keys on Mac r=smichaud+smaug 2013-12-11 01:14:54 +09:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Masayuki Nakano
f5a70fa693 Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00
Masayuki Nakano
f5ea2a922c Bug 600117 part.3 Implement KeyboardEvent.repeat on Mac r=smichaud 2013-11-07 20:17:33 +09:00
Masayuki Nakano
ef2ba2f3e7 Bug 920425 part.27 Use mozilla::WidgetEvent::AsInputEvent() r=smaug 2013-10-18 15:10:26 +09:00
Ehsan Akhgari
a7cfe4f5a9 Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud 2013-10-10 12:59:40 -04:00
Masayuki Nakano
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
5e5853070a Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +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
ebe48cadea Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
597d5ac7d2 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
10d848c578 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
f3095ec496 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
8f96a132b0 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +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
c9fa186ff0 Bug 920377 part.16 Get rid of nsAlternativeCharCode r=roc 2013-10-01 16:22:57 +09:00
Masayuki Nakano
8330b5b7f1 Bug 920377 part.4 Get rid of nsContentCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
73500fb45e Bug 920377 part.2 Get rid of nsPluginEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
64fa96e1ce Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a8e21aa06f Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Masayuki Nakano
35416e930e 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
de06376613 Bug 897885 part.1 Handle kVK_JIS_KeypadComma in widget::TextInputHandler r=smichaud 2013-08-24 13:53:01 +09:00
Masayuki Nakano
ca913f7546 Bug 893973 nsIWidget::SetInputContext() should check it has focus before calling secure event input API r=smichaud 2013-08-07 11:49:21 +09:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Timothy Nikkel
d39427d39a Bug 899430. Correct incorrect use GetDefaultScale in TextInputHandler to BackingScaleFactor. r=jfkthame
We are converting between cocoa points and dev pixels, cocoa points do not know about our prefs but GetDefaultScale takes into account our prefs, which is wrong.
2013-07-30 11:22:39 -05:00
Masayuki Nakano
ada2c64b2d 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
778f76a35a Bug 810225 part.4 Replace NSInputManager in IMEInputHandler::KillIMEComposition() with NSTextInputContext r=smichaund 2013-07-13 11:53:24 +09:00
Masayuki Nakano
445e8ed449 Bug 810225 part.3 Replace NSInputManager in IMEInputHandler::DiscardIMEComposition() with NSTextInputContext r=smichaund 2013-07-13 11:53:24 +09:00
Masayuki Nakano
85f6120914 Bug 810225 part.2 Replace the hack for ::TSMGetActiveDocument() with NSTextInputContext r=smichaund 2013-07-13 11:53:24 +09:00
Masayuki Nakano
e241c27cda Bug 810225 part.1 Replace NSInputManager in PR_LOG() with NSTextInputContext r=smichaund 2013-07-13 11:53:23 +09:00
J. Ryan Stinnett
e68ccaf3d5 Bug 282097 - Part 7: Simulate native events for testing. r=masayuki 2013-07-10 09:12:40 -05:00
J. Ryan Stinnett
d87ecf5d97 Bug 282097 - Part 4: Create NativeKeyBindings for Cocoa. r=masayuki, r=smichaud 2013-07-10 09:08:55 -05:00
Masayuki Nakano
2659995690 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
2fd1774231 Bug 875674 part.7 Implement setMarkedText:selectedRange:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:36 +09:00
Masayuki Nakano
58405280c4 Bug 875674 part.6 Implement insertText:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
1d9e2a0619 Bug 875674 part.5 Implement attributedSubstringForProposedRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
e4cd688d65 Bug 875674 part.4 Implement firstRectForCharacterRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
47b3d4363e Bug 875674 part.3 Implement windowLevel of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
fbca6df20f Bug 875674 part.2 Cache selection for improving the performance r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
db93e5e899 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
653bae8806 Bug 842927 part.5 Implement D3E KeyboardEvent.key on Cocoa r=smaug+smichaud 2013-04-24 12:49:47 +09:00
Masayuki Nakano
2bd6ff1768 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