Commit Graph
14 Commits
Author SHA1 Message Date
Michael Layzell f6359d6641 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-30 08:18:04 -04:00
Ehsan Akhgari 012e2885a3 Backout changeset d648becaa638 (bug 1170531) for test failures 2015-06-27 13:14:06 -07:00
Michael Layzell 81dc87931a Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-27 12:37:44 -07:00
Carsten "Tomcat" Book 89aedf7cca Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html 2015-06-22 15:21:02 +02:00
Michael Layzell 08190db788 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-22 08:13:26 -04:00
Michael Layzell 5c3e68d663 Bug 1159490 - Allow cut/copy event dispatch unconditionally in HTML documents. r=neil 2015-05-13 08:44:00 +02: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
Neil Rashbrook 3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley 4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
57832d3305 bug 404232: for performance, don't update Edit commands every time focus changes unless some edit UI is visible; r=mconnor 2008-01-25 21:48:51 -08:00
[email protected] a5b0593a6f Bug 368918 - browser.xul should use editMenuOverlay rather than duplicating its code. r=gavin. 2007-02-14 21:28:26 +00:00
[email protected] 410fe19055 adding overlay for edit menus 2003-10-14 05:09:24 +00:00