Mats Palmgren
d82b494a39
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
1bfc56cc68
Bug 399852 - crash test
2013-05-18 18:38:32 +00:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ted Mielczarek
110919af49
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
bf6b128469
Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow
2013-05-14 00:47:02 +01:00
Ms2ger
c93541848e
Bug 868726 - Outparamdel nsViewManager::GetDeviceContext; r=tn
2013-05-10 09:13:49 +02:00
Mats Palmgren
10834724ee
Bug 867530 - Make the current poison consumers use the new API. r=roc
2013-05-07 20:48:59 +02:00
Timothy Nikkel
cffcd0ae38
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
16604d3150
Bug 851641. Simplify the logic in nsView::DoResetWidgetBounds. r=tnikkel
2013-05-01 16:21:33 -05:00
Timothy Nikkel
5aefcc33ef
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
e44425faac
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
19ebf3187f
Bug 865569 - Poison nsView. r=roc
2013-04-29 14:11:04 +02:00
Jonathan Kew
5793b86211
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
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Joshua Cranmer
41c5d7997f
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
2d19ac6495
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
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
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
a59d40f143
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
fc10a7cfe4
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
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Daniel Holbert
ce461cdc2c
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
09e7b06723
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
bcb30a2aa5
Bug 852428 part 1. Make CreateViewForFrame infallible. r=dholbert
2013-03-19 21:47:47 -04:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
8b11739fc1
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
faf262c4ee
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
9cb796d914
Bug 784841 - Part 18v: Convert misc remaining parts; f=Ms2ger rs=ted
2013-02-25 12:47:23 -08:00
Matt Woodrow
9d871b957c
Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc
2013-02-26 10:18:48 +13:00
Jonathan Kew
4a6209493f
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Mounir Lamouri
9565607ae2
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/events/. r=smaug
2013-01-23 19:39:34 +00:00
Jonathan Kew
88d3f9e5f8
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
e11eef4753
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
05e24fd045
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
d9789d372b
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
8df404f0aa
Backed out changeset 70baa7e07838 (bug 833915) since one day has passed
2013-01-24 11:12:24 -05:00
Ehsan Akhgari
15d7770547
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
23cabe0437
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
46d1a99bf9
Bug 831011. Remove unused member mOpacity in nsView. r=mats
2013-01-15 16:41:01 -06:00
Robert O'Callahan
c12bc118f9
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
6bab9d8b39
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
c59a37f0d3
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
0b770fc749
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
4269754258
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
e39041c9dd
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
8eb09029ac
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
85884b1a4b
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
408fbe5931
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
8ae53d36e8
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
eff0d26524
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
88271d8714
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
74c41dab7c
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
efe1e03e71
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
8a8ef7ec2f
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
e8c3b8e1be
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
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