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

653198 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 042a189a68 Bug 1536997 - Fix broken assert for recycling animated images with WebRender. r=kats
By default, recycling frames for animated images is enabled. However the
first frame is never recycled because we may need the first frame
immediately if the animation is reset. If only the first frame of an
animation is displayed before shutting down a tab, then it will not
correctly register with the layer state manager prior to its
destruction. This trips an assert incorrectly.

Now we just always register with the layer state manager if recycling is
enabled, and never if recycling is disabled. This allows us to remove
from state information at the cost of requiring a restart to toggle to
recycling pref (which is almost never done now that the feature is
stable.)

Differential Revision: https://phabricator.services.mozilla.com/D32526
2019-05-27 13:45:32 -04:00
Andrew Osmond 25e394458a Bug 1554251 - Enable WebRender on nightly for AMD hardware with Linux and Mesa drivers. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32506
2019-05-27 12:35:53 -04:00
Narcis Beleuzu 5b11cf9cb8 Backed out 5 changesets (bug 1551084) for build bustages on transform.cpp . CLOSED TREE
Backed out changeset af04f8907fab (bug 1551084)
Backed out changeset 2a5ae3eb40ce (bug 1551084)
Backed out changeset 99874bf89419 (bug 1551084)
Backed out changeset d73949bd98e9 (bug 1551084)
Backed out changeset cd1bb23b475a (bug 1551084)

--HG--
rename : gfx/qcms/transform-altivec.cpp => gfx/qcms/transform-altivec.c
rename : gfx/qcms/transform-sse1.cpp => gfx/qcms/transform-sse1.c
rename : gfx/qcms/transform-sse2.cpp => gfx/qcms/transform-sse2.c
rename : gfx/qcms/transform.cpp => gfx/qcms/transform.c
2019-05-27 18:52:34 +03:00
Andrew Osmond 5c3360e51e Bug 1551084 - Part 5. Allow QCMS gray transforms to expand to add alpha. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D30822
2019-05-27 11:16:46 -04:00
Andrew Osmond 8f51499c6d Bug 1551084 - Part 4. Add support for BGRA to QCMS. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D30821
2019-05-27 11:16:46 -04:00
Andrew Osmond b5eed66d2b Bug 1551084 - Part 3. Use templates to reduce code duplication in QCMS. r=miko
No functional change. This allows us to support both alpha and non-alpha
variants with the same implementation, in addition to laying the ground
work for QCMS to support BGRA as an input and output.

Differential Revision: https://phabricator.services.mozilla.com/D30820
2019-05-27 11:16:46 -04:00
Andrew Osmond 803f797714 Bug 1551084 - Part 2. Make QCMS transform files use C++. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D30819


--HG--
rename : gfx/qcms/transform-altivec.c => gfx/qcms/transform-altivec.cpp
rename : gfx/qcms/transform-sse1.c => gfx/qcms/transform-sse1.cpp
rename : gfx/qcms/transform-sse2.c => gfx/qcms/transform-sse2.cpp
rename : gfx/qcms/transform.c => gfx/qcms/transform.cpp
2019-05-27 11:16:46 -04:00
Andrew Osmond 086ae9c208 Bug 1551084 - Part 1. Minor reworking of QCMS to allow C files to compile as C++. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D30818
2019-05-27 11:16:46 -04:00
Oana Pop Rus cc336385cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-27 17:46:34 +03:00
Oana Pop Rus 11a2c26f52 Backed out changeset 3e5aa7cb7460 (bug 1542244) for causing broken nightly builds a=backout 2019-05-27 17:17:26 +03:00
Andreas Tolfsen 40f04269b2 bug 1554638: remote: fix link to Slack instance; r=me a=doc
DONTBUILD
2019-05-27 12:23:26 +01:00
Andreas Tolfsen d3c3e5844d bug 1553544: marionette: improve links to client documentation; r=me a=doc
DONTBUILD
2019-05-27 12:20:18 +01:00
Oana Pop Rus b449beb044 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-27 13:00:59 +03:00
Yoshi Cheng-Hao Huang 196d61246b Bug 1376646 - Part 2: remove redudant IsInsideNursery() check. r=sfink
TenuringTracer::traverse(JSObject**) and
TenuringTracer::traverse(JSString**) will check IsInsideNursery(),
and also these two functions will be called by other callers,
so removing the check in CellPtrEdge::traceTyped

Differential Revision: https://phabricator.services.mozilla.com/D32167
2019-05-27 10:03:46 +02:00
Yoshi Cheng-Hao Huang 505eee2e5b Bug 1376646 - Part 1: Separate buffer for storing JSString and JSObject cells. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D32097
2019-05-27 10:03:37 +02:00
tanhengyeow ddb81c7a43 Bug 1554095 - Fix Block URL action. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D32522

--HG--
extra : moz-landing-system : lando
2019-05-27 06:47:10 +00:00
pradeepgangwar 60e1e451c8 Bug 1436043- Fix: console missing coloured bars, adds requests.css to webconcole; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32571

--HG--
extra : moz-landing-system : lando
2019-05-27 06:10:39 +00:00
Jesse Schwartzentruber 4d2cb046da Bug 1346454 - Add a couple of crashtests. r=mats DONTBUILD
--HG--
extra : amend_source : a82dc4e2c7a6da22303e5e790d0bca1d540b3404
2019-05-27 02:45:43 +02:00
Jean-Yves Avenard 5cf6be0c13 Bug 1554438 - P3. Shutdown threads whenever they exist. r=mattwoodrow
We only attempted to shutdow WinCompositorWindowThread if the WebRender thread hadn't not been started.

However, it is possible that the value of gfxVars::UseWebRender() changed since GPUParent::Init got called.

So don't assume anything, shutdown the thread if it still exists.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 22:24:49 +00:00
Coroiu Cristina 16e94ed95a Merge inbound to mozilla-central a=merge 2019-05-27 00:13:53 +03:00
Coroiu Cristina 86860202b9 Merge autoland to mozilla-central a=merge 2019-05-27 00:12:05 +03:00
Sebastian Hengst b28451f8af Bug 1554493 - Don't run fission tests on Try because they are permafailing. a=cleaner-try-pushes 2019-05-26 18:22:02 +02:00
Razvan Maries 6fbdaf61c3 Backed out changeset f9699ae30f4d (bug 1213601) on jrmuizel's request. 2019-05-26 18:12:56 +03:00
Jean-Yves Avenard e4ba671378 Bug 1552643 - P3. rename medium_high_event_queue.enabled pref. r=froydnj
To make it more inline other preferences naming.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 15:00:09 +00:00
Jean-Yves Avenard 710e7c61ff Bug 1552643 - P2. Clarify the requirements section. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D32252

--HG--
extra : moz-landing-system : lando
2019-05-26 14:59:55 +00:00
Jean-Yves Avenard 5654453862 Bug 1552643 - P1. Re-organise prefs in sections. r=njn
This re-organise the various sections, re-sorting preferences by alphabetical order as originally intended (except for media).

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:59:43 +00:00
Jean-Yves Avenard 27fe93a619 Bug 1550422 - P27. Do not set WebRender preferences as code don't expect them to exists. r=cpearce
Listing the preferences in either all.js or StaticPrefList.h would also make them appear in about:config which is something we don't want.

Additionally, rename some pref constants to improve code clarity as we can no longer rely on using the StaticPrefs accessor.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:42 +00:00
Jean-Yves Avenard 62b101eb4f Bug 1550422 - P26. Make setter only usable on main process. r=njn
And set the underlying preference. StaticPrefs::Set becomes a convenience access to the original preference which is what gfxPrefs was actually doing.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:27 +00:00
Jean-Yves Avenard 219c4ba3bb Bug 1550422 - P25. Don't make prefs unnecessarily atomic. r=njn
Skip and Once prefs are only ever written on the main thread once. There's no need to make those prefs atomic.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:18 +00:00
Jean-Yves Avenard f3645a594e Bug 1550422 - P24. Fix style of StaticPrefs. r=njn
Prefs aren't yet sorted as they should be, this will be done in bug 1552643

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:03 +00:00
Jean-Yves Avenard 022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Jean-Yves Avenard 68d537fd60 Bug 1550422 - P22. Remove gfxPref sync with GPU process. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31467

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:27 +00:00
Jean-Yves Avenard 2b100af8bf Bug 1550422 - P21. Remove gfxPref sync with VR process. r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D31466

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:12 +00:00
Jean-Yves Avenard 3d2a9f2e92 Bug 1550422 - P20. Add missing namespace. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31463

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:04 +00:00
Jean-Yves Avenard 5322579cda Bug 1550422 - P19. Convert gfxPrefs::LayersWindowRecordingPath to gfxVars. r=jrmuizel
StaticPrefs doesn't support nsCString type and the changes required to support this would be rather big. Seeing that there was only a single gfxPrefs using this, and this is a "Once" pref ; we move it to gfxVars instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:57 +00:00
Jean-Yves Avenard 321b1d810f Bug 1550422 - P18. Convert gfxPrefs::LayoutFrameRate to StaticPrefs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31461

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:37 +00:00
Jean-Yves Avenard 9ac65feb3d Bug 1550422 - P17. Convert gfxPrefs::GfxLoggingLevel to StaticPrefs. r=jrmuizel
Fly-by fix, we make LoggingPrefs::sGfxLogLevel as it is written on the main thread but read on different threads.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:29 +00:00
Jean-Yves Avenard 23436e1811 Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31259

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:14 +00:00
Jean-Yves Avenard 988e19f307 Bug 1550422 - P14. Add GetXXName and GetXXDefault methods to StaticPrefs. r=njn
This is required to emulate some gfxPrefs functionalities.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:56 +00:00
Jean-Yves Avenard 85777eccf3 Bug 1550422 - P13. Add Skip, Once and Live cached preference policy. r=njn,kmag
This works identically to what gfxPrefs UpdatePolicy offers.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:52 +00:00
Jean-Yves Avenard 04a34db033 Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
gfxPrefs Live preferences are almost identical to StaticPrefs.

We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:42 +00:00
Jean-Yves Avenard 4b77501235 Bug 1550422 - P11. Add atomic float preferences support. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31255

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:37 +00:00
longsonr 88ee2d5b6d Bug 1551030 Part 1 - Remove some obsolete typedefs r=dholbert 2019-05-26 13:35:22 +01:00
Razvan Maries aba472751e Merge mozilla-inbound to mozilla-central a=merge 2019-05-26 12:26:33 +03:00
Matthew Noorenberghe 5c68a7ecfb Bug 1272849 - Move test_empty_password to its own file. r=intermittent
--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_notifications_2.js => toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger_empty_password.js
2019-05-25 17:06:51 -07:00
Matthew Noorenberghe 4792c7b56c No bug - Enable 'no-var' eslint rule for passwordmgr/
--HG--
extra : amend_source : 3848fa80d77680f21caacebab5058e630abf14a6
extra : histedit_source : ea9a6e75c55a63b62cdc90690c8a49f5e9b592a4
2019-05-25 16:57:28 -07:00
Matthew Noorenberghe 4f3dd3cb23 No bug - Enable 'block-scoped-var' eslint rule for passwordmgr/
--HG--
extra : amend_source : 216c6888a1cc4aadc993e091e79775b60e000216
extra : histedit_source : 91d6555e58bc505df79c3ea174c893c9b13cc495
2019-05-25 16:07:36 -07:00
Matthew Noorenberghe cca40c7f65 No bug - Move passwordmgr mochitest .eslintrc.js to the mochitest directory
--HG--
rename : toolkit/components/passwordmgr/test/.eslintrc.js => toolkit/components/passwordmgr/test/mochitest/.eslintrc.js
extra : histedit_source : 9d348063e68947d8fbda7d0ef9cb97bd6ed39a02
2019-05-25 15:52:17 -07:00
Matthew Noorenberghe 94d96882c7 No bug - Convert 'var' to 'let' in passwordmgr
--HG--
extra : histedit_source : 5af8d16766e0eba926171c8eddc824f8be40cb25
2019-05-25 15:42:18 -07:00
Matthew Noorenberghe 03ad378d2a No bug - Fix JSDoc file comments in passwordmgr unit tests
--HG--
extra : histedit_source : 3dac6a2519c891dca0ef50a3083f0ae6c7ffa640
2019-05-25 15:11:13 -07:00