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
Taras Glek
8943704095
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Mats Palmgren
f20dde87d8
Bug 454872. r=roc
2009-08-24 03:56:04 +02:00
Brad Lassey
4df98998a7
bug 511716 - trailing while panning fennec r=stuart
2009-08-20 16:46:16 -04:00
Robert O'Callahan
9f2ae1a715
Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron
2009-08-13 19:09:51 -07:00
Masayuki Nakano
f9802cc670
Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc
2009-08-08 00:11:17 +09:00
Robert O'Callahan
a4fec52cd4
Bug 506615. XUL decks should not have wididgets. r=dbaron
2009-07-30 14:54:42 +12:00
Robert O'Callahan
7f80aa5dd5
Bug 505693. Remove nsIView::DisownWidget. r=bzbarsky
...
--HG--
extra : rebase_source : 28e8dbe51cafae7454f1e847ca87597adaa28b9f
2009-07-27 09:30:22 +12:00
Robert O'Callahan
c95fd3cf9a
Bug 505912. Trust the widget visibility in UpdateWidgetArea. r=dbaron
...
--HG--
extra : rebase_source : 4c6e1b2366b430763cce546ab0e26576705a0ca3
2009-07-27 09:17:43 +12:00
Robert O'Callahan
5fa812e479
Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies
2009-07-22 12:45:13 +12:00
Robert O'Callahan
20c4a2900f
Bug 352093. Part 13: Remove nsIViewManager::GetWidget since no-one should be using it. r=bzbarsky
2009-07-22 12:45:11 +12:00
Robert O'Callahan
934fc5b108
Bug 352093. Part 11: Remove GetWidget cals from the view maanger. r=bzbarsky
2009-07-22 12:45:09 +12:00
Robert O'Callahan
d6fc5e3bfb
Bug 352093. Part 2: Create nsIViewManager::GetRootWidget.
2009-07-22 12:45:03 +12:00
Robert O'Callahan
eaf4ee2bc9
Bug 339548. Part 10: Simplify widget parameters to UpdateWidgetArea.
2009-07-22 12:45:01 +12:00
Robert O'Callahan
41b0dc9d84
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
b4be2a9744
Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky
2009-07-22 12:44:59 +12:00
Robert O'Callahan
81bc0a54db
Bug 339548. Part 4: Move responsibility for removing child widget areas from the paint region from nsViewManager to platform widget code. r=karl,josh
2009-07-22 12:44:55 +12:00
Robert O'Callahan
3c281129eb
Bug 339548. Part 3: Introduce native widget clip region API.
2009-07-22 12:44:55 +12:00