Commit Graph

196 Commits

Author SHA1 Message Date
Eddy Bruël
0955cedefd Bug 1123211 - Handle uncaught promise rejections in the source editor;r=pbrosset 2015-01-19 13:57:08 +01:00
Adrian Aichner
81501866d5 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Jakub Jurovych
be540a0034 Bug 1052220 - Show traces' hit counts. r=fitzgen 2014-08-26 18:25:00 +02:00
Brian Grinstead
80616f180b Bug 1030347 - Enable devtools/sourceeditor tests with e10s. r=jwalker 2014-08-05 12:01:00 -04:00
Brian Grinstead
609cdfc446 Bug 1022083 - Project Editor: Add context menu in sourceeditor. r=harth 2014-07-31 08:44:00 -04:00
Nathan Froyd
4246e6b6ea Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
J. Ryan Stinnett
a7bfe5f980 Bug 1039457 - Allow yelling in Scratchpad (Shift-Space). r=robcee 2014-07-16 07:11:00 +02:00
Panos Astithas
67d9645439 Wait a turn of the event loop if CodeMirror isn't settled by the time breakpoints are being set (bug 1016310). r=vporof
--HG--
extra : rebase_source : 652e9075f33e807a4cbd55cf3074ad910a59e8c4
2014-07-09 18:49:34 +03:00
Brian Grinstead
ce4d9f6dfb Bug 1033853 - Do not reload files that have changed in project editor. r=harth 2014-07-07 07:45:00 +02:00
Brian Grinstead
0db29c76bc Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +02:00
Brian Grinstead
fdd8936fd0 Bug 1029511 - Source Editor: Add ability to toggle autocomplete option. r=vporof 2014-06-30 11:23:00 +02:00
Brian Grinstead
51530be1b2 Bug 1030716 - Prevent dark theme in sourceeditor for WebIDE. r=paul 2014-06-26 06:14:00 +02:00
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
Wes Kocher
9fd1c39670 Bug 1024642 - Fix merge conflict from codemirror 4.2.0 upgrade r=me 2014-06-23 19:20:01 -07:00
Wes Kocher
20e8bbb46d Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
David Burns
7e406644b4 Bug 1024642: Update devtools source editor and test to add rebeccapurple; r=jwalker 2014-06-23 10:24:17 +01:00
Brian Grinstead
c07b74e91b Bug 1026811 - Update to CodeMirror 4.2.0. r=robcee 2014-06-19 06:56:00 -04:00
Brian Grinstead
7ee91e1881 Bug 1026560 - Make clicking the [docs] link in the type information popup in Scratchpad open the MDN page in a new window. r=past 2014-06-18 07:14:00 -04:00
anaran
9509a3d5bc Bug 1005471 - Scratchpad "Jump to line" should preset input value based on current selection, handle LINE:COLUMN as well;r+=bgrins
---
 browser/devtools/scratchpad/test/browser.ini       |    2 +
 .../browser_scratchpad_pprint_error_goto_line.js   |   66 ++++++++++
 .../test/browser_scratchpad_run_error_goto_line.js |   49 ++++++++
 browser/devtools/sourceeditor/editor.js            |   29 ++++-
 browser/devtools/sourceeditor/test/browser.ini     |    1 +
 .../sourceeditor/test/browser_editor_goto_line.js  |  130 ++++++++++++++++++++
 6 files changed, 276 insertions(+), 1 deletions(-)
 create mode 100644 browser/devtools/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js
 create mode 100644 browser/devtools/scratchpad/test/browser_scratchpad_run_error_goto_line.js
 create mode 100644 browser/devtools/sourceeditor/test/browser_editor_goto_line.js
2014-06-02 15:33:20 -07:00
Patrick Brosset
7299945974 Backed out changeset 40f323c3c14e -- Style-editor completion broken 2014-05-22 10:44:35 +02:00
Tim Nguyen
353c2a5e96 Bug 973691 - Make the code mirror find/go to line match the devtools theme. r=bgrins 2014-05-16 14:48:00 +02:00
Brandon Benvie
c995d1c9c5 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
Tim Nguyen
05b54d2fcc Bug 1009145 - HDPI support for Debugger icons. r=bgrins 2014-05-16 15:25:00 +02:00
Patrick Brosset
cbde0ae529 Bug 835896 - First word in selector-search also matches classes and ids; r=harth 2014-05-16 14:06:12 +02:00
James Long
d0d975c8e8 Bug 986151 - Fix line number of breakpoints when added from context menu. r=past 2014-05-15 14:51:00 +02:00
James Long
6e76e84a1e Bug 799077 - slide the breakpoint with a CSS transition when the server moves it r=past 2014-05-08 14:57:00 +02:00
Mats Palmgren
8d52eba6a5 Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Heather Arthur
77382a3d3f Bug 998718 - Indentation detection is wrong when there's a majority of outliers. r=msucan 2014-04-22 15:14:00 -04:00
Girish Sharma
53a5744ad2 Bug 988569 - Some fine tuning to suggestions showing logic. r=harth 2014-04-19 18:15:51 +05:30
Heather Arthur
b6f37f1c1c Bug 993162 - Make default indent size 2 spaces. r=jwalker 2014-04-20 22:28:00 +02:00
Ryan VanderMeulen
5ccec8d240 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Heather Arthur
73c671ef77 Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Ryan VanderMeulen
f381de4a75 Backed out changeset ab4c12c6028b (bug 988155) for xpcshell failures. 2014-04-13 16:20:33 -04:00
Heather Arthur
1b533dd97b Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Brian Grinstead
270ee4d10a Bug 985924 - Upgrade sourceeditor to CodeMirror 4.0.3; r=msucan 2014-04-04 12:44:10 -05:00
Brian Grinstead
717685c6c2 Bug 985924 - Upgrade autocomplete to support multi selection in CodeMirror 4; r=msucan 2014-04-01 09:59:00 -05:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Heather Arthur
f82d0688c8 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
07477b55f2 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
Mihai Sucan
d1c4c2a448 Bug 981707 - Allow the codemirror test harness to report PASS/FAIL messages to the Mozilla test harness. r=harth 2014-03-24 23:06:22 +02:00
Girish Sharma
2c5f9e34c3 Bug 971702 - Style editor to provide meaningful information about hovered text, r=pbrosset 2014-03-25 20:38:52 +05:30
Girish Sharma
cbbee25e7e Bug 984141 - Style editor should suggest valid CSS values without need of typing an initial character - exception fix. r=harth 2014-03-20 11:45:42 +05:30
Girish Sharma
5dd410a56f 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
Michael Ratcliffe
dabaac4db5 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
f07e0a7b5b Bug 663778 - Misc fixes r=pbrosset 2014-03-09 17:03:00 +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
Girish Sharma
f1aea88da3 Bug 944499 - Make the css autocompletion faster, r=harth 2014-03-13 22:49:54 +05:30
Michael Ratcliffe
39a70a90a5 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
cb5ca97c1a Bug 663778 - Misc fixes r=pbrosset 2014-03-13 15:46:37 +00:00