Commit Graph
427 Commits
Author SHA1 Message Date
Jan Odvarko 356f7a209f Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02:00
Jan Odvarko 6ea3357c5d Bug 1282463 - Reps: ensure that grip arrays work even when a provider is not provided; r=linclark 2016-07-01 12:48:30 +02:00
Lin Clark 1e80ca5894 Bug 1264688 - [rep tests] Add tests for number rep. r=Honza 2016-06-30 08:52:00 +02:00
Michael Ratcliffe 331b9f218b Bug 1244584 - Make GCLI tooltip hide after the first run experience r=jwalker 2016-07-01 12:30:00 +01:00
Jarda Snajdr ae22ed9e38 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Jarda Snajdr a4c4cfd327 Bug 1281732 - Part 1: React components for displaying stack traces and frames r=linclark 2016-06-24 09:10:00 +02:00
J. Ryan Stinnett 0973646fb5 Bug 1283599 - Repair DevTools file watcher. r=tromey
MozReview-Commit-ID: IRLxJ4ZJ5ti
2016-06-30 16:07:23 -05:00
Lin Clark 3c76bd39fb Bug 1264687 - [rep tests] Add tests for null rep. r=Honza 2016-06-30 05:10:00 +02:00
djmdev 6c8fcce8db Bug 1283072 - replaced png icon reference with svg icon reference in image url of .remove-button; r=jdescottes 2016-06-29 23:33:01 +05:30
Lin Clark 971f1eb61e Bug 1264691 - [rep tests] Add tests for object-with-text rep. r=Honza 2016-06-21 16:19:50 -04:00
Alexandre Poirot f7db7561a5 Bug 1283186 - Only print error instead of throwing when a key shortcut is invalid. r=bgrins 2016-06-30 01:29:56 -07:00
Greg Tatum 69cf238eaf Bug 1261477 - Make values of long watch expressions visible r=jlongster 2016-06-20 08:47:00 +02:00
Carsten "Tomcat" Book 76665aa092 Merge mozilla-central to fx-team 2016-06-29 16:21:46 +02:00
Carsten "Tomcat" Book 8241d40b49 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Lin Clark 06f963a3e9 Bug 1264683 - [rep tests] Add tests for function rep. r=Honza 2016-06-29 07:07:00 +02:00
Philipp Kewisch [:Fallen] 8d97f56ad8 Bug 1279833 - Make less use of gBrowser and content tabs in devtools. r=jwalker 2016-06-28 11:07:09 +02:00
Philipp Kewisch 8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Benoit Chabod 515f31c74d Bug 1275559 - Handle asynchronous loading and errors for device list, r=jryans 2016-06-28 05:33:00 +02:00
Jan Odvarko b9672787ab Bug 1281489 - Fix Grip rep long mode. r=linclark 2016-06-27 13:49:49 +02:00
Julian Descottes 9d649d3159 Bug 1266456 - part6: HTMLTooltip show() now accepts x,y offsets;r=bgrins
The autocomplete popup is displayed relatively to an anchor, but will be
shifted on the x-axis in order to be aligned with the word being completed.

To support this, the HTMLTooltip show() method now accepts x and y offsets.

MozReview-Commit-ID: 1cR3XFPdcVy
2016-06-20 21:07:08 +02:00
Julian Descottes a7428b281b Bug 1266456 - part5: HTMLTooltip setContent() support "auto" width parameter;r=bgrins
The autocomplete popup defines its width by finding the longest label
to display and then applying a "width:Xch" to its content, where X is
the length of the longest label + 3.

In order to support this, the HTMLTooltip setContent() methods allows to
use width: "auto" (which also becomes the default value). In this case,
the HTMLTooltip show() method will automatically compute the preferred
width for the tooltip. It will first calculate the tooltip height, then
measure the width of the tooltip for this computed height and use it as
the preferred width.

MozReview-Commit-ID: KDxZNB3KDdR
2016-06-23 17:30:50 +02:00
Julian Descottes f6f57e0f12 Bug 1266456 - part4: HTMLTooltip support XUL docs using page instead of window;r=ochameau
Some test documents are using a <page> object instead of a <window> object.
When inserting the tooltip container  inside of the document, the HTMLTooltip
will now insert the container in the documentElement

MozReview-Commit-ID: F57vP2lfvrg
2016-06-22 19:44:59 +02:00
Julian Descottes d83fbffb78 Bug 1266456 - part3: HTMLTooltip show() clear timeout to avoid window leaks;r=jsnajdr
When calling HTMLTooltip::show() consecutively, we were leaking a window object.
The timeout responsible for attaching the click event on window is now cleared
before attaching a new one.

MozReview-Commit-ID: 3ccIHM2QNlp
2016-06-24 16:47:01 +02:00
Julian Descottes df9144d00a Bug 1266456 - part2: HTMLTooltip setContent() use object as 2nd arg;r=jsnajdr
setContent expects 3 arguments: content, width, height. Height is already optional
but for the autocomplete migration, the width will also become optional.

Using an object argument for width and height makes this easier.

MozReview-Commit-ID: 9CiMG0BdLOR
2016-06-23 17:27:32 +02:00
Julian Descottes 92e734731d Bug 1266456 - part1: HTMLTooltip cleanup test & jsdoc for synchronous setContent;r=jsnajdr
MozReview-Commit-ID: Ia3aRmwFawP
2016-06-22 15:18:21 +02:00
Lin Clark d785a30b82 Bug 1264677 - [rep tests] Add tests for attribute rep. r=Honza 2016-06-24 05:48:00 -04:00
Lin Clark d070db4b76 Bug 1264685 - [rep tests] Add tests for grip rep. r=Honza 2016-06-24 05:30:00 -04:00
Jan Odvarko feafa3be47 Bug 1280949 - Use regexpr to identify browser based directories. r=jlongster 2016-06-20 17:04:54 +02:00
Tom Tromey 49a3014680 Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9
2016-06-09 09:04:22 -06:00
Lin Clark 61966922f8 Bug 1264698 - [rep tests] Add tests for stylesheet rep. r=Honza 2016-06-21 12:30:00 -04:00
Jaideep Bhoosreddy 216550f461 Bug 1255908 - Replaced "/" with hostname when for root document in webconsole; r=jsnajdr 2016-06-22 20:30:00 +02:00
Tom Tromey 7f215d98a4 Backed out changeset 3518b484f82d (bug 1275637) for errors in browser_se_first-run.js; CLOSED TREE; r=me, a=KWierso
MozReview-Commit-ID: HumbpXccwrF
2016-06-22 14:19:19 -06:00
Lin Clark 4ee21d4ac4 Bug 1264679 - [rep tests] Add tests for date-time rep. r=mayhemer
DONTBUILD
2016-06-21 09:45:00 -04:00
Ryan VanderMeulen b321ed9258 Backed out changeset c4096b7ccbe6 for landing with the wrong commit message. 2016-06-21 17:33:55 -04:00
Lin Clark fb8c6a0af0 Bug 1281051 - Remove text-node rep. r=Honza 2016-06-21 09:45:00 -04:00
Tom Tromey 0e5b8b227e Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G
2016-06-20 06:38:39 -06:00
Carsten "Tomcat" Book 961b5571f2 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Christoph Kerschbaumer 2c9d1aa9e0 Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead 2016-06-15 13:19:31 +01:00
Ben Kelly 572b3ee933 Bug 1279389 P2 Relax the timing in browser_telemetry_toolboxtabs_storage.js to account for osfile worker startup. r=jryans 2016-06-28 18:47:55 -07:00
Patrick Brosset 22dfd32737 Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
Jarda Snajdr 5dc2ff4680 Bug 1277264 - Part 2: Remove setImageContent method from Tooltip.js r=jdescottes 2016-06-12 12:01:00 +01:00
Julian Descottes 6b4ec8f341 Bug 1279441 - fix HTMLTooltip closing after click on inner iframe;r=bgrins
MozReview-Commit-ID: EggheTpU2y3
2016-06-10 11:24:04 +02:00
Jan Odvarko f4c2f1dcd1 Bug 1279215 - Move Tabs component to shared/components; r=pbro 2016-06-09 16:19:49 +02:00
J. Ryan Stinnett 169c44d5f6 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Julian Descottes f5dc74d78e Bug 1266450 - part7: fix html tooltip autofocus behavior;r=bgrins
For autofocus tooltips, we need to find a focusable item in order
to call focus() now that the tooltip content lives in the same
document as the toolbox. Updated the corresponding test and made
some superficial changes to HTMLTooltip.js.

MozReview-Commit-ID: L61eIxgFm3d
2016-06-08 13:32:15 +02:00
Julian Descottes 2e11b982f8 Bug 1266450 - part6: migrate EventDetails tooltip;r=bgrins
For now this is a 1 to 1 migration of the existing Tooltip
helper method from XUL to HTML.

MozReview-Commit-ID: 9YiJLgibV9h
2016-05-31 11:25:43 +02:00
Julian Descottes c94e194787 Bug 1266450 - part4: allow tooltips to have a variable height;r=bgrins
With this changeset the tooltip's effective height can be smaller than
the height specified when calling setContent. If the tooltip content is
dynamic, this allows to display a small tooltip frame if the content is
collapsed, and a bigger tooltip frame when it is expanded.

MozReview-Commit-ID: 44vA0Rdz62m
2016-06-03 12:52:59 +02:00
Julian Descottes 6605337e81 Bug 1266450 - part3: fix helper to check if click occurred in tooltip;r=bgrins
The existing helper checking if a click occurred inside or outside a
HTMLTooltip container was failing if the click occurred in an iframe.

MozReview-Commit-ID: 9AIACOukYUF
2016-06-03 12:50:39 +02:00
Julian Descottes ce41dce5f4 Bug 1266450 - part2: remove iframe container for HTML tooltip;r=bgrins
In order to have tooltips with a variable height, the tooltip container
should be allowed to resize itself on the fly, which cannot be achieved
with an iframe.

This changeset makes the HTMLTooltip rely on a HTML container inserted
in the XUL document directly. This allows to go back to a synchronous
API which also simplifies the implementation.

MozReview-Commit-ID: EDcsnVSKmeU
2016-05-30 23:02:58 +02:00
Julian Descottes de9f21ec87 Bug 1266450 - part1: move devtools tooltip styles to dedicated file;r=bgrins
Tooltip styles are scattered between common.css and panel-specific CSS
files (e.g. inspector.css). For the HTML tooltip, the panel specific CSS
files will not be applied since the tooltip container is appended to the
devtools top window.

This changeset creates a new tooltips.css file which is loaded by default
with devtools themes.

MozReview-Commit-ID: BnoRi9gLfD5
2016-06-03 14:36:56 +02:00