Граф коммитов

383 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 15c63857c3 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Matt Woodrow c4cfe33e02 Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc 2013-01-17 11:59:23 +13:00
Timothy Nikkel c89d02c803 Bug 831011. Remove unused member mOpacity in nsView. r=mats 2013-01-15 16:41:01 -06:00
Robert O'Callahan 3c1960d5db Bug 826632. Part 7: nsView::GetViewManagerInternal is no longer relevant, so remove it. r=tnikkel
--HG--
extra : rebase_source : 82bb5be5e3dc16f42d7f13a0b7d9eabef1f2fe5c
2013-01-05 16:13:23 +13:00
Robert O'Callahan 3dab6ad22d Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : f99b6ff33490cf6ad5467296eca573752518ea96
2013-01-05 16:13:13 +13:00
Robert O'Callahan cb844b988c Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan babc3f0e49 Bug 826632. Part 4: nsViewManager does not need to implement nsISupports anymore. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c075212306ddadf37218d440f629becd5d2c52e2
2013-01-05 16:12:57 +13:00
Robert O'Callahan 88df3e818e Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
--HG--
extra : rebase_source : f6286a4bcffa2f80bd9d444f7c04005644b8cb2f
2013-01-05 16:12:49 +13:00
Robert O'Callahan aba980bcb4 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan 970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan 616220b0c8 Bug 826632. Part 7: nsView::GetViewManagerInternal is no longer relevant, so remove it. r=tnikkel
--HG--
extra : rebase_source : ee90c4205d54efc1a7fa248a60d82fa51a07f19a
2013-01-05 16:13:23 +13:00
Robert O'Callahan 263a950638 Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 10a50ae18eeff3a26862bad50549f7556593a0a6
2013-01-05 16:13:13 +13:00
Robert O'Callahan 136a5fbaac Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan b7774f093b Bug 826632. Part 4: nsViewManager does not need to implement nsISupports anymore. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 868b6971a2ae0d45023fb11f31b3874159a793b0
2013-01-05 16:12:57 +13:00
Robert O'Callahan e25c1519f1 Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
--HG--
extra : rebase_source : f85da22ada991035fbb7116a993898dd0801663d
2013-01-05 16:12:49 +13:00
Robert O'Callahan 4464dc950d Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan 0bda13504b 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 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
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 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
Neil Deakin 6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Timothy Nikkel 01ef5b44a8 Bug 782878. Remove weak views. r=roc 2012-08-15 09:43:11 -05:00
David Zbarsky 03039446fa [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 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari d61b4e8438 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Matt Woodrow 150cbb2336 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
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ali Juma 84e253b4d4 Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc 2012-05-03 12:33:51 -04:00
Markus Stange 732a9f3ee7 Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange 14e0a88d26 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Boris Zbarsky 5bdbbbc47c Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 81d739b868 Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 837db98189 Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 5d6bf29b6f Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 40e50b090a Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Phil Ringnalda 2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange d8b28f146a Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange 2d49769823 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00