Ehsan Akhgari
675fd1091f
Backout changeset f09fdc691c66 (bug 539356) because of performance and correctness regressions
2012-07-03 20:16:25 -04:00
Ehsan Akhgari
cc4eb213b4
Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:47 -04:00
Ehsan Akhgari
5dfcced8d0
Backout changeset 674cde7d007a (bug 770000 because DLBI is being backed out
2012-07-03 19:36:38 -04:00
Matt Woodrow
d4e8c963bf
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
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
1d473e382a
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
8baa378892
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
4dffec4e63
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
67eaa8edd4
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
1f0dbc7c74
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
69d08d71a9
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
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
d40ed1738a
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
5c9f3f4809
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ali Juma
d62323c372
Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc
2012-05-03 12:33:51 -04:00
Daniel Holbert
35adadf192
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
779d6360f4
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
f7620ea904
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
613c2cea1d
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
a47ca866d2
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
72f42280fd
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
b79b1e58d3
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f
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
d0ed306317
Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
56290bc083
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
eb399a7302
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
965873a64b
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
b02086b4af
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
464140fc29
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
2a31a9533e
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
9536e6daf6
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
c40cfadc96
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
aa95f5d61c
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
8cabc9878d
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
0c6de8adf6
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
164e432c6b
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
d13d62c3a3
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
294783292b
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
11a49c8991
Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
1a8fc22417
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Phil Ringnalda
3cce1527f8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
05ef51c398
Bug 598482 part 22 - Bump nsIViewManager UUID. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
2e5f84bd4b
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
dfe85f1f6f
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
adc9e7d972
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
80ff66daf0
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
d377851c88
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
22e7dc8bfa
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
50f30c5700
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
2fe2d8bd71
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
4b8f403413
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
fc01177091
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
246ac10608
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
6e9583f317
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
352b17f6aa
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
c59a4291ff
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
47a9e5ee03
Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
4ca59bb5ee
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Boris Zbarsky
74aef0d2d5
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
d812d1d6ce
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Justin Lebar
5905e88333
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
47b2651e38
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
2eddc81bb7
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
afa7e2eaae
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
886637d1cb
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
9e0f3e82fe
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
3966d0498f
Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek
2011-11-18 08:54:27 +01:00
Timothy Nikkel
d78828a5dd
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
5548813f50
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
3715293ac6
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
Alon Zakai
5eea332ea1
Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec
2011-02-09 12:13:18 -08:00
Chris Jones
e4ac9c5928
Bug 593243: Clip invalidations to the displayport when one is set. r=tn
2011-03-11 17:12:11 -06:00
Mats Palmgren
345787dcab
Bug 617076 - Large white space under Add-on Manager when switching tabs and panes. r=tnikkel a=blocking2.0:betaN
2011-01-29 01:10:46 +01:00
Markus Stange
43eaccf732
Backed out changeset 44c42d8b8d08 (bug 562138 part 1) because it caused bug 627824 and bug 628861.
2011-01-27 07:56:22 +01:00
Markus Stange
2dece9bff2
Bug 562138 - Defer widget visibility changes during reflow. r=roc, a=final
2011-01-18 08:23:49 +01:00
Taras Glek
8b67a8da8d
Bug 625478 - Fix first paint timestamp on OSX and Android r=tn a=Mossop
2011-01-13 20:03:42 -08:00
Taras Glek
cbffc495c3
Bug 522375 - built-in startup time measurement r=vlad a=Mossop
2011-01-13 12:18:51 -08:00
Ehsan Akhgari
d7ede6881c
Bug 611798 - Do not pretent that we need the presshell to exist in order to turn off update view batching when the editor operations finish, because we don't; r=bzbarsky a=blocking-final+
...
This patch should fix all of the possible cases where a browser window stops painting when the presshell dies in the middle of an editor operation.
2010-12-10 17:14:26 -05:00
Neil Deakin
f05f0cf5c7
Bug 613748 - Keyboard inputs do not work when tab-modal alerts are open in another tab. r=smaug, a=drivers for API change
2010-11-24 17:44:46 -08:00
L. David Baron
17d8a57340
Add assertion to detect case that bent caught in record-and-replay on privatebrowsing tests so we can learn what portion of orange (hangs) in those tests it's responsible for, and get stacks pointing to the problem.
2010-10-21 20:37:49 -07:00
Daniel Holbert
daa446d0ec
Bug 603731: Remove unused variable from nsViewManager.cpp. r=tn a=joe
2010-10-14 09:12:56 -07:00
Masatoshi Kimura
2df4090123
Bug 593577 - Get rid of nsContentType. r=roc a=a
2010-09-20 15:40:13 +02:00
Mats Palmgren
d267a28a25
Bug 449734 part 4 - Add nsIWidget::ReparentNativeWidget() to handle reparenting of top-level widgets. r=roc a=blocking2.0:betaN
2010-09-18 13:28:50 +02:00
Mats Palmgren
698eb966cf
Bug 449734 part 1 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN
2010-09-18 13:28:49 +02:00
Robert O'Callahan
a77f413886
Bug 596414. Don't subtract plugin areas from within UpdateWidgetArea, except on mac. r=tn a=b
2010-09-17 11:05:51 -07:00
Timothy Nikkel
b83939c2a1
Bug 588403. Part 2. Don't remove the area of popup widgets from the area to update on the parent widget. r=roc a=blocking final+
2010-09-11 13:24:50 -05:00
Timothy Nikkel
5be08ac8ee
Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc
2010-09-11 13:24:50 -05:00
Timothy Nikkel
bb07e18e5b
Bug 594267. Get rid of hack to determine if a document is visible now that chrome and content view managers are linked. r=roc a=roc
2010-09-11 13:24:50 -05:00
Mats Palmgren
76f0893448
Backing out bug 449734 due to unexpected orange. a=ted
2010-09-03 18:13:49 +02:00
Mats Palmgren
d234af154c
Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN
2010-09-03 16:22:00 +02:00
Chris Jones
8bf7572fda
Followup to bug 589864: Accidentally dropped needed widget init param. irc-r=tn a=bustage-fix
2010-08-24 02:48:46 -05:00
Chris Jones
66bf93223c
Bug 589864: Revert nsView behavior unintentionally changed by refactoring. r=roc a=blocking-beta5
2010-08-24 01:28:16 -05:00
Timothy Nikkel
96d7c687cc
Bug 587542. Rev IID that was forgotten.
2010-08-21 19:55:55 -05:00
Chris Jones
6616076b0a
Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1
2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035
Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc
2010-08-20 14:29:02 -05:00
Chris Jones
56e14668e0
Bug 582057, part f: Split out window initialization code in preparation for multiple CreateWidget* methods. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
68143e26fe
Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
4aa2f7ef7b
Bug 582057, part d: Simplify nsView::LoadWidget and return early if it fails. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
7e921c626f
Bug 582057, part c: Initialize default widget init data earlier so that it's always available. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
5e7a13a689
Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc
2010-08-20 14:29:01 -05:00
Chris Jones
355220de11
Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
e58dd0c2e0
Backed out changeset 5452db293694
2010-08-19 19:03:20 -05:00
Chris Jones
e0c8d7ddb0
Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc
2010-08-19 13:49:35 -05:00
Timothy Nikkel
cc09403fac
Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc
2010-08-18 20:16:58 -05:00
Boris Zbarsky
052a2f6a83
Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc
2010-08-05 14:39:39 -04:00
Boris Zbarsky
e8a9de31ab
Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc
2010-08-05 14:39:39 -04:00
L. David Baron
9cc2e9ec05
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Neil Deakin
577d80fba3
Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
a4a74fb3d1
Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats
2010-07-27 09:38:02 -04:00
Robert O'Callahan
dd4b7116c9
Bug 576332. Don't dispatch synthetic mouse move events if our root view has no widget. r=dbaron
2010-07-20 13:29:30 +12:00
Timothy Nikkel
b364da1a00
Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
3317cb6848
Bug 563878. Part 11. Rework the synth mouse move code. r=mats
2010-07-18 21:23:47 -05:00
Timothy Nikkel
54c7f4f4ba
Bug 563878. Part 10. Overhaul generic parts of view/ to handle non-constant zoom view manager hierarchies. r=mats
2010-07-18 21:23:47 -05:00
Robert O'Callahan
1df5a7ec56
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
00f2a44ddc
Bug 572900. Part 1: Remove view cruft that's not needed now that scrolling is layer-based. r=tnikkel
2010-07-16 09:08:06 +12:00
Timothy Nikkel
60e2c474d2
Bug 563878. Part 6. Simplify nsViewManager::ViewToWidget. r=mats
2010-07-02 14:11:04 -05:00
Timothy Nikkel
b6a5dce4ce
Bug 563878. Part 9. Remove nsIView::GetScreenPosition because it is unused. r=mats
2010-06-25 16:51:17 -05:00
Timothy Nikkel
188385fb2b
Bug 563878. Part 8. Remove workaround from ViewToWidgetOffset because it is not needed anymore. r=roc
2010-06-25 16:51:17 -05:00
Jim Mathies
8c780e75d1
Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron.
2010-06-24 21:01:06 -05:00
Timothy Nikkel
99d62dbee8
Bug 563878. Part 4. Add AppUnitsPerDevPixel convenience function to viewmanager. r=mats
...
(transplanted from fdb1e4bc853db53142b244ddf6e20e9bbab8e636)
--HG--
extra : transplant_source : %FD%B1%E4%BC%85%3D%B51B%B2D%DD%F6%E2%0E%9B%BA%B8%E66
2010-06-05 15:29:49 -05:00
Timothy Nikkel
2871357cb5
Bug 563878. Part 3. Fix FindViewContaining. r=mats
...
(transplanted from 83d0cd161be2d3cad1e97a1deebab5f248f4bc7d)
--HG--
extra : transplant_source : %83%D0%CD%16%1B%E2%D3%CA%D1%E9z%1D%EE%BA%B5%F2H%F4%BC%7D
2010-06-05 15:29:49 -05:00
Timothy Nikkel
55fde443d9
Bug 563878. Part 2. Some view/ cleanup. r=mats
...
(transplanted from 5702bf7ea7eb85e1dbbd23a74f6e747e3b26edcd)
--HG--
extra : transplant_source : W%02%BF%7E%A7%EB%85%E1%DB%BD%23%A7Ont%7E%3B%26%ED%CD
2010-06-05 15:29:49 -05:00
Ehsan Akhgari
cfea792613
Bug 569436 - Intermittent failure in reftest/tests/view/crashtests/382756-1.xul | assertion count 0 is less than expected 2 assertions; r=dbaron
2010-06-02 14:33:47 -04:00
Jesse Ruderman
2f66472c3c
Annotate ignorage of 'ASSERTION: GetMinimumWidgetSize was ignored' with mention of bug 540078. Also, allow 0 assertions for 387745-1.svg, which was orange in the last cycle due to not triggering the assertion.
2010-05-29 23:06:08 -07:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
L. David Baron
7c61f15cf1
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
timeless@mozdev.org
0ae42e9fc5
Bug 555704 - useless null check of baseView in nsViewManager::DispatchEvent, r=roc
...
--HG--
extra : rebase_source : 5b83d0cadd4a19b7046081d97def741f16021edc
2010-03-29 06:50:00 -07:00
Robert O'Callahan
1163079236
Bug 556052. Compute mViewToWidgetOffset correctly and fix bugs by adding subpixel translation when painting. r=mats
2010-04-23 12:21:54 +12:00
Josh Aas
e57fb03f84
Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc
2010-04-21 02:21:46 -04:00
Karl Tomlinson
4ae5415e56
b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug
2010-03-24 16:36:27 +13:00
Robert O'Callahan
137978d0a8
Bug 549630. mViewToWidgetOffset is being calculated the wrong way around. r=mats
...
--HG--
extra : rebase_source : 917290f7ae51bf57d9b689ffa1b3708245235638
2010-03-10 13:14:17 +13:00
Robert O'Callahan
69610b8d43
Bug 546071. Compute view-to-widget offset for plugin views. r=mats
...
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08:00
Robert O'Callahan
6a95e8500e
Backed out changeset 78318b260f18
2010-03-05 20:05:33 +13:00
Robert O'Callahan
b752207ff1
Bug 546071. Compute view-to-widget offset for plugin views. r=mats
2010-02-24 00:33:41 -08:00
Robert O'Callahan
11a3d788af
Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant.
2010-03-01 21:03:49 +13:00
Jesse Ruderman
7ee60fba5d
Add crashtests
2010-02-27 13:04:34 -08:00
Timothy Nikkel
92355591c8
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d
Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
...
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Timothy Nikkel
9d1ebd2487
Bug 543681. Update the dirty region of view properly when scrolling. r=roc
...
--HG--
extra : rebase_source : b2c66757fb896a7f075eb059c85db42bb2fd3f45
2010-02-02 19:55:29 -06:00
Timothy Nikkel
375930c3f5
Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
...
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Robert O'Callahan
8d3cbbd5d2
Bug 526394. Part 35: Prevent event dispatch and script execution during UpdateViewAfterScroll, even in the presence of malign Win32 reentrant APIs. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
b5f5b11c36
Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
dd085808e4
Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats
2010-01-12 10:45:19 +13:00
Robert O'Callahan
04a613495c
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
519c0fd842
Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats
2009-09-09 17:40:02 +12:00
Robert O'Callahan
5326dfa81a
Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
9e667b1f9b
Bug 526394. Back out removal of Composite call.
...
--HG--
extra : rebase_source : 2836e3c7089690800b46ec2aa2dc8022c5298052
2009-12-24 11:52:00 +13:00
Robert O'Callahan
dffec62ff5
Bug 526394. Don't paint synchronously when updating after scrolling. r=mats
2009-12-18 14:00:28 +13:00
Robert O'Callahan
0a5002602b
Backed out changeset 70b5097f7c30
...
--HG--
extra : rebase_source : 40a5eab30a03a77f187316b99c2f1e5179d8dd44
2009-12-18 13:58:29 +13:00
Robert O'Callahan
f6583136ea
imported patch disable-Composite
2009-12-18 13:40:28 +13:00
Karl Tomlinson
e336ebd026
b=518506 order child widget moves a little carefully when scrolling r=roc
2009-12-14 10:01:33 +13:00
Oleg Romashin
779504f014
Bug 528025. Hold a strong ref from the view manager to the device context. r=roc/bz
2009-11-18 13:38:16 +13:00
Robert O'Callahan
df12cdae81
Bug 498340. Backout previous fix
2009-11-16 11:48:18 +13:00
Oleg Romashin
e1e235be47
Bug 528025 - Invalid read happen in view because of Device context is not referred properly. r=roc
2009-11-15 10:02:10 +02:00
Markus Stange
89681f9fd4
Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh
...
--HG--
extra : rebase_source : cb6f250b0fc137682cd09e569d34c29ca272211e
2009-11-14 00:03:46 +01:00
Karl Tomlinson
f1bba3e294
b=521198 don't update when refresh is disabled r=roc
...
--HG--
extra : rebase_source : 8277aa725ef29138201d825b31aad6bec258a53d
2009-11-11 09:47:57 +13:00
Robert O'Callahan
d95452e244
Bug 498340. Block script execution during the entire paint phase including when we call WillPaint to flush notifications. We don't want script to run and disturb (directly or indirectly) the widget hierarchy, because doing that during BeginPaint/EndPaint can confuse Windows. Other platforms might also be adversely affected. r=bz
2009-11-10 14:00:35 +13:00
Robert O'Callahan
7e04a64cff
Bug 513082. Take advantage of our knowledge that nsDisplayClip, when used in a blitting scrolling frame, must snap to device pixels, to get more accurate blit regions. r=dbaron
2009-11-04 07:39:42 +13:00
Mats Palmgren
f93c58bc21
Call WillPaint() on all descendant view observers. b=517772 r=bzbarsky r=roc
2009-10-16 12:55:19 +02:00
Robert O'Callahan
0661a95762
Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
...
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Robert O'Callahan
2e6f2bd071
Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron
...
--HG--
extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2
2009-09-07 12:35:14 +12:00
Markus Stange
36822e5cf2
Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc
2009-09-24 18:18:10 +12:00
Markus Stange
f16e17827d
Backed out changeset 7799cfb99362 (Bug 517804 - Flush reflows and invalidations during viewWillDraw) because it caused a ts_shutdown regression.
2009-09-23 08:53:25 +12:00
Markus Stange
af80e1bef8
Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh
2009-09-21 18:29:59 +12:00
Robert O'Callahan
6de615de1b
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
...
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00