Commit Graph

43 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
Masayuki Nakano
a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09: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
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Gregory Szorc
2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Neil Rashbrook
eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dão Gottwald
b5aa8e5c8e Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Neil Rashbrook
b40600a53f Bug 523693 Inline spell checker shouuld be a module r=gavin (new/renamed files)
--HG--
rename : toolkit/content/inlineSpellCheckUI.js => toolkit/content/InlineSpellChecker.jsm
2009-10-28 11:19:03 +00:00
Neil Rashbrook
2e6ce2b057 Bug 523693 Inline spell checker shouuld be a module r=gavin 2009-10-28 11:15:22 +00:00
Ehsan Akhgari
d21c236a6f Bug 506126 - globalOverlay.js is full of caller-less functions; r=enndeakin 2009-08-02 22:23:19 +04:30
Serge Gautherie
bd69071703 Bug 456694 - Move toolkit <nsTreeController.js> to /suite; (Av1) Remove obsolete(!) file; r+sr=mconnor 2009-03-04 08:39:39 +01:00
asqueella@gmail.com
47803a66e3 remove unused nsTreeSorting.js, bug 374408
r=bsmedberg
2007-07-14 16:24:35 -07:00
sdwilsh@shawnwilsher.com
44cbc3eab4 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
asqueella@gmail.com
e8c772ebe7 Bug 374404 - Don't ship WidgetStateManager as part of toolkit/mailr=bsmedberg 2007-03-26 14:02:00 -07:00
asqueella@gmail.com
41043be3a6 bug 375252 - nsJSComponentManager.js / nsJSSupportsUtils.js are not used or packaged anywhere and should be cvs removedr=bsmedberg 2007-03-26 13:53:01 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
asqueella%gmail.com
aa05ca2f37 fix bug 318532 - Lost focus when deleting first item in history sidebar
p=David Benes <dave_forward@centrum.cz>
r=both neils (enndeakin, neil@parkwaycc)
2007-02-17 19:03:14 +00:00
gerv%gerv.net
eb50dd44e7 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 16:02:07 +00:00
neil%parkwaycc.co.uk
e8df25447a Bug 257985 History View|Sorted by menuitems do not work r=varga sr=me 2005-10-13 19:50:25 +00:00
neil%parkwaycc.co.uk
60bb39eafd Bug 68961 restore nsTreeSorting.js accesskey support p=vhaarr@gmail.com r+sr=me 2005-09-26 22:55:33 +00:00
gerv%gerv.net
93180ced26 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
dbaron%dbaron.org
d94716da9b Merge cvs removes from aviary branch (in browser and toolkit directories) to the trunk. 2004-12-02 02:46:06 +00:00
dbaron%dbaron.org
fbbe1e88eb Merge aviary branch to trunk. 2004-12-02 02:43:24 +00:00
cbiesinger%web.de
c9a0f13bf5 Bug 261790 port various changes betwen xpfe/toolkit
r=mconnor sr=neil
2004-09-30 14:31:42 +00:00
varga%nixcorp.com
2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
jshin%mailaps.org
b0f597c31a bug 55300: add 'Unicode' submenu to the 'Character Encoding' menu. The new submenu has UTF-8, UTF-16*, UTF-32* and UTF-7. UTF-8 was also added to the static list. (r=neil, sr=blizzard, moa for ff = pch) 2004-03-06 06:11:48 +00:00
rlk%trfenv.com
dc2ac1b3fd Bug 232722 - change 'character coding' to 'character encoding'. Patch by Jungshik Shin <jshin@mailaps.org>. r=rlk@trfenv.com, sr=ben@mozilla.org 2004-02-08 15:48:50 +00:00
chanial%noos.fr
1feb1633ec missed a file, thx to Steffen for the patch. Also, remove trailing spaces 2003-11-17 01:46:46 +00:00
chanial%noos.fr
8e65ea4952 split the top-level toolkit manifest file into content/jar.mn, locale/jar.mn and obsolete/jar.mn so that we no longer have to repackage everything every time we modify one of these three subdirectories. 2003-11-15 07:43:50 +00:00
ben%bengoodger.com
af3cc7636c Enable Inspector for Firebird 2003-11-12 09:15:21 +00:00
chanial%noos.fr
2b40463f9f cvs remove the obsolete wizard manager, thanks to the work by Stefan Borggraefe <borggraefe@despammed.com>, neil and timeless.
Great !!!
2003-11-06 18:40:43 +00:00
chanial%noos.fr
8ec368e5a6 add charset.dtd to the obsolete directory 2003-10-26 04:25:12 +00:00
chanial%noos.fr
27226ee2a0 Bug 221597,221599: remove toolkit and browser dependencies to chrome://communicator/content/pref/pref-charset.xul by copying it to the toolkit and renaming it as customizeCharset.xul. 2003-10-26 04:03:29 +00:00
chanial%noos.fr
1d7dccad91 fork and obsolete charsetOverlay.dtd (use charset.dtd instead) and widgetStateManager (use nsWidgetStateManager instead) 2003-08-17 17:22:19 +00:00
chanial%noos.fr
ad4fc16ba2 bug 213228: new toolkit independence bug, part 6.
fork and obsolete files
2003-08-16 14:51:28 +00:00
chanial%noos.fr
d521951ba9 bug 213228: new toolkit independence bug, part 3.
create toolkit/obsolete directory
obsolete dialogOverlay.xul and remove the need for platformOverlay.xul
2003-08-16 11:05:21 +00:00