Commit Graph

187 Commits

Author SHA1 Message Date
Joe Walker
ffa9c6e99c Bug 984365 - Refactor and split out BuiltinCommands.jsm; r=mratcliffe,robcee,panos
BuiltinCommands.jsm was huge to avoid slowing things down by having many
modules loading.

To avoid splitting it up from slowing things down we want to delay loading
commands. Create [add|remove]ItemsByModule to allow us to lazily add modules,
and convert all command modules to use this.

Then break up BuiltinCommands into a set of files, for each command, and do
some refactoring to use JS files rather than JSMs and use "use strict".

--HG--
rename : browser/devtools/commandline/Commands.jsm => browser/devtools/commandline/commands-index.js
rename : browser/devtools/debugger/CmdDebugger.jsm => browser/devtools/debugger/debugger-commands.js
rename : browser/devtools/inspector/CmdInspect.jsm => browser/devtools/inspector/inspector-commands.js
rename : browser/devtools/responsivedesign/CmdResize.jsm => browser/devtools/responsivedesign/resize-commands.js
rename : browser/devtools/scratchpad/CmdScratchpad.jsm => browser/devtools/scratchpad/scratchpad-commands.js
rename : browser/devtools/styleeditor/CmdEdit.jsm => browser/devtools/styleeditor/styleeditor-commands.js
rename : browser/devtools/tilt/CmdTilt.jsm => browser/devtools/tilt/tilt-commands.js
2014-04-13 07:47:27 +01:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Heather Arthur
2531375fbc Bug 990672 - Remove query string from linked CSS file path in style editor; r=pbrosset 2014-04-01 16:44:00 +02:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Paolo Amadini
7bec978c50 Bug 943621 - Convert to Promise.jsm in style inspector and style editor. r=dcamp, r=harth 2014-01-08 10:53:16 -08:00
Phil Ringnalda
b9b8a97985 Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
555f838434 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Heather Arthur
f82d0688c8 Bug 985206 - Insert colon after completing a CSS property name in the style editor. r=jwalker f=Optimizer 2014-03-25 12:55:00 +01:00
Ehsan Akhgari
07477b55f2 Bug 965362 - Part 2: Do not assume that all of the contents of the HTTP channel will be available by the time we decide to read it synchronously in devtools tests; r=robcee 2014-03-27 11:20:16 -04:00
Girish Sharma
5dd410a56f Bug 984141 - Style editor should suggest valid CSS values without need of typing an initial character. r=harth 2014-03-17 01:58:47 +05:30
J. Ryan Stinnett
89d8430f25 Bug 971177 - Clean up Style Editor's debuggee. r=harth 2014-03-18 17:52:33 -05:00
Heather Arthur
361f46e829 Bug 711401 - prettyify CSS source even if it has spaces or newlines at the end of file; r=jwalker 2014-03-14 15:03:37 -07:00
Michael Ratcliffe
dabaac4db5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Ryan VanderMeulen
991e5c8bc3 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
39a70a90a5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Girish Sharma
a4d19fe1a8 Bug 969972 - Use platform APIs to detect the number of suggestions for CSS properties and values instead of hardcoded numbers. r=harth 2014-03-02 17:08:54 +05:30
Heather Arthur
94e25ffb8a Bug 978653 - Wait longer to fire 'style-applied' event after updating a style sheet in StyleSheetActor. r=pbrosset 2014-03-03 17:17:04 -05:00
Sayan Chowdhury
420f83ee7f Bug 974638 - Stylesheet selector should display full href of stylesheet in a tooltip. r=harth 2014-02-28 09:20:28 -05:00
Joe Walker
6fd91a613d Bug 933727 - Split gcli.jsm and use JS directly from gcli project; r=mratcliffe
* * *
Bug 933727 - Update Developer Toolbar to use promises and split out GCLI; r=mratcliffe
* * *
Bug 933727 - Update GCLI tests to use Task.spawn; r=mratcliffe
* * *
Bug 933727 - Update the Inspector to use split out GCLI; r=pbrosset
* * *
Bug 933727 - Update style editor to use split out GCLI; r=harth
* * *
Bug 933727 - Update Debugger to use split out GCLI; r=past
* * *
Bug 933727 - Update Profiler/Tilt/Scratchpad to use split out GCLI; r=valueof

--HG--
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref1.js
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref2.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli1.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli2.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion1.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion2.js
2013-09-03 12:20:27 +01: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
Heather Arthur
ac3c1e3b02 Bug 973741 - Linked CSS file path is wrong when server directory is same as file directory; r=pbrosset
--HG--
rename : browser/devtools/styleeditor/test/sourcemaps.css => browser/devtools/styleeditor/test/sourcemap-css/sourcemaps.css
rename : browser/devtools/styleeditor/test/sourcemaps.css.map => browser/devtools/styleeditor/test/sourcemap-css/sourcemaps.css.map
rename : browser/devtools/styleeditor/test/sourcemaps.scss => browser/devtools/styleeditor/test/sourcemap-sass/sourcemaps.scss
2014-02-18 13:47:26 -08:00
Girish Sharma
a58a6ffb25 Bug 971276 - Hitting enter should insert the currently selected item from an autocomplete list in the Style Editor, r=harth 2014-02-16 13:56:26 +05:30
Ryan VanderMeulen
8640d03b06 Bug 949355 - Skip browser_styleeditor_bug_740541_iframes.js on Linux and OSX due to intermittent failures. 2014-02-13 12:39:48 -05:00
Sami Jaktholm
1cb060b6ac Bug 969900 - StyleEditor: Identify inline style sheets by their page and index, not by their non-existent URIs. r=harth 2014-02-10 18:05:20 -08:00
Heather Arthur
2d6195e837 Bug 969668 - Don't show rule count of original source until it's been linked to a file. r=pbrosset 2014-02-11 09:26:02 -05:00
Heather Arthur
3964739e2f Bug 967268 - Remember location of saved style sheet across reloads. r=pbrosset 2014-02-06 10:06:47 -05:00
Heather Arthur
cf4c251429 Bug 950915 - Watch for changes to CSS files on disk for source mapped files; r=dcamp 2014-02-01 12:26:53 -08:00
Girish Sharma
c47b31b91f Bug 965158 - Up/down arrows should navigate through the autocompletion suggestions, r=harth 2014-02-01 04:59:52 +05:30
Brian Grinstead
f83d4edd10 Bug 957117 - DevTools Themes: Use light theme for top tabbar and toolbars OVERRIDE HOOK;r=vporof 2014-01-30 14:42:15 -06:00
Girish Sharma
44ed013d4a Bug 962652 - Autocomplete popup's isOpen getter is too strict, r=msucan 2014-01-28 20:42:02 +05:30
Girish Sharma
23155ec735 Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 3 - Style editor tests, r=harth, robcee 2014-01-28 20:41:22 +05:30
Girish Sharma
8bc1f3a4e7 Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 1 - No tests, r=anton, msucan, dcamp, robcee, harth 2014-01-28 20:38:41 +05:30
Anton Kovalyov
57570f0640 Bug 941725 - Add emacs and vim key bindings to source editor. r=harth r=benvie r=msucan 2014-01-15 12:04:19 -08:00
Heather Arthur
5dffe83b01 Bug 950921 - UI for flipping CSS source map pref. r=dcamp 2014-01-14 10:13:47 -05:00
Willian Gustavo Veiga
cd009bc8bd Bug 734666 - Style Editor default filename for saving. r=harth 2014-01-06 09:52:29 -05:00
Sami Jaktholm
ae75d6ba92 Bug 953184 - Do not show an error if user cancels the file chooser dialog when importing a CSS file in Devtools Style Editor. r=harth 2014-01-03 09:29:05 -05:00
Heather Arthur
d8ea087d7d Bug 949556 - Add Firefox 26-28 backwards compatibility to Style Editor. r=paul 2013-12-19 11:32:12 -05:00
Heather Arthur
b5b4861210 Bug 949678 - Rule view should show inline sheet links as 'inline:<lineno>' instead of '/:<lineno>' when source maps are enabled; r=pbrosset 2013-12-16 11:49:17 -08:00
Heather Arthur
3e54cf9eb7 Bug 948805 - Fix TypeError: this._toolbox is null: StyleEditorPanel.prototype._showError; r=pbrosset 2013-12-12 12:58:29 -08:00
Heather Arthur
1ef2e1c103 Bug 926014 - Support CSS source maps; r=dcamp
--HG--
rename : browser/devtools/styleeditor/StyleEditorPanel.jsm => browser/devtools/styleeditor/styleeditor-panel.js
2013-12-06 23:52:32 -08:00
Ryan VanderMeulen
ae7c01efb4 Merge m-c to inbound. 2013-12-06 16:13:37 -05:00
Girish Sharma
ff60b8a74e Bug 935176 - saving a style sheet doesn't remove the star, r=harth 2013-12-06 23:51:16 +05:30
Luke Wagner
5f3d5d4e14 Bug 931864 - remove the activeGCInAtomsZone limitation in JS::CanCompileOffThread (r=billm)
--HG--
extra : rebase_source : d0652c47ca940810ad32e4f34aa23a032f585479
2013-11-22 15:45:18 -06:00
Anton Kovalyov
a4a3a45e62 Bug 941018 - Add default value for col in selectStyleSheet. r=paul 2013-11-26 10:01:02 -08:00
Anton Kovalyov
e26d1575d0 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-19 15:53:13 -08:00
Wes Kocher
28b297c750 Backed out changeset 71dc115fe230 (bug 929766) for other m-bc bustage on what I'm guessing is a CLOSED TREE 2013-11-18 16:03:13 -08:00
Anton Kovalyov
5e677c0be4 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-18 14:05:07 -08:00
Gijs Kruitbosch
a498e27fa5 Bug 938162 - if it looks, swims and quacks like a duck, but doesn't end in .js, let's not call it a test, r=gps
--HG--
extra : rebase_source : 700e855b79998028d57590c445f7f4b390bd0f9d
2013-11-13 17:30:00 +01:00
Brian Grinstead
198c03bdb2 Bug 916766 - Consistent theming across panels (adding webconsole and options panel). Also prevents flicker on panels while frame is loading. r=paul, ui-r=darrin 2013-11-13 12:02:05 -06:00
Anton Kovalyov
5cf0d1402d Bug 929234 - Make CodeMirror extraKeys localizable. r=vporof 2013-11-07 14:39:31 -08:00