Commit Graph

198 Commits

Author SHA1 Message Date
J. Ryan Stinnett
536db71c2e Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins, a=lsblakk 2015-02-25 19:23:06 -06:00
Christoph Kerschbaumer
c140a90bb3 Bug 1115193 - Make JS callers of ios.newChannel call ios.newChannel2 in browser/devtools - tests (r=vporof) 2015-02-10 20:49:06 -08:00
Eddy Bruël
f21bfe1a6b Bug 1123211 - Handle uncaught promise rejections in the source editor;r=pbrosset 2015-01-19 13:57:08 +01:00
Adrian Aichner
484bc426c5 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Jakub Jurovych
497f5add2e Bug 1052220 - Show traces' hit counts. r=fitzgen 2014-08-26 18:25:00 +02:00
Brian Grinstead
546420b396 Bug 1030347 - Enable devtools/sourceeditor tests with e10s. r=jwalker 2014-08-05 12:01:00 -04:00
Brian Grinstead
23bca18ed6 Bug 1022083 - Project Editor: Add context menu in sourceeditor. r=harth 2014-07-31 08:44:00 -04:00
Nathan Froyd
cedbc07ce0 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
2385f67a74 Bug 1039457 - Allow yelling in Scratchpad (Shift-Space). r=robcee 2014-07-16 07:11:00 +02:00
Panos Astithas
25b8256a4d Wait a turn of the event loop if CodeMirror isn't settled by the time breakpoints are being set (bug 1016310). r=vporof 2014-07-09 18:49:34 +03:00
Brian Grinstead
051b454364 Bug 1033853 - Do not reload files that have changed in project editor. r=harth 2014-07-07 07:45:00 +02:00
Brian Grinstead
3a52fe6376 Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +02:00
Brian Grinstead
8e71722388 Bug 1029511 - Source Editor: Add ability to toggle autocomplete option. r=vporof 2014-06-30 11:23:00 +02:00
Brian Grinstead
9702b67154 Bug 1030716 - Prevent dark theme in sourceeditor for WebIDE. r=paul 2014-06-26 06:14:00 +02:00
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
Wes Kocher
84ceceaf32 Bug 1024642 - Fix merge conflict from codemirror 4.2.0 upgrade r=me 2014-06-23 19:20:01 -07:00
Wes Kocher
fc8bba4344 Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
David Burns
459d0aecb9 Bug 1024642: Update devtools source editor and test to add rebeccapurple; r=jwalker 2014-06-23 10:24:17 +01:00
Brian Grinstead
5049e63f1a Bug 1026811 - Update to CodeMirror 4.2.0. r=robcee 2014-06-19 06:56:00 -04:00
Brian Grinstead
cd00e0323f 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
a548c13c5a 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
b9614aa4af Backed out changeset 40f323c3c14e -- Style-editor completion broken 2014-05-22 10:44:35 +02:00
Tim Nguyen
f94550174c 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
9d4bb9f734 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
3cb595aa9b Bug 1009145 - HDPI support for Debugger icons. r=bgrins 2014-05-16 15:25:00 +02:00
Patrick Brosset
d3ad7dcf73 Bug 835896 - First word in selector-search also matches classes and ids; r=harth 2014-05-16 14:06:12 +02:00
James Long
99b4194c7f Bug 986151 - Fix line number of breakpoints when added from context menu. r=past 2014-05-15 14:51:00 +02:00
James Long
203bdc87e1 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
dd2837ea9a Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Heather Arthur
fc7af7e895 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
e4c02ed865 Bug 988569 - Some fine tuning to suggestions showing logic. r=harth 2014-04-19 18:15:51 +05:30
Heather Arthur
bd94ec80b0 Bug 993162 - Make default indent size 2 spaces. r=jwalker 2014-04-20 22:28:00 +02:00
Ryan VanderMeulen
66b14f4f7d Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Heather Arthur
ed3a913796 Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Ryan VanderMeulen
e1d2899606 Backed out changeset ab4c12c6028b (bug 988155) for xpcshell failures. 2014-04-13 16:20:33 -04:00
Heather Arthur
b8466ed389 Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Michael Ratcliffe
4cc10271fe Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Brian Grinstead
5c85a9086f Bug 985924 - Upgrade sourceeditor to CodeMirror 4.0.3; r=msucan 2014-04-04 12:44:10 -05:00
Brian Grinstead
46731cdd18 Bug 985924 - Upgrade autocomplete to support multi selection in CodeMirror 4; r=msucan 2014-04-01 09:59:00 -05:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Heather Arthur
d4012ced0e 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
87aed6494d 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
7d8b45bff6 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
f9669b958e Bug 971702 - Style editor to provide meaningful information about hovered text, r=pbrosset 2014-03-25 20:38:52 +05:30
Girish Sharma
6e11ba62c3 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
4ab55b42a0 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
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
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
Girish Sharma
5f7c5ad0f0 Bug 944499 - Make the css autocompletion faster, r=harth 2014-03-13 22:49:54 +05:30