Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 917d00df0a Backed out changeset 0cd8eeb72c1b (bug 1162360) for suspicion of causing share_activity_test.js permafail.
CLOSED TREE
2015-05-29 13:06:29 -04:00
Tim Chien 6518772df5 Bug 1162360 - Dispatches focus and blur message synchronously. r=yxl
--HG--
extra : rebase_source : ba93466d207c9363ff3d18f31139aa78490dadc6
2015-05-21 20:13:00 -04:00
Tim Chien 6ad39882f0 Bug 1122463 - Don't blur the input when submit is cancelled. r=yxl
--HG--
extra : rebase_source : 02b5f6bdd130c58355371cce630f58e00647b4d7
2015-02-11 21:39:00 -05:00
Morris Tseng e75a6e55d6 Bug 1125045 - yAxisVisible should compare with offset.height instead of pos.width. r=xyuan 2015-02-26 01:01:00 +01:00
Masayuki Nakano ca9bed9a3f 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 e0f19b8f22 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 cebca7ab8a 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 23bb94d093 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano 0e8bfa0a8e Bug 917322 part.13 B2G should use nsITextInputProcessor in forms.js r=smaug+xyuan 2015-01-28 15:27:32 +09:00
Olli Pettay faee2dfe7e 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 fa0d074313 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 e3277f83ab Bug 1079455 - Drop edit action when focus message is not yet send. r=yxl 2014-10-23 20:22:00 +02:00
Tim Chien be9563ed5b Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
Jan Jongboom c8c3ab24b8 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 86be933479 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 5e19affa54 Backed out changeset 46c1cce018de (bug 1059163) for frequent test failures of the new test 2014-10-09 12:08:09 +02:00
Jan Jongboom f19ff988ec 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 e6d1b6b01e Bug 975383 part.7 Remove compositionupdate dispatchers in forms.js of B2G r=yxl 2014-10-03 15:33:49 +09:00
Tim Chien 0e320d9362 Bug 1057898 - Tap between two inputs should result one inputcontextchange event. r=yxl 2014-09-04 19:43:00 -04: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
Bill McCloskey 055511bb01 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 7e20285e70 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 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
Wei Deng 4164cd3490 Bug 978918 - Filter hidden <br> when get content editable text length. r=yxl 2014-03-20 18:37:00 +08:00
Yuan Xulei c2990feebc Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Jan Jongboom a9e07e2740 Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
Kevin Grandon 6b31866e22 Bug 942749 - [keyboard] Fix forms.js contenteditable scroll position. r=fabrice 2013-12-13 16:10:56 -05:00
Jan Jongboom c4f182ab0d Bug 944681 - Don't fire inputcontextchange on selection change from mouseup. r=yxl
--HG--
extra : rebase_source : bd6286e8bdec2ceb081d837d9341b54ca69a1886
2013-12-10 10:14:39 -05:00
Kan-Ru Chen (陳侃如) 2dccb91273 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Jan Jongboom b644f506c1 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 0d53fff241 Bug 941367 - Fix JavaScript assertions in dom/inputmethod/forms.js caused by trying to get the selection of non-text controls. r=fabrice
--HG--
extra : rebase_source : eb9b497bb81e165bac9c128b888e2ddbfcb1b02f
2013-11-21 12:54:48 +00:00
Jonathan Watt c47ac7b46f 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 (陳侃如)" 857e505615 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 e6385de5d0 Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice
--HG--
rename : b2g/chrome/content/forms.js => dom/inputmethod/forms.js
2013-11-11 09:11:43 -05:00
Ed Morley bd7b902f08 Backed out changeset f2ed6b24269a (bug 932151) for causing bug 936324
--HG--
rename : dom/inputmethod/forms.js => b2g/chrome/content/forms.js
2013-11-08 10:59:31 +00:00
Yuan Xulei 560a2ee462 Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice
--HG--
rename : b2g/chrome/content/forms.js => dom/inputmethod/forms.js
2013-11-07 09:02:25 -05:00