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

2340 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 505d7f9d3c Bug 1317870 - Make intrinsic sizing for <input type=range> work properly and make its default margin/padding compatible with Chrome/Safari. r=jwatt 2018-11-15 20:47:33 +01:00
Michael Froman 2e78f7f1a1 Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:07:28 +00:00
Bogdan Tara fc8134a16a Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)

--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman 563ff5b11d Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:47 +00:00
Tom Schuster 7b787afdfe Bug 1503577 - Remove CreateDataFromPrimitive from macOS clipboard code. r=spohl
The previous |if (data)| check is not quite the same as !data.IsEmpty(), because
the previous code just checked if the do_QueryInterface failed, but not if the resulting
string is empty.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 13:24:28 +00:00
Mats Palmgren 754a89bb89 Bug 1501506 - Add -webkit-appearance:progress-bar and make that the default for <progress> for compatibility with other UAs. r=jwatt
Keep our old 'progressbar' as an alias for now, but unship
'progresschunk' by restricting it to UA/chrome sheets only.
Unship 'progresschunk-vertical' by removing it since it's
not used internally for anything.
2018-11-09 04:25:56 +01:00
Mats Palmgren 2882783137 Bug 1501483 - Add -webkit-appearance:meter and make that the default for <meter> for compatibility with other UAs. r=jwatt
Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk'
by restricting it to UA/chrome sheets only.
2018-11-09 04:25:56 +01:00
arthur.iakab cd9c08f450 Merge mozilla-central to autoland 2018-11-07 23:53:43 +02:00
Markus Stange 7ff5b8352b Bug 1503424 - Null-check NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification before using it in order to fix a startup crash on 10.10. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D11239

--HG--
extra : moz-landing-system : lando
2018-11-07 21:38:21 +00:00
Jonathan Watt b5bfd3a7ea Bug 1505316 p2. Rename aWidgetType to aAppearance in widget code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11156

--HG--
extra : rebase_source : c908a6d6419c6462453cb8b745effc583d767902
extra : source : 07e12bc71a8d96b52b1a1bbc8dc7545ae4454a4f
2018-10-24 16:24:57 +01:00
Jonathan Watt 587108c41f Bug 1505316 p1. Use StyleAppearance instead of WidgetType in widget code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11155

--HG--
extra : rebase_source : 7cbb8c381adfc49803c1bc0e90f4609f6cc7e6d0
2018-10-24 12:47:20 +01:00
Markus Stange b988e51cc5 Bug 1504833 - Remove vestigial TitlebarAndBackgroundColor definition. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D10962

--HG--
extra : moz-landing-system : lando
2018-11-05 21:17:12 +00:00
Daosheng Mu e9931800c1 Bug 1498625 - Part 2: Switch VR process to TYPE_MOZILLA_CHILD message loop type. r=froydnj,handyman
Differential Revision: https://phabricator.services.mozilla.com/D10643

--HG--
extra : moz-landing-system : lando
2018-11-05 21:28:38 +00:00
Gabriele Svelto 266ef73c96 Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10251

--HG--
extra : moz-landing-system : lando
2018-10-31 20:39:03 +00:00
Lee Salzman 978391d1a2 Bug 1502152 - Skia m71 mozbuild fixes. r=rhunt 2018-10-30 22:17:34 -04:00
Xidorn Quan 78e208a120 Bug 1501418 - Have scrollbar-color: auto resolved to auto rather than two colors. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D9640

--HG--
extra : moz-landing-system : lando
2018-10-24 11:52:46 +00:00
Xidorn Quan d4af807d62 Bug 1498216 - Properly support alpha channel on custom scrollbars. r=spohl
This also includes implementation of nsNativeThemeCocoa::GetWidgetAutoColor
which should have been done in bug 1464722 actually.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 16:05:05 +00:00
Jonathan Watt 3922f1cb96 Bug 1500423. Make '-webkit-appearance: menulist-textfield' behave like Chrome. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D9339

--HG--
extra : rebase_source : afa3c037857838be2e18d4b47eaf64d318747de7
2018-10-19 18:12:15 +01:00
Markus Stange a14e1357ef Bug 1496823 - Remove declaration of -[NSView _regionForOpaqueDescendants:forMove:]. r=spohl
Our implementation of this method was removed in bug 1070710. I forgot to remove the declaration in that bug.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:50:09 +00:00
Margareta Eliza Balazs c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Markus Stange 43ec702b66 Bug 1496823 - Inline -[ChildView drawRect:inContext:] into -[ChildView drawRect:]. r=spohl
This was separate because at some point in the past we were calling
-[ChildView drawRect:inContext:] from a separate draw-in-titlebar pass. That separate
pass was removed in bug 676241.

Depends on D7929

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:49:18 +00:00
Markus Stange 4dd2f66dab Bug 1496823 - Inline drawUsingOpenGL into drawRect:inContext: and tweak a comment. r=spohl
Depends on D7928

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:48:20 +00:00
Markus Stange a6b335391e Bug 1496823 - Remove unneeded debugging code. r=spohl
I don't think anybody has made use of this code in years.

Depends on D7927

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:47:33 +00:00
Markus Stange b6affc509f Bug 1496823 - Remove -[ChildView setNeedsDisplayInRect:] override. r=spohl
This override was intended to ignore unnecessary nsChildView::Invalidate calls
when using main thread OpenGL. With OMTC, Gecko no longer calls Invalidate in
those cases, it just composites on the compositor thread, and the widget's main
thread code doesn't really hear about it. So this workaround is no longer necessary.

Depends on D7925

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:47:29 +00:00
Markus Stange 0838e29ffa Bug 1496823 - Remove -[ChildView isUsingMainThreadOpenGL] and dependent code because it always returns NO. r=spohl
The main thread layer manager is always NONE, BASIC or CLIENT. It is never OPENGL anymore.
Main-thread OpenGL rendering was removed in bug 924403.

Depends on D7924

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:46:16 +00:00
Markus Stange aac44afa75 Bug 1496823 - Remove EventThreadRunner and the pref that enabled it. r=kats,spohl
This was an experiment before we had e10s. It's no longer needed.

Depends on D7922

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:44:28 +00:00
Markus Stange 6a68b8cf92 Bug 1496823 - Remove setNeedsPendingDisplay infrastructure. r=spohl
Many years ago, Gecko would sometimes call nsChildView::Invalidate during drawRect:.
This is no longer the case: Widget invalidations now only happen outside of drawRect,
usually from a refresh tick or from viewWillDraw.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:43:23 +00:00
Tom Schuster 805f4cc3c8 Bug 1497831 - Followup as point as out by froydnj, r=me
--HG--
extra : rebase_source : a19ab1375e2316e38b9e5ecd6801739838e3d01b
2018-10-17 18:21:55 +02:00
Tom Schuster 028ba5d31e Bug 1497831 - Use nsTArray instead of nsIArray for nsITransferable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D8194

--HG--
extra : moz-landing-system : lando
2018-10-10 20:25:54 +00:00
Neil Deakin f659f51906 Bug 1310193 - Remove wrapping of nsISupports as nsISupportsInterfacePointer in transferables. r=smaug
--HG--
extra : rebase_source : 562b3bcd621ad348b7e2ada8151775b188ba58ff
2018-10-07 16:33:07 +02:00
Narcis Beleuzu b9b1c8ff17 Merge inbound to mozilla-central. a=merge 2018-10-04 18:48:04 +03:00
Tom Schuster 04d0f910fd Bug 396370 - Set RequestingPrincipal and ContentPolicy in BaseDragService. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D7407

--HG--
extra : moz-landing-system : lando
2018-10-04 10:31:32 +00:00
Narcis Beleuzu bcd56bfa14 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 12:29:16 +03:00
Masayuki Nakano 19d76978e8 Bug 1495964 - Remove unnecessary NS_ASSERTION in nsChildView::DispatchEvent() r=m_kato
The assertion was reasonable check before fixing bug 1446401.  However,
this is currently valid situation in UI Events spec.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 02:51:16 +00:00
Andrew McCreight 0437363577 Bug 1495912- Remove more trivial calls to do_QueryInterface r=smaug
MozReview-Commit-ID: 34BAwt3SAJk

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

--HG--
extra : moz-landing-system : lando
2018-10-03 19:52:01 +00:00
Timothy Nikkel 1438d13673 Bug 1490938. Pass the high quality scaling flag when we request decode of images in most cases. r=aosmond
If we do not pass the high quality scaling flag than the resulting surface will be marked as cannot substitute, which is not accurate, so we don't want.

The only place that actually tries to be smart about the size is nsImageFrame::MaybeDecodeForPredictedSize. All other cases just ask for the intrinsic size.

The two most likely cases are that there are no decoded copies of the image, or there is one decoded (or in progress) copy of the image.

In the first case we will request decode at the instrinsic size, and then if we draw at a different size that draw will request the proper size. This doesn't change with this patch.

In the second case there is a decoded copy already available, this is likely from a draw call on the image, and that is the surface size that we want. So we save a decode. If we are actually drawing the image at two different sizes the second size will be slightly delayed, but we have the wrongly sized copy of the image that we can draw until then. This seems like a good tradeoff to avoid always decoding an instrinic size copy of images.
2018-09-27 18:30:17 -05:00
Stephen A Pohl 01b7969db1 Bug 1489785: Remove a workaround for gcc, introduced in bug 678607, that is no longer needed and that causes hangs in modal dialogs on macOS 10.14. r=mstange 2018-09-30 01:02:08 -04:00
Noemi Erli 803184ef7d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 07:11:04 +03:00
Nicholas Nethercote 36c48819d1 Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku
--HG--
extra : rebase_source : db09f7ab93a1c41ace03a645623f78a27ecfff8c
2018-04-03 13:21:06 +10:00
Ehsan Akhgari 8d7c2999dc Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6275

--HG--
extra : moz-landing-system : lando
2018-09-20 01:20:55 +00:00
Miko Mynttinen 861ebd5ede Bug 1492210 - Cast AVAuthorizationStatus to GeckoAVAuthorizationStatus r=haik
Differential Revision: https://phabricator.services.mozilla.com/D6214

--HG--
extra : moz-landing-system : lando
2018-09-18 23:59:04 +00:00
Hiroyuki Ikezoe 2fbe11f20e Bug 1492284 - sharedWorkspace.notificationCenter for Mojave to get the accessibilityDisplayShouldReduceMotion changes. r=mstange
On Mojave (or later versions) defaultCenter doesn't get the
accessibilityDisplayShouldReduceMotion changes, we need to use
sharedWorkspace.notificationCenter instead.

Note that the reason why we use defaultCenter originally is that using
sharedWorkspace.notificationCenter to post a notification (for mochitest)
crashed on MacOSX 10.10 (on a try).

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

--HG--
extra : moz-landing-system : lando
2018-09-19 03:25:08 +00:00
Jeff Muizelaar 14d863897b Bug 1491395. Replace BorderWidths with LayoutSideOffsets. on a CLOSED TREE
--HG--
extra : source : 432d22af68c825eebd86482c714b3cffcba408c7
extra : amend_source : e38a2ed15ae4a93613244726fbfad2d196876ad8
2018-09-18 09:01:36 -04:00
Ehsan Akhgari 77ce9e051f Backout changeset b4f8cb6afab6 (bug 1491594) for talos performance regressions 2018-09-18 18:33:56 -04:00
Andreea Pavel 21be148b05 Backed out 2 changesets (bug 1491395) for failing awsy\test_memory_usage.py TestMemoryUsage.test_open_tabs on a CLOSED TREE
Backed out changeset 432d22af68c8 (bug 1491395)
Backed out changeset 153d6dc38962 (bug 1491395)
2018-09-18 21:23:03 +03:00
Margareta Eliza Balazs 0a37599745 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-18 17:38:17 +03:00
Masayuki Nakano 6d56c9b541 Bug 1491032 - Make TISInputSourceWrapper::WillDispatchKeyboardEvent() decide charCode value with keypress event index r=m_kato
If a key inputs multiple characters, we dispatch same number eKeyPress
events to input each character.  However,
TISInputSourceWrapper::WillDispatchKeyboardEvent() always sets
charCode of all eKeyPress events to first character of inserting.
Instead, it should set charCode value to nth character of the
inserting string.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 01:46:29 +00:00
Jeff Muizelaar 58ae2188e5 Bug 1491395. Replace BorderWidths with LayoutSideOffsets. 2018-09-18 09:01:36 -04:00
Ehsan Akhgari 7c7f4d95f6 Bug 1491595 - Remove the XPCOM registration for the bidi keyboard; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5962
2018-09-17 00:02:58 -04:00
shindli e599043c55 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-17 00:42:34 +03:00