Commit Graph

68 Commits

Author SHA1 Message Date
Anthony Jones
6ddcaac7da Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc 2013-01-12 15:24:14 -05:00
Shih-Chiang Chien
12ca4c13aa 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
ec571475cf Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Oleg Romashin
07422e318d Bug 827918 - Fix unitiaialized variables in AZPC. r=drs 2013-01-08 14:25:07 -08:00
Ehsan Akhgari
87793a720d Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Chris Peterson
cf1c1b8b3f 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
97780faf97 Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs 2013-01-04 19:24:15 -08:00
Oleg Romashin
271da61333 Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones 2013-01-03 11:58:15 -08:00
Benjamin Chen
5c48b89171 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Anthony Jones
0457c978bf Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones 2012-12-23 10:51:39 -05:00
Anthony Jones
01a42d46f8 Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Chris Jones
7b890d6a68 Back out bug 814252. 2012-12-18 16:19:54 -08:00
Shih-Chiang Chien
5fa7302325 Bug 814252 - use touch event for scrolling if available. r=cjones. 2012-11-28 13:51:50 +08:00
Anthony Jones
92441c8cbc Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-10 08:50:24 -05:00
Ryan VanderMeulen
01a9d997af Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage. 2012-12-04 21:43:52 -05:00
Anthony Jones
359174332b Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-04 21:00:38 -05:00
Anthony Jones
5d1f9303d4 Bug 798194 - Fix problem with resizing the composition bounds. r=roc 2012-12-02 20:33:53 -05:00
Michael Wu
c1286c0990 Bug 774458 - Only send clicks on confirmed single taps, r=cjones 2012-11-29 21:26:11 -05:00
Benjamin Chen
fa2ecdbe4d 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
9c195ea9c0 Bug 796275 - Context menu fires on wrong target out of process. r=cjones 2012-11-08 14:35:02 -05:00
Doug Sherk
9bb1bbe4c3 Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp 2012-10-24 01:37:53 -07:00
Chris Jones
8d37dff2ca 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
e8953855c7 Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones 2012-09-29 00:02:45 -04:00
Doug Sherk
02e87c5853 Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones 2012-09-29 00:02:41 -04:00
Doug Sherk
5387c4066f 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
d044dddccc 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
0428a4ac02 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
d545b9e528 Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones 2012-09-14 21:16:32 -04:00
Doug Sherk
0b18096f4d 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
46ad50db9b Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Doug Sherk
462201569a Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
b969777c8e Bug 775447: Rip out old checks for DOM touch listeners r=cjones 2012-08-21 21:37:09 -07:00
Doug Sherk
3dd9bb41eb Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Ehsan Akhgari
243c878d26 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
0cc0700b76 Bug 783841 - Fix build warnings in layers r=cjones 2012-08-19 20:07:31 -04:00
Doug Sherk
4dd7faca92 Bug 781734: Decrease axis lock angle r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
f10f40b4bd Bug 781734: Detect very light touches and pan the page r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
7884da511a Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-08 21:39:11 -07:00
Doug Sherk
9acf0e2bf3 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
3bf9614a40 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-08 13:38:23 -07:00
Doug Sherk
28517e6a1d Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-08 13:38:20 -07:00
Doug Sherk
781dc9a5c7 Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones 2012-08-08 13:38:16 -07:00
Doug Sherk
aa39c3701c Bug 780210: Fix B2G focus point calculation for pinching r=kats 2012-08-08 13:38:14 -07:00
Doug Sherk
26560a4a16 Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones 2012-08-08 13:38:10 -07:00
Doug Sherk
049a1276f2 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Doug Sherk
7e4288b669 Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-08 13:37:57 -07:00
Phil Ringnalda
5276031a18 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
Doug Sherk
0099085997 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-07 18:51:15 -07:00
Doug Sherk
8c07401337 Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-07 18:51:13 -07:00
Doug Sherk
e5d552ec77 Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones 2012-08-07 18:51:11 -07:00