Robert O'Callahan
b56cdd701e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
08d372bcc2
Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel
2013-01-04 02:23:12 +13:00
Robert O'Callahan
f9b9491b81
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
9687e94faa
Bug 825866. Part 7: Make a number of nsIView methods private. r=tnikkel
2013-01-04 02:23:10 +13:00
Robert O'Callahan
d8d6db76ba
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
4d84d79c6b
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
01a7f88e32
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
fb68e0b3b2
Bug 825866. Part 3: Remove some unnecessary 'virtual's. r=tnikkel
2013-01-04 02:23:09 +13:00
Robert O'Callahan
d0e3ec9434
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
dcff5fc230
Bug 825866. Part 1.5: Remove unnecessary static casts. r=tnikkel
2013-01-04 02:23:08 +13:00
Robert O'Callahan
4173c8e43a
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
e8ce9eb6b9
Bug 826164 - Enable FAIL_ON_WARNINGS on MSVC in view/. r=roc
2013-01-03 21:27:19 +09:00
Masatoshi Kimura
b5e27745c8
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
0e7b152e2b
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
0548255375
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
914f4bcfad
Backout 9f6c579151c5 (bug 805745) for making bug 813024 worse.
2012-12-16 14:34:14 -06:00
Jeff Walden
7146c23e80
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
bad56482c1
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
b06e433ca4
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
82089a2b2d
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
9ccd2a254b
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
c19c4258e5
Bug 812096 - Fix build warnings in view/; r=roc
2012-12-02 09:56:54 +01:00
Robert O'Callahan
ecae7aec52
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
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Robert O'Callahan
0f08510fc2
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
0949a9118e
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
4058b7e19b
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
2012-10-22 15:53:31 +02:00
Steven Michaud
5038f543ad
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Matt Woodrow
a4e84a9c8e
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
32f9e8cdc6
Bug 797431 - Add a flags parameter to PaintWindow. r=roc
2012-10-15 17:53:37 +13:00
Robert O'Callahan
e96fb0fe57
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
87f9c99642
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
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
d7d6503400
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
5a14809d04
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
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Timothy Nikkel
f6bafacbd9
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
1855807208
Bug 770424 - Check for a null widget in nsViewManager::Refresh. r=roc
2012-09-12 09:21:46 +12:00
Matt Woodrow
3927f0c97e
Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
451a73cc80
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12:00
Ehsan Akhgari
0fd9123eac
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
49496a347e
Bug 782980 - Force synchronous repainting when we resize a widget. r=roc
2012-08-21 14:40:45 +12:00
Neil Deakin
3eaa9de1ea
Bug 743975 - remove the view wrapper,r=tn
2012-08-15 14:53:14 -04:00
Neil Deakin
279f4c393a
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
3693d8013c
Bug 743975 - add a getpresshell method to the widget listener, r=tn
2012-08-15 14:52:42 -04:00
Neil Deakin
3e40b0b005
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
18bbbb0ab6
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Neil Deakin
a2d41713a8
Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug
2012-08-15 14:52:35 -04:00