Commit Graph

12 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
48f0f82363 merge fx-team to mozilla-central a=merge 2014-06-25 15:34:21 +02:00
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
Brian Grinstead
d06e2d0fa5 Bug 1021828 - Project editor: Show prompt before deleting file. r=paul 2014-06-23 07:35:00 -04:00
Brian Grinstead
369999f127 Bug 1027537 - Project Editor: allow scrolling in the file list;r=paul 2014-06-23 10:29:11 -05:00
Brian Grinstead
4398aaa1d6 Bug 1014046 - Project Editor: Re-enable tests on Windows. r=harth 2014-06-20 16:26:00 -04:00
Paul Rouget
42cfa0db73 Bug 1021475 - [appmgr v2] update app header in projectEditor. r=bgrins 2014-06-16 12:12:30 -07:00
Brian Grinstead
f07cc886a3 Bug 1022084 - Project Editor: turn on auto completion for JS & CSS files;r=harth 2014-06-11 13:14:56 -07:00
Brian Grinstead
1bb9dabc3f Bug 1019676 - Project editor: Allow app header to be updated and add gear icon / status indicator. r=harth 2014-06-05 13:38:00 -04:00
Brian Grinstead
572a88d8c4 Bug 1019669 - Flatten project editor plugin folder structure;r=harth
--HG--
rename : browser/devtools/projecteditor/lib/plugins/app-manager/lib/app-project-editor.js => browser/devtools/projecteditor/lib/plugins/app-manager/app-project-editor.js
rename : browser/devtools/projecteditor/lib/plugins/app-manager/lib/plugin.js => browser/devtools/projecteditor/lib/plugins/app-manager/plugin.js
rename : browser/devtools/projecteditor/lib/plugins/delete/lib/delete.js => browser/devtools/projecteditor/lib/plugins/delete/delete.js
rename : browser/devtools/projecteditor/lib/plugins/dirty/lib/dirty.js => browser/devtools/projecteditor/lib/plugins/dirty/dirty.js
rename : browser/devtools/projecteditor/lib/plugins/image-view/lib/image-editor.js => browser/devtools/projecteditor/lib/plugins/image-view/image-editor.js
rename : browser/devtools/projecteditor/lib/plugins/image-view/lib/plugin.js => browser/devtools/projecteditor/lib/plugins/image-view/plugin.js
rename : browser/devtools/projecteditor/lib/plugins/logging/lib/logging.js => browser/devtools/projecteditor/lib/plugins/logging/logging.js
rename : browser/devtools/projecteditor/lib/plugins/new/lib/new.js => browser/devtools/projecteditor/lib/plugins/new/new.js
rename : browser/devtools/projecteditor/lib/plugins/save/lib/save.js => browser/devtools/projecteditor/lib/plugins/save/save.js
rename : browser/devtools/projecteditor/lib/plugins/status-bar/lib/plugin.js => browser/devtools/projecteditor/lib/plugins/status-bar/plugin.js
2014-06-03 14:05:13 -05:00
Brian Grinstead
61a42080e8 Bug 987089 - Land ProjectEditor in browser/devtools part 1;r=paul 2014-05-21 16:38:17 -05:00
Ed Morley
ae6eaeaeb5 Backed out changeset 9d2ca972053c (bug 987089) for intermittent failures 2014-05-21 15:55:58 +01:00
Brian Grinstead
cc9c04dafe Bug 987089 - Land ProjectEditor in browser/devtools part 1;r=paul 2014-05-20 12:25:16 -05:00