Jim Blandy
39dc0c6097
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
dbc18851c5
Bug 1023116 - Always briefly highlight nodes upon selection in the markup-view; r=bgrins
2014-06-23 17:20:01 +02:00
Patrick Brosset
cdddd71c0e
Bug 1025880 - Avoid highlighting the default selection when the page is reloaded or when the inspector is opened; r=miker
2014-06-17 13:50:41 +02:00
Vikneshwar
ee78456672
Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen
2014-06-14 06:49:00 -04:00
Brian Grinstead
b17b5b16bc
Bug 1022780 - Cmd+H triggers 'hide markup', should only be triggered by H. r=pbrosset
2014-06-16 07:43:00 -04:00
Patrick Brosset
fc2789b39a
Bug 1014547 - Add a css transform highlighter to the style-inspector; r=bgrins
2014-06-13 16:27:10 +02:00
Patrick Brosset
a4af3f527d
Bug 911209 - Display hidden nodes differently in the markup-view; r=miker
2014-06-05 14:50:03 +02:00
Carsten "Tomcat" Book
142bb9685d
Backed out changeset 52068b669c2a (bug 911209) for causing type errors in tests
2014-06-05 08:55:26 +02:00
Patrick Brosset
8dd574e20e
Bug 911209 - Display hidden nodes differently in the markup-view; r=miker
2014-06-04 21:42:16 +02:00
Tim Nguyen
042aa8ec30
Bug 1015627 - Inspector markup preview doesn't match devtools theme. r=bgrins
2014-05-29 08:34:00 -04:00
vikneshwar
083e2b177a
Bug 970962 - Use the default cursor in the markup-view. r=pbrosset
2014-05-12 13:56:00 -04:00
Paolo Amadini
6d99e32a9f
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
Patrick Brosset
9f6a07f76e
Bug 997622 - Expand all descendant nodes on alt-click in markup-view; r=jwalker
2014-04-17 23:39:29 +02:00
Ryan VanderMeulen
66b14f4f7d
Bug 996003 - Various devtools test manifest cleanups. r=miker
2014-04-15 08:03:53 -04:00
Michael Ratcliffe
c40013a7b0
Bug 988102 - Opening inspector scrolls the content page all the way to the top;r=bgrins
2014-04-14 15:33:06 +01:00
Michael Ratcliffe
4cc10271fe
Bug 983948 - Add mach mochitest-devtools r=jmaher
2014-03-25 16:52:53 +00:00
Mark Hammond
d5b24aae08
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Alexandre Poirot
6789687497
Bug 977043 - Prevent markupview from breaking selection. r=jwalker
2014-03-22 09:02:14 +01:00
Patrick Brosset
4376c7b288
Bug 968727 - Move common test runner parts in external helper files; r=bgrins
2014-03-26 14:38:06 +01:00
Girish Sharma
be586cad0f
Bug 912189 - Show CSS value autocomplete without waiting for first character, r=mratcliffe
2014-03-25 20:43:44 +05:30
Patrick Brosset
09c22d7ab5
Bug 968727 - Split the markupview bc attribute edition test; r=bgrins
2014-03-25 09:55:18 +01:00
Patrick Brosset
ab5751701e
Bug 968727 - Split browser_inspector_markup_add_attributes.js to avoid timeouts;r=bgrins
2014-03-25 09:55:15 +01:00
Patrick Brosset
d4547da672
Bug 968727 - Renaming all markupview tests to be more consistent; r=bgrins
2014-03-25 09:55:12 +01:00
Patrick Brosset
c53788f1c6
Bug 968727 - Split browser/devtools/markupview/test/browser_inspector_markup_edit_outerhtml.js to avoid timeouts; r=bgrins
2014-03-25 09:55:09 +01:00
Patrick Brosset
634b6c5c6f
Bug 968727 - Cleans up all markupview tests for consistency and to reduce file sizes; r=bgrins
2014-03-25 09:55:05 +01:00
Joel Maher
f97d2907cb
Bug 970240 - Disable browser_inspector_markup_edit_outerhtml.js on Linux debug. r=bgrins
2014-03-20 09:33:15 -04:00
Patrick Brosset
081d371e54
Bug 966424 - Intermittent browser_bug765105_background_image_tooltip.js; r=jwalker
2014-03-19 10:11:34 +01:00
Brandon Benvie
4520a9d6f2
Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell
2014-03-17 11:11:00 -07:00
Ehsan Akhgari
852493c148
Bug 983955 - Increase the timeout in browser_inspector_markup_add_attributes.js; r=robcee
2014-03-16 19:26:10 -04:00
Michael Ratcliffe
6a28402ad5
Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker
2014-03-13 21:27:10 +00:00
Michael Ratcliffe
2b3238df82
Bug 663778 - Changes to tests for box model highlighter r=jwalker
2014-03-12 14:01:31 +00:00
Michael Ratcliffe
39262d68b8
Bug 663778 - Tests: Charsets to utf-8 r=jwalker
2014-03-12 14:00:13 +00:00
Michael Ratcliffe
07faa00a6b
Bug 663778 - Box Model Highlighter r=jwalker
2014-03-13 21:36:48 +00:00
Michael Ratcliffe
2e943c9d37
Bug 663778 - Misc fixes r=pbrosset
2014-03-09 17:03:00 +00:00
Ryan VanderMeulen
c633e65783
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
f4a47052ae
Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker
2014-03-13 15:38:37 +00:00
Michael Ratcliffe
c925e482b5
Bug 663778 - Changes to tests for box model highlighter r=jwalker
2014-03-12 14:01:31 +00:00
Michael Ratcliffe
296bf82072
Bug 663778 - Tests: Charsets to utf-8 r=jwalker
2014-03-12 14:00:13 +00:00
Michael Ratcliffe
d4a5d856cd
Bug 663778 - Box Model Highlighter r=jwalker
2014-03-13 13:54:02 +00:00
Michael Ratcliffe
2b2ceb04c1
Bug 663778 - Misc fixes r=pbrosset
2014-03-13 15:46:37 +00:00
Ryan VanderMeulen
d9d81fe991
Backed out changeset 20e22a0b38f6 (bug 966424) for mochitest-bc failures.
2014-03-12 15:23:21 -04:00
Patrick Brosset
b56aa70574
Bug 966424 - Fix intermittent failures in browser_bug765105_background_image_tooltip.js. r=jwalker
2014-03-12 13:14:18 -04:00
Michael Ratcliffe
243d53b35a
Bug 974056 - Add logging of devtools event emitter emit calls r=harth
2014-03-06 09:37:59 +00:00
J. Ryan Stinnett
26967f4282
Bug 976679 - Move event-emitter to toolkit. r=paul
2014-02-25 22:22:05 -06:00
Patrick Brosset
f2f2876836
Bug 962647 - Nodes searched in the inspector selector-search box now appear correctly in the markup-view; r=harth
2014-02-25 16:33:57 +01:00
Patrick Brosset
9eee10d6f0
Bug 904953 - Splits browser_inspector_markup_edit.js into 5 to avoid long running test, r=jwalker
2014-02-12 16:23:43 +01:00
Robert O'Callahan
1e8853db1f
Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam
2014-02-05 23:23:08 +13:00
Patrick Brosset
7847887339
Bug 968316 - Keep the highlighter visible when selecting the currently hovered node in the markup-view, r=bgrins
2014-02-06 19:45:40 +01:00
Patrick Brosset
4e80a68183
Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert
2014-02-05 11:53:46 +01:00
Carsten "Tomcat" Book
3112df3f5d
Backed out changeset 18d70a3136f5 (bug 932896) for mochitest-other bustage on a CLOSED TREE
2014-02-05 11:36:02 +01:00