Commit Graph

44 Commits

Author SHA1 Message Date
Jason Laster
9ea4297882 Bug 1331654 - Bump Debugger. r=jdescottes
* Add update tools
* Bump with the latest changes

MozReview-Commit-ID: 65Ca3SbMQ2e
2017-01-19 22:24:32 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Ricky Chien
1495ce88bb Bug 1328498 - Sourceeditor appendTo HTML element supports r=Honza
MozReview-Commit-ID: 1gdhH8PdIuc
2017-01-04 11:52:26 +08:00
Gabriel Luong
a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Tom Tromey
c5e4df9459 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT
2016-11-14 15:46:19 -07:00
Julian Descottes
d57c72ad2c Bug 1320053 - set height 100% on .CodeMirror element;r=gl
MozReview-Commit-ID: IKmRGwiOjwu
2016-11-25 18:36:57 +01:00
Tom Tromey
1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Sebastian Hengst
b9d6035428 No bug - Fix Eslint warnings which showed up after merge. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: 17TDsBMCsUx
2016-10-07 16:21:44 +02:00
Fred Lin
18a4169423 Bug 1292592 - Convert sourceeditor to use key shortcuts module;r=ochameau
MozReview-Commit-ID: 2hFtanHPuyr
2016-09-23 15:12:17 +08:00
Fred Lin
0ccb58765c Bug 1292592 - isolate xul dependency in sourceeditor and theme-switching;r=bgrins
MozReview-Commit-ID: 95ylSC8MpwM
2016-09-20 14:20:46 +08:00
James Long
41f3ba4149 Bug 1301788 - Use context menu from correct window in source editor. r=bgrins 2016-09-12 15:25:00 -04:00
Brian Grinstead
c5a99b06f2 Bug 1301790 - Bundle codemirror into a single script;r=gl
MozReview-Commit-ID: FnK8reRI4Ve
2016-09-11 09:38:51 -07:00
James Long
1e17d3a0cd Bug 1295213 - expose Codemirror instance and allow direct embedding in devtools r=bgrins,gl 2016-09-08 10:42:43 -04:00
Greg Tatum
88c911b2cd Bug 1289425 - Allow sourceeditor to fallback to client-side css properties; r=tromey
MozReview-Commit-ID: Khak8Av1v67
2016-08-12 15:01:42 -05:00
Greg Tatum
d852cb3bc9 Bug 1289425 - Remove domUtils from source editor and autocomplete; r=tromey
MozReview-Commit-ID: HIhUkuKOsjg
2016-08-05 11:44:23 -05:00
Julian Descottes
7d53843ae1 Bug 1295608 - Migrate devtools/client/sourceeditor to use l10n.js instead of Services.string;r=tromey
MozReview-Commit-ID: I18ZDOievUZ
2016-08-25 17:20:26 +02:00
Sebastian Hengst
012a14263d Backed out changeset 69d2ac816444 (bug 1295608) 2016-08-25 14:19:58 +02:00
Julian Descottes
3ea33c376e Bug 1295608 - Migrate devtools/client/sourceeditor to use l10n.js instead of Services.string;r=tromey
MozReview-Commit-ID: B6mL8NTDuJC
2016-08-24 16:41:18 +02:00
Tom Tromey
42e05a9fc5 Bug 1292591 - use reject-some-requires eslint rule in sourceeditor; r=gregtatum
MozReview-Commit-ID: LdPU8bdSGd5
2016-08-05 09:09:27 -06:00
Yury Delendik
33fbc9c2d7 Bug 1280471 - Turn on highlight for WebAssembly text format. r=jlongster
MozReview-Commit-ID: GIeIqr3m8WX
2016-06-16 16:02:49 +01:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
L. David Baron
38d7232f8e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Brian Grinstead
4858dc6ab8 Bug 1254025 - Force the CodeMirror editor to always use a textarea. r=jdescottes
By default it switches to a contentEditable when a custom UA is applied, which
causes errors when trying to insert a controller.

MozReview-Commit-ID: AdRUpO3NHNF
2016-04-26 07:00:53 -07:00
Jason Laster
a41be798c3 Bug 1233927 - Switching between large JS files in debugger is slow. r=jlong
Changes the way that source files are loaded in the editor. Previously,
source text and mode were set on the existing editor document.

Now, source files are their own CodeMirror Documents, so when it comes time
to showing them in the editor, it's just a matter of swapping one
document for another.

Notes:
+ The DebuggerView now has a _setEditorDocument method for showing a
source document
+ The Editor now has support for creating documents and replacing
documents.

MozReview-Commit-ID: HrkiHrsJPOB
2016-03-28 13:12:28 -07:00
Jason Laster
c0fc818edd Bug 900763 - "edit conditional breakpoint". r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-23 07:22:00 +01:00
Ryan VanderMeulen
ade5762ae1 Backed out changeset 0714a2e98d5e (bug 900763) for suspicion of causing widespread devtools leaks on a CLOSED TREE. 2016-03-22 23:46:38 -04:00
Jason Laster
1bc036f52e Bug 900763 - Change "add conditional breakpoint" menu option to "edit conditional breakpoint" when one already exists. r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-18 11:22:00 -04:00
Alexandre Poirot
bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
J. Ryan Stinnett
ef08892a71 Bug 1250398 - Disable APZ for source editors. r=gl
MozReview-Commit-ID: JmUuoobDr7y
2016-02-25 17:25:08 -06:00
Brian Grinstead
03b245db06 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Gabriel Luong
e5b1dd480d Bug 1206463 - Eslint cleanup for source editor r=mratcliffe 2015-12-25 15:57:20 -05:00
Alexandre Poirot
67466b7507 Bug 1232290 - Package codemirror with the same layout than in source tree. r=jlongster 2015-12-17 04:34:21 -08:00
J. Ryan Stinnett
1aca2c542b Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
J. Ryan Stinnett
4e51063c4a Bug 1207976 - Remove /themes from DevTools URLs. r=ochameau 2015-11-04 12:04:20 -06:00
J. Ryan Stinnett
065eecc2f3 Bug 1196047 - Move indentation.js to devtools/shared. r=bgrins 2015-10-09 18:26:05 -05:00
Gabriel Luong
907da3eb1e Bug 1132557 - Part 2: Apply fixes for CodeMirror 5.7.0 upgrade r=bgrins
* * *
Bug 1132557 - Part 3: Apply CodeMirror customization for search.js r=bgrins
* * *
Bug 1132557 - Part 8: Editor config option should be updated r=bgrins
* * *
Bug 1132557 - Part 9: Editor should emit a cursorActivity on setCursor r=bgrins
* * *
Bug 1132557 - Part 10: Make Debugger breadrumbs keyboard access test by refocusing the stack frame r=bgrins
* * *
Bug 1132557 - Part 11: Scratchpad should use capture on the paste event r=bgrins
* * *
Bug 1132557 - Part 12: Stylesheet Editor should always batch up updates r=bgrins
2015-09-28 14:55:51 -07:00
J. Ryan Stinnett
cc48864b1a Bug 912121 - Package DevTools client themes in devtools.jar. rs=devtools
Break DevTools theme files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/skin/devtools/<X>

to

chrome://devtools/skin/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:04:31 -05:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett
2df2dd8be3 Bug 912121 - Package DevTools client content in devtools.jar. rs=devtools
Break DevTools content files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/content/devtools/<X>

to

chrome://devtools/content/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:02:37 -05:00
J. Ryan Stinnett
a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00