Commit Graph

68 Commits

Author SHA1 Message Date
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
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
63a81d9132 Bug 1000095 - Fix mozInputMethod.mgmt.hide. r=fabrice 2014-04-25 01:16:00 +02:00
Yuan Xulei
9982695b17 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-04-09 20:03:00 +02:00
Alexandre Poirot
6b82f43a5f Bug 963239 - Implements "SystemAppProxy.jsm" to abtract and ease interacting with the system app from platform code. r=vingtetun 2014-04-07 09:59:48 -04: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
Ryan VanderMeulen
d1d39ca3f2 Bug 983015 - Skip all inputmethod tests in the B2G emulator. 2014-03-20 13:43:14 -04: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
Ryan VanderMeulen
b05d33336b Bug 983015 - Skip test_bug944397.html, test_delete_focused_element.html, and test_sendkey_cancel.html on B2G for frequent timeouts that abort the testsuite. 2014-03-20 09:14:01 -04:00
Yuan Xulei
0d2a3367a0 Bug 957213 - Fix Intermittent test_bug944397.html caused by SetTimeout. r=fabrice 2014-03-14 09:43:13 -04:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
d126a07311 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Mark Hammond
9cb5162643 Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug 2014-02-21 09:19:18 +11: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
Yuan Xulei
6aea75ae46 Bug 957213 - Fix intermittent test_bug944397.html. r=fabrice 2014-02-05 13:11:13 -05: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
c17f701bb8 Bug 946068 - Fix composition events' synthesizing in chrome process. r=masayuki 2014-01-15 09:41:39 -05:00
Jan Jongboom
7be756a4a7 Bug 956688 - Add mochitests for inputcontext events. r=yxl 2014-01-07 10:04:19 -05:00
Yuan Xulei
0da8f72fa5 Bug 952741 - Mochitest for Keyboard/IME API to test focused element deletion. r=fabrice 2014-01-07 09:44:59 -05:00
Yuan Xulei
08af3098f0 Bug 953044 - Calling setInputMethodActive(false) before mozbrowser content loaded should always succeed. r=fabrice 2013-12-24 18:10:23 +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
Yuan Xulei
c46e753607 Bug 944397 - Process SetInputMethodActive request until content window is ready. r=fabrice
--HG--
extra : rebase_source : 330dbbe63646b2b08a3b6eded27c85714361044a
2013-12-20 16:01:18 +08:00
Yuan Xulei
17d5f1239d Bug 932145 - Mochitest support for Keyboard/IME API. r=fabrice 2013-12-20 11:05:52 +08:00
Ryan VanderMeulen
dcff32c351 Backed out changeset f9b9eae77c66 (bug 932145) for desktop B2G mochitest orange. 2013-12-19 12:07:28 -05:00
Yuan Xulei
d2d7c07e2e Bug 932145 - Mochitest support for Keyboard/IME API. r=fabrice 2013-12-19 11:05:12 -05:00
Gregory Szorc
e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Phil Ringnalda
084a4b0cf1 Merge m-c to b-i 2013-12-15 18:03:06 -08:00
Ryan VanderMeulen
99bbd6a132 Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441). 2013-12-15 12:47:09 -05:00
Ryan VanderMeulen
fafbd75ad2 Merge m-c to b2g-inbound. 2013-12-13 16:17:28 -05:00
Kevin Grandon
6b31866e22 Bug 942749 - [keyboard] Fix forms.js contenteditable scroll position. r=fabrice 2013-12-13 16:10:56 -05:00
Mark Hammond
4834261c63 Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug
--HG--
extra : rebase_source : 475b2cafc094117a2edf8ba95605e7f4d5f95410
2013-12-13 14:24:37 +11: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
Ryan VanderMeulen
5dad8f16c4 Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
6f0d1bf5de Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00