Timothy Nikkel
b18c3838c6
Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc
2010-09-11 13:24:50 -05:00
Timothy Nikkel
447ae6f4c6
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
f04c0c661b
Backing out bug 449734 due to unexpected orange. a=ted
2010-09-03 18:13:49 +02:00
Mats Palmgren
842363cdb7
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
922d8c16c6
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
a0717c5547
Bug 589864: Revert nsView behavior unintentionally changed by refactoring. r=roc a=blocking-beta5
2010-08-24 01:28:16 -05:00
Timothy Nikkel
ad69b8103e
Bug 587542. Rev IID that was forgotten.
2010-08-21 19:55:55 -05:00
Chris Jones
0a3ef826a6
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
3cc44e2456
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
d7454a33bb
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
accbd0a3b5
Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc
2010-08-20 14:29:01 -05:00
Chris Jones
6a796d25f2
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
7387dfa5b1
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
6159af5262
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
97a0f4958f
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
b3c3ed11d1
Backed out changeset 5452db293694
2010-08-19 19:03:20 -05:00
Chris Jones
a160fb6e84
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
4ce442895c
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
71030cb8d2
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
2c088ca165
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
b0ac8dc333
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
f9a7385f55
Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
f46c03d388
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
91cbf0e658
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
ecb1228db4
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
6c604b2923
Bug 563878. Part 11. Rework the synth mouse move code. r=mats
2010-07-18 21:23:47 -05:00
Timothy Nikkel
3a7624111e
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
00c5b11afa
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
c996ab4fc3
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
b455c941a4
Bug 563878. Part 6. Simplify nsViewManager::ViewToWidget. r=mats
2010-07-02 14:11:04 -05:00
Timothy Nikkel
66ff344afd
Bug 563878. Part 9. Remove nsIView::GetScreenPosition because it is unused. r=mats
2010-06-25 16:51:17 -05:00
Timothy Nikkel
14a8952bb9
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
8c631afae5
Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron.
2010-06-24 21:01:06 -05:00
Timothy Nikkel
e7529e0043
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
603b68e7da
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
d3dc00c4a1
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
308ae9cb5f
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
dbb86363b6
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
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
L. David Baron
c4eb38acd9
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
d5b0e3761e
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
a1ec90a1a8
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
cd2f3e4eba
Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc
2010-04-21 02:21:46 -04:00
Karl Tomlinson
110f627e7b
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
3fd86d36c6
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
4600eb89a8
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
c8e9db9062
Backed out changeset 78318b260f18
2010-03-05 20:05:33 +13:00
Robert O'Callahan
d4122472d6
Bug 546071. Compute view-to-widget offset for plugin views. r=mats
2010-02-24 00:33:41 -08:00
Robert O'Callahan
ff44c3c9e3
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
ff8208a031
Add crashtests
2010-02-27 13:04:34 -08:00
Timothy Nikkel
895e60343d
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9
Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
...
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Timothy Nikkel
446a827a21
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
6c427678c3
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
ff991f1e8a
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
393faec388
Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
96a17b8b42
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
0de717dfb6
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
7cd6b9032a
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
f5f950e7b8
Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
c78b819dd5
Bug 526394. Back out removal of Composite call.
...
--HG--
extra : rebase_source : 2836e3c7089690800b46ec2aa2dc8022c5298052
2009-12-24 11:52:00 +13:00
Robert O'Callahan
f46a8cc400
Bug 526394. Don't paint synchronously when updating after scrolling. r=mats
2009-12-18 14:00:28 +13:00
Robert O'Callahan
1de2c23d38
Backed out changeset 70b5097f7c30
...
--HG--
extra : rebase_source : 40a5eab30a03a77f187316b99c2f1e5179d8dd44
2009-12-18 13:58:29 +13:00
Robert O'Callahan
7f6a89746e
imported patch disable-Composite
2009-12-18 13:40:28 +13:00
Karl Tomlinson
8dc7c5e282
b=518506 order child widget moves a little carefully when scrolling r=roc
2009-12-14 10:01:33 +13:00
Oleg Romashin
2237966136
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
42c8ce906e
Bug 498340. Backout previous fix
2009-11-16 11:48:18 +13:00
Oleg Romashin
9e13a9c4cb
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
1022cad728
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
80f6afa68a
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
6b06693b5b
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
c8bd80f5be
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
3b7aeeee5a
Call WillPaint() on all descendant view observers. b=517772 r=bzbarsky r=roc
2009-10-16 12:55:19 +02:00
Robert O'Callahan
549d1578f2
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
7681dc8f97
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
5714a2fee4
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
f29053535c
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
133f044207
Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh
2009-09-21 18:29:59 +12:00
Robert O'Callahan
1da8163981
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
51b0e867e6
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
cef5702d08
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
6d007b6255
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
5cee56363b
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg
ba372f3a4c
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
dff7eb2f5e
Bug 454872. r=roc
2009-08-24 03:56:04 +02:00
Brad Lassey
6c1e2a11b7
bug 511716 - trailing while panning fennec r=stuart
2009-08-20 16:46:16 -04:00
Robert O'Callahan
b8e126f83c
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
1300347b88
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
cc3fc234ee
Bug 506615. XUL decks should not have wididgets. r=dbaron
2009-07-30 14:54:42 +12:00
Robert O'Callahan
daf90a54e9
Bug 505693. Remove nsIView::DisownWidget. r=bzbarsky
...
--HG--
extra : rebase_source : 28e8dbe51cafae7454f1e847ca87597adaa28b9f
2009-07-27 09:30:22 +12:00
Robert O'Callahan
075323ed3e
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
933f110f1a
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
6991cf6438
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
556aebfd6d
Bug 352093. Part 11: Remove GetWidget cals from the view maanger. r=bzbarsky
2009-07-22 12:45:09 +12:00
Robert O'Callahan
42155761e9
Bug 352093. Part 2: Create nsIViewManager::GetRootWidget.
2009-07-22 12:45:03 +12:00
Robert O'Callahan
40f2d5e5f2
Bug 339548. Part 10: Simplify widget parameters to UpdateWidgetArea.
2009-07-22 12:45:01 +12:00
Robert O'Callahan
dce2b0d98a
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
3da1f8631b
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
6200540a04
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
1b3f569e32
Bug 339548. Part 3: Introduce native widget clip region API.
2009-07-22 12:44:55 +12:00
Timothy Nikkel
8f1f1d1fd5
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Robert O'Callahan
792e8d400b
Bug 500629. Remove NS_SCROLL_PROPERTY_ALWAYS_BLIT, only XUL listboxes use it, and for no good reason. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 262ff065fd9bbc7687a5aa1f9c330626878cdf25
2009-06-29 10:48:59 +12:00
Arpad Borsos
118ee75268
Back out bug 474369, suspected of causing dhtml and tp3 regression
2009-06-12 23:20:55 +02:00
Arpad Borsos
990fceee6e
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
...
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Markus Stange
f64a903399
Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc
2009-06-11 11:24:41 +02:00
Neil Deakin
15df29db77
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Jim Mathies
b7f1e1335d
Bug 485101 - Implement panning feedback for touch enabled displays with win7. r+sr=smaug r=blassey.
2009-05-19 21:05:59 -05:00
Dave Townsend
dd2848c629
Backed out changeset 461d728271d1
2009-05-19 13:51:18 +01:00
Arpad Borsos
6a70c37113
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Daniel Veditz
36fec4ba6c
bug 490425 fix nsView crash, patch from Martin Stransky, r/sr=roc
2009-05-14 07:04:45 -07:00
Ryo Onodera
dff270d1be
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
tn
df89203956
Bug 485275. nsViewManger::RenderViews needs to forward to the correct view manager for the display root view. r=roc
2009-04-06 12:39:24 +12:00
Jeremy D. Lea
0e51628bd3
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
XiaoXiaoHU
95331fc201
Bug 298889 - iframe invisible when window is transparent; r+sr=roc
2009-02-24 17:53:32 +01:00
Zack Weinberg
4b0289ba0b
Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc
2009-02-23 02:10:23 +01:00
Jeremy D. Lea
55c57c0ab2
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Serge Gautherie
0d99859fec
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
5ad3fa0eed
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Jesse Ruderman
ea905567dc
Add crashtests
2009-02-13 14:54:17 -08:00
Jim Chen
b3c9d6eb8e
Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
...
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
b80ec96efd
Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
...
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Jim Chen
8623f5fcc5
Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
...
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
Jesse Ruderman
313514226b
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
L. David Baron
02c9a9592a
Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
...
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
c997843b00
Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
...
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Zack Weinberg
483d574706
Bug 475548. Don't let the view manager's DefaultBackgroundColor be translucent. r+sr=roc
...
--HG--
extra : rebase_source : 1a8a5b29e8bc726affd4a97850e4c8f2c962ed1f
2009-01-30 20:07:30 +13:00
Markus Stange
223e74556b
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-24 16:47:17 +01:00
Markus Stange
0484772b99
Backout of bug 469613 due to failing test_datepicker on Linux
2009-01-15 17:37:44 +01:00
Markus Stange
d8ffe37308
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
...
Relanding without test to verify that it's the fix that caused test_datepicker to fail
2009-01-15 15:43:52 +01:00
Jeremy Lea
ce80f69254
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Dave Townsend
d31b96be19
Backed out changeset fe759e3fd895 from bug 469613 due to mochitest failures
2009-01-09 13:46:45 +00:00
Markus Stange
e57134dd74
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-09 10:05:24 +01:00
Masayuki Nakano
b3df92d76b
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Robert O'Callahan
785a778ef4
Bug 468753 - Startup crash in nsViewManager::ProcessSynthMouseMoveEvent; r+sr=dbaron
2008-12-10 15:57:27 +01:00
Mats Palmgren
4097da34ae
Don't crash if views were destroyed while flushing notifications. b=421839 r+sr=roc
2008-12-08 00:11:37 +01:00
L. David Baron
c56c851ea5
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
L. David Baron
e6e2f9494e
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
971d17c3fd
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-04 08:09:52 -08:00
Markus Stange
030716b190
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Robert O'Callahan
7a907f23ca
Bug 454959. When a document is in a floating view, floating-ness doesn't propagate across view manager boundaries. So use the display-root view as the place to invalidate from. r+sr=bzbarsky
2008-11-26 11:09:37 +13:00
Markus Stange
fc65cd042d
Fixing leak caused by bug 457864
2008-11-01 17:12:57 +01:00
Markus Stange
72aca2a4c9
Bug 457864 - Make wheel scrolling asynchronous, r+sr=roc (relanding)
2008-11-01 15:07:34 +01:00
Honza Bambas
796eaec927
Bug 455871 - [mac] Regression: drag & drop is not working at all after some-time of browser usage; fix, v2 + colorpicker test update; r+sr=roc
2008-10-28 05:44:29 +01:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Keith Schwarz
48a87265ac
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
8b1fb3a9e2
Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky
2008-09-09 06:43:10 -07:00
L. David Baron
210a4684ba
Correctly handle window resizes when one dimension is zero. (Bug 453759) r+sr=roc
2008-09-08 06:41:36 -07:00
Vladimir Vukicevic
098636a69b
b=451441; EnableRefresh with IMMEDIATE needs to always call Composite(); r+sr=roc
2008-09-07 23:04:15 -07:00
Robert O'Callahan
c04d96c610
Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky
2008-09-06 20:52:56 +12:00
Robert O'Callahan
b45eb57f56
Bug 442291. Avoid the bitblit scrolling path completely if the area to be repainted is more than half the area to scroll. The goal is to avoid the synchronous repaint required by bitblitting (synchronicity is required to minimize the delay between blitting and repainting --- the intermediate display is very ugly). Also, make scroll-induced full-view repainting DEFERRED, so that it's less urgent and more apt to coalesce, so we drop frames more easily when painting can't keep up during scrolling. r+sr=bz
2008-09-06 20:42:47 +12:00
Robert O'Callahan
8d8390a5b5
Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661
2008-09-05 15:40:06 +12:00
Robert O'Callahan
82aa805186
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Rob Arnold
a99f6d56c4
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
Masayuki Nakano
dbe443ee82
Bug 449012 – Remove legacy Reconversion/QueryCaretRect Events r=ere+roc, sr=roc
2008-08-09 11:46:30 +09:00
Gavin Sharp
d98b8e5209
Bug 446363: remove unused variable, r+sr=roc
2008-07-21 05:59:06 -04:00
Karl Tomlinson
120277c39c
Adjust the dirty region consistently with the coordinate transformation. b=445932 r+sr=roc
2008-07-21 20:24:38 +12:00
Steven Michaud
6e6d7cccf1
Make sure Destroy() is called before an nsIWidget is destroyed. b=434089 r=bzbarsky sr=vladimir
2008-07-18 10:54:12 -05:00
Benjamin Smedberg
556cf36dc9
Bug 442729 - Annotate stack-only classes in layout, r+sr=roc
2008-07-01 15:16:45 -04:00
jruderman@hmc.edu
e05a2c2bcd
Add crashtest
2008-04-22 21:23:07 -07:00
roc+@cs.cmu.edu
d77bc4044c
Bug 429315 crashtest
2008-04-18 02:54:51 -07:00
roc+@cs.cmu.edu
7022cf7841
Bug 429315. Relanding. Don't reparent widgets that are supposed to be toplevel. r+sr=bzbarsky,a=beltzner
2008-04-18 02:49:36 -07:00
roc+@cs.cmu.edu
c46f032c45
Backout 429315
2008-04-17 04:53:55 -07:00
roc+@cs.cmu.edu
cc91cc60fd
Bug 429315 crashtest
2008-04-17 01:18:45 -07:00
roc+@cs.cmu.edu
80941ad266
Bug 429315. Don't reparent toplevel widgets when we reparent a view subtree; they should remain toplevel. r+sr=bzbarsky,a=beltzner
2008-04-17 01:17:06 -07:00
roc+@cs.cmu.edu
dcb9b58ab1
Bug 408955. UpdateViewAfterScroll shouldn't just bail out for content in popups. Instead we should do the invalidation but limit it to the correct displayRoot. r+sr=bzbarsky
2008-04-01 15:15:43 -07:00
Olli.Pettay@helsinki.fi
060a5a3d0c
Bug 421209, r=cpearce, sr=jst, a=beltzner
2008-03-20 13:24:36 -07:00
jonas@sicking.cc
c078e73997
Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
2008-03-14 16:08:57 -07:00
jonas@sicking.cc
0c80ff16bc
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4216df2295
Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
2008-03-10 17:49:19 -07:00
roc+@cs.cmu.edu
8c8facdc2c
Bug 408913. Do a proper fix for pixel-aligned drawing of IFRAME contents. The secret is make ViewToWidgetOffset return correct results for the root views of subdocuments. r+sr=bzbarsky
2008-03-03 23:48:52 -08:00
mozilla@weilbacher.org
c06c8a1eac
Bug 419270: Elements with position:fixed jump while scrolling, copy the Linux solution, p=wuno@lsvw, r=me, a19a4=beltzner
2008-02-29 00:19:05 -08:00
roc+@cs.cmu.edu
015af08fd4
Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
2008-02-27 01:46:22 -08:00
roc+@cs.cmu.edu
73197c8a63
Bug 417967. Align subframe drawing so that drawing at (0,0) relative to the root view's origin is aligned to a pixel boundary. r+sr=bzbarsky
2008-02-24 17:39:34 -08:00
masayuki@d-toybox.com
95b63444af
Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov
2008-02-19 23:40:04 -08:00
roc+@cs.cmu.edu
66d44fb0ab
Bug 399852. #ifdef out logging code, since this checkin is going to stick
2008-02-19 03:08:57 -08:00
roc+@cs.cmu.edu
518856f1c7
Bug 399852. Experimental relanding to collect data from centos5.
2008-02-19 01:16:20 -08:00
roc+@cs.cmu.edu
4a6b816dec
Backing out bug 399852 again, looks like it caused more focus-related mochitest failures
2008-02-11 19:04:48 -08:00
roc+@cs.cmu.edu
35dc50961d
Bug 399852. Suppress focus changes during content updates, reboot focus after the update has finished. patch by Chris Pearce, r+sr=roc
2008-02-11 17:57:18 -08:00
mozilla@weilbacher.org
d0cb8b7ca7
Bug 412582: remove MOZ_ENABLE_CAIRO_GFX from the build system, r=ted.mielczarek, a=beltzner
2008-01-28 15:07:34 -08:00
roc+@cs.cmu.edu
019ef8a41f
Fixing bustage
2008-01-26 16:10:21 -08:00
roc+@cs.cmu.edu
a93abc37c9
Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky
2008-01-26 15:59:50 -08:00
reed@reedloden.com
cfb4481af3
Bug 323740 - "Crash [@ nsViewManager::UpdateWidgetsForView]" [p=hskupin@gmail.com (Henrik Skupin) r+sr=roc a1.9=schrep]
2008-01-18 01:10:37 -08:00
dholbert@cs.stanford.edu
e66b5b8b2a
Backing out 399852 due to mac mochitest failures
2008-01-15 16:56:43 -08:00
dholbert@cs.stanford.edu
02315d843d
Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=blocking1.9+ (re-landing; mochitest failures should be fixed)
2008-01-15 16:19:47 -08:00
roc+@cs.cmu.edu
9de8bb0e08
Backing out 410489 to fix test failures
2008-01-09 17:01:51 -08:00
roc+@cs.cmu.edu
71377762e9
Backing out 410489 to fix test failures
2008-01-09 16:40:07 -08:00
martijn.martijn@gmail.com
334bf6c7b6
Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce, r+sr=roc, a=blocking1.9+
2008-01-09 13:44:59 -08:00
jruderman@hmc.edu
d4e45566f6
Add a crashtest
2008-01-04 20:21:43 -08:00
reed@reedloden.com
f9ee4eb39f
Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
2008-01-01 02:11:02 -08:00
hwaara@gmail.com
410476baa7
bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
2007-12-19 11:40:18 -08:00
vladimir@pobox.com
2e94f56ef2
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
2007-12-18 15:01:15 -08:00
jruderman@hmc.edu
d1bf8644ad
C is for crashtest
2007-12-15 17:10:29 -08:00
enndeakin@sympatico.ca
8ccc15cac7
Bug 395334, allow noautohide panels to have a parent so they that float and move with their parent, also fixes bug 395123, r=josh,roc,sr=roc
2007-11-28 12:18:11 -08:00
Olli.Pettay@helsinki.fi
a43ff636b0
Bug 373344, r+sr=roc, a=blocking1.9+
2007-11-22 07:08:13 -08:00
roc+@cs.cmu.edu
695e41754d
Bug 402843. Don't persistently store scroll positions in device pixels, it just gets out of sync and causes bugs during full zoom. r+sr=bzbarsky
2007-11-15 17:45:21 -08:00
roc+@cs.cmu.edu
3d82d0bf15
Bug 400208. Don't leak mScrollCnt when we take an early exit from UpdateViewAfterScroll. r+sr=bzbarsky,a=beltzner
2007-10-24 14:44:37 -07:00
bzbarsky@mit.edu
e51e8403e6
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
sharparrow1@yahoo.com
8090790964
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 13:47:04 -07:00
sharparrow1@yahoo.com
0b4640e466
Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc
2007-07-08 22:04:01 -07:00