Commit Graph

483765 Commits

Author SHA1 Message Date
Patrick Brosset
f9d2dc2d7d Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Patrick Brosset
a6b51dd144 Bug 1262439 - 4 - Use the new eye-dropper highlighter in the color-picker tooltip; r=bgrins
The color-picker tooltip now uses the new eye-dropper highlighter, by
using the pickColorFromPage inspector method instead of the XUL-based
eye-dropper tool.

Telemetry hasn't yet been re-implemented in the new eye-dropper highlighter
so the telemetry-related test code has been removed for now. This will be
added again in a later commit.

MozReview-Commit-ID: enSzSKHac4

--HG--
extra : rebase_source : dd5a54d149ac1872be8580660c70b8a02da9db66
2016-07-20 14:47:24 +02:00
Patrick Brosset
4b2d233450 Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue

--HG--
extra : rebase_source : fb6b4feec4be295cb4494be66d0b188d6b538579
2016-06-06 15:11:27 +02:00
Patrick Brosset
968dc79025 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd

--HG--
extra : rebase_source : 392a3cbfce7b81518cd7e4c90a44bae17d96e8de
2016-07-20 16:07:04 +02:00
Patrick Brosset
d2cc90ec24 Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7

--HG--
rename : devtools/client/shared/css-color-db.js => devtools/shared/css-color-db.js
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
extra : rebase_source : 72431a9148d1c688987a5693a619769837c774c7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book
53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Carsten "Tomcat" Book
c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Carsten "Tomcat" Book
ed7f93d17e Backed out changeset d78a8f4bd9cc (bug 1288582) for windows failures in browser_gmpProvider.js 2016-07-22 11:25:18 +02:00
Carsten "Tomcat" Book
8c4c7324b8 Backed out changeset 66c7af8b2654 (bug 1272629) for failing valgrind tests 2016-07-22 08:35:19 +02:00
Carsten "Tomcat" Book
2abb8cc385 Backed out changeset 86d07e6bd5b7 (bug 1272629) 2016-07-22 08:35:06 +02:00
Nate Weaver
e04b07cbb9 Bug 426680 - Set allowedFileTypes on NSSavePanel so the file extension isn't selected. r=mstange. 2016-07-22 08:24:02 +02:00
Hiroyuki Ikezoe
f8455c2c9a Bug 1288586 - Don't calculate style difference if there are no properties change. r=birtles
We don't actually need to re-calculate if the updated properties are the
same as the old one. This change avoids problematic nested calls of
nsStyleSet::GetContext() in particular cases.

MozReview-Commit-ID: JksiTGX57Fy
2016-07-22 15:17:37 +09:00
Jonathan Kew
ecccb4c485 Bug 1276829 - Don't add fonts to mFontsUsingSVGGlyphs if they did not actually have an SVG table. r=karlt 2016-07-22 06:54:12 +01:00
Tim Nguyen
47bc319bec Bug 1268591 - followup: correct fill of some white SVGs, and clean them. r=me DONTBUILD
MozReview-Commit-ID: 3Iw78v9lNW6
2016-07-22 02:17:31 +02:00
Tim Nguyen
addc0fdf30 Bug 1163290 - Fix up CSS coverage layout and make its text selectable. r=gl a=kwierso CLOSED TREE
MozReview-Commit-ID: BaKc4zsyHSY
2016-07-22 00:49:50 +02:00
Tim Nguyen
13c2525149 Bug 1268591 - Support new invertIconForDarkTheme flag. r=bgrins, jsantell a=kwierso CLOSED TREE
MozReview-Commit-ID: DfMBsD2u0ow
2016-07-22 00:44:11 +02:00
Tim Nguyen
4b0c49b118 Bug 1268591 - Make devtools icons black by default and invert them for dark theme. r=bgrins a=kwierso CLOSED TREE
MozReview-Commit-ID: DhcotPhGY9w
2016-07-22 00:44:11 +02:00
Wes Kocher
c6007d69fa Merge m-c to fx-team, a=merge CLOSED TREE 2016-07-21 16:00:10 -07:00
Wes Kocher
496904277c Merge autoland to central, a=merge CLOSED TREE 2016-07-21 15:56:06 -07:00
Wes Kocher
324028bc3b Bug 1288480 - ESLint fix a=me CLOSED TREE 2016-07-21 15:53:09 -07:00
Andrew Swan
6ce8cf50ff Bug 1288480 Rework mozAddonManager error handling r=kmag a=kwierso CLOSED TREE
This ended up being a bigger change than I had hoped for but
it updates the WebAPITask helper in amWebAPI.js so that errors
returned from the parent process are immediately wrapped into
Error objects from the content page.  In this way, programming
errors or other internal errors don't leak out to mozAddonManager
users.

The way the previous code managed window references using "this"
was already a bit fussy, this patch only makes it worse.  But I
think this basic logical structure here is right and since this
bug is responsible for widespread breakage, I'd like to get this
checked in and then clean it up in a follow-up.

MozReview-Commit-ID: 98PgbWKsHIN

--HG--
extra : source : f2cd195ea3898c9c46e7f58bbcaa3292a2793554
2016-07-21 11:35:41 -07:00
Andrzej Hunt
e8b5a4e8dd Bug 1288256 - Post: add comments explaining HomePager specific methods in HomeScreen r=sebastian
MozReview-Commit-ID: 5hgTMzff6zq

--HG--
extra : rebase_source : a89d18e6cf5e06ae7845a8373535b5fda89fbb59
2016-07-21 08:03:37 -07:00
Andrzej Hunt
12a3fc81a8 Bug 1288256 - Part 3: update BrowserApp to use HomeScreen interface instead of
HomePager r=sebastian

MozReview-Commit-ID: 7h6s6ewfSOu

--HG--
extra : rebase_source : 5ac3207b8030cdfcd282fccd14656b55782168a3
2016-07-21 08:48:11 -07:00
Andrzej Hunt
92918007b3 Bug 1288256 - Part 2: extract HomePager interface into HomeScreen r=sebastian
This will permit us to plug in other HomeScreen implementations as needed.

MozReview-Commit-ID: Dvmyk1sdBT6

--HG--
extra : rebase_source : bf8acdf84e35f9b2dbeaa2445121c1cfa6d974e4
2016-07-21 08:48:23 -07:00
Carsten "Tomcat" Book
bc1b31b01b Merge mozilla-central to autoland 2016-07-21 16:27:58 +02:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book
ac018ea603 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Carsten "Tomcat" Book
d2a1babef4 Backed out changeset 2bea1e1e403d (bug 1265386) for bustage on a CLOSED TREE 2016-07-21 13:59:02 +02:00
Carsten "Tomcat" Book
4a80cb90aa Backed out changeset c402d9e91897 (bug 1265386) 2016-07-21 13:58:46 +02:00
Till Schneidereit
98a17b460b Bug 911216 - Fix crashes caused by not properly handling not having an object at all as the target promise in EnqueuePromiseReactionJob, on a CLOSED TREE. r=bustage 2016-07-21 13:36:33 +02:00
Thomas Zimmermann
0b68c0c6df Bug 1265386: Convert code in widget/ to |UniquePtr|, r=nfroyd
This patch replaces all references to |nsAutoPtr| in widget/ by references
to |UniquePtr|. |nsAutoPtr| is deprecated and will go away soon.

MozReview-Commit-ID: 8xAS79wTkPC
2016-07-21 13:29:33 +02:00
Thomas Zimmermann
d8818e0d94 Bug 1265386: Fix white-space errors in widget/, r=nfroyd
MozReview-Commit-ID: ATXI7dYFHmA
2016-07-21 13:29:30 +02:00
Andrea Marchesini
b400357525 Bug 1280105 - TabChild should not use CHROME_PRIVATE_WINDOW flag to set privateBrowsing, r=smaug 2016-07-21 13:26:57 +02:00
Eddy Bruel
34cdf87c79 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Alexandre Lissy
40f5f73509 Bug 1288367 - Fix XHR Init call in mozstumbler gonk r=tzimmermann
MozReview-Commit-ID: 18UiXXbTo1f

--HG--
extra : rebase_source : 6cf3e42ed66ab00d13f103b493ec0f8f9d6b7de6
2016-07-21 12:43:03 +02:00
Alexandre Lissy
f481ca8daa Bug 1288373 - Add missing task.h for NewRunnableFunction r=tzimmermann
MozReview-Commit-ID: 5uubahXWY6x

--HG--
extra : rebase_source : 85031e6ca526c212a77028952319fd5401ad5cb0
2016-07-21 13:45:43 +02:00
Andrzej Hunt
fe0cd8705c Bug 1288256 - Part 1: update naming of "home pager container" to "home screen container" r=sebastian
This is to help keep the terminology more clear: this container will allow displaying any of our
home screen implementations, and not just the HomePager.

MozReview-Commit-ID: 4kqNipgvQ5I

--HG--
extra : rebase_source : 831090edf10be23baf358d778934e73534b720f2
2016-07-20 14:58:19 -07:00
Andrzej Hunt
82913b68d5 Bug 1288256 - Pre: remove unneeded imports r=me
MozReview-Commit-ID: 5q0FhQVPY8P

--HG--
extra : rebase_source : ead7477f271615d22102b9ea6ead6b9c343557db
2016-07-20 14:58:35 -07:00
Nick Fitzgerald
426f871e07 Bug 1241298 - Enable the devtools' memory panel by default. r=jsantell
--HG--
extra : rebase_source : ba60677269501f1ffe525dce28c69d1fa67208ad
2016-07-21 13:10:12 -04:00
Greg Tatum
03144dabc5 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro
--HG--
extra : rebase_source : b24ee31a2563e25ef46cb8068255f4e8ae4ffb13
2016-07-21 06:54:00 -04:00
Bob Silverberg
55401c8180 Bug 1280357 - Update browser.history.onVisited to not call PlacesUtils.promisePlaceInfo, r=kmag
MozReview-Commit-ID: 3j4JdWI6APu

--HG--
extra : transplant_source : %B0ir%3B%FF%08%1A%08%D8%DDa%C1%90%AD%03%97M%DA%E3%FC
2016-07-19 17:01:08 -04:00
Alexandre Lissy
d62c2c8293 Bug 1287854 - Fix MediaEngineGonk build r=padenot
MozReview-Commit-ID: 5jmepGcWiIG

--HG--
extra : rebase_source : 55e0d6b33dd2670fb4ac40afca011c1d34b438f8
2016-07-19 19:09:16 +02:00
Henrik Skupin
faa2229a5e Bug 1287723 - Fix test_screenshot.py to properly wait for new chrome window to be loaded. r=automatedtester
MozReview-Commit-ID: KiFGbNdddJe

--HG--
extra : rebase_source : 87ccbb02cdb45531efc7fe948c57c10e9e03b547
2016-07-21 11:10:14 +02:00
Gian-Carlo Pascutto
0b8cfd1d36 Bug 1284240 - Use boolean rather than flag for Sandboxing Telemetry. r=gfritzsche
MozReview-Commit-ID: EsXFAbEyxYs

--HG--
extra : rebase_source : 95bbfa30597490fb1b972056651b75f5a129daad
2016-07-21 09:39:09 +02:00
Henry Chang
5efab66305 Bug 1275507 - XPCOM API to create SB v4 update request. r=francois
MozReview-Commit-ID: RfM3KFe6kG

--HG--
extra : rebase_source : b208a6b83953b21db7bf1a857453d55fa9ab1c87
2016-07-19 18:09:53 +08:00
Nancy Pang
2290b0bb8f Bug 1287474 - Remove uneeded keyboard handler. r=Honza
MozReview-Commit-ID: 41UNnQGPom7

--HG--
extra : rebase_source : 8641c6cdf3ab9944de14ec01fc535e74f2c6ed04
2016-07-18 12:00:25 -04:00
Towkir Ahmed
9e080b773b Bug 1286128 - Prevent eyedropper button from being overflown in the color picker. r=jdescottes
--HG--
extra : rebase_source : 25dcfb2d72fa9d61ce3f5c90ed2e43d8086b0c11
2016-07-21 03:19:00 -04:00
Dalimil Hajek
1636092871 Bug 1275887 - Remove longPropIterator/shortPropIterator in reps. r=odvarko
--HG--
extra : rebase_source : ba7bfb53abc520748629a9fb075c0e5c5569ff5f
2016-07-20 06:22:00 -04:00
Jan Odvarko
8b6f76bc43 Bug 1287413 - Avoid blank area in the Sidebar. r=pbro
--HG--
extra : rebase_source : 3d8bfc8200bbb722689ed80fb87a96e4886a56ed
2016-07-21 07:02:49 +02:00