Commit Graph

30159 Commits

Author SHA1 Message Date
Jeff Walden
799a518e22 Bug 745089 - Replace nscoord-specific positive-infinity/is-nan primitives with FloatingPoint.h uses. r=dbaron
--HG--
extra : rebase_source : bcc17dc96be6449116cf26c772a020d3eddd2bd3
2018-06-06 16:03:48 -07:00
Hiroshi Hatake
8d1a2c23fa Bug 1466778 - Make usable GLLibraryEGL on wayland build, r=lsalzman,stransky?
After Bug 1451183 is landed, sEGLLibrary is undefined and we should use
gl::GLLibraryEGL::Get() instead of sEGLLibrary directly.

MozReview-Commit-ID: DNEkPIEqDpK

--HG--
extra : rebase_source : b07e04ce8a9fe50d72fd857e41c1448fa917d2a9
2018-06-05 18:26:29 +09:00
Kartikaya Gupta
28ebbe606f Bug 1465784 - Remove unnecessary render step with async-scene-building. r=sotaro
MozReview-Commit-ID: 8iOQHLhlcjA

--HG--
extra : rebase_source : 4dab621c8364d719ce895f6ab62d16c73b12bee7
2018-06-06 16:45:06 -04:00
Kartikaya Gupta
1088aa797b Bug 1465892 - Re-enable assertions for WR hit-testing codepath. r=botond
MozReview-Commit-ID: 489Gyhgf1C5

--HG--
extra : rebase_source : 05b1b10629e167ffa163166239bc4bab0f70c596
2018-06-01 09:08:11 -04:00
Narcis Beleuzu
7fdbc8641e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-06 20:04:08 +03:00
jlogandavison
9f253dcf5c Bug 1355656 - Implement test cases for two finger fling gestures. r=botond
* Add option for second focus point in PinchWithTouchInput
  * Integrate content controller in PinchWithTouchInput
  * Move PinchWithTouchInput implementation to APZCTesterBase
  * Move CreateSingleTouchData to APZTestCommon.h
  * Add optional PinchOptions parameter to PinchWithTouchInput

    PinchOptions dictates which fingers should be lifted at
    the end of the simulated pinch gesture. The default is to
    lift BOTH fingers.

--HG--
extra : rebase_source : 9a2c5d1a6a8a6ed97869d3e9d643e2a805f5dfd0
extra : amend_source : b5d2976cc3c5203069a532d228e006365e4da320
2018-05-30 19:43:28 +00:00
Narcis Beleuzu
cce21bfe40 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-06 12:52:15 +03:00
Narcis Beleuzu
2783aa1322 Merge inbound to mozilla-central. a=merge 2018-06-06 12:36:55 +03:00
Joel Maher
d113b6d4a4 Bug 1392106 - random-if(win7) reftest font rendering failures. r=RyanVM 2018-06-06 05:30:44 -04:00
Randall Barker
2c2e0b614f Bug 1465816 - Add initial code needed to support gfxVRExternal on android r=kip,jchen
MozReview-Commit-ID: 9rXXqIvyvhp
2018-06-05 18:33:01 -07:00
Kashav Madan
5feadd6857 Bug 1466611 - Render layout viewport on APZ minimap. r=botond
MozReview-Commit-ID: HrTRZpU3rAi

--HG--
extra : rebase_source : 701badfe0eb1f3f71d55dcdc9fa7e639b321a2d6
2018-06-04 18:02:04 -04:00
Bogdan Tara
3737701cfa Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-05 12:33:18 +03:00
Jeff Gilbert
a4c2e92cc1 Bug 1459785 - Update ANGLE to chromium/3396.
MozReview-Commit-ID: EA39lUfXuPI
2018-06-04 20:08:16 -07:00
Jeff Gilbert
416785bdf0 Bug 1459785 - Record merge_base_from in cherry_picks.txt.
Link to ANGLE<->Chrome version mapping page.

MozReview-Commit-ID: 8OWSkGigHtE
2018-06-04 20:08:13 -07:00
sotaro
d23a997a0d Bug 1466454 - Do not create CompositorWindow for non-WebRender case r=nical 2018-06-05 08:07:52 +09:00
Dorel Luca
535f1df913 Merge mozilla-central to mozilla-inbound 2018-06-04 21:48:29 +03:00
Dorel Luca
746fbfe0a7 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-04 21:11:34 +03:00
Kearwood Gilbert
5bb50b3bf3 Bug 1463329 - Iterate over a copy of VRManagerChild::mDisplays to guard against modifications to mDisplays during the loop
--HG--
extra : rebase_source : 52f30a91d8dd8567e56aa30c9cb37a02f86dea9b
2018-05-30 14:07:13 -07:00
Ryan Hunt
c01796098b Bug 1346126 - Use RemoveAllChildren in ~ContainerLayerComposite. r=mattwoodrow
--HG--
extra : amend_source : 7960a34e49459979715f8a727c338370cf4760f3
2018-06-01 11:18:07 -05:00
Martin Robinson
46bd5d1cf4 Bug 1465058 - Update for API change in WR PR 2756. r=kats
MozReview-Commit-ID: 6Vg0bTpBYVh

--HG--
extra : rebase_source : f9b4f5cdb26d268d7804afb827c7710a05bc56d9
2018-05-16 16:47:08 +02:00
Kartikaya Gupta
0ffc26692e Bug 1465058 - Update webrender to commit 8e697f8cb1f1aab2e5f6b9b903eb7191340b10c5. r=Gankro
MozReview-Commit-ID: BakJj8upl1A

--HG--
extra : rebase_source : 977723b4c807e1ac4887c957ff72a2628b2367c1
2018-06-04 10:53:49 -04:00
Kartikaya Gupta
5c9db945bb Bug 1463184 - Use the HTTNAutoLock in FindScrollbarThumb. r=botond
MozReview-Commit-ID: Gk1GO44A57v

--HG--
extra : rebase_source : adf676f9980e2e725acb0431511bbcf373515112
2018-06-04 10:01:49 -04:00
Miko Mynttinen
4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
Gurzau Raul
f040d25e12 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-04 12:53:25 +03:00
Jonathan Kew
7954a2d745 Bug 1466332 - patch 3 - Update StyleDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt 2018-06-03 21:33:53 +01:00
Jonathan Kew
7cfc0cfbdc Bug 1466332 - patch 2 - Update WeightDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt 2018-06-03 21:33:47 +01:00
Jonathan Kew
b4b39146d3 Bug 1466332 - patch 1 - Update StretchDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt 2018-06-03 21:33:42 +01:00
Kartikaya Gupta
2cead810c0 Bug 1455597 - Flush the transaction to remove the pipeline before shutting down the WebRenderAPI. r=sotaro
MozReview-Commit-ID: GuQJjMzzQUE

--HG--
extra : rebase_source : 30f17418135fe68a3dfca0ee36f3df5c53924f24
2018-06-02 12:15:15 -04:00
arthur.iakab
7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Andreea Pavel
4ced6e8b2d Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Mats Palmgren
8f2a5e19c9 Bug 1466330 - Make nsITheme::GetWidgetBorder return the border directly instead of using an out-param (idempotent patch). r=emilio 2018-06-02 19:10:48 +02:00
Andrea Marchesini
7ba8b77e07 Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.

It also removes a memory reporter because that report is already covered by the
BlobURL one.

--HG--
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/file/BlobURLProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/file/BlobURLProtocolHandler.h
2018-06-02 15:51:42 +02:00
Jonathan Watt
572c8e4059 Bug 1466251 part 1 - Make sure we reject FontFace.loaded if font loading times out. r=heycam 2018-05-15 16:18:40 +01:00
Hiroyuki Ikezoe
a39a4ba11e Bug 1464568 - Set the shadow base transform value for the case where opacity animations' calculation was skipped. r=kats
And make DOMWindowUtils.getOMTCTransform work for opacity animations' layer.

MozReview-Commit-ID: 7P99WjYqPr0

--HG--
extra : rebase_source : cf87e8da40cf9febdb4188f4ef8ebe3b64eabe53
2018-06-05 12:50:39 +09:00
Hiroyuki Ikezoe
602a075310 Bug 1464568 - Set the shadow base transform for animation explicitly even if the transform value hasn't changed. r=kats
That's because the shadow base transform value might have been changed by APZC.

The test case in this patch fail without this fix on non-WebRender and the test
case is skipped on WebRender since the bug should never happen on WebRender
because WebRender manages animation transform value and APZ transform value
separately.

MozReview-Commit-ID: Itgh0QL1su6

--HG--
extra : rebase_source : c6f498947ce0be81bfd89f8190f4676f00aa6355
2018-06-05 12:50:36 +09:00
Hiroyuki Ikezoe
2dffa2305c Bug 1464568 - Add an IPC call to get transform value for a given element on the compositor. r=froydnj,kats
This function returns the transform value modified by both OMTA and APZC.
Note that the transform conversion code is almost the same as the code dropped
in https://hg.mozilla.org/mozilla-central/rev/415811f3804f .

MozReview-Commit-ID: HmsMQp3O4n4

--HG--
extra : rebase_source : ac3994359d646dedaa5ff2f664b20787be8a75f6
2018-06-05 09:18:22 +09:00
Hiroyuki Ikezoe
6df13785df Bug 1464568 - Add an argument to ApplyAsyncProperties() to apply the transform by APZC or not. r=kats
In the next patch, we will introduce a new IPC function to get transform value
modified by both animations and APZC.

MozReview-Commit-ID: Uf5UHg5Jm

--HG--
extra : rebase_source : 68a52c110b049266ce982bc9284de8642dc3405d
2018-06-05 09:18:21 +09:00
Emilio Cobos Álvarez
1e9c395548 Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:

  s/mozilla::Forward/std::forward/
  s/Forward</std::forward</

The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)

MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Lee Salzman
121d7193a4 Bug 1465686 - validate SkArenaAlloc sizes. r=rhunt
MozReview-Commit-ID: Cc4cxKeF4xn
2018-06-01 15:52:26 -04:00
Lee Salzman
5cf4237333 Bug 1464094 - follow-up - check that dlsym succeeded in ApplyVariations. r=me
MozReview-Commit-ID: 5lrrnFVKMS0
2018-06-01 15:39:50 -04:00
Lee Salzman
6069a3aae9 Bug 1464094 - follow-up - check that dlsym succeeded. r=me
MozReview-Commit-ID: L6jOU6C9CHS
2018-06-01 15:32:33 -04:00
Lee Salzman
8b3d9da4eb Bug 1465585 - undo erroneous Move edit in Skia. r=me 2018-06-01 13:12:55 -04:00
Lee Salzman
50e6372cf9 Bug 1464094 - print font variations as paths for PDF/PS output. r=jfkthame
MozReview-Commit-ID: 3sPKD4pNwdy
2018-06-01 13:08:57 -04:00
Jonathan Kew
d4b7d95206 Bug 1464400 - Keep track of CSS generics when resolving to actual font families and faces, and expose as a new CSSGeneric attribute on InspectorFontFace. r=jwatt 2018-05-25 14:07:57 +01:00
Brindusan Cristian
2c5b7db570 Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
Jonathan Kew
0cc7412d4f Bug 1464400 - Keep track of CSS generics when resolving to actual font families and faces, and expose as a new CSSGeneric attribute on InspectorFontFace. r=jwatt 2018-05-25 14:07:57 +01:00
sotaro
636448ae4d Bug 1465319 - Clean up IMFYCbCrImage r=nical 2018-06-01 19:12:10 +09:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
sotaro
dba97baec3 Bug 1465008 - Drop ImageClients of ImageBridgeChild when device reset happens r=nical 2018-06-01 07:52:06 +09:00