Oleg Romashin
a9ea33b26b
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
717ae8614e
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
b7ae90666d
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
06644285ee
Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc
2013-01-12 15:24:14 -05:00
Shih-Chiang Chien
2efef04087
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
0eb49641a4
Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs
2013-01-09 22:11:25 -08:00
Oleg Romashin
a7976fd770
Bug 827918 - Fix unitiaialized variables in AZPC. r=drs
2013-01-08 14:25:07 -08:00
Ehsan Akhgari
1fc28fc2a4
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)
56e0349b73
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
abea18c939
Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs
2013-01-04 19:24:15 -08:00
Oleg Romashin
eb1040047b
Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones
2013-01-03 11:58:15 -08:00
Benjamin Chen
f016ff4111
Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones
2012-12-25 14:09:34 +08:00
Anthony Jones
8ada9278ac
Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones
2012-12-23 10:51:39 -05:00
Anthony Jones
8afece0eef
Bug 811950 - Fix async scrolling of position:fixed. r=cjones
2012-12-23 10:50:04 -05:00
Chris Jones
4be2c5bab6
Back out bug 814252.
2012-12-18 16:19:54 -08:00
Shih-Chiang Chien
551b1dede5
Bug 814252 - use touch event for scrolling if available. r=cjones.
2012-11-28 13:51:50 +08:00
Anthony Jones
1cc8f4f693
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-10 08:50:24 -05:00
Ryan VanderMeulen
e350083f53
Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage.
2012-12-04 21:43:52 -05:00
Anthony Jones
f2916335d3
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-04 21:00:38 -05:00
Anthony Jones
58cf321b9c
Bug 798194 - Fix problem with resizing the composition bounds. r=roc
2012-12-02 20:33:53 -05:00
Michael Wu
cdd4879e5b
Bug 774458 - Only send clicks on confirmed single taps, r=cjones
2012-11-29 21:26:11 -05:00
Benjamin Chen
261e6627b6
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
8dde3fc959
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Doug Sherk
652bd75bad
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Chris Jones
831e04c2e3
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
fd089093d3
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
a18fa33675
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
34d6e81bb8
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
05643b327a
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
4b01b719b1
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
0de4e182ef
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Doug Sherk
2a5d788e4c
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
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
242fa304fe
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
Doug Sherk
02d6d527d2
Bug 775447: Rip out old checks for DOM touch listeners r=cjones
2012-08-21 21:37:09 -07:00
Doug Sherk
abb9aad31c
Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones
2012-08-21 21:37:06 -07:00
Ehsan Akhgari
e368dc9c85
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
38147cc954
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Doug Sherk
a92d1b87eb
Bug 781734: Decrease axis lock angle r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
c54409d628
Bug 781734: Detect very light touches and pan the page r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
ff885fa426
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-08 21:39:11 -07:00
Doug Sherk
c728bb798f
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Doug Sherk
8358a34d39
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-08 13:38:23 -07:00
Doug Sherk
417b3855ee
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-08 13:38:20 -07:00
Doug Sherk
298a698b2f
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-08 13:38:16 -07:00
Doug Sherk
8b64f2b23f
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-08 13:38:14 -07:00
Doug Sherk
b75e0a656f
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-08 13:38:10 -07:00
Doug Sherk
a842889a26
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-08 13:38:06 -07:00
Doug Sherk
6b3965aa7c
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-08 13:37:57 -07:00
Phil Ringnalda
0bef654a22
Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage
2012-08-07 20:40:48 -07:00