Граф коммитов

646660 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard e5f2be092a Bug 1540581 - P5. Add ColorSpace info to MacIOSurface. r=mattwoodrow
It would have been nicer and more logical to use a MacIOSurfaceImage to store the colorspace information, however the data passed around is a IOSurface Id via a SurfaceDescriptorMacIOSurface; the original data structure isn't kept; so we must transit the data at the same time as the IOSurface Id.

Also remove unnecessary test (new operator is infallible).

Differential Revision: https://phabricator.services.mozilla.com/D26058

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:31 +00:00
Jean-Yves Avenard 81f031a044 Bug 1540581 - P4. Add ColorSpace/ColorDepth component to NV12 gfx::Effect. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26057

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:19 +00:00
Jean-Yves Avenard 0bb575734a Bug 1540581 - P3. Add methods to extract color space and color depth from SPS NAL. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D26056

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:10 +00:00
Jean-Yves Avenard 4b22346e41 Bug 1540581 - P2. Add missing VideoInfo members to IPC serializer. r=bryce
Another case where you have to wonder how did this ever worked!?

Differential Revision: https://phabricator.services.mozilla.com/D26055

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:00 +00:00
Jean-Yves Avenard c2ef872070 Bug 1540581 - P1. Fix NV12 image with OGL compositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26054

--HG--
extra : moz-landing-system : lando
2019-04-11 12:35:41 +00:00
Jean-Yves Avenard 3ae43eb506 Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow.
YUVColorSpace is inseparable from the bit depth as the matrix coefficients to be calculated need the bit depth information.

So let's put the two types together. gfx namespace also makes more sense as that's where we find IntRect, IntSize and other.

The extent of the changes highlight how much similar data structures are duplicated across the code, to the point it's scary.

Differential Revision: https://phabricator.services.mozilla.com/D25347

--HG--
extra : moz-landing-system : lando
2019-04-11 12:41:33 +00:00
Jean-Yves Avenard 14fac11637 Bug 1493898 - P5. Add Colorspace and YUV range data to VideoInfo. r=bryce
And read the info from the VP9 bytestream.

Differential Revision: https://phabricator.services.mozilla.com/D25346

--HG--
extra : moz-landing-system : lando
2019-04-11 12:41:23 +00:00
Jean-Yves Avenard fd742471ad Bug 1493898 - P4. Add BT2020 YUV->RGB conversion. r=jgilbert
This is used by the basic compositor.
Re-using existing logic, however as with other conversion it only handles limited 8 bits ranges (16-235) and to make things worse is rounded aggressively as the focus is on speed.

Differential Revision: https://phabricator.services.mozilla.com/D25345

--HG--
extra : moz-landing-system : lando
2019-04-11 16:57:39 +00:00
Jean-Yves Avenard 09b5578692 Bug 1493898 - P3. Don't downsample 10/12 bits AOM images. r=bryce
All compositors support 10/12 bits images now.
Additionally, add BT2020 support to AOM decoder.

Differential Revision: https://phabricator.services.mozilla.com/D25344

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:59 +00:00
Jean-Yves Avenard 1da8a6804f Bug 1493898 - P2. Add BT2020 support to decoders. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D25343

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:50 +00:00
Jean-Yves Avenard c6e2001c75 Bug 1493898 - P1. Add preliminary BT2020 colorspace support. r=mattwoodrow
Only active with webrender and AL.

Differential Revision: https://phabricator.services.mozilla.com/D25342

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:40 +00:00
Cosmin Sabou 856169370c Backed out changeset ac23ad5ef0c1 (bug 1542862) as requested by glandium for being obsolete after bug 1536486. 2019-04-12 02:24:21 +03:00
Oana Pop Rus c54800711d Backed out 5 changesets (bug 1531838) for causing linux asan leaks. CLOSED TREE
Backed out changeset 7e886806ae98 (bug 1531838)
Backed out changeset 24d7fb7fd3af (bug 1531838)
Backed out changeset 3e538caf5af2 (bug 1531838)
Backed out changeset ae727251b802 (bug 1531838)
Backed out changeset 9b0dab8154c0 (bug 1531838)
2019-04-12 02:15:40 +03:00
Brendan Dahl 3a89c21f7f Bug 1518005 - Fix intermittent devotools test. r=bgrins
Wait for devtools panel to be ready before attempting to use it.

Differential Revision: https://phabricator.services.mozilla.com/D27160

--HG--
extra : moz-landing-system : lando
2019-04-11 21:08:04 +00:00
Chris Manchester 6680ead353 Bug 1543469 - Update builders to rustc 1.34. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27184

--HG--
extra : moz-landing-system : lando
2019-04-11 22:46:46 +00:00
Sean Stangl 18214ad3bf Bug 1538083 - Fix -0 handling in ARM64 visitTrunc(). r=nbp
The existing truncation code did not correctly handle the case of negative zero.
The fix is to avoid using FCMP floating-point comparisons, and check
the sign bit explicitly in a GPR.

Differential Revision: https://phabricator.services.mozilla.com/D26381

--HG--
extra : moz-landing-system : lando
2019-04-11 22:34:46 +00:00
Mike Hommey 35d057b2e3 Bug 1536486 - Use plain cargo instead of rustup cargo on OSX. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27040

--HG--
extra : moz-landing-system : lando
2019-04-11 22:25:51 +00:00
Emilio Cobos Álvarez 278866eb8e Bug 1543837 - Fix servo build and appease tidy. 2019-04-12 00:25:50 +02:00
Emilio Cobos Álvarez 2fa8c1c1a2 Bug 1543837 - Reformat recent changes. 2019-04-12 00:25:37 +02:00
Mathieu Leplatre 7cedc72b0d Bug 1539452 - Use TelemetryTestUtils.assertEvents() in Remote Settings tests r=glasserc
Use TelemetryTestUtils.assertEvents() in Remote Settings tests

Differential Revision: https://phabricator.services.mozilla.com/D27100

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:52 +00:00
Gijs Kruitbosch edfb488cf8 Bug 1543733 - don't force text colour for disabled checkboxes in customize mode, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27105

--HG--
extra : moz-landing-system : lando
2019-04-11 21:46:36 +00:00
Mike Hommey 9a8540b0db Bug 1543595 - Enable linux64-aarch64 builds. r=froydnj
While we don't have an actual need for those builds at the moment, there
is work in progress to get fuzzing builds for aarch64, and as the
previous change showed, the build were busted by other changes since
they were put in place. So we might as well enable them, so as to be
aware of bustage when it happens rather than while working on getting
the fuzzing builds up.

Depends on D27035

Differential Revision: https://phabricator.services.mozilla.com/D27036

--HG--
extra : moz-landing-system : lando
2019-04-11 14:35:25 +00:00
Mike Hommey fa8f822fb0 Bug 1543595 - Add missing aarch64 target to the rust 1.33 toolchain. r=froydnj
I must have written the rust 1.33 patch before I landed the
linux64-aarch64 patches, so when that landed, it lacked the aarch64
target. (it's still there on the rust 1.32 toolchain)

Differential Revision: https://phabricator.services.mozilla.com/D27035

--HG--
extra : moz-landing-system : lando
2019-04-11 14:35:25 +00:00
nidhi 226e83369e BUG 1448932 - Added: Prefs for tracking protection intro r=johannh
replaced MAX_INTROS constant value of 20 with pref set to 5

Differential Revision: https://phabricator.services.mozilla.com/D24783

--HG--
extra : moz-landing-system : lando
2019-04-11 21:58:58 +00:00
Nihanth Subramanya 460a6d9075 Bug 1531838 - Inject/remove stylesheets in a Services.tm.dispatchToMainThread call. r=johannh
This avoids an AssertionError when loading a stylesheet in a nested
event loop. See comment 15 in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D26971

--HG--
extra : moz-landing-system : lando
2019-04-11 21:41:43 +00:00
Nihanth Subramanya fb51bfa78f Bug 1531838 - Ensure we don't set up twice on any window. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26701

--HG--
extra : moz-landing-system : lando
2019-04-10 22:12:09 +00:00
Nihanth Subramanya d849a2f135 Bug 1531838 - Reliably wait for click-to-play popup notification in private windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26700

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:39 +00:00
Nihanth Subramanya 4716e57f4c Bug 1531838 - Inline PanelUI code and avoid leaving behind properties on windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26699

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:32 +00:00
Nihanth Subramanya de16116657 Bug 1531838 - Enable Firefox Monitor by default. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23837

--HG--
extra : moz-landing-system : lando
2019-04-10 22:09:48 +00:00
Adam Holm f46e894a59 Bug 1542355 - Fixes CACHEIR_LOGS=1 crashing nightly build. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D26987

--HG--
extra : moz-landing-system : lando
2019-04-11 20:04:37 +00:00
Lee Salzman 24255a072b Bug 1543744 - use clip bounds when drawing masks with Skia. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27112

--HG--
extra : moz-landing-system : lando
2019-04-11 19:00:32 +00:00
Dale Harvey 0b929a867e Bug 1496075 - Part 4: Delete searchplugins. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25357

--HG--
extra : moz-landing-system : lando
2019-04-11 20:49:56 +00:00
Dale Harvey 9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey 81edbab4a6 Bug 1496075 - Part 2: Telemetry changes to support search extensions. r=chutten,raphael
Differential Revision: https://phabricator.services.mozilla.com/D25245

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:57 +00:00
Dale Harvey 7ebe97c465 Bug 1496075 - Part 1: Extensions changes to support search extensions. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D25244

--HG--
extra : moz-landing-system : lando
2019-04-11 21:30:47 +00:00
Dale Harvey 374f6a02aa Bug 1486820 - Part 2: Add tests to ensure valid manifest. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D25381

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:22 +00:00
Dale Harvey 8ac474648e Bug 1486820 - Convert Opensearch files to WebExtensions. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24140

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:09 +00:00
Ed Lee 0e4abe13bb Bug 1543756 - Add Discovery preferences, optimized images and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D27139

--HG--
extra : moz-landing-system : lando
2019-04-11 21:20:17 +00:00
André Bargull 16ab6e389e Bug 1539694 - Part 3: Update xray tests for Promise. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D26144

--HG--
extra : moz-landing-system : lando
2019-04-11 21:07:00 +00:00
André Bargull 64d8a565e1 Bug 1539694 - Part 2: Implement Promise.allSettled stage 3 proposal. r=jorendorff
Nightly-only for now because the proposal only just reached stage 3.

Promise.allSettled is similar to Promise.all, except that each element also has
an own reject handler. Apart from that most code from Promise.all can be reused
for Promise.allSettled, including calling the `CommonPerformPromiseAllRace`
helper function.

Because each element has an own reject handler and we need to track if either
function of the resolve/reject handler pair was already called, it's not
possible to reuse the same trick as in `PromiseAllResolveElementFunction` where
the data-holder slot is used to track if the handler was already called. Instead
`PromiseAllSettledElementFunction` uses the values array to check if the
current index position is still set to `undefined` as a mean to verify that the
resolving functions for each element weren't already called.

Differential Revision: https://phabricator.services.mozilla.com/D25209

--HG--
extra : moz-landing-system : lando
2019-04-11 21:06:40 +00:00
André Bargull 700ff40d88 Bug 1539694 - Part 1: Modify shared Promise.all/race helper to allow passing in a different reject function. r=jorendorff
And a shared helper function for Promise.all, Promise.race, and soon
Promise.allSettled to avoid code repetition.

Differential Revision: https://phabricator.services.mozilla.com/D25208

--HG--
extra : moz-landing-system : lando
2019-04-11 21:06:17 +00:00
Shane Caraveo 964cc5ac33 Bug 1528562 support POST with 303 redirect in identity.launchWebAuthFlow r=rpl,Ehsan
nsBrowserStatusFilter is updated to not filter out STATE_IS_REDIRECTED_DOCUMENT.

The test here is adding a way to have a "login form" do a post to a server script, which then does a 303 redirect.  This mimics what some services, including LinkedIn do during this stage.

Differential Revision: https://phabricator.services.mozilla.com/D26969

--HG--
extra : moz-landing-system : lando
2019-04-11 21:26:14 +00:00
Ting-Yu Lin 2ebacf19f8 Bug 1543571 Part 4 - Manually replace "reflow state" with "reflow input" that are break across lines. r=dholbert
This is a follow-up for Part 1. I find all the candidates by running the
following command under layout/, and manually replace them.

  ag -A 1 reflow$ | ag -B 1 state

Differential Revision: https://phabricator.services.mozilla.com/D27162

--HG--
extra : moz-landing-system : lando
2019-04-11 21:22:16 +00:00
Ting-Yu Lin e1cd02f366 Bug 1543571 Part 3 - Rename blockHtmlRI to blockReflowInput in nsBlockFrame::ReflowBlockFrame(). r=dholbert
nsHTMLReflowState was renamed to ReflowInput in bug 1277129, so remove
the "Html" in the variable name.

Also, remove the comment "ReflowBlock will initialize it." because
ReflowInput::Init() is called in the constructor. We are not using
ReflowInput::CALLER_WILL_INIT flag here.

Differential Revision: https://phabricator.services.mozilla.com/D27024

--HG--
extra : moz-landing-system : lando
2019-04-11 20:29:44 +00:00
Ting-Yu Lin 04a76d27a6 Bug 1543571 Part 2 - Replace DUMMY_PARENT_REFLOW_STATE with DUMMY_PARENT_REFLOW_INPUT. r=dholbert
This patch is generated by the following script running on Linux:

function rename() {
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.cpp" -or\
            -name "*.h" \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename DUMMY_PARENT_REFLOW_STATE DUMMY_PARENT_REFLOW_INPUT

Differential Revision: https://phabricator.services.mozilla.com/D27023

--HG--
extra : moz-landing-system : lando
2019-04-11 20:27:18 +00:00
Ting-Yu Lin f49d08722a Bug 1543571 Part 1 - Replace "reflow state" with "reflow input". r=dholbert
This patch is generated by the following script on Linux:

function rename() {
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.cpp" -or\
            -name "*.h" \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "reflow state" "reflow input"

Differential Revision: https://phabricator.services.mozilla.com/D27022

--HG--
extra : moz-landing-system : lando
2019-04-11 20:27:37 +00:00
Ting-Yu Lin 16b761dfeb Bug 1543571 Part 0 - Adjust a comment to prevent it from being adjusted in Part 1. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D27161

--HG--
extra : moz-landing-system : lando
2019-04-11 20:51:42 +00:00
Jason Laster 6cc5611a86 Bug 1543519 - Add a build watcher. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26998

--HG--
extra : moz-landing-system : lando
2019-04-11 19:37:29 +00:00
Drew Willcoxon 2c2bb13ce7 Bug 1540710 - Down arrow key on the current URL/text should search for the URL/text, and clicking on the history dropmarker should keep the input's current value. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25906

--HG--
extra : moz-landing-system : lando
2019-04-11 21:09:50 +00:00
Jason Laster 325188a605 Bug 1534818 - Test worker functionality.
Differential Revision: https://phabricator.services.mozilla.com/D27156

--HG--
extra : moz-landing-system : lando
2019-04-11 20:59:43 +00:00