Commit Graph

30850 Commits

Author SHA1 Message Date
Noemi Erli
c2716211ca Merge inbound to mozilla-central. a=merge 2018-09-14 06:31:31 +03:00
Ryan VanderMeulen
9f7d0bfb65 Bug 1490062 - Update HarfBuzz to version 1.9.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5830

--HG--
rename : gfx/harfbuzz/src/hb-aat-layout-common-private.hh => gfx/harfbuzz/src/hb-aat-layout-common.hh
rename : gfx/harfbuzz/src/hb-aat-layout-private.hh => gfx/harfbuzz/src/hb-aat-layout.hh
rename : gfx/harfbuzz/src/hb-atomic-private.hh => gfx/harfbuzz/src/hb-atomic.hh
rename : gfx/harfbuzz/src/hb-blob-private.hh => gfx/harfbuzz/src/hb-blob.hh
rename : gfx/harfbuzz/src/hb-buffer-private.hh => gfx/harfbuzz/src/hb-buffer.hh
rename : gfx/harfbuzz/src/hb-face-private.hh => gfx/harfbuzz/src/hb-face.hh
rename : gfx/harfbuzz/src/hb-font-private.hh => gfx/harfbuzz/src/hb-font.hh
rename : gfx/harfbuzz/src/hb-iter-private.hh => gfx/harfbuzz/src/hb-iter.hh
rename : gfx/harfbuzz/src/hb-machinery-private.hh => gfx/harfbuzz/src/hb-machinery.hh
rename : gfx/harfbuzz/src/hb-map-private.hh => gfx/harfbuzz/src/hb-map.hh
rename : gfx/harfbuzz/src/hb-mutex-private.hh => gfx/harfbuzz/src/hb-mutex.hh
rename : gfx/harfbuzz/src/hb-object-private.hh => gfx/harfbuzz/src/hb-object.hh
rename : gfx/harfbuzz/src/hb-open-file-private.hh => gfx/harfbuzz/src/hb-open-file.hh
rename : gfx/harfbuzz/src/hb-open-type-private.hh => gfx/harfbuzz/src/hb-open-type.hh
rename : gfx/harfbuzz/src/hb-ot-layout-common-private.hh => gfx/harfbuzz/src/hb-ot-layout-common.hh
rename : gfx/harfbuzz/src/hb-ot-layout-gsubgpos-private.hh => gfx/harfbuzz/src/hb-ot-layout-gsubgpos.hh
rename : gfx/harfbuzz/src/hb-ot-layout-private.hh => gfx/harfbuzz/src/hb-ot-layout.hh
rename : gfx/harfbuzz/src/hb-ot-map-private.hh => gfx/harfbuzz/src/hb-ot-map.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-arabic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-arabic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-indic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-indic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-khmer-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-khmer.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-myanmar-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-myanmar.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-use-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-use.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex.hh
rename : gfx/harfbuzz/src/hb-ot-shape-fallback-private.hh => gfx/harfbuzz/src/hb-ot-shape-fallback.hh
rename : gfx/harfbuzz/src/hb-ot-shape-normalize-private.hh => gfx/harfbuzz/src/hb-ot-shape-normalize.hh
rename : gfx/harfbuzz/src/hb-ot-shape-private.hh => gfx/harfbuzz/src/hb-ot-shape.hh
rename : gfx/harfbuzz/src/hb-set-digest-private.hh => gfx/harfbuzz/src/hb-set-digest.hh
rename : gfx/harfbuzz/src/hb-set-private.hh => gfx/harfbuzz/src/hb-set.hh
rename : gfx/harfbuzz/src/hb-shape-plan-private.hh => gfx/harfbuzz/src/hb-shape-plan.hh
rename : gfx/harfbuzz/src/hb-shaper-impl-private.hh => gfx/harfbuzz/src/hb-shaper-impl.hh
rename : gfx/harfbuzz/src/hb-shaper-private.hh => gfx/harfbuzz/src/hb-shaper.hh
rename : gfx/harfbuzz/src/hb-subset-private.hh => gfx/harfbuzz/src/hb-subset.hh
rename : gfx/harfbuzz/src/hb-unicode-private.hh => gfx/harfbuzz/src/hb-unicode.hh
rename : gfx/harfbuzz/src/hb-utf-private.hh => gfx/harfbuzz/src/hb-utf.hh
rename : gfx/harfbuzz/src/hb-vector-private.hh => gfx/harfbuzz/src/hb-vector.hh
rename : gfx/harfbuzz/src/hb-private.hh => gfx/harfbuzz/src/hb.hh
extra : rebase_source : 96e5e4d6e8c904f1ddc8f1338e39f74b02215654
2018-09-13 20:22:57 -04:00
Jeff Muizelaar
9bcfb295a7 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 20:34:38 +00:00
Cosmin Sabou
5b41e41329 Backed out changeset 2f15d5f434d8 (bug 1490891) for reftests and crashtest failures. CLOSED TREE 2018-09-13 22:29:45 +03:00
Jeff Muizelaar
66aa4d36c4 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 17:08:43 +00:00
Emilio Cobos Álvarez
2c251c4ab5 Bug 1477551 - Ensure the clip and the rect that we push for bullets agree. r=jrmuizel
Using mPathRect causes rounding errors unnecessarily.

Differential Revision: https://phabricator.services.mozilla.com/D5698
2018-09-13 14:57:53 +02:00
sotaro
76aef326b1 Bug 1490528 - do not preload attachments for D3D11 Non-WR compositor when WR is used r=mattwoodrow 2018-09-13 13:23:38 +09:00
Daniel Varga
8eac4fe0d9 Merge mozilla-central to mozilla-inbound 2018-09-13 05:50:34 +03:00
Daniel Varga
296d94715f Merge mozilla-inbound to mozilla-central. a=merge 2018-09-13 05:30:59 +03:00
Jeff Muizelaar
ac808d8aae Bug 1490640. Update webrender to 70edb5f8a75ea1e1440ba7984cc42df9eb05ae69 2018-09-12 17:20:35 -04:00
Coroiu Cristina
a3d415bcdc Backed out changeset 1f1273ca1ad7 (bug 1490640) for reftest failures at reftests/w3c-css/submitted/images3/object-position-svg-001e.html 2018-09-13 03:48:02 +03:00
Jeff Muizelaar
05321e5738 Bug 1490640. Update webrender to 70edb5f8a75ea1e1440ba7984cc42df9eb05ae69 2018-09-12 17:20:35 -04:00
Dorel Luca
e66d358339 Backed out changeset ef589916a739 (bug 1477551) for build bustage. CLOSED TREE 2018-09-13 00:55:20 +03:00
Emilio Cobos Álvarez
75d5aaf48f Bug 1477551 - Ensure the clip and the rect that we push for bullets agree. r=jrmuizel
Using mPathRect causes rounding errors unnecessarily.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 20:13:17 +00:00
Jeff Muizelaar
1316d86812 Bug 1490742. Enable gfx.webrender.qualified.all on Nightly r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D5701

--HG--
extra : moz-landing-system : lando
2018-09-12 19:40:32 +00:00
Noemi Erli
e6319bab61 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-14 01:18:29 +03:00
Jeff Muizelaar
b5f0004a25 Bug 1490822. Update webrender to commit 0f142521b86f201a0f0957cc852aa14923ebfc73 2018-09-13 16:44:58 -04:00
Nicolas Silva
82587ac600 Bug 1477819 - Use WebRender low priority transactions for web content. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D5531

--HG--
extra : moz-landing-system : lando
2018-09-12 15:30:17 +00:00
Alex Gaynor
eeeb350e22 Bug 1490415 - prevent creating a GPUVideoTextureHost with a null wrapped texture; r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D5563

--HG--
extra : moz-landing-system : lando
2018-09-12 00:17:10 +00:00
Gurzau Raul
cc1e0fcf1d Backed out changeset 074ebb24c94b (bug 1490282) for perma failing at reftests/css-break/box-decoration-break-with-inset-box-shadow-1.html a=backout 2018-09-12 15:37:36 +03:00
Gurzau Raul
e8d8a7f9a3 Merge inbound to mozilla-central. a=merge 2018-09-12 14:40:07 +03:00
Cameron McCormack
fe196275ba Bug 1489529 - Update comments to no longer point to nsRuleNode. r=emilio
There are a few mentions of nsRuleNode left but they are mostly
historical references so it makes sense to keep them.

Differential Revision: https://phabricator.services.mozilla.com/D5505
2018-09-12 17:37:37 +10:00
Jeff Muizelaar
0b8add99da Bug 1490282. Update webrender to commit 02f14d0f333ef125d1abff7b1146039a0ba75f43 2018-09-12 00:09:43 -04:00
Bogdan Tara
d590bf616b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-12 06:26:50 +03:00
Jeff Muizelaar
d43f067572 Bug 1486198. Be more accepting of empty blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5614

--HG--
extra : moz-landing-system : lando
2018-09-11 23:14:42 +00:00
Nicolas Silva
9699c6d4db Bug 1352877 - Clear the compositor map later during shutdown. r=mattwoodrow 2018-09-11 16:50:48 +02:00
Nicolas Silva
645517471b Bug 1352877 - Avoid false negative assertion during shutdown. r=mattwoodrow 2018-09-11 16:50:30 +02:00
Jeff Muizelaar
4c33783129 Bug 1490242. Update webrender to 04d63e7d73b9661d9eb934a0933c8f9751a9a3db 2018-09-11 08:47:29 -04:00
Cosmin Sabou
de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Andreea Pavel
7b04fbd86a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-11 01:01:17 +03:00
Daniel Varga
67945694c1 Merge mozilla-central to mozilla-inbound 2018-09-10 19:23:14 +03:00
Botond Ballo
2801828374 Bug 1478335 - Use the visual viewport offset to compute the visible area in CalculateRectToZoomTo(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D5462

--HG--
extra : moz-landing-system : lando
2018-09-10 20:25:06 +00:00
Gerald Squelart
b51e0fd0cc Bug 1489944 - Fixed some std::move warnings - r=froydnj
> dom/media/gmp/CDMStorageIdProvider.cpp(63,10):  warning:
> local variable 'storageId' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/DisplayItemClip.cpp(581,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/DisplayItemClipChain.cpp(88,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/nsDisplayList.cpp(179,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> gfx/thebes/gfxWindowsPlatform.cpp(454,10):  warning:
> moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
Will remove std::move().

> gfx/thebes/gfxFontEntry.cpp(245,20):  warning:
> local variable 'name' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> netwerk/cookie/nsCookieService.cpp(4460,10):  warning:
> local variable 'path' will be copied despite being returned by name [-Wreturn-std-move]
GetPathFromURI() result is stored in an nsAutoCString, so it might as well return that type.

> toolkit/components/extensions/WebExtensionPolicy.cpp(462,12):  warning:
> local variable 'result' will be copied despite being returned by name [-Wreturn-std-move]
> toolkit/components/extensions/WebExtensionPolicy.cpp(475,10):  warning:
> local variable 'result' will be copied despite being returned by name [-Wreturn-std-move]
`result` may be empty or may be arbitrarily long, so I'll use nsCString inside the function.

> toolkit/xre/CmdLineAndEnvUtils.h(349,10):  warning:
> moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
Returning an UniquePtr, will remove std::move().
Also will `return s` instead of `return nullptr` when `(!s)`, to avoid extra construction which could also prevent elision (not entirely sure, but it's at least not worse!); and it's clearer that the two `return`s return the same already-constructed on-stack object.

> tools/profiler/core/shared-libraries-win32.cc(111,10):  warning:
> local variable 'version' will be copied despite being returned by name [-Wreturn-std-move]
nsPrintfCString -> nsCString, will add std::move().

> xpcom/glue/FileUtils.cpp(179,10):  warning:
> local variable 'fullName' will be copied despite being returned by name [-Wreturn-std-move]
> xpcom/glue/FileUtils.cpp(209,10):  warning:
> local variable 'path' will be copied despite being returned by name [-Wreturn-std-move]
nsAuto{,C}String -> ns{,C}String, will add std::move().

This allowed removals of 'AllowCompilerWarnings' from layout/painting,
netwerk/cookie, and toolkit/components/extensions.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 15:51:48 +00:00
Lee Salzman
907071413e Bug 1486810 - round sizes in blur assertion. r=rhunt 2018-09-11 14:33:45 -04:00
Nicolas Silva
6116cd2551 Bug 1489471 - Ensure the renderer gets notified when a WebRender transaction requests a frame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D5398

--HG--
extra : moz-landing-system : lando
2018-09-10 08:24:58 +00:00
Henri Sivonen
434c47b3cb Bug 1489462 - Avoid writing past the logical length of a string in Oculus library loader. r=kip
* Avoid writing past an XPCOM string's length using BeginWriting().
 * Instead of having a constant for max path length, query the
   Windows API for the length it wants.
 * Avoid using AppendPrintf for mere concatenation using arguments
   that might contain non-ASCII.

MozReview-Commit-ID: 9m7xOHRTB35

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

--HG--
extra : moz-landing-system : lando
2018-09-08 17:23:25 +00:00
Matt Woodrow
f4a90435ef Bug 1488980 - Implement StartFrameTimeRecording for WebRender. r=mstange
MozReview-Commit-ID: Ib5t0e8S6df

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

--HG--
extra : moz-landing-system : lando
2018-09-08 18:41:34 +00:00
Masatoshi Kimura
573d020151 Bug 1489664 - Re-enable clang-cl warnings-as-errors in gfx/gl/
--HG--
extra : source : 8b662cd94402c588213578abeb8cb363ad37eb54
2018-09-07 21:12:02 +09:00
Daniel Varga
1539df295b Merge mozilla-inbound to mozilla-central a=merge 2018-09-08 06:53:43 +03:00
Mike Hommey
117e48720c Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5224

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:01 +00:00
Botond Ballo
226a67047c Bug 1489630 - Mark AutoApplyAsyncTestAttributes as MOZ_RAII. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D5306

--HG--
extra : moz-landing-system : lando
2018-09-07 20:12:35 +00:00
Jeff Muizelaar
e77d9b4b90 Bug 1479175. Fix missing 'explicit'
CLOSED TREE
2018-09-07 10:53:55 -04:00
Sotaro Ikeda
2ae34d40f4 Bug 1479175 - check if keyed mutex of D3D11Texture2D has been released during recycling. r=bas 2018-09-07 10:12:27 -04:00
Jeff Muizelaar
af3661ea41 Bug 1489127. WebRender: Re-generate FFI header 2018-09-07 10:00:09 -04:00
Jeff Muizelaar
c7d5869aa3 Bug 1489127. Update webrender to commit 59656aa374706f25d7dc1b3b2c44970377efec22 2018-09-07 10:00:07 -04:00
Jeff Muizelaar
ea679c5b6d Bug 1489127. Properly namespace FontVariation to avoid generated bindings. r=lsalzman
We will generate a FontVariation type from the the bindings. This has the same name
as the type from 'gfx'. They're structurally the same but having them both around
confuses the compiler.
2018-09-07 10:00:04 -04:00
Bogdan Tara
30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
Bogdan Tara
df9ab52a72 Merge inbound to mozilla-central. a=merge 2018-09-07 00:55:00 +03:00
arthur.iakab
c66e0f9611 Merge mozilla-central to autoland 2018-09-06 19:50:32 +03:00
Lee Salzman
665d5160ca Bug 1489170 - fix C linkage in Moz2DImageRender. r=me 2018-09-06 11:09:42 -04:00