Commit Graph

17 Commits

Author SHA1 Message Date
Bill McCloskey
243bfc82d7 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
b6b202b6bb 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
ad6d9bc72b Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
79f324822a 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
22eb57c00c Bug 978918 - Filter hidden <br> when get content editable text length. r=yxl 2014-03-20 18:37:00 +08:00
Yuan Xulei
31395a6a84 Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Jan Jongboom
ab864d390b Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
Kevin Grandon
823b7d7feb Bug 942749 - [keyboard] Fix forms.js contenteditable scroll position. r=fabrice 2013-12-13 16:10:56 -05:00
Jan Jongboom
2d5927d37f 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 (陳侃如)
78b8308500 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Jan Jongboom
0d52bf6f2b 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
36225d51de 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
b7a8f5797a 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 (陳侃如)"
c12ab0724d 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
dba689957e 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
742f1392be 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
fe6bf603ee 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