Commit Graph

15 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
1d1c7fe3dc Bug 579517 - Part 8: Automatically convert some more NSPR numeric type usages that were landed on mozilla-inbound; r=bsmedberg 2012-08-22 12:32:21 -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
a6dc5ff0fb Bug 783747: B2G: Lower async panning friction r=gal 2012-08-21 21:37:12 -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
Doug Sherk
f603c37adf Bug 781734: When flinging many times successively in one direction, accelerate them more and more r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
8fa40e15bc Bug 781734: Greatly increase friction on flings, remove pseudo-kinetic vs. static friction distinction 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
Doug Sherk
cbd864eea6 Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones 2012-07-27 00:33:53 -07:00
Doug Sherk
f319f23a27 Bug 776226: Implement axis locking when panning along one axis r=roc 2012-07-22 23:49:07 -04:00
Doug Sherk
0630ae254b Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones 2012-07-22 21:50:41 -04:00
Doug Sherk
8d9e18e43a Bug 776149: Fix Gecko panning code to account for time deltas for displacements r=cjones 2012-07-22 21:43:37 -04:00
Doug Sherk
73bba2160b Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/] 2012-07-19 23:48:25 -07:00