Commit Graph
224 Commits
Author SHA1 Message Date
Alexandre Poirot ffec1eac33 Bug 1297758 - Fetch target and fronts from inspector getter rather than toolbox. r=bgrins
MozReview-Commit-ID: HchlqORtfH5
2016-09-29 10:02:28 -07:00
Carsten "Tomcat" Book e127ce1d06 merge fx-team to mozilla-central a=merge 2016-09-29 11:43:57 +02:00
Jan Odvarko ffdb152dd9 Bug 1304700 - Fix side bar panel animation. r=jdescottes 2016-09-23 13:45:17 +02:00
Ruturaj K. Vartak 0b9576e2c6 Bug 1301929 - Copying ellipisis-cropped cell should copy the full text. r=miker 2016-09-21 02:10:00 -04:00
Greg Tatum 0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Greg Tatum 3e6ab7973a Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Phil Ringnalda 8ebf504b68 Backed out 4 changesets (bug 1297758) for browser_dbg_variables-view-popup-13.js failures
CLOSED TREE

Backed out changeset 95ca02cec38d (bug 1297758)
Backed out changeset 80bc957e1052 (bug 1297758)
Backed out changeset fee0da956618 (bug 1297758)
Backed out changeset 1ac36ff4b601 (bug 1297758)
2016-09-27 18:21:57 -07:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum 36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Alexandre Poirot f54b13de8b Bug 1297758 - Fetch target and fronts from inspector getter rather than toolbox. r=bgrins
MozReview-Commit-ID: HchlqORtfH5
2016-09-26 07:06:59 -07:00
Alexandre Poirot 5a92c204eb Bug 1298082 - Various cleanups to use helpers. r=jryans
MozReview-Commit-ID: EwtA2K00EaM
2016-08-25 05:50:44 -07:00
Thomas Wisniewski a482d8a784 Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Ehsan Akhgari c153afe5ff Bug 1297225 - Address the post-landing drive-by nit 2016-08-30 10:05:37 -04:00
Julian Descottes 2283f05cf3 Bug 1265887 - migrate devtools/ from PluralForm.jsm to plural-form.js;r=tromey
MozReview-Commit-ID: 7I7djgqcrnr
2016-08-27 18:42:33 +02:00
Julian Descottes e4e930753a Bug 1295608 - Migrate devtools/client/shared to use l10n.js instead of Services.string;r=pbro
MozReview-Commit-ID: 2OdCYtae3ad
2016-08-25 17:21:00 +02:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Patrick Brosset 5c93d45ee6 Bug 1289543 - Disable the eyedropper on non-HTML documents; r=miker
The eyedropper code now bails out if the content window is XUL, since
highlighters cant be inserted into non-HTML documents.
And the inspector hides the eyedropper buttons in the toolbar and in the
color-picker if the document isn't HTML.

MozReview-Commit-ID: 7AgRV8Qu9gz
2016-08-22 14:59:08 +02:00
Ryan VanderMeulen 4769e9643c Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Ryan VanderMeulen 79935a96ec Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Nicolas Chevobbe 5dda88289f Bug 1297043 - Fix TableWidget selection when wrapTextInElements is true. r=jsnajdr
We were using the onMousedown event target to select a row, based on a data-id attribute of the cell node.
But when the wrapTextInElements is true, there is an extra span element inside the cell. And in this case,
we were trying to retrieve the data-id attribute on this span, which led to calling the selection function with a
null id, and thus, not selecting the row.
We fix this by retrieving the attribute from the correct node.
A test case was added in order to make sure the bug is fixed

MozReview-Commit-ID: Jcf42AZb2uk
2016-08-22 19:25:48 +02:00
Ryan VanderMeulen c5f2f788ca Merge m-c to fx-team. a=merge 2016-08-24 09:11:58 -04:00
Patrick Brosset 8f123f570d Bug 1295008 - Hide the previous eyedropper when we request to show a new one; r=miker
The eyedropper can be shown in 2 distinct ways:
- the 'eyedropper' gcli command can be called (from the dev toolboar
  or from the browser devtools menu),
- or the inspector's 'pickColorFromPage' method can be called (from
  the inspector toolbar or from the color-picker in the ruleview).

Before this change, it was possible to show several eyedropper because
these 2 codepaths didn't know about each other.
Now, when executing the gcli command, the inspector's
'cancelPickColorFromPage' method is called to hide it first.
And, when the 'pickColorFromPage' method is called, the 'eyedropper --hide'
gcli command is called too.

This way, there's only one eyedropper shown.

There was also a problem where the gcli command would create a new
eyedropper everytime it was called. This was fixed too, by maintaining a
WeakMap of all eyedroppers opened so far.

MozReview-Commit-ID: F6fBP5R7ZTJ
2016-08-24 10:29:49 +02:00
Julian Descottes 7293014c8d Bug 1294366 - fix filter widget select opening only once, force focus on window on click;r=ochameau
MozReview-Commit-ID: 5xcZuoRxOco
2016-08-22 17:55:12 +02:00
Ehsan Akhgari 6af078de24 Bug 1297225 - Avoid calling HTMLInputElement.setSelectionRange() on <input type=number>s in the CSS filter widget code; r=pbro 2016-08-24 10:04:39 -04:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Julian Descottes 156ceb6e2f Bug 1294220 - part1: Move ellipsis character to a localized string in properties file;r=bgrins
The ellipsis character displayed by devtools is now relying on a localized string
in devtools/client/shared.properties instead of a complex preference.

The lazy loading of the ellipsis string has been removed, the ellipsis is retrieved
once when the client/shared/l10n.js file is loaded.

The ellipsis property on the LocalizationHelper instances has been removed in favor
of an ELLIPSIS export on the l10n.js module.

All the previous callers using either LocalizationHelper::ellipsis or retrieving the
intl.ellipsis preference have been migrated to rely on the ELLIPSIS export of l10n.js

MozReview-Commit-ID: 4JG0qbJGCw9
2016-08-20 22:09:03 +02:00
Oriol 8d648fc796 Bug 996691 - Stop ignoring empty string property names when inspecting an object. r=fitzgen 2016-08-21 18:47:00 -04:00
divyanshu 5b3443845e Bug 1292998 - Replace Iterator() with Object.{entries,values}. r=jryans
Replace simple in-tree consumer of non-standard Iterator() with Object.{values,entries} in devtools/
2016-08-14 02:02:06 +05:30
Tom Tromey 0940713d29 Bug 1278625 - remove some lazy loading from devtools; r=jlongster
MozReview-Commit-ID: HwV7DFVJhAF
2016-08-05 08:46:37 -06:00
Tom Tromey 65c721e7f2 Bug 1278625 - move XPCOMUtils use out of Tooltip.js; r=jdescottes
MozReview-Commit-ID: 77xkkxl4mqN
2016-08-05 11:15:38 -06:00
Wes Kocher 41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher 2cd257334f Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes
2016-08-16 22:09:34 -07:00
Wes Kocher bb9e0744e6 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Towkir Ahmed a4efe85aea Bug 1294840 - Fix vertical alignment of 'filter widget buttons' in devtools: css rule inspector. r=jdescottes 2016-08-16 09:05:00 -04:00
Towkir Ahmed e82c9583ae Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes
2016-08-15 17:28:05 -07:00
Oriol cce7f646a4 Bug 997219 - When inspecting an object, do not trim property names except when displaying them. r=fitzgen 2016-08-10 16:18:00 -04:00
Tom Tromey 6bb49c290c Bug 1292253 - replace some Ci uses in view-helpers and TableWidget; r=gregtatum
MozReview-Commit-ID: JIs4wxNA3Eg
2016-08-09 09:43:58 -06:00
Julian Descottes 743e291a1d Bug 1293211 - part2: fire ready event in SwatchBasedEditorTooltips after widget initialization;r=bgrins
Now that showing a XUL panel is asynchronous, tests need to be able to wait for the complete
initialization of the editor tooltips. Waiting for the tooltip 'shown' event is not enough
here because tooltips are also waiting for this event to start initializing their widgets.

MozReview-Commit-ID: DGTyeVrHNb
2016-08-09 09:22:16 +02:00
Julian Descottes 2966642428 Bug 1293211 - part1: wait for xul wrapper popupshown event in HTMLTooltip;r=bgrins
MozReview-Commit-ID: Gv04Fc1cfgI
2016-08-08 11:29:31 +02:00
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Brian Grinstead 4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Julian Descottes e66cfbdd5e Bug 1288752 - mdndocs tooltip: consistent behavior on Visit MDN Page link click;r=bgrins
MozReview-Commit-ID: Kg0yYwi4nwV
2016-07-25 16:50:55 +02:00
Carsten "Tomcat" Book 186ae7c42a Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Julian Descottes eead0ece17 Bug 1289152 - Switch eyedropperOpen flag in Tooltip when picking color. r=zer0
The eyedropper gets hidden when canceled and when selecting a color.
The Tooltip should listen to both events to update its internal state flags.

MozReview-Commit-ID: KYwmybh9mRo
2016-07-25 20:39:01 +02:00
Wes Kocher 821d0c747f Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change
2016-08-16 22:07:30 -07:00
Tom Tromey 33ff5b91eb Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri
2016-07-26 09:34:25 -06:00
Tom Tromey 44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Eric Rahm f88c2ff35a Bug 1179048 - Use mouseout instead of mouseleave in devtools. r=fitzgen
Using mouseleave in chrome code generates a warning in docshell about
performance which notes mouseout should be used instead. This patch replaces
usage of mouseleave with mouseout across the devtools codebase.
2015-07-20 12:13:00 -07:00
Oriol cd445ceebc Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00