Commit Graph

83 Commits

Author SHA1 Message Date
David Zbarsky
c2ae0c2650 Bug 1015644 - Clean up ActiveElementManager r=botond 2014-06-16 18:50:16 -04:00
Botond Ballo
7f59b84876 Bug 1022719 - Ignore additional touches when in overscrolled state. r=kats 2014-06-10 19:43:20 -04:00
Botond Ballo
15747752a9 Bug 1022719 - Further improve const correctness in AsyncPanZoomController. r=kats 2014-06-12 18:17:26 -04:00
Kartikaya Gupta
60b11ddfdd Bug 1022577 - Ensure we flush the repaint _after_ taking the scroll offset from content. r=botond 2014-06-11 16:51:30 -04:00
Ehsan Akhgari
d20024b5d5 Bug 1021290 - More Atomics.h build fixes for clang-cl. r=froydnj
This is basically more of bug 932454
2014-06-09 14:49:34 -04:00
Kartikaya Gupta
f847d55091 Bug 1021384 - Ensure animations are cancelled before destroying the APZC instance. r=botond 2014-06-08 16:37:34 -04:00
Botond Ballo
fc6ec3cd46 Bug 1019999 - Clear overscroll if snap-back animation is cancelled. r=kats
--HG--
extra : source : 20ace5785615d1cc7d0edbe7e09f8691166c6166
2014-06-06 13:58:48 -04:00
Markus Stange
a986c2df8c Bug 944938 - Add event structs and APZ event handling for pan gesture events that can be used for Mac touchpad scrolling. r=kats 2014-06-07 00:49:49 +02:00
Botond Ballo
2dcd7e4865 Bug 1018255 - Use spring physics for snap-back animation. r=kats
--HG--
extra : source : f7f4c40fc818c2342fe6c49c0351c1573f6e9f3d
2014-06-03 13:59:35 -04:00
Botond Ballo
d94aeee60a Bug 1018255 - Make the translation (in the direction of overscroll) more pronounced than the zoom. r=kats
--HG--
extra : source : da6418a2a57e4665b2f03e84ff50052902658f45
2014-06-03 18:03:55 -04:00
Botond Ballo
d08dc47ea7 Bug 1018255 - Fix a short-circuit evaluation bug in OverscrollSnapBackAnimation::Sample. r=kats
--HG--
extra : source : c01a9ce7adb6693dbf5819fe853d4c7076bbd75a
2014-06-03 17:31:25 -04:00
Botond Ballo
df415c9a1c Bug 1018255 - Don't bother doing the computations in ApplyOverscrollEffect if we are not overscrolled. r=kats
--HG--
extra : source : 028af891515ee1093e889d20142f989cb19621b2
2014-06-03 16:20:50 -04:00
Botond Ballo
5c0e3bed25 Bug 1018255 - Stop fling more quickly when overscrolled. r=kats
--HG--
extra : source : 79355b184bc52616567cc16d8f8c61ab31789d67
2014-06-05 15:16:14 -04:00
Brian Birtles
dba77091dc Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Sayan Paul
7723940301 Bug 1016404 - Rename APZC_LOG in APZCTreeManager to avoid unified build conflicts. r=kats 2014-06-04 17:22:35 -04:00
Phoebe Chang
943fc38329 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Nick Lebedev
448ecdf48d Bug 1014838 - Add testing of the apzc state correctness after tap gestures. r=kats, r=botond 2014-05-29 23:00:31 -07:00
Botond Ballo
fd2b8ad96e Bug 1016682 - Tolerate floating-point error in Axis::CanScroll(). r=kats 2014-05-28 17:52:40 -04:00
Kartikaya Gupta
7cc38b958a Bug 1014997 - Cancel animations when the scroll offset is forcefully changed. r=botond 2014-05-29 09:54:00 -04:00
Botond Ballo
e24dcd4aaa Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Kartikaya Gupta
9bb0df30f2 Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond 2014-05-27 11:45:03 -04:00
Kartikaya Gupta
d05ca55cbf Bug 949859 - Remove mLastEventTime from APZC and store a timestamp in Axis instead. r=botond 2014-05-27 11:45:03 -04:00
Botond Ballo
b7850d11ba Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
52afa7c8d1 Bug 998025 - Put overscrolling behind a developer pref. r=kats
--HG--
extra : rebase_source : 2f5a46cacd97120fcbb8e6608446074089d5bf50
2014-05-21 17:20:12 -04:00
Botond Ballo
2132c09e79 Bug 998025 - Overscroll rendering effect. r=kats
--HG--
extra : rebase_source : 8dba78d1e7a471cf739acc59390e1789a6e5873a
2014-05-20 18:30:45 -04:00
Botond Ballo
f035fcf2f8 Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Botond Ballo
23a1167102 Bug 998025 - Apply resistance to pans and flings in overscroll. r=kats
--HG--
extra : rebase_source : df1cf70e0843c5806616ecce6003d2f5cd35fb8d
2014-05-13 18:41:32 -04:00
Botond Ballo
72d2491205 Bug 998025 - Snap-back animation to relieve overscroll. r=kats
--HG--
extra : rebase_source : 86ac2135be457f515e37c3adcac6787cc8edc36c
2014-05-21 19:47:58 -04:00
Botond Ballo
7ed239eee5 Bug 998025 - Allow AsyncPanZoomAnimation::Sample() to queue deferred tasks even if the animation is ending. r=kats
--HG--
extra : rebase_source : 6b8236545d95b3432084cc78b9f0505b62cb6c9c
2014-05-22 17:17:05 -04:00
Botond Ballo
5b8b4b1319 Bug 998025 - Support overscrolling during flinging. r=kats
--HG--
extra : rebase_source : 2c85f4a8ec9e21c3a7012f769a560d0153805d63
2014-05-12 18:51:07 -04:00
Botond Ballo
e800ee141a Bug 998025 - Support overscrolling during panning. r=kats
--HG--
extra : rebase_source : f26bb9dfc1267e0eba3216e8f4fa29c98021caa5
2014-05-21 18:21:03 -04:00
Botond Ballo
dd9946a30a Bug 998025 - Refactor Axis::HasRoomToPan() and Axis::Scrollable(). r=kats
--HG--
extra : rebase_source : d0d56f0e1a4f8f9735a8a2755727ee17f33f371f
2014-05-05 19:29:31 -04:00
Botond Ballo
c0a1f7b506 Bug 998025 - Factor out an Axis::GetFrameMetrics() helper. r=kats
--HG--
extra : rebase_source : d19c09863bb5f6e83198460747f9f4727d822456
2014-05-21 17:26:06 -04:00
Botond Ballo
7ddcf4420c Bug 998025 - Remove some unused AsyncPanZoomController and Axis methods. r=kats
--HG--
extra : rebase_source : 9c56db6f7cc0ddb9e3059f502de72741b21de460
2014-05-05 17:46:57 -04:00
Kartikaya Gupta
bcbc0acd1e Bug 1015981 - Replace using namespace mozilla::css with qualified class name. r=botond 2014-05-26 12:44:43 -04:00
Botond Ballo
851ee8aa7c Bug 1015331 - Do not leak Task object created during fling handoff. r=kats 2014-05-23 14:32:10 -04:00
Nick Lebedev
42471cb297 Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats 2014-05-22 20:42:15 -04:00
Nicolas Silva
2f4369ee5e Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Debbe Heisler
52640a26cf Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond 2014-05-16 19:00:50 -04:00
Botond Ballo
fa7ce0a3ae Bug 1011659 - Remove spammy warnings from APZTestData.h until fixing bug 1007728 makes them non-spammy and meaningful. r=kats 2014-05-16 16:13:06 -04:00
Kartikaya Gupta
f902ce98ac Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 14:40:01 -04:00
Kartikaya Gupta
9070eed447 Bug 1011260 - Make the zoom animation length preffable. r=botond 2014-05-16 14:40:00 -04:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Kartikaya Gupta
718ea608fd Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 11:26:00 -04:00
Kartikaya Gupta
0e1e9827ac Bug 1010979 - Remove the non-margins codepaths from APZCCallbackHelper. r=botond 2014-05-16 08:08:21 -04:00
Kartikaya Gupta
b8a20579ab Bug 1010119 - Roll back part of bug 978248 as it causes a regression and is not needed any more. r=botond 2014-05-16 08:08:21 -04:00
Rafael Vieira
fd736a92cc Bug 1009228 - Replace use of RefPtr with nsRefPtr. r=kats 2014-05-14 15:45:00 -04:00
Botond Ballo
1c80d859ff Bug 961289 - Add an initial mochitest (for bug 982141) that exercises the APZ testing framework. r=ehsan,kats,BenWa,ted
--HG--
extra : source : 3e395bacbf393aaa022675c9a3f97a3c603bb67d
2014-05-12 12:24:57 -04:00
Botond Ballo
8859e2bfc9 Bug 961289 - Expose client- and compositor-side APZ test data from nsIDOMWindowUtils. r=ehsan,kats,bholley
--HG--
extra : source : 41f87f2add7d1fafab2749eb08539cd78644fbbe
2014-05-09 17:16:03 -04:00
Botond Ballo
8b6eb070aa Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats
--HG--
extra : source : a475bb542682486ffac8dc91a039f75ec41091b6
2014-05-07 19:56:48 -04:00