Robert O'Callahan
1781533dc3
Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel
2013-01-04 02:23:12 +13:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Robert O'Callahan
904f44d99a
Bug 825866. Part 7: Make a number of nsIView methods private. r=tnikkel
2013-01-04 02:23:10 +13:00
Robert O'Callahan
8d555dc9cf
Bug 825866. Part 6: Annotate nsIWidgetListener method implementations to indicate that they're virtual and must override. r=tnikkel
2013-01-04 02:23:10 +13:00
Robert O'Callahan
2038563463
Bug 825866. Part 5: Remove NS_IMETHOD declarations that aren't needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
66c96058dc
Bug 825866. Part 4: Remove nsIView's IID as it's not needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
23b8f3663a
Bug 825866. Part 3: Remove some unnecessary 'virtual's. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
23cc02095c
Bug 825866. Part 2: Remove nsIView::ExternalIsRoot, as it's not needed anymore. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
2ede78e408
Bug 825866. Part 1.5: Remove unnecessary static casts. r=tnikkel
2013-01-04 02:23:08 +13:00
Robert O'Callahan
64d549fd25
Bug 825866. Part 1: Merge nsView into nsIView, making all references to nsView refer to nsIView instead. r=tnikkel
2013-01-04 02:23:08 +13:00
Masatoshi Kimura
b3bcd5b6a1
Bug 826164 - Enable FAIL_ON_WARNINGS on MSVC in view/. r=roc
2013-01-03 21:27:19 +09:00
Masatoshi Kimura
9a4812e054
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Matt Woodrow
0eca5d1aae
Bug 795833 - Add a RequestRepaint method to nsIWidgetListener and use it in the android widget instead of invalidating the view. r=roc
2012-12-18 16:42:02 +13:00
Timothy Nikkel
ed5cd5d857
Bug 805745. Move the forced repaint from the Paint notification to the WillPaint notification. r=mattwoodrow
2012-12-12 15:57:08 -06:00
Timothy Nikkel
66323f2339
Backout 9f6c579151c5 (bug 805745) for making bug 813024 worse.
2012-12-16 14:34:14 -06:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Timothy Nikkel
65fa296251
Bug 805745. Re-get the view after calling PaintWindow because it can flush (via WillPaint). r=mattwoodrow
2012-12-12 15:57:08 -06:00
Timothy Nikkel
2b6e68c2d7
Bug 805745. Move the forced repaint from the Paint notification to the WillPaint notification. r=mattwoodrow
2012-12-12 15:57:08 -06:00
Jonathan Kew
81ac669822
bug 819725 pt 1.1 - don't round device-pixel coordinates in nsView and nsXULWindow when calling widget APIs to move/resize windows. r=roc
2012-12-12 09:57:48 +00:00
Jonathan Kew
5f9d375273
bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud
2012-12-06 17:31:34 +00:00
Ms2ger
b89eb9212a
Bug 812096 - Fix build warnings in view/; r=roc
2012-12-02 09:56:54 +01:00
Robert O'Callahan
63baefdd10
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
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Robert O'Callahan
3d61b8ee6f
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
90ef687ae7
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
2c25932a6c
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
2012-10-22 15:53:31 +02:00
Steven Michaud
90b6155078
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Matt Woodrow
3d78c0f3e8
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
c26250b08d
Bug 797431 - Add a flags parameter to PaintWindow. r=roc
2012-10-15 17:53:37 +13:00
Robert O'Callahan
b86a7fb1b8
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
23241624f7
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
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
647769690d
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
5730a3f4b2
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
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Timothy Nikkel
4746513680
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
b5fbe43bed
Bug 770424 - Check for a null widget in nsViewManager::Refresh. r=roc
2012-09-12 09:21:46 +12:00
Matt Woodrow
774b0a92d9
Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
89e3cced95
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12: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
Matt Woodrow
545027686b
Bug 782980 - Force synchronous repainting when we resize a widget. r=roc
2012-08-21 14:40:45 +12:00
Neil Deakin
c4c73ac86c
Bug 743975 - remove the view wrapper,r=tn
2012-08-15 14:53:14 -04:00
Neil Deakin
6b29afdf4b
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
f313800475
Bug 743975 - add a getpresshell method to the widget listener, r=tn
2012-08-15 14:52:42 -04:00
Neil Deakin
2e9eced59a
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
e7d98cacc8
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Neil Deakin
a534b0b037
Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug
2012-08-15 14:52:35 -04:00
Neil Deakin
2ed511feda
Bug 743975 - move theme and window size done events to direct calls, r=smaug
2012-08-15 14:52:35 -04:00