Commit Graph

567 Commits

Author SHA1 Message Date
Chris Jones
6a8aa4b23b Bug 790505, part 2: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Daniel Holbert
7859bf8bf7 Bug 796212 followup: add #ifdef guard around static variables that are only used in #ifdef'd code, to fix build warning in non-MOZ_FLEXBOX-enabled builds. 2012-10-03 19:52:21 -07:00
Chris Jones
263dc7d01e Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones
a03ca9170e Bug 790505, part 3: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Daniel Holbert
1c3ec77888 Bug 796212 part 2: Make pref "layout.css.flexbox.enabled" control whether -moz-flex and -moz-inline-flex are recognized as valid values for "display" property. r=bz 2012-10-02 22:04:50 -07:00
Daniel Holbert
f2b8223253 Bug 796568 - cleanup in nsLayoutUtils: remove unnecessary "mozilla::" namespace prefix and convert some NULL to nullptr. r=mats 2012-10-02 17:18:48 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
e195484e72 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
cc33f42c8a Bug 539356 - Part 9b - Add new frame invalidation API. r=roc 2012-08-29 17:39:01 +12:00
Aryeh Gregor
3d16887327 Bug 794905 - nsLayoutUtils::FontSizeInflationEnabled can return nsresult instead of bool; r=jwir3 2012-09-27 18:24:17 +02:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
1534837d0c Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Robert O'Callahan
388f531a69 Bug 787947. We crash with dump-paint-list enabled when there are nested calls to nsLayoutUtils::PaintFrame. r=mattwoodrow 2012-09-25 15:25:47 +12:00
Robert O'Callahan
6b5d54dbcc Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats 2012-09-24 16:30:33 +12:00
Robert O'Callahan
6d1e576d39 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
dd556aca29 Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Matt Woodrow
a6901aa486 Bug 792314 - Build full display lists for nsPageFrame. r=roc 2012-09-20 11:26:33 +12:00
Jim Mathies
9418b94d60 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Matt Brubeck
7eeb4d9731 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Robert O'Callahan
cd1dc8d8c9 Bug 777194. Part 5: When choosing a subpixel position to scroll to, align the new position with the position that was most recently used to rerender the scrolled layer(s). r=tnikkel
If we always align the new scroll position with the previous scroll position, we can accumulate error and
gradually drift out of alignment with the layer pixels until we exceed the tolerance and are forced to
rerender everything.
2012-08-17 11:40:10 +12:00
Matt Brubeck
2752ed5097 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck
40eb8ac227 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Robert O'Callahan
1180570856 Bug 777194. Part 9: Don't do snapped image drawing if there's rotation in the CTM. r=tnikkel 2012-09-04 10:32:20 +12:00
Matt Woodrow
5e4a9f531a Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc 2012-09-16 22:32:59 +12:00
Matt Woodrow
cfe2575635 Bug 788044 - Make various functions take const parameters. r=roc 2012-09-13 12:32:53 +12:00
Phil Ringnalda
2254d48838 Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
Matt Brubeck
48d9a346ee Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Jim Mathies
0eb28a561b Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc 2012-09-10 16:02:23 -05:00
Daniel Holbert
7f5f15b6bd Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron 2012-09-05 14:13:37 -07:00
Daniel Holbert
89dfb7e636 Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron 2012-09-05 14:13:37 -07:00
Daniel Holbert
16ff96590f Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:11 -07:00
Daniel Holbert
b0926860ac Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:10 -07:00
Robert O'Callahan
1649648ea1 Bug 780847. Fix nsLayoutUtils::IsProperAncestorFrame(CrossDoc) to handle case where aAncestorFrame == aCommonAncestor == aFrame->GetParent(). r=mats
--HG--
extra : rebase_source : 9f8d01c7049a701ac5bcf633ee605443b81aec35
2012-08-20 10:25:49 +12:00
Robert O'Callahan
ac552f7834 Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats 2012-08-29 23:21:40 +12:00
David Zbarsky
4a0bd0bac6 Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04: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
Charly Molter
4bba69d18c Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Matt Woodrow
1f62ddd68b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Scott Johnson
bb4cb24a6a Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron] 2012-08-11 13:33:36 -05:00
Cameron McCormack
b9841b9ddd Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc 2012-08-08 21:37:13 +10:00
Chris Lord
bd93048cf7 Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
David Zbarsky
25d8a787fa Bug 780342 - Don't allow compositor-driven animation of frames that are not prerendered, provide diagnostics for when that happens r=cjones 2012-08-06 16:33:23 -04:00
Cameron McCormack
d63a0ddfaa Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Cameron McCormack
b71d455883 Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc 2012-08-02 21:38:49 +10:00
Cameron McCormack
bd1f97f84e Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
David Zbarsky
799477d8ed Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
8c734bee81 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-31 10:28:22 -07:00