Commit Graph

33 Commits

Author SHA1 Message Date
Masayuki Nakano
bfbf081eea Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
6f38b4c22a Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
2a253e317e Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00
Masayuki Nakano
d7174442b9 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
ee3ca60060 Bug 917322 part.13 B2G should use nsITextInputProcessor in forms.js r=smaug+xyuan 2015-01-28 15:27:32 +09:00
Olli Pettay
d60b6b522f Bug 1079236, Event.composedTarget to reveal the original non-native-anonymous event target, r=wchen, r=smaug 2015-01-23 13:55:46 +02:00
Masayuki Nakano
8b3ca8f587 Bug 1077345 part.8 CompositionManager.endComposition() in forms.js should use nsIDOMWindowUtils.sendCompositionEvent('compositioncommit') r=xyuan 2014-11-25 14:02:32 +09:00
Tim Chien
d33ffebd6b Bug 1079455 - Drop edit action when focus message is not yet send. r=yxl 2014-10-23 20:22:00 +02:00
Tim Chien
709f01d557 Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
Jan Jongboom
9c7aee6f4f Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses. r=yxl 2014-10-09 06:06:00 -04:00
Ting-Yu Chou
2102507765 Bug 1066515 - Part 1: Set selection range directly when replacing within current text node. r=yxl 2014-10-03 14:09:53 +08:00
Carsten "Tomcat" Book
3a1e48da2e Backed out changeset 46c1cce018de (bug 1059163) for frequent test failures of the new test 2014-10-09 12:08:09 +02:00
Jan Jongboom
4744a68819 Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses r=xyuan 2014-10-08 16:27:27 -07:00
Masayuki Nakano
022ef78952 Bug 975383 part.7 Remove compositionupdate dispatchers in forms.js of B2G r=yxl 2014-10-03 15:33:49 +09:00
Tim Chien
fbaefc5530 Bug 1057898 - Tap between two inputs should result one inputcontextchange event. r=yxl 2014-09-04 19:43:00 -04:00
Jan Jongboom
107dadcdbc Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
Bill McCloskey
4471cb70c6 Bug 921299 - Don't consider all keypresses to be synthetic events on b2g (r=smaug) 2014-07-10 16:46:28 -07:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Yuan Xulei
e0b13195dc Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
52c7a2e15a 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
Wei Deng
dee6001962 Bug 978918 - Filter hidden <br> when get content editable text length. r=yxl 2014-03-20 18:37:00 +08:00
Yuan Xulei
c4482b16d3 Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Jan Jongboom
a1ed8c8364 Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
Kevin Grandon
954883f06e Bug 942749 - [keyboard] Fix forms.js contenteditable scroll position. r=fabrice 2013-12-13 16:10:56 -05:00
Jan Jongboom
dc990b32cb Bug 944681 - Don't fire inputcontextchange on selection change from mouseup. r=yxl 2013-12-10 10:14:39 -05:00
Kan-Ru Chen (陳侃如)
35bf8099b6 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Jan Jongboom
51588092d2 Bug 918863 - MutationObserver doesnt recognize all deleted elements, keypress is fired if keydown is canceled. r=yxl, r=kanru 2013-12-03 08:37:38 -05:00
Jonathan Watt
07e6bf260e Bug 941367 - Fix JavaScript assertions in dom/inputmethod/forms.js caused by trying to get the selection of non-text controls. r=fabrice 2013-11-21 12:54:48 +00:00
Jonathan Watt
2e3f9c25c5 Bug 940696 - Ensure that Firefox OS brings up the number pad when a user focuses an <input type=number>. r=fabrice 2013-11-20 09:32:46 +00:00
"Kan-Ru Chen (陳侃如)"
7388877062 Bug 931746 - Only handle the event from our descendants. r=yxl
---
 dom/inputmethod/forms.js |    7 +++++++
 1 file changed, 7 insertions(+)
2013-11-17 01:07:26 +08:00
Yuan Xulei
9a9eda1aff Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice 2013-11-11 09:11:43 -05:00
Ed Morley
685fbeabd8 Backed out changeset f2ed6b24269a (bug 932151) for causing bug 936324 2013-11-08 10:59:31 +00:00
Yuan Xulei
31dd9fbe0a Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice 2013-11-07 09:02:25 -05:00