Граф коммитов

195 Коммитов

Автор SHA1 Сообщение Дата
Adrian Aichner 40e9fef4d2 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Jakub Jurovych 20fd7c01af Bug 1052220 - Show traces' hit counts. r=fitzgen 2014-08-26 18:25:00 +02:00
Brian Grinstead 309ffd1748 Bug 1030347 - Enable devtools/sourceeditor tests with e10s. r=jwalker 2014-08-05 12:01:00 -04:00
Brian Grinstead efd5c340c3 Bug 1022083 - Project Editor: Add context menu in sourceeditor. r=harth 2014-07-31 08:44:00 -04:00
Nathan Froyd 542214c4df 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 1ead62e597 Bug 1039457 - Allow yelling in Scratchpad (Shift-Space). r=robcee 2014-07-16 07:11:00 +02:00
Panos Astithas b751f4e6a7 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 c0cb00234a Bug 1033853 - Do not reload files that have changed in project editor. r=harth 2014-07-07 07:45:00 +02:00
Brian Grinstead 6e75443936 Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +02:00
Brian Grinstead 82839e29d0 Bug 1029511 - Source Editor: Add ability to toggle autocomplete option. r=vporof 2014-06-30 11:23:00 +02:00
Brian Grinstead aece09b5c6 Bug 1030716 - Prevent dark theme in sourceeditor for WebIDE. r=paul 2014-06-26 06:14: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 dfd6c3f511 Bug 1024642 - Fix merge conflict from codemirror 4.2.0 upgrade r=me 2014-06-23 19:20:01 -07:00
Wes Kocher 4c297ef8c0 Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
David Burns 7c74403f7c Bug 1024642: Update devtools source editor and test to add rebeccapurple; r=jwalker 2014-06-23 10:24:17 +01:00
Brian Grinstead 7f6ce77b60 Bug 1026811 - Update to CodeMirror 4.2.0. r=robcee 2014-06-19 06:56:00 -04:00
Brian Grinstead 5ffac867f9 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 caeeab8a56 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 2f97ac1d46 Backed out changeset 40f323c3c14e -- Style-editor completion broken 2014-05-22 10:44:35 +02:00
Tim Nguyen e6aaae658c 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 c166faa06c 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 41260fcd06 Bug 1009145 - HDPI support for Debugger icons. r=bgrins 2014-05-16 15:25:00 +02:00
Patrick Brosset d0896d9770 Bug 835896 - First word in selector-search also matches classes and ids; r=harth 2014-05-16 14:06:12 +02: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
James Long b1af6c044a 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 34134aa78b Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Heather Arthur 95f743e3d6 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 38bf8096d0 Bug 988569 - Some fine tuning to suggestions showing logic. r=harth 2014-04-19 18:15:51 +05:30
Heather Arthur 7a88b6f747 Bug 993162 - Make default indent size 2 spaces. r=jwalker 2014-04-20 22:28:00 +02:00
Ryan VanderMeulen 3a8da37041 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Heather Arthur bf5e816c4d Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Ryan VanderMeulen aefae43200 Backed out changeset ab4c12c6028b (bug 988155) for xpcshell failures. 2014-04-13 16:20:33 -04:00
Heather Arthur 86a95dd8c2 Bug 988155 - Option to detect indentation in source editor. r=msucan 2014-04-13 15:23:26 -04:00
Michael Ratcliffe d0f5dae6ab Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Brian Grinstead 608c063223 Bug 985924 - Upgrade sourceeditor to CodeMirror 4.0.3; r=msucan 2014-04-04 12:44:10 -05:00
Brian Grinstead 9f150cc40f Bug 985924 - Upgrade autocomplete to support multi selection in CodeMirror 4; r=msucan 2014-04-01 09:59:00 -05:00
Mark Hammond cae334e085 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Heather Arthur 08dd9230c1 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 37d1dd9165 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 5acead2b96 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 35855ab5c6 Bug 971702 - Style editor to provide meaningful information about hovered text, r=pbrosset 2014-03-25 20:38:52 +05:30
Girish Sharma 027942980d 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 6fc30d945a 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 aba2618867 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 5771ac5ee3 Bug 663778 - Misc fixes r=pbrosset 2014-03-09 17:03:00 +00:00
Ryan VanderMeulen 4510c7d862 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 a3de7f13eb Bug 944499 - Make the css autocompletion faster, r=harth 2014-03-13 22:49:54 +05:30
Michael Ratcliffe 9d3dde5e49 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 b675040bec Bug 663778 - Misc fixes r=pbrosset 2014-03-13 15:46:37 +00:00
Joel Maher bf6a742277 Bug 981701 - disable two perma failing tests on linux debug ec2 so we can run browser chrome on ec2 machines. r=jgriffin 2014-03-11 05:22:09 -04:00