51 Commits

Author SHA1 Message Date
Tim Chien
a64d29e25a Bug 1234459 - Expose full text in the input box to InputMethod API, r=masayuki, sr=smaug 2016-01-05 00:37:00 +01:00
Tim Chien
e284a1b7b0 Bug 1201407 - Add input-manage-only events for InputMethod API. r=janjongboom, sr=smaug 2015-09-16 22:11:00 +02:00
Carsten "Tomcat" Book
80cfd656d8 Backed out 1 changesets (bug 1201407) for suspicion of causing linux bc test failures on a CLOSED TREE
Backed out changeset 171eb742e015 (bug 1201407)

--HG--
extra : rebase_source : 1629e6f144ed487f4ecd78ccaf8f880bdac63b9f
2015-09-17 14:38:44 +02:00
Tim Chien
28d24ea24f Bug 1201407 - Add input-manage-only events for InputMethod API, r=janjongboom, sr=smaug 2015-09-16 22:11:00 +02:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Tim Chien
5c6b996776 Bug 1197682 - InputMethodManager#setSupportsSwitchingTypes, r=janjongboom, sr=smaug 2015-09-10 22:29:00 +02:00
Tim Chien
97fd8227ab Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug 2015-09-10 22:27:00 +02:00
Carsten "Tomcat" Book
a051fc3931 Backed out 1 changesets (bug 1197700) for test failures in test_interfaces.html on a CLOSED TREE
Backed out changeset fd40cb58dca3 (bug 1197700)
2015-09-10 12:17:03 +02:00
Tim Chien
b2839ce3fd Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug
--HG--
extra : rebase_source : 6dae179e27126a9722b9d6015d933dab2252d638
2015-09-09 19:56:00 +02:00
Tim Chien
594973b3d3 Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap
--HG--
extra : histedit_source : a47dc2f917d2cc53dfcf500df00e02052a2e4aff
2015-08-26 20:18:00 -04:00
Tim Chien
c6c2017be9 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.

--HG--
extra : source : ce86cf91f423417b4b6ca5842bca793817b3284a
2015-08-23 21:19:00 -04:00
Tim Chien
877fd2b4fe Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy)
--HG--
extra : source : 83af10efcd3ced1f1ffaa202aeea7de03cf096f9
2015-07-17 04:41:00 -04:00
Ryan VanderMeulen
aeacc8883e 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

--HG--
extra : rebase_source : 2bf3467951041be553ab34c45d49c445829d21bb
2015-08-24 13:27:01 -04:00
Tim Chien
dfe47f82f8 Bug 1197672 - s/_sendPromise/createPromiseWithId/ in mozInputMethod.addInput(). r=kchen 2015-08-23 21:28:00 -04:00
Tim Chien
11bce71d96 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
f91ccd8918 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
40e1ba271a Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm
--HG--
extra : rebase_source : 2aae82958670d0154a3cf08bd0e2a80d529e36f3
2015-08-19 14:53:22 -07:00
Tim Chien
10d4b076f0 Bug 1175024 - Don't destroy and recreate DOMRequestIpcHelper instance for every InputContext. r=fabrice 2015-07-02 23:47:00 +02:00
Boris Zbarsky
bdea574c3c 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
7086ef24a8 Bug 936724 - Implement addInput/removeInput in InputMethod API. r=yxl, r=khuey 2014-12-09 14:20:40 -05:00
Ryan VanderMeulen
054f112d6d 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
55b49905e1 Bug 936724 - Implement addInput/removeInput in InputMethod API, r=yxl, r=khuey 2014-12-08 18:46:00 +01:00
Tim Chien
d521111d48 Bug 1054839 - Revive detail object in selectionchange and surrendingtextchange event. r=khuey,yxl 2014-08-25 22:47:00 +02:00
Jan Jongboom
854280cee5 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
John Lu [:mnjul]
3c89f36d03 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
a78536840a Bug 1001325 - Create valid WebIDL object for MozInputContext. r=fabrice 2014-07-03 18:10:13 +08:00
Yuan Xulei
9ba876b57a Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki 2014-06-17 12:05:49 +08:00
Arpad Borsos
d343c495d8 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
9982695b17 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-04-09 20:03:00 +02:00
Ryan VanderMeulen
e273e369b1 Backed out changeset aa47acfdbdae (bug 986992) for packaging bustage. 2014-04-02 16:01:40 -04:00
Yuan Xulei
9b17f52df5 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-03-31 10:41:08 +08:00
Yuan Xulei
5ef8a3a81b Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
91d0671901 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
0410df628a 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é
5a7b88f831 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
75ef6cdec5 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é
7d0cdd28d3 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é
a68d75608e Backout b0eaf0e9fa9c (bug 971651) for M3 failures 2014-02-12 23:34:05 -08:00
Fabrice Desré
86f909886b 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é
0b097b1807 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Yuan Xulei
c2990feebc Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Yuan Xulei
e6101f14fe Bug 949059 - MozInputMethod#mgmt should not return null value. r=fabrice 2014-01-03 09:16:48 -05:00
Jan Jongboom
a9e07e2740 Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
David Flanagan
150fdf79b2 Bug 939671 - Correctly implement setters for onselectionchange and onsurroundingtextchange. r=yxl 2013-11-17 22:56:56 -08:00
Tim Chien
f932fc34c8 Bug 915570 - Rename 'keyboard' permission and role to 'input'. r=yxl 2013-11-01 09:01:14 -04:00
Tim Chien
843eb7bd76 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
1e85d0d32b 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
a7b122fc0a Bug 920831 - MozInputMethod's init should only return undefined. r=bz 2013-09-26 15:10:56 +08:00
Ryan VanderMeulen
2940401436 Backed out changeset 51a41b139305 (bug 920831) for bustage.
CLOSED TREE
2013-09-27 16:21:06 -04:00
Yuan Xulei
80c9c14437 Bug 920831 - MozInputMethod's init should only return undefined. r=bz 2013-09-26 15:10:56 +08:00