Commit Graph

257 Commits

Author SHA1 Message Date
Sebastian Hengst
6eb8698b63 Backed out changeset a4c47419ac3f (bug 1231434) for eslint failures (no space after generator star, backquotes instead of doublequotes used). r=backout 2016-04-10 20:13:07 +02:00
Jarda Snajdr
71704881a4 Bug 1231434 - Add 'Delete All' context menu entry to storage inspector r=mratcliffe
MozReview-Commit-ID: 4YNXmhtriRS
2016-04-09 01:45:00 +02:00
Julian Descottes
d40b2c8d17 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

--HG--
extra : rebase_source : e7c6e8a53d29b79174913c011e1ac07c39431238
2016-04-01 17:26:58 +02:00
Julian Descottes
df075f1305 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

--HG--
extra : rebase_source : 8cf7b07511b36fea9db174606f62d84720a508af
2016-04-01 17:44:39 +02:00
Carsten "Tomcat" Book
dddbd2f44f merge fx-team to mozilla-central a=merge 2016-04-06 11:59:25 +02:00
Nick Fitzgerald
c6425cbdee 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
e6645862ac Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Ryan VanderMeulen
8f64ef0960 Merge m-c to fx-team. a=merge 2016-04-04 23:37:40 -04:00
Ryan VanderMeulen
26094430c0 Merge inbound to m-c. a=merge 2016-04-04 23:34:14 -04:00
Chris Manchester
f7a1b3fb60 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
fca7582834 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

--HG--
extra : rebase_source : 568ac2a70b6b70e3df97bcb9ab2e55cc693a51b6
2016-04-04 16:26:37 +02:00
Alexandre Poirot
ab8eee675a 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
fa77abb20d 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
9b0388886d 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
7cefe9760c Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
--HG--
extra : rebase_source : d510dd4986817f8f97896d64dd377b3affcf916a
2016-04-04 03:42:00 +02:00
Ryan VanderMeulen
1bb567e688 Merge fx-team to m-c. a=merge 2016-04-02 13:34:45 -04:00
Nick Fitzgerald
9260975b8f 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
af75ceece1 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
174dee8f80 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js
--HG--
extra : rebase_source : ecb08214d01f5743a84316ae03529a9c73b4e40f
2016-04-01 15:53:12 +02:00
Alexandre Poirot
277aab4dec Bug 1259024 - Fix developer toolbox close and toolbar toggle button tooltips. r=jwalker 2016-04-01 05:49:00 -07:00
Alexandre Poirot
b681b08e4a Bug 1248603 - Register devtools menuitems dynamically. r=gijs,jryans 2016-04-01 05:49:00 -07:00
Alexandre Poirot
979ddf67e7 Bug 1248603 - Toggle developer toolbar via the menuitem in tests. r=jryans 2016-04-01 05:49:00 -07:00
Jarda Snajdr
cc61dccc0d Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
--HG--
extra : rebase_source : 9fa5cccee28309f9da368275f6cb80f684aaa39f
2016-04-01 05:11:00 +02:00
Julian Descottes
880c90cb85 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

--HG--
extra : rebase_source : 001becbe7cfde064b2163e7c2ebcc4aa82e22610
2016-03-30 22:58:41 +02:00
Julian Descottes
93a3e46f97 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

--HG--
extra : rebase_source : dcf7ba4a897cd77b43b333ec3b5633dc9043e51d
extra : source : a93558488cf7fc9f54165bd5f98055e8a3901dac
2016-03-31 00:59:16 +02:00
Nicolas Chevobbe
3976954edf 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

--HG--
extra : transplant_source : %1B%40%A24%EDW.%C5%96%C8m%3C%1F4%DA%F78%D1%26%8B
2016-03-28 21:01:32 +02:00
Michael Ratcliffe
59c75885f7 Bug 1231155 - Make localstorage entry rows editable via double-click in storage inspector r=pbro
MozReview-Commit-ID: 9SjhR1n5AYG

--HG--
extra : rebase_source : 1ca3cb5f79a3420a3d0735ca4558e1f90eeff6b2
2016-03-18 17:09:52 +00:00
Matteo Ferretti
4373495447 Bug 1139187 - Unit Test for Geometry Editor; r=pbro
MozReview-Commit-ID: 9smoBjNt1St

--HG--
extra : rebase_source : 57b0e4873193728fa25b74619b8e4a6e19138189
2016-03-17 10:59:39 -04:00
Carsten "Tomcat" Book
d614afde81 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
462e493707 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
51ea0cd87e 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
577efe7928 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
f795754b01 Bug 1168246 - part3: ES lint fixes for inplace-editor and autocomplete-popup;r=pbrosset
MozReview-Commit-ID: GbEGN3aNhxz

--HG--
extra : rebase_source : f358ef6b795fe61eebdaee10095e1ec90411ac0c
2016-03-29 16:01:48 +02:00
Julian Descottes
4206c41dfc 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

--HG--
extra : rebase_source : 3317766ae63aea83f845d3cf3d134ecf60135f67
2016-03-29 16:08:17 +02:00
Alexandre Poirot
4025088fcd 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
6dca4f1258 Bug 1260042 - fix edge case with when auto-prettifying fails in debugger r=me 2016-03-28 13:18:09 -04:00
Jordan Santell
998dbf304b 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
c123351274 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

--HG--
extra : transplant_source : %5B%E5%AD%22%D2%20uk%07%EE%A9%E4%91YS%B3R%C3%DF%21
2016-03-08 23:04:54 +01:00
Jan Odvarko
26b7a789ee Bug 1244912 - JSON Viewer: hide object summary when object is expanded; r=jryans 2016-03-22 15:36:52 +01:00
Michael Ratcliffe
d1d9e7893b Bug 1235350 - Storage Inspector needs a simplified inline editor r+pbro
MozReview-Commit-ID: DBfeUEKQNly

--HG--
extra : rebase_source : 31fba0dd2a9bbe5ca5084f1b5da81bbeb04fecdc
extra : amend_source : 4bcf6fe802bbcb9e353556d39b8790a316aefb77
2016-03-01 22:47:31 +00:00
Lin Clark
c2c3ee5659 Bug 1253784 - Add Immutable.js. r=bgrins, r=gerv, r=fitzgen 2016-03-22 10:50:00 -04:00
Wes Kocher
83be08e7e5 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Q56H3tR0mI
2016-04-05 16:39:24 -07:00
Tim Nguyen
04ae3e6295 Bug 1261430 - Update paths to eyedropper icon. r=pbro
MozReview-Commit-ID: HBsk1gzDy53

--HG--
extra : rebase_source : 7e0be66d81d1b6d9c3439a1232874f69c7699174
2016-04-02 17:58:52 +02:00
Victor Porof
b57c576149 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
6f934638aa Bug 1258309 - Pull ViewHelpers.Prefs into its own module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof
1cfbac47ef 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
a994b4a225 Bug 1258305 - Pull ViewHelpers.L10N, MultiL10N into their own module, r=jsantell 2016-03-22 10:17:20 +01:00
Victor Porof
8dd039677b 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
5a87bb375c Bug 1256757 - Use shared tree component for JSON Viewer. r=jryans 2016-03-21 13:45:06 +01:00
Jan Odvarko
298e20ef4f Bug 1256757 - Support AMD in tree modules. r=jryans 2016-03-21 13:29:17 +01:00