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

1329 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 452a3b8454 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t

--HG--
extra : rebase_source : cd994e5c6abf777f77c5a708cbfb2f6afc49a44c
2017-02-14 14:01:59 -08:00
Botond Ballo 4638f16b5d Bug 1337990 - Support cross-apz axis lock with touch-action enabled, and add a gtest for it. r=kats
MozReview-Commit-ID: AwPgwyYw2fV

--HG--
extra : rebase_source : 1b81771499bf74b9feaa5bd530234f643d0267c3
2017-02-08 19:25:31 -05:00
Botond Ballo 86233b8e5e Bug 1337990 - Add a gtest for cross-apzc axis lock with touch-action disabled. r=kats
MozReview-Commit-ID: 3ycm6B4dNen

--HG--
extra : rebase_source : d758db722edb6bcbfc17824f0ce4aefa5a7c66ff
2017-02-10 17:37:15 -05:00
Botond Ballo 411f673387 Bug 1337990 - Introduce a PanOptions enumeration for passing options to APZCTesterBase::Pan(). r=kats
MozReview-Commit-ID: 54UZV54IyfD

--HG--
extra : rebase_source : 83ef27a26c36f3b7bf72e92ca64a4628a2d6eb9f
2017-02-10 16:08:12 -05:00
Kartikaya Gupta 61bc491994 Merge m-c to graphics
MozReview-Commit-ID: Ejcj1CD87t3
2017-02-09 10:12:03 -05:00
Nathan Froyd 8c0f3e0e5e Bug 1337144 - don't use RemoveElementAt(0) in APZ's Axis class; r=botond
We can more simply perform any processing we need, and then use Clear to
clear the array in one go.
2017-02-08 18:11:51 -05:00
Kartikaya Gupta 2c58155ac0 Merge m-c to graphics
MozReview-Commit-ID: EcjJhQuqDFI
2017-02-05 10:39:54 -05:00
Kartikaya Gupta bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Kartikaya Gupta 6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Carsten "Tomcat" Book 72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Kartikaya Gupta 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Botond Ballo a98321305e Bug 1328658 - Notify main thread of a failed attempt to start an APZ scrollbar drag. r=kats,tnikkel
MozReview-Commit-ID: ERm1sVNfoKL

--HG--
extra : rebase_source : 0b57987a2a15533fad577dd2d363ec386f6bfeae
2017-01-27 18:02:22 -05:00
Ryan Hunt 3fe2c02ee1 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Kartikaya Gupta ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze 1907780e48 Bug 1331599 - tests fixed by hand after making addEventListener use the once option when possible, r=jaws. 2017-01-25 07:03:42 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Kartikaya Gupta 29dfe5930f Bug 1333505 - Some cosmetic cleanup (comments/whitespace/alpha-sorting). r=nical
MozReview-Commit-ID: 2DYABsBzSrs
2017-01-24 16:06:17 -05:00
Kartikaya Gupta a5594122e3 Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Ehsan Akhgari b583e128e0 Bug 1335070 - Switch the PresShell::Paint profiler marker to use GetPrimaryContentDocument to annotate using the content document; r=tn 2017-02-02 18:22:53 -05:00
Kartikaya Gupta b66c471aef Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Wes Kocher f125093492 Bug 1298218 - Disable more android tests to green things up on android a=me
MozReview-Commit-ID: 22HmSyO7ign
2017-02-01 17:03:18 -08:00
Wes Kocher 6d994661dd Bug 1298218 - Disable test_frame_reconstruction.html on android for being permafail a=me
MozReview-Commit-ID: v6LN8xDH4o
2017-02-01 16:59:35 -08:00
Kartikaya Gupta c65ab1c730 Merge m-c to graphics
MozReview-Commit-ID: LPeWBwbK82h
2017-01-12 12:40:09 -05:00
Andrew Osmond 8d973dfcfc Bug 1331938 - Part 2b. Fix missing includes causing unified build errors. r=me 2017-01-27 09:42:38 -05:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack 35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Kartikaya Gupta fe1bb32f1a Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Nicolas Silva f1b93535c4 Bug 1328602 - Start implementing the render thread. r=gfx? 2017-01-06 19:10:15 +01:00
Phil Ringnalda bc39cd575f Merge m-c to m-i 2017-01-24 18:57:47 -08:00
David Anderson baf1f78d98 Move ScrollDirection to LayersTypes.h and make it a proper enum. (bug 1332567 part 1, r=kats) 2017-01-24 16:41:17 -08:00
Kartikaya Gupta 9e39d8aea2 Bug 1331194 - Don't cancel wheel-scroll animations when starting a new wheel block. r=botond
MozReview-Commit-ID: AU36ABfXYNQ

--HG--
extra : rebase_source : 2eac22db441326a6606d217dccfd11cda255f8de
2017-01-23 18:10:20 -05:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Boris Zbarsky 2b893326f8 Bug 1335368 part 2. Stop using IsCallerChrome in CheckerboardReportService::IsEnabled. r=bholley 2017-02-01 15:43:36 -05:00
Florian Quèze a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Cameron McCormack babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Markus Stange 2a1b7a54a6 Bug 1336530 - Re-enable Android tests that were disabled in bug 1298218 and disable the assertion. r=tnikkel
MozReview-Commit-ID: L7PnRvUkw5O

--HG--
extra : rebase_source : 920d4418b72bd78998267be06062dae8f4b38316
2017-02-03 14:55:51 -05:00
Botond Ballo 2cf88d5f5e Bug 1335958 - Simplify APZ overscroll physics. r=kats
Replace the oscillating spring physics used for B2G with simpler physics
where we just snap back without oscillating, using an MSD model.

This is not currently used, but will be once we enable overscroll for
macOS.

MozReview-Commit-ID: 8g2Sjdj002Z

--HG--
extra : rebase_source : 6cea43d993ce7ebfeab8a6cf3ebb3c5a7c8f29df
2017-02-01 19:47:26 -05:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Botond Ballo e8cc185f9d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg

--HG--
extra : rebase_source : 3517e8c8a578a0bd257a80bb8cb81303d171bb6c
2017-01-04 13:42:36 -05:00
Ho-Pang 41adef3ae2 Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug
--HG--
extra : rebase_source : b123e74425e56c09ab38f5916589abb84c3d5996
2016-12-20 22:53:00 -05:00
Kevin Wern cc43e4daa6 Bug 1324581 - call ScrollSnap() in AsyncPanZoomController when drag ends r=botond
MozReview-Commit-ID: LpZ2PbL0FoF

--HG--
extra : rebase_source : a98cdde39a78b975a01e14c45899ca7141e8087e
2016-12-23 04:34:18 -05:00
Randall Barker 1101ff0a36 Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-23 09:08:37 -08:00
Wes Kocher 079a079cbe Backed out 2 changesets (bug 1321644) for android xpcshell bustage a=backout
Backed out changeset 60ba1893ecf3 (bug 1321644)
Backed out changeset c25bce77b775 (bug 1321644)
2016-12-22 18:16:23 -08:00
Randall Barker 0adfb0ba8f Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-22 16:15:14 -08:00
Botond Ballo a72159c3ad Bug 1321885 - Expose the current async scroll offset in CSS pixels. r=kats
Some consumers want to use the async scroll offset in CSS pixels, and
it's pointless to convert to ParentLayer pixels only to have the consumer
convert it back.

MozReview-Commit-ID: B8nq3LUPM6Q

--HG--
extra : rebase_source : 9d2fc1d7637945bf582877118fd7d53e04c00f4c
2016-11-21 19:26:07 -05:00
Botond Ballo 3472ac9d09 Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats
MozReview-Commit-ID: 2glK42uCFBs

--HG--
extra : rebase_source : ba36935ce4c728c5a6a412dd6668f605db743bf6
2016-11-21 19:25:32 -05:00
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Kevin Wern e4d8f7fbe8 bug 1249162 - Fix unwanted thumb shifts when starting APZ drag r=botond
Fix thumb position determination in these places:
- nsSliderFrame::StartAPZDrag() -- Constrain sliderTrack using
  GetXULClientRect() to match dimensions used in
  SetCurrentThumbPosition() and DoXULLayout(). This is what caused
  the scaling/offset mismatch.
- nsSliderFrame::StartAPZDrag() -- Adjust nonsensical calculation of
  cssSliderTrack. Should be sliderFrame + scrollbarFramePosition -
  compositionBoundsPosition, to get coordinates relative to the same
  region as that of APZ event coordinates.
- AsyncDragMetrics -- Make mScrollTrack and mScrollbarDragOffset float
  instead of int coordinates.
- AsyncPanZoomController::HandleDragEvent() -- Use
  GetAxisLength(scrollTrack) instead of GetAxisEnd(scrollTrack) in
  calculation of scrollMax.
- AsyncPanZoomController::HandleDragEvent() -- Only change position on
  MOUSE_MOVE.

Additional refactors:
- Rename HitTestingTreeNode::GetScrollSize() to GetScrollThumbLength(),
  along with related functions/variables.
- Rename AsyncPanZoomController::GetAxisSize() to GetAxisLength().
- Rename cf to scrollFrame in nsSliderFrame::StartAPZDrag().

MozReview-Commit-ID: CIsU8Pj6qfa

--HG--
extra : rebase_source : 29548fb95ec3e958d903d964753857ee949753ba
2016-11-27 20:48:08 -05:00