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

507319 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 5b50a98ca0 Bug 1331170 - Part 2: Remove gfx/thebes checks for Windows 7+. r=jrmuizel
MozReview-Commit-ID: 3odBsRFRmD0

--HG--
extra : rebase_source : 6508406332d53966499d6acfc3006070f070b811
extra : histedit_source : 7434ebb71deb4d3c9f3b8a7aeac07aba5311d631
2017-01-09 21:21:40 -08:00
Chris Peterson 9ae8abecfa Bug 1331170 - Part 1: Remove some gfx/thebes checks for Windows Vista+. r=jrmuizel
MozReview-Commit-ID: EwlnKa8Xyg6

--HG--
extra : rebase_source : 280d87f4007f1d0fb42ecf0e657ba090d03aca39
extra : histedit_source : 7d0b092648cec7caf8b301234d1ec0f525eb92b6
2017-01-09 21:24:29 -08:00
Shu-yu Guo f48c0d3547 Bug 1331452 - Keep scope in a slot in WasmFunctionCallObjects. (r=yury) 2017-01-17 19:46:19 -08:00
cku 1d4fd4233f Bug 537623 - Part 3. Fix test cases of filter-userspace-offset.svg. r=longsonr+218550
There are three test cases which are actually wrong, for example:
* offsetContainer=use&mask=userSpace-at100
  This test case is actually wrong one. All the content of <use> element should
  be masked out by the selected mask. We should use <mask id="userSpace-atZero">
  instead.

MozReview-Commit-ID: B3D2gTWmwXC

--HG--
extra : source : fcb3c9a6426e9a54a28abd5acf4448bbfac5cf0c
extra : histedit_source : 8d6c685c4d051f0e20bc286d2ab829e47d22efef
2017-01-17 17:00:46 +08:00
cku 5f8074c155 Bug 537623 - Part 2. reftests for filter/clip-path/mask painting in an use element. r=longsonr+218550
MozReview-Commit-ID: 6fFEhKHIK0U

--HG--
extra : source : f69bd7779bc9fbf3d4e38c8025eee0041da4bca1
extra : histedit_source : 5fd10ee8dbbfb073aa47ed9dbb81aed2cb47d798
2017-01-17 01:46:22 +08:00
cku 5064a33bd2 Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils. r=longsonr+218550
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.

Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.

MozReview-Commit-ID: BMjSonjoWd2

--HG--
extra : source : e32814fc5ab6fdb9e723b8109aa8f398b1c883f6
extra : histedit_source : 564968d47a3d95fde8e5b83c55148b63c1feb085
2017-01-17 17:06:16 +08:00
Iris Hsiao 6dbea17a8e Backed out changeset e32814fc5ab6 (bug 537623) 2017-01-18 11:25:25 +08:00
Iris Hsiao 86f0c869f1 Backed out changeset f69bd7779bc9 (bug 537623) 2017-01-18 11:25:22 +08:00
Iris Hsiao b158e11d27 Backed out changeset fcb3c9a6426e (bug 537623) for developer's request 2017-01-18 11:25:18 +08:00
David Anderson 22504df44c Fix ImageBridgeChild memory tracking errors on shutdown. (bug 1323957 part 6, r=mattwoodrow)
--HG--
extra : rebase_source : 58a8df18d964cbe1b216cc7e8dbceb39760e632e
2017-01-17 18:47:07 -08:00
David Anderson 3d7a9b6ee1 Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 8b2a3826a08b14065d8ef3474eddc38d592a4f82
2017-01-17 18:47:07 -08:00
David Anderson 065c15518d Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 1c4d789471a188c12bc9450c63ebaecc1b55c122
2017-01-17 18:47:06 -08:00
David Anderson 89d48ae344 Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 2e5b108e68c2774f61776481ad9c4fa558923e38
2017-01-17 18:47:06 -08:00
David Anderson 0c26150431 Move EditReply handling from ClientLayerManager to ShadowLayerForwarder. (bug 1323957 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 51e84150429e3eb5cdeb3ca7fb65051691ed421e
2017-01-17 18:47:05 -08:00
David Anderson c74b40959d Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 4ff77f95ef818f59edb3d3b167548d84773a416f
2017-01-17 18:47:05 -08:00
Randall Barker 440ada1d59 Bug 1331116 - part 2, Remove unused SnapMetrics class r=jchen 2017-01-17 18:47:20 -08:00
Randall Barker 937209439a Bug 1331116 - part 1, Remove unused ProgressiveUpdateData.java r=jchen 2017-01-17 18:47:20 -08:00
Randall Barker 774c1fed10 Bug 1331055 - Ensure the Android UI nsThread has been initialized before making it accessible. r=jchen 2017-01-17 18:47:20 -08:00
cku 76e27537b0 Bug 537623 - Part 3. Fix test cases of filter-userspace-offset.svg.
There are three test cases which are actually wrong, for example:
* offsetContainer=use&mask=userSpace-at100
  This test case is actually wrong one. All the content of <use> element should
  be masked out by the selected mask. We should use <mask id="userSpace-atZero">
  instead.

MozReview-Commit-ID: B3D2gTWmwXC

--HG--
extra : rebase_source : 09390a59d6bcd187e0e8b99ca6a78da84af49805
2017-01-17 17:00:46 +08:00
cku 9e0315b953 Bug 537623 - Part 2. reftests for filter/clip-path/mask painting in an use element.
MozReview-Commit-ID: 6fFEhKHIK0U

--HG--
extra : rebase_source : 626602168e24d539d0588658b3e7200e50539fbd
2017-01-17 01:46:22 +08:00
cku 47cf7545f7 Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils.
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.

Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.

MozReview-Commit-ID: BMjSonjoWd2

--HG--
extra : rebase_source : da629ba4464534a89718db1cd5b9705261ae4a4d
2017-01-17 17:06:16 +08:00
Jorg K 555bd2c419 Bug 1330796 - Follow-up: Add key code to KEY_Enter. r=masayuki
--HG--
extra : rebase_source : 4346ed0f9d1340b416e4cb2c2098b94aabdae8d0
2017-01-17 10:40:00 -05:00
Boris Zbarsky d4e5748a84 Bug 1328761 - Tests. r=bkelly
--HG--
extra : rebase_source : b702f75156730870f411380de1f38667ff018a37
2017-01-17 15:13:39 -05:00
vincentliu 2e57639630 Bug 1322741 - Make sure ID3D11Device is up-to-date in SyncObjectD3D11. r=dvander
---
 gfx/layers/client/ClientLayerManager.cpp |  3 ++-
 gfx/layers/client/TextureClient.h        |  1 +
 gfx/layers/d3d11/TextureD3D11.cpp        | 11 +++++++++++
 gfx/layers/d3d11/TextureD3D11.h          |  2 ++
 4 files changed, 16 insertions(+), 1 deletion(-)
2017-01-18 10:12:42 +08:00
Mihai Tabara c19ddc4c98 Bug 1330276 - remove unused signing_cert in balrogscript.r=aki
MozReview-Commit-ID: 8KLr7SRAcdK
2017-01-17 23:42:23 +02:00
Ehsan Akhgari 48a4abb8c9 Bug 1325467 - Part 3: Add a pref for adjusting the minimum timeout for tracking timeouts; r=bkelly
These prefs allow us to customize the treatment for foreground and
background tabs.  By default these timeouts aren't treated differently.
2017-01-17 21:01:17 -05:00
Ehsan Akhgari d9ae1e342b Bug 1325467 - Part 2: Let TimeoutManager::DOMMinTimeoutValue know whethe the timeout being scheduled is tracking; r=bkelly 2017-01-17 21:01:16 -05:00
Ehsan Akhgari 453c89e409 Bug 1325467 - Part 1: Add Timeout::mIsTracking; r=bkelly 2017-01-17 21:01:15 -05:00
Wes Kocher 602c930ba0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 10MpA6zwIWr
2017-01-17 17:59:26 -08:00
Jeff Gilbert 4da6480883 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
John Lin 9d6dc35064 Bug 1326026 - use bufferless samples for outputs when rendering to surface. r=snorp
MozReview-Commit-ID: 8gC0QdJUoEk
2017-01-18 09:23:03 +08:00
Jim Chen ea0faaf540 Bug 1329268 - 3. Convert Tabs observers to events; r=sebastian
Convert the "Tab:*" observers in browser.js, which go through the observer
service, to events that go through GlobalEventDispatcher.

FindHelper.js uses "Tab:Selected" through a lazy loader, but I don't
think FindHelper should listen to "Tab:Selected" at all until it is
being used. THerefore, this patch adds "Tab:Selected" registration to
FindHelper.js itself.
2017-01-17 20:06:08 -05:00
Jim Chen ba440de455 Bug 1329268 - 2. Convert Tabs events to bundle events; r=sebastian
Convert events used in Tabs to GeckoBundle/BundleEventListener events.

All of the events are converted to UI thread events, because a lot of
the listeners modify states in Tab (e.g. through
`Tab.handleLocationChange()`), and those states are later accessed on
the UI thread. We used to modify the states on the Gecko thread, and
then access them on the UI thread, which introduces potential race
conditions. Therefore, I think it's best to convert these events
wholesale to UI thread events to avoid races.

Tabs.notifyListeners now calls the listeners directly if it's already on
the UI thread, instead of posting to the UI thread again. This is meant
as an optimization because the events are now coming in on the UI thread
already.

The "Tab:SelectAndForeground" and "Tab:Select" events are merged into
one "Tab:Select" event, and a "foreground" option is added.

The "Tab:StreamStart" and "Tab:StreamStop" events are merged into one
"Tab:RecordingChange" event, and a "recording" option is added to
indicate starting or stopping.
2017-01-17 20:06:07 -05:00
Jim Chen 940c5b25cc Bug 1329268 - 1. Refactor SiteIdentity to use GeckoBundle; r=sebastian
Make SiteIdentity.update use GeckoBundle, and also simplify the enums
in SiteIdentity, by using Enum.valueOf to get enum values from names,
instead of custom code.
2017-01-17 20:06:07 -05:00
Jim Chen ddc86569ce Bug 1328991 - Convert ZoomedView events to bundle events; r=sebastian
Convert events used in ZoomedView to GeckoBundle/BundleEventListener
events.

"Window:Resize", "Browser:ZoomToPageWidth", and
"Browser:ZoomToRect" listeners are removed because they are not sent
anywhere.

The "Content:LocationChange" listener is merged into the
"Gesture:CloseZoomedView" listener, so that we can leave
"Content:LocationChange" alone for now. Otherwise we would have to
convert the "Content:LocationChange" listener in Tabs as well.

The listeners are changed from global listeners to per-GeckoApp
listeners, because two of the events, "FormAssist:AutoCompleteResult" and
"FormAssist:Hide", are per-GeckoApp events also used by FormAssistPopup.
Because the events are now per-GeckoApp events, they are now registered
from onAttachedToWindow and onDetachedFromWindow.
2017-01-17 20:06:07 -05:00
Jim Chen 58eee87559 Bug 1328990 - Convert FormAssistPopup events to bundle events; r=sebastian
Convert "FormAssist:*" events in FormAssistPopup to
GeckoBundle/BundleEventListener events.  UI thread events are used
because the listener performs operations on the UI thread.

Also convert the "FormAssist:*" observers in browser.js to use
WindowEventDispatcher.

The "FormAssist:AutoComplete" event that goes from Gecko to Java is
renamed to "FormAssist:AutoCompleteResult" to prevent conflict with the
event with the same name that goes from Java to Gecko.
2017-01-17 20:06:07 -05:00
Ben Kelly abfbb82e23 Bug 1331193 P2 Don't leave TabChild in inconsistent state if init fails. r=billm 2017-01-17 16:28:40 -08:00
Ben Kelly 76b154e7c1 Bug 1331193 Make TabChild handle a nullptr mMessageManager. r=smaug 2017-01-17 16:28:39 -08:00
Daniel Holbert 85f6680212 Bug 1331756 part 5: Drop redundant 'virtual' keyword from method overrides in several frame classes. r=xidorn
MozReview-Commit-ID: IwjWBbGe9jo
2017-01-17 16:27:03 -08:00
Daniel Holbert 1c1b78e4b7 Bug 1331756 part 4: Miscellaneous whitespace cleanup in nsFrame.h - reindent args, rewrap long methods (whitespace-only, no review)
MozReview-Commit-ID: 6zsFJ8om369
2017-01-17 16:27:03 -08:00
Daniel Holbert 835931f57f Bug 1331756 part 3: Remove extra space character between return value & function name, in some nsFrame.h method declarations. (whitespace-only, no review)
MozReview-Commit-ID: ANyG6tB2NJP
2017-01-17 16:27:03 -08:00
Daniel Holbert e9a569a3a8 Bug 1331756 part 2: Drop redundant 'virtual' keyword from nsFrame method overrides. r=xidorn
(This patch creates some mis-indentation issues; I'll fix those up in a
subsequent whitespace-only patch.)

MozReview-Commit-ID: 7gi8kmi8ZAF
2017-01-17 16:27:03 -08:00
Daniel Holbert ec6d60e965 Bug 1331756 part 1: Drop redundant 'virtual' keyword from some macros that declare nsIFrame method overrides. r=xidorn
MozReview-Commit-ID: EjPoyunTLsc
2017-01-17 16:27:02 -08:00
Ehsan Akhgari 9089fd7cb9 Bug 1331749 - Promote Windows clang-cl builds to tier 1; r=KWierso 2017-01-17 18:11:47 -05:00
Nicholas Nethercote 290ea5719b Bug 1330512 (part 2) - DocGroup labelling in nsGlobalWindow.cpp. r=billm.
For all the NS_DispatchToCurrentThread() cases I wasn't sure if we are
guaranteed to be on the main thread, but nsGlobalWindow::Dispatch() has a
MOZ_RELEASE_ASSERT(NS_IsMainThread()) and a try push showed up no problems
there.
2017-01-18 09:52:20 +11:00
Nicholas Nethercote b1f2ed57b2 Bug 1330512 (part 1) - DocGroup labelling in nsDocument.cpp. r=billm.
For all the NS_DispatchToCurrentThread() cases I wasn't sure if we are
guaranteed to be on the main thread, so I added
MOZ_RELEASE_ASSERT(NS_IsMainThread()) to all of them. A try push showed up no
problems there.
2017-01-18 09:51:59 +11:00
Wes Kocher cc67c49950 Backed out changeset 7a27e1371c3e (bug 1301495) for breaking decision tasks a=backout
MozReview-Commit-ID: Gx21fdPIkyy
2017-01-17 13:47:20 -08:00
Nicholas Nethercote 5a388e7fe3 Bug 1330512 (part 0) - Add an nsresult return value to DocGroup::GetKey(). r=billm.
Because we need to treat failing cases differently in some places.

--HG--
extra : rebase_source : ad11f4acc2f44ccdef00d7919bdffb3753a52b36
2017-01-17 11:10:27 +11:00
André Bargull 69b9b9f2ec Bug 1329187 - Call GetPrototypeFromConstructor before checking the ArrayBuffer length. r=evilpie
--HG--
extra : rebase_source : 1012281bfb8d2c6ed4fc4028a0c683aeb90c81e4
2017-01-11 14:08:00 -08:00
André Bargull 4c88a6f7d9 Bug 1331475 - Don't atomize "ArraySort" for every call to the self-hosted ArraySort function. r=till
--HG--
extra : rebase_source : 6fedc7009113acc44bda7893aeee7dac04e4a31e
2017-01-17 04:38:19 -08:00