Commit Graph

387 Commits

Author SHA1 Message Date
Robert O'Callahan
84fcd2375b Bug 807472. Pass WILL_SEND_DID_PAINT when calling PresShell::Paint with PAINT_COMPOSITE. r=mattwoodrow 2012-11-02 23:42:59 +13:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Robert O'Callahan
3df73be65b Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
055f521513 Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Mats Palmgren
f374a590a0 Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Matt Woodrow
6b28b8fa9e Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc 2012-10-15 17:53:37 +13:00
Matt Woodrow
9ff7dbd84d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Robert O'Callahan
78fbac6550 Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
bd85577fbd Bug 794579. Remove view from existing parent before setting it as the root view. r=tnikkel 2012-10-02 16:25:47 -05: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
904da4f579 Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
12901c44ef Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12: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
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Timothy Nikkel
5dc3d3abb6 Bug 789482. Don't try to resize/move hidden popup views. r=roc
CalcWidgetBounds (which we use to compute widget bounds) contains an optimization for hidden popup views which makes it return wrong results for hidden popup views, so just don't bother if we have a hidden popup view.
2012-09-19 22:12:36 -05:00
Matt Woodrow
e7b3e0cc0c Bug 770424 - Check for a null widget in nsViewManager::Refresh. r=roc 2012-09-12 09:21:46 +12:00
Matt Woodrow
f798f0a97a Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc 2012-09-12 09:17:26 +12:00
Matt Woodrow
b5a6e210b0 Bug 787148 - Force synchronous repainting when the document state changes. r=roc 2012-09-12 09:17:26 +12: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
Matt Woodrow
6f00bb4a63 Bug 782980 - Force synchronous repainting when we resize a widget. r=roc 2012-08-21 14:40:45 +12:00
Neil Deakin
7724d8898d Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
7382e749d4 Bug 743975 - add a getpresshell method to the widget listener, r=tn 2012-08-15 14:52:42 -04:00
Neil Deakin
0413e44a55 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
193db1ca6c Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
fe2b5ecb78 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
510f6f1a72 Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Timothy Nikkel
6945bb183d Bug 782878. Remove weak views. r=roc 2012-08-15 09:43:11 -05:00
Matt Woodrow
a5511f2ac3 Bug 782413: Only paint widgets that have a layer manager. r=cjones 2012-08-13 19:41:09 -07:00
Matt Woodrow
470534c6d3 Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow
0da2997d19 Bug 539356 - Part 16 - Revoke any pending ViewManager flushes when we do one (sometimes we get this called from Will Paint events). r=roc 2012-08-13 22:10:11 +12:00
Matt Woodrow
a3172ab098 Bug 770000 - Call WillPaint and DidPaint from the refresh driver instead of the widget events. r=roc 2012-08-13 22:10:11 +12:00
Matt Woodrow
18847f5874 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-08-13 22:10:10 +12: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
David Zbarsky
fe804d085c [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Ehsan Akhgari
5c63bf26a2 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
99bc5e9399 Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions 2012-07-03 20:20:24 -04:00
Ehsan Akhgari
829b35a778 Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:53 -04:00
Ehsan Akhgari
675fd1091f Backout changeset f09fdc691c66 (bug 539356) because of performance and correctness regressions 2012-07-03 20:16:25 -04:00
Ehsan Akhgari
cc4eb213b4 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Ehsan Akhgari
5dfcced8d0 Backout changeset 674cde7d007a (bug 770000 because DLBI is being backed out 2012-07-03 19:36:38 -04:00
Matt Woodrow
d4e8c963bf Bug 770000 - Call WillPaint and DidPaint from the refresh driver instead of the widget events. r=roc 2012-07-03 21:06:04 +12:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
1d473e382a Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-30 15:06:13 +12:00