Commit Graph
628 Commits
Author SHA1 Message Date
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
Julian Descottes cf076aa03b Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins
MozReview-Commit-ID: 1HX0g7AoJwt
2016-08-25 17:51:42 +02:00
Ryan VanderMeulen 5d76edf048 Merge fx-team to m-c. a=merge 2016-08-26 09:26:49 -04: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
Jason Laster ccee69ac4b Bug 1296380 - Key Shortcuts should handle function keys. r=jlongster 2016-08-18 14:36:47 -04: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
Ryan VanderMeulen 3db710d2ee Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen faf402f266 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Ryan VanderMeulen ad0db38f61 Merge autoland to m-c. a=merge 2016-08-23 10:01:31 -04:00
Jarda Snajdr 3f29de8c99 Bug 1297329 - Added unit test for the StackTrace component r=bgrins
MozReview-Commit-ID: 57Hm7pcMHRG
2016-08-24 13:22:21 +02:00
Jarda Snajdr da73c5cfa8 Bug 1297329 - Fix opening 'url1 -> url2' source locations in console r=bgrins
MozReview-Commit-ID: AcQMHzaVi9r
2016-08-23 11:16:43 +02:00
Jarda Snajdr 0c60adf497 Bug 1297068 - Copy as cURL generates correct boundary on a multipart request r=Honza
MozReview-Commit-ID: EOyLVsHkBCL
2016-08-22 15:36:09 +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
Evan Tseng 145514eb7f Bug 1289062 - Order the events properties. r=Honza 2016-08-18 16:07:38 +08:00
Tom Tromey 0f5faee74a Bug 1296427 - allow a branch to also be a pref in content implementation; r=gregtatum
MozReview-Commit-ID: 2BoIv2eY6DX
2016-08-19 12:00:12 -06: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 60f8fb5be1 Bug 1294220 - part6: use standard getter instead of loader.lazyGetter in l10n.js;r=bgrins,tromey
MozReview-Commit-ID: 37AujDuDn0a
2016-08-23 00:05:21 +02: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 11398e2282 Bug 1294220 - part2: Devtools shared l10n helper: remove dependency on Services.string;r=bgrins
MozReview-Commit-ID: DyPKbYtlbEz
2016-08-20 21:46:29 +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
fbdb0dae94 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
Wes Kocher 2d34b40ea3 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07: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
Dalimil Hajek 5f4cb15d95 Bug 1284842 - Reps: Handle URLs uniformly. r=Honza 2016-08-16 02:41:00 -04:00
Ryan VanderMeulen 724c163f1c Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Patrick Brosset 98f15741fe Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
Sebastian Hengst ba51955065 Backed out changeset 6c02985bc0c8 (bug 996691) for failing browser_dbg_variables-view-data.js and browser_bug_869003_inspect_cross_domain_object.js. r=backout 2016-08-19 09:41:07 +02:00
Oriol 29c6e8081f Bug 996691 - Stop ignoring empty string property names when inspecting an object. r=fitzgen 2016-08-17 18:03:00 -04:00
Evan Tseng 51db200441 Bug 1295491 - Remove Reference component in grip-array.js. r=Honza 2016-08-16 15:35:33 +08: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
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
Evan Tseng ac33fac84f Bug 1284838 - Return Grip in Events render method. r=Honza 2016-07-26 12:04:07 +08:00
Evan Tseng 92b463f771 Bug 1282465 - Hardcode tiny mode for array and object reps. r=Honza 2016-08-15 16:27:00 +08:00
Fred Lin 878e62376a Bug 1286259 - Reps: grip-array rep should support limited preview, add extra space; r=Honza
MozReview-Commit-ID: IiATBSqv4Wz
2016-08-15 22:44:00 -07:00
Dalimil Hajek aec8d87764 Bug 1293141 - Headers is blank until Raw Data is clicked. r=Honza 2016-08-08 03:00: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
Jarda Snajdr d6840a49cf Bug 1290680 - Add test coverage for TooltipToggle on HTMLTooltip r=jdescottes
MozReview-Commit-ID: 8j3fbJ2xhml
2016-08-15 16:03:16 +02:00
Wes Kocher b9d5a32ad5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
J. Ryan Stinnett 6f8104c75f Bug 1250171 - Remove *_PER_USER_FLAG probes from DevTools. r=clarkbw
MozReview-Commit-ID: 2nZxPYrKKai
2016-08-12 06:24:14 -05:00
Tom Tromey af28999216 Bug 1272098 - load default prefs into Services shim; r=bgrins
MozReview-Commit-ID: InZRrl47YWS
2016-08-19 14:36:27 -06:00