Ehsan Akhgari
cbdaea8546
Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:47 -04:00
Ehsan Akhgari
706b94a49f
Backout changeset 674cde7d007a (bug 770000 because DLBI is being backed out
2012-07-03 19:36:38 -04:00
Matt Woodrow
616e076f88
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
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
895528986f
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
8e39468fd0
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
5dc07fe113
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
6b8da8ec1c
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
9193c41326
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
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
6d65439af9
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
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ali Juma
d068bda688
Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc
2012-05-03 12:33:51 -04:00
Daniel Holbert
53c376e052
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
f4872369b6
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
124120bf61
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
5cea7f8aa0
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
9c9e2eed37
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
43680b21b4
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
2e1e2ae3c5
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157
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
ad4ac59f3a
Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
90887b6812
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
76504f5eaa
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
3985c37e27
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
7cef46d7c3
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
28a839403a
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
4f1587ac23
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
d9f5269c69
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
b5a28c81b1
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
7fe44fb651
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
96d30a209d
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
23cd2039c1
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
824c723ed8
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
cb70f28632
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
659b1e7794
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
28f2ac48f7
Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
b976b6e46e
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Phil Ringnalda
3f8c5b26b0
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
eb9644f9cf
Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
7e1f02260d
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
fc0530b684
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
e4972002d9
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
f46e35720f
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
34f17128b7
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
17a4eb1bb9
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
66cb993792
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
dee1c3d988
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
02e3092993
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
60d8dc7c75
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
cba6d0694d
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
b908f95d46
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
4ef3f032b5
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
e8a5d8ebaa
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
91a8db2622
Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
4af1a01b29
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Boris Zbarsky
d3f867aa67
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
9c4d4fff06
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Justin Lebar
02f303732b
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
252f9a5156
Bug 668437. Part 5. Make the view bounds of a popup coincide with the client area of the widget. r=enndeakin,roc
2011-12-01 13:56:42 -06:00
Neil Deakin
355968e2b9
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
f6c640932a
Bug 703260, part 2, remove view usage from popup manager's widget callbacks, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Mike Hommey
cfe6b4b12d
Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek
2011-11-18 08:54:27 +01:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Neil Deakin
b9741fe3c6
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Timothy Nikkel
3d978c5cd5
Bug 695245. Misc view related code cleanup. Mostly dead code removal. r=roc
2011-10-19 14:10:13 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Neil Deakin
731458c274
Bug 694224, remove appshell argument from various widget creation methods, r=roc
2011-10-14 09:06:39 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Brad Lassey
86abe4bda0
bug 688618 - trailing while panning in fennec, be consistant on all platforms r=roc
2011-09-23 13:21:04 -04:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
L. David Baron
d2104b0877
Create nsPresShell.h with the parts of nsPresShell.cpp that should be in a header. (Bug 685786) r=roc
...
Note: This adds STACK_ARENA_ to the beginning of the names of a few macros.
--HG--
rename : layout/base/nsPresShell.cpp => layout/base/nsPresShell.h
2011-09-09 12:50:21 -07:00
Rafael Ávila de Espíndola
9ca4b64c4b
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Marco Castelluccio
6e58070f5f
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Mats Palmgren
3fc942cbac
Bug 424395 - Ignore invalidation if the view observer has been disconnected. r=roc
2011-07-20 22:22:27 +02:00
Masayuki Nakano
682daeb5bf
Bug 664906 Remove unnecessary #include for prefs in view r=roc
2011-06-17 18:59:58 +09:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Timothy Nikkel
d652b2c826
Bug 638430. Fix finding the display root of a view when a floating view is inside a floating view. r=roc
2011-05-29 22:15:00 -05:00
Timothy Nikkel
88a07ae5c6
Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
...
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Masayuki Nakano
6a43b8a387
Bug 651694 Sort out NS_PLUGIN_EVENT r=roc
2011-05-11 13:52:44 +09:00
Timothy Nikkel
45cc226593
Bug 653839. Don't call DidPaint on hidden documents. This just does for DidPaint what bug 594267 did for WillPaint. r=roc
2011-05-01 20:59:15 +02:00
Zack Weinberg
dd67585463
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Zack Weinberg
f5a0843ac7
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Robert O'Callahan
acc00bd703
Bug 598854. We no longer have cases where the view to paint is not a displayroot, so remove the code that handles that. r=tnikkel
2011-04-11 08:41:18 -07:00
Ehsan Akhgari
73dd5db57d
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Neil Deakin
77754d2c9e
Bug 632953 - Clear mouse capture after window resize completes. r=jimm
2011-03-25 18:17:35 -05:00
L. David Baron
af9a4f98db
Merge layout work from projects/birch, part 4. a=rs
2011-03-24 14:36:14 -07:00
Ehsan Akhgari
da7c6acb37
Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc
2011-03-21 14:28:10 -04:00
Timothy Nikkel
c7c6267343
Bug 636817. Make LayerManagerForDocument return the correct manager even when there is no root frame so that empty transactions work correctly. r=roc a=hardblocker
2011-03-01 17:15:23 +01:00
Mats Palmgren
91daa42895
Bug 629823 - Use the right view manager for the parent view. r=tnikkel a=roc
2011-02-10 23:38:37 +01:00