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

1493 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Oleg Romashin 164509f2ae Bug 891765 - Don't allow viewManager rootViewDestroy wile Flush. r=roc 2013-07-11 10:43:35 -04:00
Trevor Saunders 4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Markus Stange 68b100868a Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow 2013-06-20 15:01:20 +02:00
Brian O'Keefe 11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Matt Woodrow 7b9d5b3e53 Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
Matt Woodrow 7b0c403cca Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc 2013-06-18 19:59:00 +12:00
Mats Palmgren 7cd80f3223 Bug 850571 - Remove temporary diagnostic code. r=me 2013-06-12 09:05:36 +00:00
Timothy Nikkel 72ba3a236e Bug 820814. Call nsIWidget::Destroy from a runnable when destroying the widget for a view. r=mats
nsIWidget::Destroy can re-enter so do it when it is safe.
2013-05-28 03:11:11 -05:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange 08702570d3 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Mats Palmgren 3b8a88cbe1 Bug 850571 - Abort if the view is still owned by a frame in Destroy(). r=roc 2013-05-20 17:29:17 +00:00
Martijn Wargers 2eb8f443a1 Bug 399852 - crash test 2013-05-18 18:38:32 +00:00
Gregory Szorc 1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ted Mielczarek 3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Jonathan Watt ab3b6bcd32 Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow 2013-05-14 00:47:02 +01:00
Ms2ger 9845580de2 Bug 868726 - Outparamdel nsViewManager::GetDeviceContext; r=tn 2013-05-10 09:13:49 +02:00
Mats Palmgren 92268718c4 Bug 867530 - Make the current poison consumers use the new API. r=roc 2013-05-07 20:48:59 +02:00
Timothy Nikkel 4e24b17081 Bug 868572. Move nsIScrollPositionListener file from view/ to layout/. r=mats
--HG--
rename : view/public/nsIScrollPositionListener.h => layout/generic/nsIScrollPositionListener.h
2013-05-03 17:31:08 -05:00
Mats Palmgren 0186233233 Bug 851641. Simplify the logic in nsView::DoResetWidgetBounds. r=tnikkel 2013-05-01 16:21:33 -05:00
Timothy Nikkel 923eed369f Bug 851641. Make nsView::DoResetWidgetBounds safe against any kind of painting or flushing happening during it. r=mats 2013-05-01 16:21:33 -05:00
Markus Stange ca6f57edb1 Bug 851641. Don't make view visibility changes immediately to the underlying widget. Post a pending update to do it. r=roc,mats 2013-05-01 16:21:32 -05:00
Mats Palmgren 09b721e44f Bug 865569 - Poison nsView. r=roc 2013-04-29 14:11:04 +02:00
Jonathan Kew 4c7c6fe7b8 bug 861270 - prefer to use precise scale factor from GetDefaultScale() rather than approximate factor based on appUnits per devpix. r=roc 2013-04-18 16:35:49 +01:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Joshua Cranmer aa1ca5d8f4 Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
aceman 839310031c Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Benoit Girard 042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Daniel Holbert d5983a0348 Bug 852742: Remove unneeded & casted-away 'const' keyword from aParent in nsViewManager::CreateView(). r=bz 2013-03-19 23:10:25 -07:00
Gregory Szorc 89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Boris Zbarsky 1b1b29c5e2 Bug 852428 part 1. Make CreateViewForFrame infallible. r=dholbert 2013-03-19 21:47:47 -04:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders 9c54e14d23 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Ed Morley ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley 3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard 919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc 45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc 5d74e09655 Bug 784841 - Part 18v: Convert misc remaining parts; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Matt Woodrow 2ed4bbe377 Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc 2013-02-26 10:18:48 +13:00
Jonathan Kew 9cd7d9f8bb bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Mounir Lamouri 3c1b6894e2 Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/events/. r=smaug 2013-01-23 19:39:34 +00:00
Jonathan Kew 8f268eec26 bug 829963 - fix hi-/lo-dpi scaling in window opened from script with explicit size on secondary display. r=roc 2013-01-30 12:04:19 +00:00
Robert O'Callahan 9d55e9ed4b Bug 826817. Part 4: Remove will-send-did-paint and did-send-will-paint flags from nsIPresShell APIs. r=tnikkel 2013-01-28 13:34:11 -06:00
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
Robert O'Callahan 956f4861da Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Ehsan Akhgari 497f06f2c6 Backed out changeset 70baa7e07838 (bug 833915) since one day has passed 2013-01-24 11:12:24 -05:00
Ehsan Akhgari ea3a2d23b4 Bug 833915 - Turn off PGO and LTCG on Windows Nightly for one day; r=glandium 2013-01-23 16:13:50 -05: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 09cf7c5863 Bug 826635. Refresh-driver painting is always enabled now, so remove the alternative code path. r=tnikkel
--HG--
extra : rebase_source : e349986d12bd4e6a6afeb3ee6f28290440b39f27
2013-01-05 16:14:17 +13: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 2d87545673 Bug 826635. Refresh-driver painting is always enabled now, so remove the alternative code path. r=mattwoodrow
--HG--
extra : rebase_source : 3fcd1e59af66d195af62e46a3a9dacc0e074550c
2013-01-05 16:14:17 +13: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
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
Timothy Nikkel 01ef5b44a8 Bug 782878. Remove weak views. r=roc 2012-08-15 09:43:11 -05:00
Matt Woodrow 732d73658c Bug 782413: Only paint widgets that have a layer manager. r=cjones 2012-08-13 19:41:09 -07:00
Matt Woodrow d1983dab73 Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow 8aaca49080 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 4c8ca7e07c 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 77b0977198 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 2ebb996f8c 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 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
Mark Capella ab782c26b2 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Ehsan Akhgari 94344ff460 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari e18c7644cd Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions 2012-07-03 20:20:24 -04:00
Ehsan Akhgari b072071920 Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:53 -04:00
Ehsan Akhgari 7a7b374e6a Backout changeset f09fdc691c66 (bug 539356) because of performance and correctness regressions 2012-07-03 20:16:25 -04:00
Ehsan Akhgari d61b4e8438 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Ehsan Akhgari d08ef39a09 Backout changeset 674cde7d007a (bug 770000 because DLBI is being backed out 2012-07-03 19:36:38 -04:00
Matt Woodrow 2d535eb3a0 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 d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07: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
Matt Woodrow 3e3e025558 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-06-30 15:06:12 +12:00
Matt Woodrow 5647da5701 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow aedc1d9411 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow 46e6f3d27b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt 970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari 8bc6a36022 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (view parts); r=roc
--HG--
extra : rebase_source : 5492f4c6d1cab22211b760edf8c77b889c651d76
2012-06-18 21:24:02 -04:00
Takanori MATSUURA 92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02: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
Daniel Holbert bbb73d9b89 Bug 740515: In nsIView::List fprintf call, wrap pointer in 'static_cast<void*>' to fix build warning. r=smaug 2012-03-30 13:36:43 -07:00
Robert O'Callahan 557449288e Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats 2012-01-28 16:36:23 +13:00
Phil Ringnalda b6aa88fd9e Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red 2012-01-27 20:31:29 -08:00
Robert O'Callahan dfdede1830 Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Jeff Muizelaar 19d31dec25 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Wes Johnston 5eb172def6 Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Matt Brubeck 3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar e18b95dabf Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Markus Stange 732a9f3ee7 Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange bf406604bb Bug 598482 part 21 - Update the invalidation setup comment. r=roc 2011-12-23 22:52:25 -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
Markus Stange 282f097710 Bug 598482 part 18 - Separate NS_WILL_PAINT and NS_PAINT handling; only flush again if no NS_WILL_PAINT event has been sent by the platform. r=roc 2011-12-23 22:52:24 -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
Boris Zbarsky 5b5bb37114 Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 16e3ecc29a Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 640bb949f5 Bug 598482 part 12 - Remove unnecessary widget parameter. 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 c5f5e5536a Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 610ff178d3 Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 23252c30fb Bug 598482 part 8 - Remove unused mUpdateCnt. 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 4e14ca9cb5 Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange 9e6a8e7f66 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -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 0438c4de66 Bug 598482 part 21 - Update the invalidation setup comment. r=roc 2011-12-23 22:52:25 -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
Markus Stange 51d245145c Bug 598482 part 18 - Separate NS_WILL_PAINT and NS_PAINT handling; only flush again if no NS_WILL_PAINT event has been sent by the platform. r=roc 2011-12-23 22:52:24 -05:00
Boris Zbarsky 4abe3b98cf 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 7a1414d6bd 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
Boris Zbarsky e269b6c862 Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 022195c2f6 Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc 2011-12-23 22:52:23 -05:00
Markus Stange ef851c0d3f Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 5613b8672d 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 7d5aecbc5f Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 6e288228ce Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 7b0b52dc60 Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 87e56d30a9 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 aa0afc9d5f Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange c99c840e17 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange 136f7cd4dd Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Boris Zbarsky ea35d340a7 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Jeff Muizelaar 9317a91431 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Justin Lebar 02b09fb494 Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00