Commit Graph

23 Commits

Author SHA1 Message Date
Alexandre Poirot
e7c00f406b Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
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
Eddy Bruel
ab4d9fcd80 Bug 1003095 - Convert DevToolsExtensions.jsm into an SDK module;r=past;r=ZER0 2014-05-22 16:20:41 +02:00
Dave Townsend
832c3d2cac Bug 993029: Create an add-on console actor that will be displayed in the console tab of the add-on debugger. r=msucan, r=Unfocused, r=past 2014-05-01 08:36:01 -07:00
Nick Fitzgerald
58bd7bca59 Bug 991904 - Create a way to load devtools modules lazily. r=dcamp 2014-04-25 11:23:00 -04:00
Ryan VanderMeulen
b4f08e51ba Backed out changeset 7f3e428b4a5d (bug 991904) for xpcshell failures.
CLOSED TREE
2014-04-25 14:08:12 -04:00
Nick Fitzgerald
75d519dc2f Bug 991904 - Create a way to load devtools modules lazily. r=dcamp 2014-04-24 13:47:00 -04:00
Paolo Amadini
60d8bb5bf9 Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
Masatoshi Kimura
c26e2262b8 Bug 988122 - Followup: fix bogus constification code. r=bz 2014-03-31 23:54:00 +09:00
Masatoshi Kimura
62ca863526 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Erik Vold
e9338e3b08 Bug 964545 Add-on SDK page-mods are now debuggable r=dcamp 2014-01-27 23:21:31 -08:00
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
Brandon Benvie
809c0be907 Bug 974065 - Add test file missing from previous push. r=me 2014-02-19 14:15:06 -08:00
Brandon Benvie
96ce8f9d59 Bug 974065 - Add async function helpers to devtools. r=fitzgen, r=robcee 2014-02-19 14:08:36 -08:00
Gregory Szorc
5f7ff500d3 Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Victor Porof
e051fa92a9 Bug 964700 - Fix test_safeErrorString.js xpcshell test, r=me 2014-01-28 18:25:25 +02:00
Alexey Novak
c305fe69cb Bug 956804 - Use DevToolsUtils.reportException in Parser.jsm; r=fitzgen 2014-01-23 09:55:16 -08:00
J. Ryan Stinnett
afee1e9f19 Bug 946813 - Part 3: Use independent loaders, mark them invisible. r=past 2014-01-10 23:37:09 -06:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
J. Ryan Stinnett
15dd89a0e8 Bug 929159 - Add output-parser to SrcdirProvider and test mapping. r=jwalker 2013-10-21 16:17:12 -05:00
Brandon Benvie
96d2bb49cb Bug 926725 - Create DevToolsUtils.defineLazyPrototypeGetter and use it in VariablesView Scopes. r=fitzgen, r=vp 2013-10-15 09:49:15 -07:00
Nick Fitzgerald
236796514f Bug 908913 - integrate escodegen with devtools; r=robcee,gps,dcamp 2013-09-01 15:46:16 -07:00
Nick Fitzgerald
48c51d5197 Bug 906795 - safeErrorString should include a stack; r=vporof 2013-08-20 11:15:11 -07:00