Commit Graph
79 Commits
Author SHA1 Message Date
Patrick Brosset 8c1b03880b Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
MozReview-Commit-ID: 75Yq1X4YjjJ
2016-05-23 14:03:12 +02: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
Eddy Bruel 45cf19584e Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel 0ea1ecb6b6 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00
Sebastian Hengst 5973518cc6 Backed out changeset 92b07e6e84bf (bug 1265722) for failing test_animation_actor-lifetime.html because of undefined function InspectorFront. r=backout 2016-05-17 13:50:21 +02:00
Eddy Bruel e79d4fc43a Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02: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
L. David Baron 50ddd15ed9 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
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

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
James Long ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Markus Stange b65aa1ac3a Bug 550426 - Update test to expect the new background-position-x/-y properties.
MozReview-Commit-ID: 5pceyVeF15N
2016-04-29 18:02:34 -04: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
Gabriel Luong 319324c9a0 Bug 1266267 - Upgrade to CodeMirror 5.14.2 r=bgrins 2016-04-26 11:44:18 -04:00
Gabriel Luong 3ca7b20411 Bug 1265816 - Upgrade to CodeMirror 5.13.2 r=bgrins 2016-04-20 12:21:28 -04:00
Tobias Schneider e4023911c5 Bug 1209273 - Part 3: Make CSS autocompletion tests pass. r=gl 2016-04-01 22:37:49 -07:00
Carsten "Tomcat" Book bad595f5b3 Backed out changeset 90312ff603de (bug 1209273) 2016-04-01 11:57:54 +02:00
Tobias Schneider 44f8f78694 Bug 1209273 - Part 3 - Make CSS autocompletion tests pass. r=dbaron 2016-03-31 14:23:00 +02:00
Jason Laster 06c212fc2b Bug 1260116 - Replace String.prototype.contains with String.prototype.includes. r=jlong 2016-03-28 06:07:00 +02: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
Gabriel Luong 60a14f4f0f Bug 1258793 - Upgrade to CodeMirror 5.13.0 r=bgrins 2016-03-23 12:41:06 -04: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
James Long fee0f49570 Bug 1245030 - simplify breakpoint colors in debugger to reduce visual clutter r=hholmes 2016-03-21 16:40:21 -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
Gabriel Luong dc61f931aa Bug 1250383 - Upgrade to CodeMirror 5.12.0 r=vporof 2016-02-23 10:10:10 -05: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
Tim Nguyen c76feaac84 Bug 762979 - Implement conditional breakpoint gutter style. r=jlongster 2016-01-29 23:42:27 -05:00
Tim Nguyen d038bab028 Bug 762979 - Implement shorlander's line gutter mockup for the source editor. r=vporof, bgrins 2016-01-29 23:42:09 -05:00
Gabriel Luong ca3e8e9d12 Bug 1242309 - Upgrade to CodeMirror 5.11.0 r=bgrins 2016-01-25 14:46:22 -05:00
Christoph Kerschbaumer ae5ac6d6ea Bug 1232786 - Convert JS tests to use open2 within devtools/ (r=sicking) 2016-01-13 19:35:41 -08:00
Ehsan Akhgari bc05edc5b5 Bug 1225625 - Increase the timeout of browser_vimemacs.js 2015-12-31 17:25:31 -05:00
Gabriel Luong e5b1dd480d Bug 1206463 - Eslint cleanup for source editor r=mratcliffe 2015-12-25 15:57:20 -05:00
Gabriel Luong d7751249b0 Bug 1234374 - Part 6: Update CodeMirror README for version 5.10.0 r=bgrins 2015-12-22 16:08:07 -05:00
Gabriel Luong 7beb2e3ffb Bug 1234374 - Part 5: Upgrade existing CodeMirror tests to 5.10.0 r=bgrins 2015-12-22 16:08:05 -05:00
Gabriel Luong 8ca3e5d904 Bug 1234374 - Part 4: Upgrade CodeMirror mode to 5.10.0 r=bgrins 2015-12-22 16:08:02 -05:00
Gabriel Luong 2b5aa96cb4 Bug 1234374 - Part 3: Upgrade to CodeMirror 5.10.0 r=bgrins 2015-12-22 16:08:00 -05:00
Gabriel Luong b37279de68 Bug 1234374 - Part 2: Upgrade existing CodeMirror keymap to 5.10.0 r=bgrins 2015-12-22 16:07:55 -05:00
Gabriel Luong a288128fad Bug 1234374 - Part 1: Upgrade existing addons to CodeMirror 5.10.0 r=bgrins 2015-12-22 16:07:53 -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
Brian Grinstead 92b4e84928 Bug 1226810 - Modifications to tern after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00
Brian Grinstead d741c438b4 Bug 1226810 - Upgrade tern to 0.16;r=fitzgen 2015-12-16 10:15:23 -08:00
Gabriel Luong 1553d28279 Bug 1231362 - Part 7: Update CodeMirror README for version 5.9.0 r=bgrins 2015-12-09 11:30:00 -08:00
Gabriel Luong 877058ea96 Bug 1231362 - Part 6: Apply CodeMirror customization for search.js r=bgrins 2015-12-09 11:30:00 -08:00
Gabriel Luong fb185e6ab2 Bug 1231362 - Part 5: Upgrade existing CodeMirror tests to 5.9.0 r=bgrins 2015-12-09 11:29:00 -08:00
Gabriel Luong 51115ffb61 Bug 1231362 - Part 4: Upgrade CodeMirror mode to 5.9.0 r=bgrins 2015-12-09 11:28:00 -08:00
Gabriel Luong 9d346c66d6 Bug 1231362 - Part 3: Upgrade to CodeMirror 5.9.0 r=bgrins 2015-12-09 11:28:00 -08:00
Gabriel Luong 5b9199fd36 Bug 1231362 - Part 2: Upgrade existing CodeMirror keymap to 5.9.0 r=bgrins 2015-12-09 11:27:00 -08:00
Gabriel Luong 393b36c8af Bug 1231362 - Part 1: Upgrade existing addons to CodeMirror 5.9.0 r=bgrins 2015-12-09 11:26:00 -08:00
James Long d94fbef9bd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00