Commit Graph
255 Commits
Author SHA1 Message Date
Julian Descottes ec481775ce Bug 1261317 - part2: prevent autocomplete on arrow keys in multiline editor;r=pbro
Check if the CSS inplace editor is currently using several lines
to display its value. When using several lines, prevent increment,
decrement and autocomplete features.

The autocomplete can still be triggered by typing a value at the end
of the input (or before a space). When the autocomplete popup is
opened, UP/DOWN still allow to cycle through the suggestions.

MozReview-Commit-ID: DapCdhjx444
2016-04-01 17:26:58 +02:00
Julian Descottes d84d990348 Bug 1261317 - part1: inplace-editor: small refactor of keypress event handler;r=pbro
Refactor the keypress event handler to make it easier to read.

MozReview-Commit-ID: 4yvlg7GIYMK
2016-04-01 17:44:39 +02:00
Carsten "Tomcat" Book ead4761061 merge fx-team to mozilla-central a=merge 2016-04-06 11:59:25 +02:00
Nick Fitzgerald e5d0396cf8 Bug 1221384 - Scroll the Tree component when focusing new items with the arrow keys; r=jsantell 2016-04-04 16:54:00 +02:00
Alexandre Poirot 1dd77421e8 Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Ryan VanderMeulen 8442c3a904 Merge m-c to fx-team. a=merge 2016-04-04 23:37:40 -04:00
Ryan VanderMeulen 2e86998705 Merge inbound to m-c. a=merge 2016-04-04 23:34:14 -04:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Julian Descottes c02a0587ed Bug 1261827 - inplace-editor: copyTextStyles should not copy line-height property;r=pbro
Only text styles should be copied between the replaced element and the input.
Other styles are still copied between the input and the measurement element.

MozReview-Commit-ID: 7YSWtjLgH2z
2016-04-04 16:26:37 +02:00
Alexandre Poirot abe66debde Bug 1259398 - Make devtools file-watcher module more generic to watch any directory. r=jlongster 2016-04-04 11:51:38 -07:00
Jarda Snajdr b1b44c88b0 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
MozReview-Commit-ID: AWgZDbQ22ec
2016-04-04 07:56:00 +02:00
Carsten "Tomcat" Book ff3448cf25 Backed out changeset 43360777775c (bug 1231437) for test failures in browser_misused_characters_in_strings.js 2016-04-04 16:07:03 +02:00
Jarda Snajdr bce6cf2141 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe 2016-04-04 03:42:00 +02:00
Ryan VanderMeulen 23766819a5 Merge fx-team to m-c. a=merge 2016-04-02 13:34:45 -04:00
Nick Fitzgerald d363f7a815 Bug 1261505 - Use consistent syntax for prototype methods; r=jsantell
All the other methods use the style

  {
    myMethod() { ... }
  }

while these two methods use

  {
    myMethod: function () { ... }
  }

For consistency, we should use the common style here.

MozReview-Commit-ID: 5rg8uPoULyN
2016-04-01 19:03:47 -07:00
Nick Fitzgerald cb3f11daf8 Bug 1258172 - Use C-style for loops instead of for/of to cut down on the number of CCWs when using the Tree component. r=jimb 2016-03-23 14:54:00 -04:00
Carsten "Tomcat" Book 666db7fba1 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 15:53:12 +02:00
Alexandre Poirot 5ea233e1b7 Bug 1259024 - Fix developer toolbox close and toolbar toggle button tooltips. r=jwalker 2016-04-01 05:49:00 -07:00
Alexandre Poirot 433e5b03a7 Bug 1248603 - Register devtools menuitems dynamically. r=gijs,jryans 2016-04-01 05:49:00 -07:00
Alexandre Poirot 3cb9d3b3a1 Bug 1248603 - Toggle developer toolbar via the menuitem in tests. r=jryans 2016-04-01 05:49:00 -07:00
Jarda Snajdr 692e11ad40 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe 2016-04-01 05:11:00 +02:00
Julian Descottes d674a11fd0 Bug 1143742 - part3: multiline inplace-editor autocomplete behavior;r=gl
The default inplace-editor autocomplete behavior is not userfriendly
when combined with a multiline inplace-editor. Navigating up/down might
trigger an autocomplete suggestion.

Also, the autocomplete popup is not displayed at the correct position and
should take the multiline into account.

MozReview-Commit-ID: JTiCQ3HK5bn
2016-03-30 22:58:41 +02:00
Julian Descottes 2b8ac3a5ab Bug 1143742 - part2: multiline inplace-editor should support a maxWidth option;r=gl
The inplaceEditor now supports a maxWidth configuration option which can either
be a number or a method returning a number. This maxWidth will be applied to the
hidden element used in order to autosize the input.

MozReview-Commit-ID: JTiCQ3HK5bn
2016-03-31 00:59:16 +02:00
Nicolas Chevobbe add0813306 Bug 1259559 - Units cycling with shift+click persists value in Style editor. r=miker
Add an 'unit-change' event fired when shift+click on color and angle swatches.
Add a listener on this event in text-property-editor.js to call the same function
that's called when tooltip edit is commited to persist the new unit.
Edit some tests to adapt to this new behaviour and create some tests to make sure
the value obtained via shift+click are actually persisted.

MozReview-Commit-ID: CcF4oiBPEzT
2016-03-28 21:01:32 +02:00
Michael Ratcliffe 313cba9b25 Bug 1231155 - Make localstorage entry rows editable via double-click in storage inspector r=pbro
MozReview-Commit-ID: 9SjhR1n5AYG
2016-03-18 17:09:52 +00:00
Matteo Ferretti 8ac6f4c29d Bug 1139187 - Unit Test for Geometry Editor; r=pbro
MozReview-Commit-ID: 9smoBjNt1St
2016-03-17 10:59:39 -04:00
Carsten "Tomcat" Book b325937094 Backed out changeset 66f61a656571 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 09:27:58 +02:00
Jarda Snajdr 6067b5f8a2 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe a=kwierso
MozReview-Commit-ID: ETmjp8jjQ6z
2016-03-31 16:14:15 -07:00
Jan Odvarko b45550fc24 Bug 1211525 - HTTP log inspection in the Console panel; r=jlongster,helenvholmes,bgrins,linclark a=kwierso
MozReview-Commit-ID: AA1xxjJtCPQ
2016-02-12 18:25:09 +01:00
Jarda Snajdr 8faf50394c Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Julian Descottes d1898ddbbc Bug 1168246 - part3: ES lint fixes for inplace-editor and autocomplete-popup;r=pbrosset
MozReview-Commit-ID: GbEGN3aNhxz
2016-03-29 16:01:48 +02:00
Julian Descottes 9ea3cfba5a Bug 1168246 - part1: CSS autocomplete picks most popular prop;r=pbrosset
Based on the original patch from danemacmillan.

* suggestion-picker.js
Add a new shared util to find the most popular css property in an array.
The list of popular css properties is extracted from chrome devtools code.
* autocomplete-popup.js
Can specify selected item index when opening the popup or setting items.
* inplace-editor.js
Use the suggestion-picker to select a default property.


MozReview-Commit-ID: JuWZzbBSBqX
2016-03-29 16:08:17 +02:00
Alexandre Poirot 1328a61232 Bug 1257178 - Prevent "this._input is undefined" exception when developer toolbar is hidden early. r=jwalker 2016-03-29 06:28:17 -07:00
James Long 95e1a004ff Bug 1260042 - fix edge case with when auto-prettifying fails in debugger r=me 2016-03-28 13:18:09 -04:00
Jordan Santell fa32b7dee4 Bug 1259241 - Update demangling library to 1.0.1 to fix a memory leak. r=fitzgen 2016-03-23 14:48:00 -04:00
Nicolas Chevobbe b4e805d826 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G
2016-03-08 23:04:54 +01:00
Jan Odvarko bcfe4d866e Bug 1244912 - JSON Viewer: hide object summary when object is expanded; r=jryans 2016-03-22 15:36:52 +01:00
Michael Ratcliffe 94ec6a80bf Bug 1235350 - Storage Inspector needs a simplified inline editor r+pbro
MozReview-Commit-ID: DBfeUEKQNly
2016-03-01 22:47:31 +00:00
Lin Clark 1b2851ed08 Bug 1253784 - Add Immutable.js. r=bgrins, r=gerv, r=fitzgen 2016-03-22 10:50:00 -04:00
Wes Kocher 681e2059a4 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Q56H3tR0mI
2016-04-05 16:39:24 -07:00
Tim Nguyen 5c78be0db2 Bug 1261430 - Update paths to eyedropper icon. r=pbro
MozReview-Commit-ID: HBsk1gzDy53
2016-04-02 17:58:52 +02:00
Victor Porof b84ba78eb0 Bug 1258309 - Update all occurences of ViewHelpers.Prefs to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof 3bae365b14 Bug 1258309 - Pull ViewHelpers.Prefs into its own module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof bfccfa9153 Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof e86f8dc84d Bug 1258305 - Pull ViewHelpers.L10N, MultiL10N into their own module, r=jsantell 2016-03-22 10:17:20 +01:00
Victor Porof fc6cf42589 Bug 1258302 - Create a categories module instead of placing everything in global.js, r=jsantell 2016-03-22 10:17:20 +01:00
Jan Odvarko f2ae5eac29 Bug 1256757 - Use shared tree component for JSON Viewer. r=jryans 2016-03-21 13:45:06 +01:00
Jan Odvarko d52fd70786 Bug 1256757 - Support AMD in tree modules. r=jryans 2016-03-21 13:29:17 +01:00
Jordan Santell 09ed775207 Bug 1255529 - Make all of a location (source, line, column) clickable/linkable to another tool in the frame component. r=fitzgen,bgrins 2016-03-17 22:23:13 -07:00
Victor Porof 385429598e Bug 1245886 - Refactor performance tests, r=jsantell 2016-03-16 09:39:39 +01:00