Commit graph

121 commits

Author SHA1 Message Date
Jakub Jurovych
c0f928e334 Bug 949762 - Tracer should respect black boxing. r=fitzgen 2014-08-14 18:02:00 -04:00
Panos Astithas
c9f4e1f365 Black box sources before deciding whether to stage them for later addition (bug 1038117). r=fitzgen
--HG--
extra : rebase_source : dfedcab97b91ae75c9ef5c63d4e1489a49576330
2014-07-14 18:30:28 +03:00
Panos Astithas
084b9ac791 Replace mouseenter/leave events with mouseover/out in devtools for performance (bug 971203). r=vporof,pbrosset
--HG--
extra : rebase_source : 99ec789ca1314d0781c622ad3c1d96451aba3ae7
2014-07-09 17:47:53 +03:00
Piyush Waradpande
896b61ae2b Bug 967156 - Adding class 'black-boxed' to blackboxed source after reload. r=fitzgen 2014-07-08 10:41:00 +02:00
Jim Blandy
7e20285e70 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
Wes Kocher
2dd3993d4d Bug 991797 - convert most of the debugger frontend to use Task.jsm and fix discovered async errors r=victorporof 2014-05-20 15:55:39 -07:00
James Long
45bdf8d8e1 Bug 986151 - Fix line number of breakpoints when added from context menu. r=past 2014-05-15 14:51:00 +02:00
Victor Porof
51817819e7 Bug 1008395 - Fix failing tests caused by unintended stringification in the test suite, r=me 2014-05-10 13:20:50 -04:00
Victor Porof
96d48e8508 Bug 1008356 - The close button on watch expressions acts weirdly, r=bgrins 2014-05-09 16:19:58 -04:00
Victor Porof
2f98ee95fe Bug 1006589 - (relanded) Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-08 22:14:42 -04:00
Carsten "Tomcat" Book
dffe3e8f99 Backed out changeset df8bf3b71adb (bug 1006589) for frequent dt1 test failures 2014-05-08 09:26:29 +02:00
Victor Porof
b301ea39a3 Bug 1006589 - Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-07 09:38:17 -04:00
Victor Porof
26c43cf1ec Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals. r=past 2014-04-02 19:38:07 -04:00
James Long
b122e38819 Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Wes Kocher
83eb7ca9eb Backed out changeset a17657a71b01 (bug 991376) for pushing tests around, causing chunked browser-chrome bustage on a CLOSED TREE 2014-04-03 15:15:26 -07:00
Victor Porof
23f74dd497 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals, r=past 2014-04-03 11:22:23 -04:00
Dave Townsend
20fd1dc8f4 Bug 986755: Add-on debugger should use the XPI hierarchy to group sources. r=fitzgen, r=ochameau 2014-03-31 10:19:15 -07:00
Dave Townsend
4004c9cf44 Bug 986838: Add-on SDK modules should be listed after the add-on's own modules. r=fitzgen 2014-03-27 11:35:14 -07:00
Jordan Santell
f68560eb18 Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop
From 8af4148dc10f18bf67e39442ee93169cb66382d5 Mon Sep 17 00:00:00 2001
---
 browser/devtools/debugger/debugger-controller.js   |  36 ++++++-
 browser/devtools/debugger/debugger-panes.js        |  17 +++-
 browser/devtools/debugger/test/browser.ini         |   1 +
 .../debugger/test/browser_dbg_addon-sources.js     | 108 ++++++++++++++++++++
 browser/devtools/debugger/test/head.js             |  29 ++++++
 browser/devtools/framework/ToolboxProcess.jsm      |  31 ++++--
 .../devtools/framework/toolbox-process-window.js   |  18 +++-
 modules/libpref/src/init/all.js                    |   3 +
 .../en-US/chrome/mozapps/extensions/extensions.dtd |   1 +
 toolkit/mozapps/extensions/content/extensions.js   |  55 +++++++---
 toolkit/mozapps/extensions/content/extensions.xml  |  31 +++++-
 toolkit/mozapps/extensions/content/extensions.xul  |   6 ++
 .../mozapps/extensions/internal/XPIProvider.jsm    |   4 +
 .../extensions/internal/XPIProviderUtils.js        |   2 +-
 .../test/addons/test_jetpack/bootstrap.js          |  17 ++++
 .../test/addons/test_jetpack/harness-options.json  |   1 +
 .../test/addons/test_jetpack/install.rdf           |  28 ++++++
 .../extensions/test/browser/browser-common.ini     |   1 +
 .../test/browser/browser_debug_button.js           | 112 +++++++++++++++++++++
 toolkit/mozapps/extensions/test/browser/head.js    |   3 +
 .../extensions/test/xpcshell/test_isDebuggable.js  |  36 +++++++
 .../extensions/test/xpcshell/xpcshell-shared.ini   |   1 +
 22 files changed, 508 insertions(+), 33 deletions(-)
 create mode 100644 browser/devtools/debugger/test/browser_dbg_addon-sources.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/bootstrap.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/harness-options.json
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/install.rdf
 create mode 100644 toolkit/mozapps/extensions/test/browser/browser_debug_button.js
 create mode 100644 toolkit/mozapps/extensions/test/xpcshell/test_isDebuggable.js
* * *
Leak fix
2014-03-25 10:59:14 -07:00
Wes Kocher
07ded123a5 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
ed2d5dceb4 Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Hubert B Manilla
209fe04e0b Bug 962857 - Fix for debugger mistakenly detecting .jsm files are minified. r=fitzgen 2014-03-17 10:43:19 -04:00
Robin Ricard
cba22ff58c Bug 965172 - Variables view hover popup appears while selecting text. r=fitzgen
Prevent the popup from appearing while selecting text.
If the mouse button is released, the popup can get back.
Added a new test case for this new behavior.
2014-03-11 08:07:11 -04:00
Masayuki Nakano
a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
kushagra singh
7ce44de3c1 Bug 962070 - Tooltips for sources contain the group URL instead of the file URL, r=vporof 2014-02-04 13:04:38 +02:00
Patrick Brosset
5770862b2c Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01:00
Lalit Khattar
6f8202e976 Bug 944640 - Add a "Watch" button on the new inspect popup. r=vporof 2014-01-31 13:01:27 -05:00
Victor Porof
2893f02600 Bug 965171 - Opening a variables view popup will change the scroll position in the editor if a watch expression is present, r=past 2014-01-30 12:46:09 +02:00
Victor Porof
75ef547788 Bug 960237 - Re-enable browser_dbg_break-on-dom-05.js, r=past 2014-01-16 12:36:53 +02:00
Alexey Novak
5b84bba4dc Bug 957634: Changed Tooltip's setTextContent function signature. Now Tooltip can contain a warning image 32x32 when isAlertTooltip passed = true; r=vp 2014-01-14 08:59:43 +02:00
Victor Porof
20a6488d93 Bug 957187 - The variable inspection popup never appears in the right place on Linux and Windows, r=past 2014-01-08 16:59:00 +02:00
Victor Porof
909cfa3c82 Bug 943883 - DevTools themes - theme sidemenuwidget, r=bgrins, australis
--HG--
rename : browser/themes/osx/devtools/itemArrow-ltr.png => browser/themes/shared/devtools/images/itemArrow-ltr.png
rename : browser/themes/osx/devtools/itemArrow-rtl.png => browser/themes/shared/devtools/images/itemArrow-rtl.png
2014-01-07 11:58:07 +02:00
Anton Kovalyov
e2f90e7cc1 Bug 956943 - Replace Editor.extendSelection with CM version. r=vporof 2014-01-07 13:01:38 -08:00
Victor Porof
e798ebf10c Bug 951795 - Use WidgetMethod's empty text attribute instead of a deck in the tracer, r=fitzgen 2014-01-07 11:57:00 +02:00
J. Ryan Stinnett
9c79fc34ba Bug 947710 - Stop evaling and catch errors in Manifest Editor. r=vporof 2014-01-06 11:14:21 -06:00
Victor Porof
323427d634 Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +02:00
Hubert B Manilla
4e53556018 Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen 2013-12-24 15:32:55 +01:00
Nick Fitzgerald
d1c69daf69 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Victor Porof
f6dea06b20 Bug 948893 - Hovering certain bounds in a HTML source while paused in the debugger can sometimes incorrectly show a variable inspection popup, r=past 2013-12-13 22:28:04 +02:00
Victor Porof
42ceb02f64 Bug 815280 - Add a enable/disable all breakpoints button to the sources toolbar, r=rcampbell
--HG--
rename : browser/themes/linux/devtools/blackBoxMessageEye.png => browser/themes/linux/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/osx/devtools/blackBoxMessageEye.png => browser/themes/osx/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/windows/devtools/blackBoxMessageEye.png => browser/themes/windows/devtools/debugger-blackboxMessageEye.png
2013-12-11 14:34:53 +02:00
Victor Porof
3fcd815819 Bug 895143 - Sources view groups should show the domain, r=past 2013-12-06 18:34:30 +02:00
Victor Porof
952b20eb2d Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Brian Grinstead
4640bca5cc Bug 862558 - Web Console should always be available / visible;r=msucan 2013-11-11 15:13:28 -06:00
Boris Zbarsky
ee9a11f753 Bug 937462. Eliminate all uses of cloneNode() and importNode() without the boolean "deep" arg that are not explicitly testing the behavior of that case from the tree, since the semantics of it will change. r=sicking 2013-11-17 00:10:18 -05:00
Nick Fitzgerald
bd716a307b Bug 935788 - Fix Pretty Print button when attempting to prettify non-js files; r=vporof 2013-11-12 10:38:38 -08:00
Brandon Benvie
13f2bac5e1 Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-11-07 13:23:55 -08:00
Wes Kocher
19f53ae65d Backed out changeset 7dd13d06f132 (bug 862849) for breaking webconsole tests 2013-11-06 15:13:53 -08:00
Brandon Benvie
81d9362690 Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-10-17 16:05:14 -07:00
Victor Porof
b2084655d3 Bug 929888 - Remove the editor context menu listeners from the debugger, r=anton 2013-10-24 11:48:42 +03:00
Nick Alexander
fdab1bd848 Backed out changeset 69ebfb936442 (bug 862849) for bc orange on a CLOSED TREE.
--HG--
extra : amend_source : 0fbcba6a47f79369df9628f3ca1aa2ebf02a6efa
2013-10-23 13:19:58 -07:00