Commit Graph

28 Commits

Author SHA1 Message Date
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
Patrick Brosset
a1a0bf1ec7 Bug 997198 - Create a standalone reflow actor; r=bgrins 2014-05-12 16:51:06 +02:00
Mr Speaker
6691266d01 bug 986471 - rotate long labels in box model; r=pbrosset 2014-04-24 13:52:30 +02:00
Paolo Amadini
5b838a54f7 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
Dave Townsend
8a8218ed2e Bug 850336: Devtools box model should be editable. r=pbrosset 2014-04-03 17:37:26 -07:00
Phil Ringnalda
b7af2182ea Back out 81dd398600c4 (bug 850336) for linux bc2 leaks-until-shutdown 2014-04-02 23:17:37 -07:00
Dave Townsend
2baffaeb73 Bug 850336: Devtools box model should be editable. r=pbrosset 2014-04-02 17:44:59 -07:00
Michael Ratcliffe
f972f9add8 Bug 663778 - Changes to layout view for box model highlighter r=pbrosset 2014-03-08 18:10:44 +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
7a91b21d8b Bug 663778 - Changes to layout view for box model highlighter r=pbrosset 2014-03-08 18:10:44 +00:00
Kay Plößer
dfe7e46d5f Bug 960734 - Remove inline script / style in browser/devtools/layoutview/view.xhtml. r=bgrins 2014-01-21 11:48:04 -05:00
Patrick Brosset
cb863d2cfe Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Chris Peterson
c5937fbed4 Bug 955890 - Part 1: Fix DevTools JS warnings about some code paths not returning a value. r=rcampbell 2013-12-31 19:28:42 -08:00
Paul Rouget
cf896c5332 Bug 939840 - Show position in layout view. r=miker 2013-11-19 09:16:03 -05:00
Paul Rouget
800f547acf Bug 897960 - walker should support mozbrowser iframes. Patch C. r=dcamp 2013-09-08 11:01:00 +02:00
Blair McBride
8aaa8abb80 Backout 86b5d8778fc4,fab07b9d6dee,89a059433037,bbb54cde82c3 (bug 897960) due to orange 2013-09-09 12:45:31 +12:00
Paul Rouget
cb61d43e44 Bug 897960 - walker should support mozbrowser iframes. r=dcamp 2013-09-08 11:01:00 +02:00
Paul Rouget
f107217df7 Bug 912915 - Implement a simple generic highlighter. r=jwalker 2013-09-07 11:39:50 +02:00
Dave Camp
dd015256b9 Bug 910241 - Port the layout view to the remote protocol. r=mratcliffe
--HG--
extra : rebase_source : 5204fd2e6a67d9ba6799b103d21c88f901b29597
2013-08-12 07:43:19 -07:00
Paul Rouget
328328c661 Bug 898918 - many files have wrong mode-lines in comments. r=robcee 2013-08-01 10:53:31 +02:00
Dave Camp
ad2e2a8ed8 Bug 867485: Move the devtools loader into toolkit/ r=jwalker 2013-05-01 09:27:24 -07:00
Dave Camp
bf8e5ab9a8 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00
Dave Camp
f4486d5b7a Backed out changeset 9117c7ad29d5 for MaxHeap regression. 2013-04-28 14:42:23 -07:00
Dave Camp
001f607134 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00
Paul Rouget
74ab902709 Bug 697983 - Implement a Font Inspector. r=jwalker 2013-03-07 05:57:00 +01:00
Girish Sharma
4fc99a370d Bug 766526 - [layout view] update the node dimension (not the whole view) when node is unlocked, r=paul 2013-01-17 19:56:15 +05:30
Girish Sharma
d854bc12fa Bug 817558 - [inspector] When the selection is deleted, we should select the parent, and make sure the breadcrumbs are updated, r=paul 2012-12-18 02:28:40 +05:30
Joe Walker
09b9a02b6b Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00