Commit Graph

30132 Commits

Author SHA1 Message Date
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
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
Ryan VanderMeulen
6767362379 Bug 1465807 - Update OTS to version 7.0.0. r=jfkthame
--HG--
extra : rebase_source : f1a477fc59a9a91a2fa9e4b33a14de1a59374a17
2018-05-31 11:56:59 -04:00
Ryan Hunt
c9fcf05c4a Bug 1465590 - Clean up code for copying between an old tile buffer and a new one. r=nical
Another cleanup patch.

MozReview-Commit-ID: Ak0TTcbFePt

--HG--
extra : rebase_source : 511ea28e5e95bbc949414303a7885985f0fec910
extra : histedit_source : d38c6073f1775e901af3ddee0858bbd291b99cf2
2018-05-29 16:21:32 -05:00
Ryan Hunt
d9dda42436 Bug 1465590 - Kill the nesting in ValidateBackBufferFromFront. r=nical
Just a cleanup patch, this function would be cleaner without the
nesting.

MozReview-Commit-ID: DD48E2HSQOL

--HG--
extra : rebase_source : 79cf6b3eee00149fa5993c10bd69649633307fee
extra : histedit_source : 1fde6b0291acddcf73569b2e43757030c38d9e69
2018-05-29 15:01:54 -05:00
Ryan Hunt
bd906e49c6 Bug 1465590 - Don't clear a tile if we are painting opaque content. r=nical
MozReview-Commit-ID: IKayyoo19eG

--HG--
extra : rebase_source : 20d765fd3d72bf7c741f6a4ccf20fe5cf7defbb4
extra : histedit_source : 00a95df5678dbf106fb704b47cb54ccc746a53f7
2018-05-29 14:50:36 -05:00
Andreea Pavel
5a5a03c800 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-05-31 13:07:31 +03:00
Andreea Pavel
38bcf897f1 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-31 13:04:21 +03:00
sotaro
624fefcfd6 Bug 1418202 - Serialize ProgramBinary to/from blob/disk r=nical 2018-05-31 15:07:34 +09:00
sotaro
b0fbe12bd3 Bug 1465306 - Make D3D11YCbCrRecycleAllocator handle device reset r=nical 2018-05-31 09:35:24 +09:00
Kartikaya Gupta
e20d6e1da2 Bug 1452845 - Turn on async scene building by default. r=jrmuizel
MozReview-Commit-ID: 6sHKSEPzgIf

--HG--
extra : rebase_source : 201216f8892e22a4d84f5967d7d5df317d724e56
2018-05-24 16:16:01 -04:00
Kartikaya Gupta
659df77837 Bug 1452845 - Fix up snapshotting implementation with async-scene-building enabled. r=botond,jrmuizel
This updates the not-really-correct code to flush the WR pipeline before
doing a readback. It now uses the flushing functions introduced in bug
1417784 to ensure things are flushed properly.

MozReview-Commit-ID: 90BZuLKcjUi

--HG--
extra : rebase_source : 2180aa0ac7ff7b46467e0c24094fcc99479120f7
2018-05-24 16:16:00 -04:00
Kartikaya Gupta
61f3a20ced Bug 1457590 - Use the HitTestingTreeNodeAutoLock. r=botond
This updates the GetTargetAPZC function to produce a
HitTestingTreeNodeAutoLock out-param instead of a
RefPtr<HitTestingTreeNode>, to ensure that the node can be used safely
in calling functions. It then propagates that change outward as needed,
which covers all the scrollbar dragging code.

MozReview-Commit-ID: 43K4eSECb4E

--HG--
extra : rebase_source : b34a880c6fd60069f7a4fa0527cbb5e903085356
2018-05-30 15:54:51 -04:00
Kartikaya Gupta
6acdee2bb0 Bug 1457590 - Add the HitTestingTreeNodeAutoLock class. r=botond
This adds the HitTestingTreeNodeAutoLock RAII class that allows using
a HitTestingTreeNode safely outside a tree lock, and ensures that the
node won't get destroyed or recycled concurrently.

MozReview-Commit-ID: 8Tb3vdIeUgr

--HG--
extra : rebase_source : 6eed3e733edcaa4088da52882a9b3dc8c2355c2e
2018-05-30 15:54:50 -04:00
Kartikaya Gupta
46df7cfee3 Bug 1457590 - Strengthen the contract around recycling HitTestingTreeNodes. r=botond
This patch makes three related changes:
- A non-functional change that factors a IsRecyclable function on
  HitTestingTreeNode.
- A non-functional change that sprinkles proof-of-tree-lock arguments to
  a few HitTestingTreeNode functions, to ensure at compile-time that they
  can only be called while holding the tree lock.
- A functional change that stops clearing mLayersId in
  HitTestingTreeNode::Destroy, so that if a node is non-recyclable, and
  it gets Destroy()'d while other code still has a RefPtr to it, that
  other code can still read the layers id off in a safe manner.

These changes provide a stronger set of checks around node recycling,
and allows for a safe mechanism to use a HitTestingTreeNode on the
controller thread without having to lock the entire APZ tree. The
mechanism is effectively a per-node lock, which will be added in the
next patch.

MozReview-Commit-ID: DBIjFDZJwhE

--HG--
extra : rebase_source : 318c27c4473e54b30a0393fca6c2fc76083036b2
2018-05-30 15:54:50 -04:00
Kartikaya Gupta
e9a2771d52 Bug 1464473 - Update for API change in WR PR 2768. r=nical
MozReview-Commit-ID: ARLaXz9K0i7

--HG--
extra : rebase_source : 6c4897ab613472d5b24e5bcd200d55eaaa8ebf4c
2018-05-29 08:46:41 -04:00
Kartikaya Gupta
f50bd712ac Bug 1464473 - Update for API change in WR PR 2764. r=Gankro
MozReview-Commit-ID: AScuSY0OViR

--HG--
extra : rebase_source : 7d8e98c0fc46c2759752b08d1555da99e8e2ff6b
2018-05-29 08:45:48 -04:00
Kartikaya Gupta
10f4292c33 Bug 1464473 - Update webrender to 3829687ffbe8d55885d71a3d5e5e79216251548f. r=Gankro
MozReview-Commit-ID: 100EQ2cTdj4

--HG--
extra : rebase_source : 22829dcb9b4a4b07a9b76aea6f1df5c9a1f1b488
2018-05-29 08:45:25 -04:00
Eliza Balazs
8f46f595c9 Bug 1430530 - Disable test_acceleration.html for frequent failures on windows 10 !debug. r=jmaher 2018-05-29 08:35:00 +03:00
Noemi Erli
f353eab731 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-30 00:52:42 +03:00
Noemi Erli
846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Jonathan Kew
77decadbe2 Bug 1464904 - When font-variations support is preffed off, do not set up variation ranges in the gfxFontEntry for a system font, so that font selection will rely only on the static properties of the faces. r=lsalzman 2018-05-29 20:24:28 +01:00
Jonathan Kew
1171052be1 Bug 1425812 - Rely on native Core Text support for COLR/CPAL fonts on High Sierra. r=lsalzman 2018-05-29 17:07:48 +01:00
Andrew Osmond
d76ab26901 Bug 1462355 - Part 8. Avoid allocating on the heap in DrawableFrameRef. r=tnikkel
We can easily use Maybe<DataSourceSurface::ScopedMap> instead of
allocated the map on the heap. This does require some minor changes to
ScopedMap to properly support moves, but should be much more efficient.
2018-05-29 08:36:13 -04:00
shindli
ee44448835 Merge inbound to mozilla-central. a=merge 2018-05-29 12:52:25 +03:00
jmuizelaar@mozilla.com
e6ddc950f8 Bug 1452375 - sse3-scaler: make sure iter->x/y is representable. r=sotaro 2018-05-29 14:27:09 +09:00