Commit Graph

41 Commits

Author SHA1 Message Date
Tim Chien
758988db97 Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien
382b19be7c Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Ryan VanderMeulen
2e712f948d Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)

CLOSED TREE
2015-08-24 13:27:01 -04:00
Tim Chien
5cd398bf20 Bug 1197672 - s/_sendPromise/createPromiseWithId/ in mozInputMethod.addInput(). r=kchen 2015-08-23 21:28:00 -04:00
Tim Chien
c6708a3e1b Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien
212967564f Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Nick Robson
3d61d63c3e Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm 2015-08-19 14:53:22 -07:00
Tim Chien
91ddc465c0 Bug 1175024 - Don't destroy and recreate DOMRequestIpcHelper instance for every InputContext. r=fabrice 2015-07-02 23:47:00 +02:00
Boris Zbarsky
3ee7f9fb42 Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
Tim Chien
1dcf657bfc Bug 936724 - Implement addInput/removeInput in InputMethod API. r=yxl, r=khuey 2014-12-09 14:20:40 -05:00
Ryan VanderMeulen
f150bb479c Backed out changeset a0a2ada42652 (bug 936724) because something in the push made Gij(2) permafail.
CLOSED TREE
2014-12-09 12:09:09 -05:00
Tim Chien
8664cddfe6 Bug 936724 - Implement addInput/removeInput in InputMethod API, r=yxl, r=khuey 2014-12-08 18:46:00 +01:00
Tim Chien
2bbdf0617e Bug 1054839 - Revive detail object in selectionchange and surrendingtextchange event. r=khuey,yxl 2014-08-25 22:47:00 +02:00
Jan Jongboom
7819db9f82 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
John Lu [:mnjul]
b8e95616ff Bug 1043828 - Switching IMEs doesn't always work after switching to 3rd-party keyboard and back. r=yxl 2014-08-07 14:44:46 +08:00
Yuan Xulei
47b81b8325 Bug 1001325 - Create valid WebIDL object for MozInputContext. r=fabrice 2014-07-03 18:10:13 +08:00
Yuan Xulei
16d04587ba Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki 2014-06-17 12:05:49 +08:00
Arpad Borsos
3f50c80456 Bug 1011856 - Remove usage of 2nd WeakMap#get parameter from MozKeyboard; r=xyuan
--HG--
extra : rebase_source : 9ab7d3e454a56c74380b608b32b262f80b3e2e6a
2014-05-20 14:19:14 +02:00
Yuan Xulei
67d73e4f11 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-04-09 20:03:00 +02:00
Ryan VanderMeulen
febddc4c20 Backed out changeset aa47acfdbdae (bug 986992) for packaging bustage. 2014-04-02 16:01:40 -04:00
Yuan Xulei
1b34d919b6 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-03-31 10:41:08 +08:00
Yuan Xulei
5b6496ae96 Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
2da14f8552 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Ehsan Akhgari
75b3c6a6dd Bug 986993 - Remove the classinfo on the inputmethod API classes because they are already ported to WebIDL; r=bzbarsky
This patch also removes the mention to some non-existent interfaces.
2014-03-24 21:59:33 -04:00
Fabrice Desré
ba6256ff38 Bug 971651 - Keyboard Should only send key press events to the webpage that uses the keyboard r=yxl 2014-02-12 22:29:50 -08:00
Ryan VanderMeulen
895cf45a7d Backed out changeset adac868d387f (bug 971651) for making test_delete_focused_element.html perma-fail on B2G. 2014-02-13 10:38:40 -05:00
Fabrice Desré
2316ed9204 Bug 971651 - Keyboard Should only send key press events to the webpage that uses the keyboard r=yxl 2014-02-12 22:29:50 -08:00
Fabrice Desré
4d063c5284 Backout b0eaf0e9fa9c (bug 971651) for M3 failures 2014-02-12 23:34:05 -08:00
Fabrice Desré
b35b885a1a Bug 971651 - Keyboard Should only send key press events to the webpage that uses the keyboard r=yxl 2014-02-12 22:29:50 -08:00
Fabrice Desré
da7e46af81 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Yuan Xulei
d8edbf3af2 Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Yuan Xulei
9067adef00 Bug 949059 - MozInputMethod#mgmt should not return null value. r=fabrice 2014-01-03 09:16:48 -05:00
Jan Jongboom
73e1e405de Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
David Flanagan
2f99c8f980 Bug 939671 - Correctly implement setters for onselectionchange and onsurroundingtextchange. r=yxl 2013-11-17 22:56:56 -08:00
Tim Chien
185ed6b3c2 Bug 915570 - Rename 'keyboard' permission and role to 'input'. r=yxl 2013-11-01 09:01:14 -04:00
Tim Chien
ce474393dd Bug 920977 - Limit the usage of the deprecated mozKeyboard API to certified apps only. r=yxl 2013-10-31 09:46:42 -04:00
Fernando Jiménez
2f326c3a39 Bug 915598 - Allow strong references to DOMRequestIPCHelper message listeners. Part 2: Add Ci.nsISupportsWeakReference were needed. r=fabrice 2013-10-04 23:59:48 +02:00
Yuan Xulei
05de1c0f40 Bug 920831 - MozInputMethod's init should only return undefined. r=bz 2013-09-26 15:10:56 +08:00
Ryan VanderMeulen
33b027001a Backed out changeset 51a41b139305 (bug 920831) for bustage.
CLOSED TREE
2013-09-27 16:21:06 -04:00
Yuan Xulei
bb7506cb64 Bug 920831 - MozInputMethod's init should only return undefined. r=bz 2013-09-26 15:10:56 +08:00
Jan Jongboom
ae3f4e9201 Bug 906096 - Move InputMethod API behind a pref instead of build option. r=kanru, r=sicking
--HG--
rename : b2g/components/Keyboard.jsm => dom/inputmethod/Keyboard.jsm
rename : b2g/components/MozKeyboard.js => dom/inputmethod/MozKeyboard.js
2013-09-26 03:38:41 +08:00