Commit Graph

223 Commits

Author SHA1 Message Date
Heather Arthur
f727ad78df Bug 1033082 - Display exact line numbers for rules in @media sidebar. r=bgrins 2014-07-17 00:59:00 -04:00
Joe Walker
0dcf5d505b Bug 1023891 - Remove hardcoding of "en-US in csscoverage.dtd; r=harth 2014-07-10 14:37:22 +01:00
Joe Walker
4c6d020e84 Bug 1034181 - Rename UsageReportActor to CSSUsageActor; r=harth 2014-07-10 14:37:17 +01:00
Brian Grinstead
dec17fd1bf Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +02:00
Heather Arthur
4093679746 Bug 1031351 - Don't prettify CSS source if it has more than one line per rule. r=jwalker 2014-06-30 18:13:00 +02:00
Brian Grinstead
75de2d7a2a Bug 1029511 - Source Editor: Add ability to toggle autocomplete option. r=vporof 2014-06-30 11:23:00 +02:00
Jim Blandy
b6b202b6bb 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
28d0cc6330 Bug 1025057 - DevTools themes: thin toolbar button follow up - part 2;r=harth 2014-06-20 06:52:48 -05:00
Heather Arthur
9ed5adf486 Bug 1025693 - Resize all sidebars r=bgrins 2014-06-19 15:03:41 -07:00
Heather Arthur
8f256e8b72 Bug 1025521 - Only update @media rule list once per update. r=bgrins 2014-06-15 16:30:00 +02:00
Joe Walker
3a6b476d47 Bug 1014223 - Use unique identifier for <style> elements; r=harth 2014-06-17 09:12:16 +01:00
Vikneshwar
880745a0e3 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Brian Grinstead
05c013ceaa Bug 942292 - DevTools themes - make the toolbars thinner. r=vporof
CLOSED TREE
2014-06-13 09:11:32 -05:00
Ed Morley
12846bb9fa Backed out changeset 9fd9c035a76a (bug 942292) for making browser_canvas-frontend-slider-02.js fail 30-40% of the time 2014-06-13 18:45:27 +01:00
Brian Grinstead
8b0f429a75 Bug 942292 - DevTools themes - make the toolbars thinner;r=vporof 2014-06-13 09:11:32 -05:00
Brian Grinstead
ac8c54d736 Bug 1023666 - Condition text labels in @media sidebar should wrap. r=harth 2014-06-11 18:10:00 -04:00
Brian Grinstead
a1757b27eb Bug 1022084 - Project Editor: turn on auto completion for JS & CSS files;r=harth 2014-06-11 13:14:56 -07:00
Heather Arthur
83a02236c4 Bug 1021202 - Turn @media sidebar on by default; r=bgrins 2014-06-11 13:14:52 -07:00
Joe Walker
f9d16c16c0 Bug 1016330 - (Part 1) Make CSS Coverage work with B2G; r=paul
https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c3
> prettifyCSS needs to be used client side or moved at the toolkit level.
Done

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c4
> Move the call to makeRemote to DeveloperToolbar.jsm
Not done. See https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c6

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c5
> We need to test first there's a cssusage actor.
> A toolbox might be debugging gecko < 32.
Done

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c2
> Kill reference to this._tabActor.browser. This might create issues
> with sub documents ("load" is sent to browser even for inner documents.
> It's not the case with tabActor.window).
Future work.
2014-06-08 22:33:36 +01:00
Heather Arthur
075baf2ad1 Bug 1017248 - Show @media sidebar for original sources in style editor; r=bgrins 2014-06-05 23:02:23 -07:00
Heather Arthur
a222b4e1f5 Bug 1016528 - Add settings menu to style editor tool. r=pbrosset 2014-06-03 11:47:00 +02:00
Patrick Brosset
1f88915cbd Bug 1007021 - The ReflowActor observes iframes and works after page navigations; r=bgrins r=ochameau 2014-06-03 09:51:55 +02:00
Joe Walker
9ce14abd49 Bug 1016820 - rename csscoverage.noMatch to reflect new content; r=pbrosset 2014-05-28 14:15:04 +01:00
Joe Walker
ec651982f2 Bug 1013887 - Fix typos in css coverage report; r=pbrosset 2014-05-27 12:07:04 +01:00
Joe Walker
c76cd19389 Bug 1013887 - Make CSS coverage should look nicer; r=harth 2014-05-26 19:57:58 +01:00
Joe Walker
b1a055e834 Bug 1013909 - Make CSS Coverage smarter in its handling of compressed style sheets; r=harth 2014-05-26 19:57:58 +01:00
Heather Arthur
aa3b72ed1d Bug 1012806 - Add @media rules sidebar to style editor; r=jwalker 2014-05-26 13:52:24 -04:00
Joe Walker
24ba3e649e Bug 975522 - Add CSS coverage commands; r=harth 2014-05-22 11:04:47 +01:00
Brandon Benvie
093a12bbf4 Bug 968896 - Add tern support to source editor to provide autocompletion and type inference. r=vp, r=anton, r=fitzgen 2014-04-16 13:49:28 -07:00
Heather Arthur
b594bb7321 Bug 1006231 - Get original source content for a stylesheet from source map's 'sourcesContent'. r=fitzgen 2014-05-08 15:25:00 +02:00
Honza Bambas
f58519de04 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
Honza Bambas
80c232b29e Backing out bug 916052 (2557b51a47a0) for build bustage on linux/osx, r=bustage on CLOSED TREE 2014-04-30 13:05:43 +02:00
Honza Bambas
3463b9921d Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-04-30 12:39:18 +02:00
Nicholas Nethercote
4cfd24151e Bug 996448 - Lazify the loading of PluralForm.jsm everywhere. r=mak.
--HG--
extra : rebase_source : 371f4ed436bbdb864edcb593f55bad325d98cfca
2014-04-22 20:19:12 -07:00
Ryan VanderMeulen
a173d38497 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Paolo Amadini
82d33517df Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker 2014-04-14 14:15:43 +01:00
Joe Walker
c7aa2eafde 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
9955c9a298 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Heather Arthur
806627b9f1 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
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Paolo Amadini
94c1952773 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
d969de5efb 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
d2d06f28f8 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Heather Arthur
62954612c2 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
af6b166a2e 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
9cf92058a2 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
5f694292cd Bug 971177 - Clean up Style Editor's debuggee. r=harth 2014-03-18 17:52:33 -05:00
Heather Arthur
9ec9ea4af4 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
f01991e767 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
02e033058e 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