Commit Graph

68 Commits

Author SHA1 Message Date
Jim Blandy
4d6a633bba 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
16d04587ba Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki 2014-06-17 12:05:49 +08:00
Arpad Borsos
3f50c80456 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
0280819763 Bug 1000095 - Fix mozInputMethod.mgmt.hide. r=fabrice 2014-04-25 01:16:00 +02:00
Yuan Xulei
67d73e4f11 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-04-09 20:03:00 +02:00
Alexandre Poirot
f13b21527a 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
febddc4c20 Backed out changeset aa47acfdbdae (bug 986992) for packaging bustage. 2014-04-02 16:01:40 -04:00
Yuan Xulei
1b34d919b6 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-03-31 10:41:08 +08:00
Yuan Xulei
5b6496ae96 Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
2da14f8552 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
75b3c6a6dd 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
11e16c920b Bug 983015 - Skip all inputmethod tests in the B2G emulator. 2014-03-20 13:43:14 -04:00
Wei Deng
9b4cb6514b Bug 978918 - Filter hidden <br> when get content editable text length. r=yxl 2014-03-20 18:37:00 +08:00
Ryan VanderMeulen
b62172fe64 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
d074c7bf78 Bug 957213 - Fix Intermittent test_bug944397.html caused by SetTimeout. r=fabrice 2014-03-14 09:43:13 -04:00
Bill McCloskey
aa5f40a77e 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
a3277d291d 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
f4f6bf8e4d 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
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b 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
262a9b4cd4 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
da1a04a29a 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é
ba6256ff38 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
895cf45a7d 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é
2316ed9204 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é
4d063c5284 Backout b0eaf0e9fa9c (bug 971651) for M3 failures 2014-02-12 23:34:05 -08:00
Fabrice Desré
b35b885a1a 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
04a0c7b2c9 Bug 957213 - Fix intermittent test_bug944397.html. r=fabrice 2014-02-05 13:11:13 -05:00
Fabrice Desré
da7e46af81 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Yuan Xulei
e7aa3ecf90 Bug 946068 - Fix composition events' synthesizing in chrome process. r=masayuki 2014-01-15 09:41:39 -05:00
Jan Jongboom
2a6b85e555 Bug 956688 - Add mochitests for inputcontext events. r=yxl 2014-01-07 10:04:19 -05:00
Yuan Xulei
4da9f2c73d Bug 952741 - Mochitest for Keyboard/IME API to test focused element deletion. r=fabrice 2014-01-07 09:44:59 -05:00
Yuan Xulei
d1c10e66fa Bug 953044 - Calling setInputMethodActive(false) before mozbrowser content loaded should always succeed. r=fabrice 2013-12-24 18:10:23 +08:00
Yuan Xulei
d8edbf3af2 Bug 952724 - Make InputContext#replaceSurroundingText match spec. r=janjongboom 2014-01-03 09:17:28 -05:00
Yuan Xulei
9067adef00 Bug 949059 - MozInputMethod#mgmt should not return null value. r=fabrice 2014-01-03 09:16:48 -05:00
Jan Jongboom
73e1e405de Bug 952080 - Rejection state for sendKey. r=yxl 2014-01-02 10:39:26 -05:00
Yuan Xulei
9855b74ed0 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
8cb085fc4e Bug 932145 - Mochitest support for Keyboard/IME API. r=fabrice 2013-12-20 11:05:52 +08:00
Ryan VanderMeulen
59b668bd01 Backed out changeset f9b9eae77c66 (bug 932145) for desktop B2G mochitest orange. 2013-12-19 12:07:28 -05:00
Yuan Xulei
a831a6eaec Bug 932145 - Mochitest support for Keyboard/IME API. r=fabrice 2013-12-19 11:05:12 -05:00
Gregory Szorc
158ed8b3ec 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
f53a4143df Merge m-c to b-i 2013-12-15 18:03:06 -08:00
Ryan VanderMeulen
00161f8da9 Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441). 2013-12-15 12:47:09 -05:00
Ryan VanderMeulen
be83aad5e9 Merge m-c to b2g-inbound. 2013-12-13 16:17:28 -05:00
Kevin Grandon
04d93202a2 Bug 942749 - [keyboard] Fix forms.js contenteditable scroll position. r=fabrice 2013-12-13 16:10:56 -05:00
Mark Hammond
75591f7a7a 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
c5b1c13ef3 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 (陳侃如)
52fcf9c031 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Ryan VanderMeulen
3558ffd353 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
82c005bc0e Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00