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

25173 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 910f934cab Bug 1348299 - Use both, OS locale and app locale when trying to test for potentially Japanese fonts. r=m_kato
MozReview-Commit-ID: 5Dtq1WplSML

--HG--
extra : rebase_source : bf9f9553dd7737c2c1ebdfbc3078304095bc23bc
2017-03-22 00:27:14 -07:00
Markus Stange f1e72b72af Bug 1321907 - Hook up the GPU process to the profiler. r=dvander
MozReview-Commit-ID: 8Xq3FPprAF8

--HG--
extra : rebase_source : 5fc143275081bd736574051e90b3dfa821a4be9a
2017-03-21 19:39:13 -04:00
Zibi Braniecki 46babd4690 Bug 1349454 - Use OS locale to localize font names. r=Pike
MozReview-Commit-ID: 8O60H6IIkmc

--HG--
extra : rebase_source : 72689054f59f7273e4f18745640e968407bf965b
2017-03-22 00:38:55 -07:00
Carsten "Tomcat" Book 62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
David Anderson d87c3b4cc9 Fix mask layer transforms in the D3D11 compositor. (bug 1349056, r=mstange) 2017-03-21 20:36:03 -07:00
David Anderson 8217a1b1a7 Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow) 2017-03-21 20:32:56 -07:00
David Anderson 3f1c4ac214 Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow) 2017-03-21 20:32:55 -07:00
David Anderson ca86baecf0 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson e61288b390 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson 019d548845 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
David Anderson 4d00ab76d4 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
Wes Kocher 3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Boris Zbarsky 246fba64e9 Bug 1348331 part 3. Change Preferences::RegisterCallback/RegisterCallbackAndCall/UnregisterCallback to do exact matching on the pref name, not prefix matching. r=froydnj.
MozReview-Commit-ID: GY6J62yWkfk
2017-03-21 14:59:02 -04:00
Boris Zbarsky ec233151ac Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot
MozReview-Commit-ID: 2ebVZO4fN6i
2017-03-21 14:59:02 -04:00
Wes Kocher 4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Petr Cerny 89ce732573 Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
KuoE0 399d6c086f Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
MozReview-Commit-ID: IcEVkfB3puW

--HG--
extra : rebase_source : 45e3f28325d5e6da41fb65688d518170eb5764bb
2017-03-21 00:38:11 +08:00
cku ff59d84e8f Bug 1349115 - Remove gfxPattern::CairoStatus r=mstange
This function is not a virtual function and always returns CAIRO_STATUS_SUCCESS
after the patch in bug 1054838 landed. There is no reason to keep it anymore.

MozReview-Commit-ID: EadrrFQyjfY

--HG--
extra : rebase_source : 3f6a284dc9fa396d5cfd3f64190562373801a0a2
2017-03-21 14:32:22 +08:00
Boris Chiou 5daf1f2b75 Bug 1343153 - Part 1: Add some useful constructors for ComputedTimingFunction. r=birtles
In order to avoid creating a temporary nsTimingFunction in some cases and
calling Init(), add some useful constructors to reduce the redundant code.

MozReview-Commit-ID: I8zmWeKl9aw

--HG--
extra : rebase_source : 50a9adc90c26c16fd1dcd7b70c519794b8d406fd
2017-03-17 16:37:49 +08:00
Kearwood Gilbert 4e410934af Bug 1346923 - Remove PVRManager::GetDisplays sync IPC r=daoshengmu,kanru
- PVRManager::GetDisplays was a sync IPC that was part of an optimization
  for a use case that has been eliminated by changes to the WebVR spec.
- This was an optimization for Navigator.activeVRDisplays that would allow
  enumeration of displays active in any content process without powering
  on any additional VR hardware.  This will no longer be necessary as the
  activeVRDisplays has been restricted to returning only the displays
  active in the current javascript context.

MozReview-Commit-ID: F6sOtM9nups

--HG--
extra : rebase_source : bd8967fab9677206d998eea922c8d1640551de1c
2017-03-15 16:40:57 -07:00
Kearwood Gilbert d6adf366f6 Bug 1344393 - Add StageParameters for Oculus r=daoshengmu
MozReview-Commit-ID: 9OkleewwS2b

--HG--
extra : rebase_source : 75bffc843ba9a3d869700334c41ceb910707e5f4
2017-03-17 13:33:56 -07:00
Botond Ballo fde5b63146 Bug 1346632 - Add a mochitest. r=kats
MozReview-Commit-ID: 2o3cpTaGG1V

--HG--
extra : rebase_source : 25dc7749225bab57ebcce79533c105f3ff164dff
2017-03-15 17:49:50 -04:00
Botond Ballo 4acfa9a890 Bug 1346632 - On desktop platforms, do not ignore the root scroll frame when hit-testing in PrepareForSetTargetAPZCNotification. r=kats
Doing so produces incorrect hit testing results in some scenarios, e.g. when
dragging the scrollbar on certain pages.

MozReview-Commit-ID: AA0nu042U00

--HG--
extra : rebase_source : d84849d5bd22eee7fb837e8c717d202ce1bc5c86
2017-03-15 17:52:13 -04:00
Carsten "Tomcat" Book d61e0b9ced merge mozilla-inbound to mozilla-central a=merge 2017-03-20 13:10:48 +01:00
Miko Mynttinen 6e4add711b Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
MozReview-Commit-ID: H3YmadD8sFz

--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Sebastian Hengst c9f5cc6b45 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8nsStTZt40O
2017-03-18 16:24:53 +01:00
Jeff Gilbert a0ef36e101 Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Boris Chiou 06caf786e0 Bug 1348322 - Fix the initial values of gVelocityCurveFunction. r=kats
MozReview-Commit-ID: LDWCeRC4JBH

--HG--
extra : rebase_source : 3937add42e185d9c29f86d8626bb65e7172dcdd1
2017-03-17 23:54:46 +08:00
Kevin Chen 9347006c20 Bug 1160157 - Make AcquireSync RAII. r=bas
--HG--
extra : rebase_source : ac0843be287410b4fed48d7ab06cbba599735d0a
2017-03-17 00:18:00 -04:00
Jeff Muizelaar 67d7b8af2a Bug 1345243. Remove support for building without DirectWrite. r=bas
Now that we don't support XP it's reasonable for us to drop support for GDI
fonts and rely solely on DirectWrite. We should start this process by removing
support for building without DirectWrite.
2017-03-17 15:39:14 -04:00
Daosheng Mu 4a4964014f Bug 1346149 - Part 4: No longer need the index attribute in VRControllerHost; r=kip
MozReview-Commit-ID: 18KREzO4dy0

--HG--
extra : rebase_source : c1f711eaa4278d48e06ce18ccc6f2eedebb31345
2017-03-17 11:09:24 +08:00
Daosheng Mu 30464b7713 Bug 1346149 - Part 3: Adjust OpenVR controllers button and axis mapping to be more flexible; r=kip
MozReview-Commit-ID: 9qYzlgsWNXM

--HG--
extra : rebase_source : 52935ae64a0f35a8731017bc627fbb17ea659ffc
2017-03-16 15:57:04 +08:00
Daosheng Mu a9b4ca18eb Bug 1346149 - Part 2: Adjust Oculus Touch button and axis mapping; r=kip
MozReview-Commit-ID: H9FxkG0S5OL

--HG--
extra : rebase_source : d45ec0ccb7f4f0f9ca79df85b499a489983e4897
2017-03-16 15:54:00 +08:00
Daosheng Mu ce4a76e405 Bug 1346149 - Part 1: Make button support value in VRSystemManager; r=kip
MozReview-Commit-ID: 72rqJZtIaDa

--HG--
extra : rebase_source : 393ad8033f656d8bd26dcf000764c51bc70f8c4f
2017-03-16 15:49:46 +08:00
Sebastian Hengst e4de847b3c Backed out changeset 836d16519edf (bug 1345853) for frequently failing its own test pattern-big-image.html. r=backout 2017-03-17 21:54:01 +01:00
Carsten "Tomcat" Book 3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Jeremy Chen 9a60f77d80 Bug 1343516 - clean up the mess of PropertyProvider and its implementations. r=jfkthame
The cleanup work includes:

part 1: make all methods 'const' for the abstract class of PropertyProvider.

part 2: make nsFontMetrics's StubPropertyProvider final.

part 3: make nsTextFrame's PropertyProvider final.

  Make some methods 'const' and some variables 'mutable', so we could let all the
  overridden methods stay const.

  We also need to make the pass-in parameter of gfxFontGroup's GetHyphenWidth const.
  Note that the comment of GetHyphenWidth seem outdated, so I fixed it as well.

part 4: make the member variables in nsTextFrame's PropertyProvider to be 'const'.

  Make all the member variables 'const' except mStart, mLength,
  mJustificationArrayStart, and mJustificationSpacings.

  The static function AdvanceToNextTab is fixed since we only use 2 of the 4 parameters.

part 5: coding style fix for nsTextFrame's PropertyProvider.

MozReview-Commit-ID: 1kbWPwx27aQ
2017-03-17 18:53:15 +08:00
Carsten "Tomcat" Book c3b7907400 Backed out changeset a6780188f669 (bug 1314543) for suspicion this cause perma windows 7 xpcshell failures 2017-03-17 10:57:41 +01:00
cku e2d44c26bf Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : bc338b1a33f1dbf209706577b2455315dfb855e2
2017-03-16 12:17:19 +08:00
vincentliu 115a96aa36 Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-17 09:49:13 +08:00
Jonathan Kew d48350696a Bug 1345461 - Adjust vector allocation. r=jrmuizel
--HG--
extra : rebase_source : 952dc8c19548913d77db77f4ad5c2fe036167794
2017-03-09 21:07:05 +00:00
Jeff Muizelaar 5fef9e7fdb Bug 1346585. Only call describe when we're actually going to do the logging r=kats
Element::Describe() was taking 238ms on
https://bevasarlas.tesco.hu/groceries/en-GB.
We definitely don't want to be doing it if we don't have to.
2017-03-15 17:54:56 -04:00
Daosheng Mu 7365b64923 Bug 1306493 - Part 6: disable require gesture when running VR tests; r=kip
MozReview-Commit-ID: EGTumxkgcDW

--HG--
extra : rebase_source : f9448d700c6b58c7aaa865e5f73e9265240f5569
2017-03-16 11:46:22 +08:00
Daosheng Mu 66f6566530 Bug 1306493 - Part 5: Make we only have one VRMockDisplay in tests; r=kip
MozReview-Commit-ID: ACIszhHGUiQ

--HG--
extra : rebase_source : 66addde807ff29315c903506439eed39b900b52e
2017-03-15 13:50:34 +08:00
Daosheng Mu 1785cdc8c9 Bug 1306493 - Part 4: Make timestamp to be a monotonically increasing value in VRMockDisplay; r=kip
MozReview-Commit-ID: COR9n3fQBTX

--HG--
extra : rebase_source : 373621c4f46ad438b7ba2ae5555965025e46ce23
2017-03-15 13:49:39 +08:00
Daosheng Mu f09c777451 Bug 1306493 - Part 1: Fix bug of getting frame data from VRPuppet; r=kip
MozReview-Commit-ID: L8gPVjxELtV

--HG--
extra : rebase_source : 1790c8970e5401c1e0c4431c947f9bdad2fa2c34
2017-03-13 13:07:48 +08:00
Gregory Moore 4ecf8268a9 Bug 1204502 - Added a GTest to ensure that a nested-APZC overscroll handoff with opposing constrained axes will work properly (fixed by bug 1201098). r=botond
MozReview-Commit-ID: hZQQaeQBRT

--HG--
extra : rebase_source : 85539aa14502d7e38c88d0c5b358a1ae30be1606
2017-02-27 15:02:50 -08:00
Gregory Moore 7c764b25b0 Bug 1343775 - Relieve overscroll after low-velocity pan so page doesn't get stuck in overscroll. r=botond
MozReview-Commit-ID: JmdDWMkk8uK

--HG--
extra : rebase_source : 6d687df086288bd4ae4d27cdcd7a2ed2ccdd45de
extra : amend_source : bed3f2586a6705bef24001fbfc3552cab6ab5360
2017-03-18 17:12:35 -07:00
Timothy Nikkel 45004a3e56 Bug 1346109. Set a displayport base in APZCCallbackHelper::InitializeRootDisplayport when we set displayport margins. r=botond
Since this is for a root document this isn't that hard.
2017-03-20 00:14:57 -05:00
Kearwood Gilbert b38d859652 Bug 1346926 - Make PVRManager::SetHaveEventListener async r=kanru
- There appears to be no issues with simply changing
  SetHaveEventListener from sync to async.

MozReview-Commit-ID: 3LKgDx9AZnm

--HG--
extra : rebase_source : 6c706f592f71a8c967a58f6906861fcff2525ebf
2017-03-21 13:21:17 -07:00