Commit Graph

15 Commits

Author SHA1 Message Date
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Mark Banner
d07f540195 Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC
2017-01-03 11:55:24 +00:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04: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
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo
efcba23392 Bug 620988 - preferences code uses getFolderContents but never closes the container.
r+a=gavin
2010-12-22 19:26:20 +01:00
163d1c56ed Bug 408125 - unable to select an unfiled bookmark or a bookmark from my toolbar as my home page in prefs. r=dietrich. 2008-03-14 12:48:01 -07:00
dfc3bce11d Bug 403263 (along with 405776, 413977, 418813) - deleting a separator in menus deletes all items preceding it. r=mak77. 2008-02-25 13:45:22 -08:00
2783d95e75 code cleanup for bug #387203: getFolderContents() returns the root result node instead of the result itself.
r=mano
2007-07-11 18:18:20 -07:00
cd19c5b398 Bug 381511 - Use Bookmark dialog is broken in Places. r=sspitzer. 2007-05-22 15:44:30 -07:00
mozilla.mano@sent.com
dd8f3a3e25 Bug 369807 - places-based 'Use Bookmark' dialog allows setting a separator as the homepage. r=sspitzer. 2007-02-09 10:25:55 +00:00
mozilla.mano@sent.com
91c8a3694d Bug 334451 - Places Organizer: places-list tree should not list bookmark items. This also fixes the selectBookmark dialog bustage from bug 359462. r=sspitzer. 2006-12-27 00:36:35 +00:00
jwalden@mit.edu
6d2363ca74 Bug 340677 - update preferences panels (add anti-phishing, rationalize categories, simplify wording). r=mconnor 2006-07-05 22:41:03 +00:00
beng@bengoodger.com
08c0fea00a 331755 - Use Bookmark option for setting home page is broken. add a new home page selection dialog that uses places. r=annie.sullivan@gmail.com 2006-04-04 00:13:58 +00:00