Kartikaya Gupta
1b919ecf6e
Bug 859935 - Make AsyncPanZoomController not assume the controller thread has a message loop. r=kentuckyfriedtakahe
2013-04-09 22:17:54 -04:00
Ryan VanderMeulen
8a2621fb4d
Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083.
2013-04-05 07:55:25 -04:00
Ms2ger
d73b4fb2c0
Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange.
2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d
Backout 8a6cacf047a1 (bug 833795) to fix bug 856083
2013-04-05 18:19:08 +13:00
Anthony Jones
fe7ee40bd2
Bug 833795 - Use screen relative co-ordinates for gestures; r=drs
2013-03-21 15:08:15 +13:00
Benjamin Chen
c62f7d437f
Bug 824920 - Fix zoom ratio and check the zoom offset to prevent over-scroll. r=drs
2013-03-11 18:02:13 +08:00
Ed Morley
caab8e796b
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
bce8f8e813
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Kartikaya Gupta
e15294782b
Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones
2013-02-25 15:50:49 -05:00
Chris Jones
7fe289fbe6
Bug 834470: Release AsyncPanZoomController and friends. r=roc
2013-01-24 19:59:10 -08:00
Oleg Romashin
73d1b0005d
Bug 830926 - AZPC TrackTouch x/y displacement should not be rounded to int. r=ajones,drs
2013-01-19 15:33:09 -08:00
Jeff Muizelaar
9edf8a15f3
Bug 830256. Ensure that scrollable rect is as big as the drawable area. r=cjones,ajones
...
If the scrollable rect is not as at least as big as the drawable area we end up
clamping the displayport to a smaller size than we should be.
2013-01-16 16:53:10 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Anthony Jones
6008b7f562
Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc
2013-01-12 15:24:14 -05:00
Shih-Chiang Chien
2c527faa56
Bug 828367 - APZC should not perform scrolling if BES detects panning distance is too small. r=cjones.
2013-01-11 11:02:02 +01:00
Oleg Romashin
4374698ca6
Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs
2013-01-09 22:11:25 -08:00
Oleg Romashin
ffbbfb2a69
Bug 827918 - Fix unitiaialized variables in AZPC. r=drs
2013-01-08 14:25:07 -08:00
Ehsan Akhgari
b7608f387d
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4189d101cf
Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
...
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Oleg Romashin
2320faae9c
Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs
2013-01-04 19:24:15 -08:00
Oleg Romashin
40b1f4a086
Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones
2013-01-03 11:58:15 -08:00
Benjamin Chen
a78cacbcff
Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones
2012-12-25 14:09:34 +08:00
Anthony Jones
166067157f
Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones
2012-12-23 10:51:39 -05:00
Anthony Jones
f7f85c6761
Bug 811950 - Fix async scrolling of position:fixed. r=cjones
2012-12-23 10:50:04 -05:00
Chris Jones
aa96fe93f4
Back out bug 814252.
2012-12-18 16:19:54 -08:00
Shih-Chiang Chien
01432d8e98
Bug 814252 - use touch event for scrolling if available. r=cjones.
2012-11-28 13:51:50 +08:00
Anthony Jones
83d62dd876
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-10 08:50:24 -05:00
Ryan VanderMeulen
7dc69bf623
Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage.
2012-12-04 21:43:52 -05:00
Anthony Jones
6ac5d06135
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-04 21:00:38 -05:00
Anthony Jones
079e618a7c
Bug 798194 - Fix problem with resizing the composition bounds. r=roc
2012-12-02 20:33:53 -05:00
Michael Wu
9bc0b72544
Bug 774458 - Only send clicks on confirmed single taps, r=cjones
2012-11-29 21:26:11 -05:00
Benjamin Chen
cbf8129880
Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
...
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Andrea Marchesini
d2e9fb6a55
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Doug Sherk
20620b38aa
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Chris Jones
b00b1e25b0
Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
...
This is a rollup of the following patches
- Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
- Remove mention of "meta" from TabChild. r=roc
- Remove some useless logging. r=roc
- Tag FrameMetrics with its composition bounds at paint time. r=roc
- Add a helper to calculate the render resolution for a FrameMetrics. r=roc
- Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
- BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
- Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
- Mechanically separate uses of zoom/resolution based on new definitions. r=roc
- Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
- Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Doug Sherk
4a17f28103
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
19cc16c9aa
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
4f2bfeb032
Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug
2012-09-28 22:18:18 -04:00
Doug Sherk
2c2aabf888
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
f73db9f5da
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Doug Sherk
2d4610aea1
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Doug Sherk
dabd495ece
Bug 780395: Part 1, B2G: Listen to scrollTo calls and metrics being clobbered r=cjones
2012-09-14 17:57:35 -04:00
Ehsan Akhgari
a8a14f9163
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
b289e024ad
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
Doug Sherk
97c97243cb
Bug 775447: Rip out old checks for DOM touch listeners r=cjones
2012-08-21 21:37:09 -07:00
Doug Sherk
e59e1890d0
Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones
2012-08-21 21:37:06 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
b36047e59c
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Doug Sherk
6bd0a12fd6
Bug 781734: Decrease axis lock angle r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
79fb0e58f2
Bug 781734: Detect very light touches and pan the page r=gal
2012-08-13 21:08:38 -07:00