Commit graph

91 commits

Author SHA1 Message Date
Nick Fitzgerald
9a070e807e Bug 1032379 - Automatically black box sources whose URL ends with '.min.js'. r=past 2014-07-03 09:44:00 -04: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
Brian Grinstead
3faeb6a2ed Bug 1018955: Get rid of pause/resume button flicker when setting breakpoint;r=fitzgen 2014-06-09 08:04:18 -05: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
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
Eddy Bruel
2baf4e8ddf Bug 859372 - Refactor script.js; r=past 2014-04-29 17:52:44 +02: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
Victor Porof
982be5ff5e Bug 963932 - Refactor the output emitted by Parser.jsm to avoid too much useless nesting, r=past 2014-01-28 12:18:20 +02:00
Victor Porof
30b1cd7943 Bug 963919 - When triggering file filtering via a keyboard shortcut, don't automatically fill the searchbox with the identifier under the caret position, r=past
--HG--
rename : browser/devtools/debugger/test/browser_dbg_search-function.js => browser/devtools/debugger/test/browser_dbg_search-autofill-identifier.js
2014-01-28 12:16:49 +02:00
Mahdi Dibaiee
e68cb73878 Bug 911916 - Search set to identifier under cursor if no text selected. r=vp 2014-01-23 09:39:59 -05: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
Alexey Novak
81ef53dfec Bug 947143 - Replaced debugger resumption order panel with an easier to maintain Tooltip.js instance; r=vporof 2014-01-09 10:11:54 +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
Victor Porof
b51f9b38ae Bug 885294 - Immediate script selection from debugger search box is really janky and loses selection if you don't find anything, r=past 2014-01-08 10:48:32 +02: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
Panos Astithas
025d9c3084 Forbid out of order resumption when two tabs with the same URL are paused (bug 947830); r=fitzgen
Also consider stepping actions as a form of resumption and require the same resumption order when multiple tabs are paused.
2013-12-09 22:09:15 +02:00
Victor Porof
1d9cc46801 Bug 905981 - Have a classic vertical display of stack frames persistently available in the debugger UI, r=rcampbell 2013-12-06 18:33:59 +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
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
Girish Sharma
50d57eec1b Bug 919978 - Make StyleEditor use CodeMirror, r=anton, msucan 2013-10-24 10:31:02 +05:30
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
Brandon Benvie
100a83a95a Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-10-18 12:28:40 -07:00
Anton Kovalyov
de1f0214e6 Bug 919709 - Make Debugger use CodeMirror. r=vporof 2013-10-22 13:53:53 -07:00
Gijs Kruitbosch
e6ac0c23b0 Bug 927605 - invert the cloverleaf flag, r=vporof 2013-10-22 14:00:51 +02:00
Gijs Kruitbosch
4c839f02ad Bug 927605 - refactor keyboard shortcut code in devtools into a JSM, r=Unfocused,vporof
--HG--
rename : browser/devtools/shared/helpers.js => toolkit/modules/ShortcutUtils.jsm
2013-10-20 22:50:37 +02:00
Jacob Clark
529f4b172f Bug 928315 - Adding functionlity to allow Shift+Enter to search backwards in the debugger, r=vporof 2013-10-20 17:50:20 +03:00
Panos Astithas
e3ea41978b Bug 810966 - Display closed over variables in the variables view for functions that are not stack frames; r=vporof,msucan 2013-09-25 19:03:17 +03:00
Victor Porof
de963c97eb Bug 876633 - Explanation panel for findbox in debugger breaks textbox double/triple-click behaviours, r=rcampbell
--HG--
rename : browser/devtools/debugger/test/browser_dbg_searchbox-help-popup.js => browser/devtools/debugger/test/browser_dbg_searchbox-help-popup-01.js
2013-09-13 16:23:19 +03:00
Victor Porof
2ce3425857 Bug 876277 - Convert the debugger frontend to use the EventEmitter instead of relying on DOM events, r=past 2013-09-13 16:23:14 +03:00
Victor Porof
7324c03364 Bug 894311 - Finding a string with ':' breaks scripts list, r=rcampbell 2013-09-13 16:23:14 +03:00
Victor Porof
162afceb98 Bug 881219 - When filtering sources, hiding items in the sources list is redundant, r=rcampbell 2013-09-13 16:23:14 +03:00
Victor Porof
ac0dad28bd Bug 891439 - Standardize the sheduleSearch/performSearch methods, r=past 2013-09-13 16:23:13 +03:00
Victor Porof
a425d642c6 Bug 886848 - Cleanup, fix other typos, rename a few variables for consistency, r=past 2013-09-13 16:23:13 +03:00
Victor Porof
d647e74fa5 Bug 886848 - Convert the editor to rely more on Promises, r=past 2013-09-13 16:23:13 +03:00
Jonathan Fuentes
f5bd1fe55c Bug 897050 - Prefer displayName instead of name; r=fitzgen 2013-09-12 09:54:56 -07:00
Ryan VanderMeulen
6f1f0691b8 Merge fx-team to m-c. 2013-09-09 16:30:03 -04:00
Eddy Bruel
12a0c9f3f6 Bug 906963 - Add a "ignore caught exceptions" checkbox to the UI; r=dcamp 2013-09-09 19:02:41 +02:00
Paul Rouget
5cadbe6f71 Bug 897960 - walker should support mozbrowser iframes. Patch C. r=dcamp 2013-09-08 11:01:00 +02:00
Blair McBride
0f878f8353 Backout 86b5d8778fc4,fab07b9d6dee,89a059433037,bbb54cde82c3 (bug 897960) due to orange 2013-09-09 12:45:31 +12:00
Paul Rouget
ec85d47fa1 Bug 897960 - walker should support mozbrowser iframes. r=dcamp 2013-09-08 11:01:00 +02:00
Nick Fitzgerald
ff11656502 Fix bug 892286 - Cmd+L / Ctrl+L should be go to line. r=robcee 2013-08-01 10:55:39 +02:00
Nick Fitzgerald
e101617e6e Bug 877686 - Add UI to toggle the blackboxing of specific sources; r=vporof 2013-07-23 10:15:10 -07:00
Sumedh Shekhar
1165b6c3f5 Bug 873298 - Change "Filter scripts" string to "Search scripts" in debugger; r=harth 2013-07-19 13:47:23 -07:00
Nick Fitzgerald
5bc4dbb546 backout bug 877686 b/c of unknown spidermonkey bug causing permaorange 2013-07-19 13:13:35 -07:00
Nick Fitzgerald
324ff6d89d Bug 877686 - Add UI to toggle the blackboxing of specific sources; r=vporof 2013-07-18 01:40:43 -07:00
Nick Fitzgerald
e6fa57d691 Backed out changeset 960aa3700c37 2013-07-18 00:52:54 -07:00
Nick Fitzgerald
f413c3c72f Bug 877686 - Add UI to toggle the blackboxing of specific sources; r=vporof 2013-07-17 23:04:13 -07:00