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
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
671a4a7ff6
Bug 385222: Topmost overlapping div does not scroll within the bounded area of the underlying div. r+sr=roc.
2007-07-02 13:56:30 -07:00
sharparrow1@yahoo.com
e8e5a38664
Bug 382756: ASSERTION: When exactly is this supposed to be non-zero?. r+sr=roc.
2007-06-29 18:41:10 -07:00
mconnor@steelgryphon.com
1e873a4350
backing out bug 347743 due to major crasher in 386332
2007-06-29 10:21:55 -07:00
sharparrow1@yahoo.com
139b1d358b
Remove assertion accidentally checked in.
2007-06-27 23:05:44 -07:00
sharparrow1@yahoo.com
4e959d3ba7
Bug 382595: SVG image is covered with horizonal lines when scrolled. r+sr=roc.
2007-06-27 23:02:05 -07:00
jst@mozilla.org
b30f4be28c
Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
2007-06-27 17:15:11 -07:00
sharparrow1@yahoo.com
bda6ee51bc
Update UUIDs
2007-06-27 15:15:13 -07:00
sharparrow1@yahoo.com
9693b2be65
Bug 385978: View cleanup. r+sr=roc
2007-06-27 14:23:02 -07:00
sharparrow1@yahoo.com
4dd8605134
Bug 385937: Remove nsIBlender. rs=pavlov
2007-06-27 12:06:09 -07:00
martijn.martijn@gmail.com
fd69d8f1bf
Bug 383010 - Visual glitches while scrolling pages with position:fixed elements, patch by Stephen Moehle, r+sr=roc
2007-06-05 02:39:54 -07:00
roc+@cs.cmu.edu
8694178fec
Bug 382471. Don't crash when wigets aren't present. patch by Eli Friedman, r+sr=roc
2007-05-31 16:23:32 -07:00
roc+@cs.cmu.edu
eeaecb57b1
Bug 382471. Don't crash when wigets aren't present. patch by Eli Friedman, r+sr=roc
2007-05-31 16:23:05 -07:00
roc+@cs.cmu.edu
182c294250
Bug 343430. Reduce the area we scroll on Windows to reduce flicker by excluding areas that shouldn't be moving. On Linux, since we can't control the area we scroll, just disable accelerated scrolling in that case and repaint everything. r+sr=dbaron
2007-05-27 20:17:20 -07:00
sharparrow1@yahoo.com
dbea19c25f
Bug 381746: odd and changing border in frameset (and a couple other regressions relating to black boxes). r+sr=roc.
2007-05-25 20:45:00 -07:00
sharparrow1@yahoo.com
53b5d6bd32
Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc.
2007-05-22 20:45:59 -07:00
sharparrow1@yahoo.com
200370c700
Backing out due to red tree.
2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
36e7d7017d
Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc
2007-05-22 18:42:36 -07:00
sharparrow1@yahoo.com
c6ad0c8d5f
Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc
2007-05-22 17:11:05 -07:00
dbaron@dbaron.org
0ae4070e64
Remove unused variable/parameter in view code. b=371392 r+sr=roc
2007-05-17 23:02:00 -07:00
mats.palmgren@bredband.net
992d1d854a
Be more careful when detaching an old window. b=374102 r+sr=roc
2007-05-13 17:43:13 -07:00
sharparrow1@yahoo.com
bb057f50e6
Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
2007-05-04 16:28:00 -07:00
mats.palmgren@bredband.net
becfac9aaa
Lookup the view again since WillPaint() might lead to its destruction. b=378273 r+sr=roc
2007-04-29 17:46:27 -07:00
aaronleventhal@moonset.net
46b5ded335
Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc
2007-04-18 06:44:28 -07:00
joshmoz@gmail.com
96c071174a
get rid of old backbuffer API and related code. b=371392 r/sr=roc
2007-03-26 23:21:55 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00
sharparrow1%yahoo.com
884351335b
Bug 371528: Stop creating views for pages. r+sr=roc.
2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com
88fb576ad6
Bug 371460: Remove clipping functions from views. r+sr=roc.
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
4862938c93
Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
d19f64369b
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
sharparrow1%yahoo.com
8fa9a1d89e
Bug 356858: remove unused declarations. r+sr=roc
2006-11-24 08:09:28 +00:00
roc+%cs.cmu.edu
2f8f7e5581
Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(.
2006-11-23 01:12:52 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e
Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
2006-11-16 21:35:39 +00:00
roc+%cs.cmu.edu
86928ae28e
Bug 306149. Make sure only the root view manager participates in mouse event synthesis. r+sr=dbaron
2006-11-16 18:36:14 +00:00
roc+%cs.cmu.edu
1839efdd55
Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron
2006-11-13 22:59:14 +00:00
neil%parkwaycc.co.uk
0eff12bbc6
Bug 70798 Ability to have transparent background on <popup>s r+sr=roc
2006-09-07 08:50:43 +00:00
timeless%mozdev.org
6d112f0859
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
roc+%cs.cmu.edu
4a4a22c9a0
Bug 347952. Don't do expensive WidgetToScreen translations when positioning zero-sized popups. r+sr=bzbarsky
2006-08-16 01:54:30 +00:00
mark%moxienet.com
a8750b5d4b
319078 Handle smooth mousewheel (and two-finger touchpad) scrolling. r=josh sr=darin r,sr=roc
2006-07-20 15:38:43 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e
bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
...
associated code. These options do not really work anymore.
r=bsmedberg
2006-05-06 17:53:51 +00:00
roc+%cs.cmu.edu
0df069259f
Bug 130078. Backing out now that I have perf. numbers
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7a9451c41b
Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
2006-05-04 03:46:19 +00:00
sharparrow1%yahoo.com
27b115616c
Bug 332746: null check to prevent crash printing select controls. r+sr=roc
2006-04-20 04:08:18 +00:00
sharparrow1%yahoo.com
9ba69b1c54
Okay, backout and try this again
2006-04-20 04:05:04 +00:00
sharparrow1%yahoo.com
065ebf7b6a
*** empty log message ***
2006-04-20 04:03:01 +00:00
martijn.martijn%gmail.com
6d1550b350
Bug 333301 - [@ nsViewManager::RemoveChild] if child is null. Patch by Nickolay Ponomarev, r+sr=roc
2006-04-10 16:55:19 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
ed97753ea2
Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc
2006-03-22 18:00:28 +00:00
dbaron%dbaron.org
c37d9a2cf3
Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
2006-03-15 16:55:19 +00:00
vladimir%pobox.com
fd5e4ef409
Make patch for 328337 cairo gfx-only, to fix bug 329917
2006-03-09 21:17:47 +00:00
vladimir%pobox.com
3e83e21d9d
b=328337, black flash often when repainting areas, r=roc
2006-03-07 21:08:48 +00:00
cbiesinger%web.de
b768303bda
bug 329140
...
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
vladimir%pobox.com
f86c4ac3d4
b=328384, ViewManager::DefaultRefresh paints to wrong rendering context (ignores event RC, creates its own), r+sr=roc
2006-02-24 00:54:32 +00:00
timeless%mozdev.org
426f83aecc
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
dbaron%dbaron.org
c5b8ef4d5c
Avoid asking the event queue service for an event queue during XPCOM shutdown. r+sr=roc b=327655
2006-02-22 00:51:35 +00:00
vladimir%pobox.com
707e0dc2f7
b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
2006-02-15 23:35:53 +00:00
vladimir%pobox.com
8252152ff0
Fix thebes performance regressions from bug 326471 landing: snap clip rects to integers; remove some bogus RGB24 format checks from cairo; fix device offsets for fast text output. r=stuart
2006-02-10 02:20:35 +00:00
vladimir%pobox.com
07c2d74eae
Fix for bug 326471 patch; round clip coordinates to integers, otherwise we end up hitting the slow clip-through-mask path
2006-02-09 05:19:41 +00:00
vladimir%pobox.com
567bc2281b
b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart
2006-02-09 01:24:30 +00:00
dbaron%dbaron.org
35c5d07c2e
Remove old native widget code that we were only keeping around for viewer. b=326417 Fixing bustage.
2006-02-08 20:50:17 +00:00
roc+%cs.cmu.edu
bc64374d98
Bug 324883. Be sure to initialize variables! Fix some cases where we weren't scrolling with bitblit when we could be. r+sr=dbaron
2006-02-06 02:41:51 +00:00
dbaron%dbaron.org
5c4f5f9567
Another attempt at the Windows bustage. b=317375
2006-01-26 07:06:26 +00:00
roc+%cs.cmu.edu
77bca74243
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
542465aa79
Bug 306426. Allow synthetic mouse events to target floating views. r+sr=dbaron
2005-12-15 03:33:52 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
158ddd874d
Bug 281709. When Show()ing a widget, unconditionally reset its bounds *right now* even if updates are suppressed. patch by bzbarsky, r+sr=roc
2005-10-21 02:40:04 +00:00
dbaron%dbaron.org
d0872eefe9
Change GetRectVisibility so that floating views (such as combobox dropdowns and menupopups) are always considered visible, since they are visible where other views would be clipped. b=310604 r+sr=roc
2005-10-15 07:10:08 +00:00
bzbarsky%mit.edu
3c55a21288
Wallpaper for bug 311223 pending a fix of the underlying tree bug. r+sr=roc
2005-10-08 02:32:03 +00:00
bzbarsky%mit.edu
f02a33078c
Fix bug 311550 -- Don't do anything in EnableRefresh if there are no pending
...
updates. r+sr=roc
2005-10-07 22:29:47 +00:00
roc+%cs.cmu.edu
a4ae92ddf9
Bug 282750. Don't worry about over-complex opaque regions when we want to add a rect that will cover the entire region (and thus simplify it). r+sr=bzbarsky
2005-10-06 17:47:59 +00:00
wtchang%redhat.com
1005114369
Bugzilla bug 281158: put a Windows file pathname inside Doxygen's
...
@verbatim/@endverbatim block to prevent Doxygen from interpreting the
backslashes as commands. r=cbiesinger,sr=bzbarsky.
2005-10-04 22:46:31 +00:00
wtchang%redhat.com
e40408c33b
Bugzilla Bug 281158: make WillBitBlit return nsresult instead of void to
...
work around an internal compiler error of Visual C++ 6.0 SP5 (without
Processor Pack) and SP6, and eMbedded Visual C++ 4.0 SP4. r=dougt,sr=dbaron
Modified files: nsViewManager.cpp nsViewManager.h
2005-09-30 23:10:09 +00:00
dbaron%dbaron.org
b4a7e11390
Back out bug 281709 since it makes tabbed browsing unusable on at least GTK2.
2005-09-30 19:25:42 +00:00
bzbarsky%mit.edu
68b4c7ba1a
Don't use nsRect's operator== for comparisons where different sized empty rects
...
should be treated as different. But 301411, r+sr=roc
2005-09-30 02:29:43 +00:00
silver%warwickcompsoc.co.uk
fcc2117fe0
Bug 281709 - Buffer view visibility changes like resizes. r/sr=roc
2005-09-28 08:59:36 +00:00
vladimir%pobox.com
61c7746bf2
b=305632, throbber not working/transparent rendering broken, r=roc. Should also fix 305612, memory leaks on balsa.
2005-08-24 03:58:15 +00:00
bryner%brianryner.com
1844b50360
Force any mouse grabs pointing into the old page to be dropped when we cache the page in session history. Bug 304288, r+sr=roc.
2005-08-23 21:52:59 +00:00
roc+%cs.cmu.edu
6377fe1d40
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
9d85e378b2
moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
2005-08-23 02:11:54 +00:00
dbaron%dbaron.org
a0772c8a33
Check ancestor view managers for delayed resize to fix delayed resize in framesets on Windows. b=285445 r+sr=roc a=bsmedberg
2005-08-02 20:10:12 +00:00
dbaron%dbaron.org
68373c1777
Synthesize mouse move on NS_MOUSE_ENTER event so that mouse cursor and :hover state have a better chance of being correct on page load. b=301408 r+sr=roc a=bsmedberg
2005-07-21 16:22:27 +00:00
roc+%cs.cmu.edu
ba0eb45c1a
Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
2005-07-19 23:24:30 +00:00
roc+%cs.cmu.edu
802e2cda75
Bug 296491. Mouse event synthesis needs to account for cases where the view origin is not at the origin of its widget. r+sr=dbaron,a=bsmedberg
2005-07-19 22:01:19 +00:00
masayuki%d-toybox.com
2af8267b63
Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
2005-07-11 05:27:10 +00:00
roc+%cs.cmu.edu
395052f857
Bug 290428. Mouse clicks go to the center of the pixel, because the frame covering the center of the pixel is the frame that gets to draw the pixel. r+sr=dbaron,a=benjamin
2005-07-10 23:50:32 +00:00
masayuki%d-toybox.com
8f458edf50
Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
17da1f0409
Backing out fix for bug 296838 to see how it's hurting Tp
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
53259eb945
Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
2005-06-21 04:07:04 +00:00
roc+%cs.cmu.edu
3876d7f8c7
Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
90518d0020
Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver
2005-06-02 09:00:48 +00:00
roc+%cs.cmu.edu
067fa3135c
Bug 286955. Force the entire subtree of widgets to redraw when we scroll a view that doesn't have an associated scrolling widget. r+sr=bzbarsky,a=shaver
2005-06-02 08:53:26 +00:00
bzbarsky%mit.edu
08321182c8
Fix memory leak if a viewmanager has a child viewmanager. Bug 295656,
...
r+sr=roc, a=shaver
2005-06-01 15:43:08 +00:00
roc+%cs.cmu.edu
b4e308b124
Bug 293543. RenderOffscreen needs to create a surface sized in pixels, not twips. r+sr=bzbarsky,a=shaver
2005-05-10 04:17:56 +00:00
bryner%brianryner.com
aed69207f0
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
2005-05-04 20:22:32 +00:00
dougt%meer.net
be6760da53
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
2005-04-29 13:33:49 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
2cebcf0bca
Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
e9008d4b37
Bug 290673. Restore event->point after dispatching to views, in case someone wants to use it later (Windows widget appears to). r+sr=bzbarsky,a=asa
2005-04-28 22:03:28 +00:00
roc+%cs.cmu.edu
84b0577142
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
977c43081f
Bug 291222. Sort display list elements before we lose information about relative ordering by overwriting the topmost bit. r+sr=bzbarsky,a=asa
2005-04-26 02:31:19 +00:00
roc+%cs.cmu.edu
fb94e41d41
Bug 290102. Don't flush pending invalidates when we are about to paint if the window has translucency, because on some platforms Invalidate will immediately call OnPaint even if it's supposed to be asynchronous, causing us to reenter and die. r+sr=me,a=dbaron, patch by pavlov
2005-04-21 20:53:00 +00:00
bzbarsky%mit.edu
c5cc24631e
Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
...
a=asa
2005-04-15 03:17:13 +00:00
roc+%cs.cmu.edu
eef5322ee4
Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
2005-04-14 22:41:52 +00:00
roc+%cs.cmu.edu
596fb50b2f
Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
2005-04-07 03:59:02 +00:00
bzbarsky%mit.edu
482ef684eb
Do a sync invalidate of the areas dirtied by the reflow we do before painting,
...
not an async one. This will keep us from dropping animation frames quite as
much if events take a long time to process. Bug 288369, r+sr=roc
2005-03-31 20:42:30 +00:00
roc+%cs.cmu.edu
350a41b241
Bug 288222. fixing up variable name as Boris requested.
2005-03-30 20:26:54 +00:00
roc+%cs.cmu.edu
5281e0b914
Bug 288222. resync widgets with views before trying to paint. r+sr=bzbarsky
2005-03-30 20:25:15 +00:00
aaronleventhal%moonset.net
72422f2793
Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc
2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu
74aa22c5f3
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
2602b90da1
Fixing missing return value. r+sr=me
2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu
c012476918
Fix build bustage AGAIN.
2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu
d222975881
Fixing build bustage on Windows.
2005-03-07 02:31:42 +00:00
roc+%cs.cmu.edu
aface91878
Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
2005-03-07 01:24:22 +00:00
roc+%cs.cmu.edu
51924d4a38
Bug 125386. Turn MOUSE_EXIT events into MOUSE_MOVEs when the mouse didn't actually leave the top level widget. r+sr=bzbarsky
2005-02-23 21:46:43 +00:00
bzbarsky%mit.edu
b05f6e4050
Followup to bug 281173 -- scrolling in an iframe will in fact cause us to
...
effectively have nested scrolls... r+sr=roc
2005-02-18 06:11:36 +00:00
bzbarsky%mit.edu
1c1d801bb5
Don't flush out reflow while scrolling. Possible fix for crash bug 281173,
...
r+sr=roc, a=caillon.
2005-02-11 16:23:57 +00:00
bzbarsky%mit.edu
80453d17e2
Make sure to not reenter painting while the mRecursiveRefreshPending flag is
...
still set. Bug 278811, r+sr=roc
2005-02-05 02:47:26 +00:00
bryner%brianryner.com
67dba23ae4
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
2b2520fad3
Fix win32 build bustage
2005-02-03 06:26:20 +00:00
bzbarsky%mit.edu
ea914b4555
Fix invalidation regression when scrolling. When we bit-blit, we need to
...
make copies of existing dirty regions, offset them by the scroll amount, and
add to our dirty region on the scrolling view. Bug 280041, r+sr=roc
2005-02-03 05:01:54 +00:00
bzbarsky%mit.edu
949dc5fa14
Add a way for IME to query the caret position. Bug 278061, patch by
...
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +00:00
bzbarsky%mit.edu
bd7324e29b
Repost invalidate events that fire in the middle of a view update batch. Bug
...
280214 partial fix, r+sr=roc
2005-01-31 22:41:19 +00:00
roc+%cs.cmu.edu
86e95f1475
Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu
966a36d8df
Use the right view observer for events. Fixes some crashes. Bug 279205, r+sr=roc
2005-01-23 20:55:53 +00:00
bzbarsky%mit.edu
905bf0a35a
Flush out reflows before processing invalidates and paint events. Fixes a
...
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor. Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
bzbarsky%mit.edu
49eaf225e3
Add a kungFuDeathGrip to make sure our synthetic mouse events don't kill us,
...
and make sure to RevokeEvent on all viewmanagers. Bug 277234, r=dbaron,
sr=darin, a=asa
2005-01-07 03:23:34 +00:00
timeless%mozdev.org
9972287d41
Bug 273808 nsViewManager::CreateBlendingBuffers should null mBlender if it fails to init
...
r=roc sr=roc
2004-12-20 19:43:31 +00:00
bsmedberg%covad.net
60567bb185
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
2004-12-15 04:07:01 +00:00
aaronleventhal%moonset.net
14f3aad350
Bug 163562. Home/end keys should not affect horizontal scrolling. Patch by dmitry@kirsanov.com. r=aaronleventhal, sr=roc
2004-12-01 16:21:20 +00:00
timeless%mozdev.org
1736443f5c
Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
...
r=roc sr=roc
2004-12-01 03:04:17 +00:00
ere%atp.fi
9d954981f4
Optimization patch for bug 228399 (background-color is mishandled when -moz-opacity is less than 1.0)
...
r+sr=roc
2004-11-27 08:22:22 +00:00
bryner%brianryner.com
29c70cffe8
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
2004-11-24 22:48:45 +00:00
dbaron%dbaron.org
4b47c345dd
Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc
2004-11-24 22:05:36 +00:00
neil%parkwaycc.co.uk
a45fb5a046
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
9e94a3b521
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
2004-11-23 17:26:19 +00:00
bzbarsky%mit.edu
a36ab5b06d
Don't clear the root view manager pointer when the root view is destroyed. Bug
...
269402, r+sr=roc, a=asa
2004-11-22 03:06:14 +00:00
bzbarsky%mit.edu
aa92a18252
Don't invalidate areas in hidden widgets, and don't subtract hidden widgets or
...
widgets without views or widgets in different viewmanagers out of the area we
need to invalidate. Bugs 268090, 269736, 268252. r+sr=roc, a=asa
2004-11-18 20:47:42 +00:00
timeless%mozdev.org
fb483e6b15
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
roc+%cs.cmu.edu
de7efc4725
Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky
2004-11-05 13:59:33 +00:00
neil%parkwaycc.co.uk
6896517f80
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:36:49 +00:00
neil%parkwaycc.co.uk
2ab7153f7e
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
7fd8feb31d
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
767022e55b
Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky
2004-11-03 02:37:21 +00:00
roc+%cs.cmu.edu
3b7e30e209
Bug 265983. GTK1 needs GetNativeData(NS_NATIVE_WIDGET) to be passed as the native parent, not NS_NATIVE_WINDOW. r+sr=bzbarsky
2004-10-30 12:57:46 +00:00
bzbarsky%mit.edu
090b486e66
Push view update batching up to the root view manager. Make all associated
...
members only be accessed by the root view manager. Document the invalidation
setup a bit. Bug 244290, r+sr=roc
2004-10-29 20:47:25 +00:00
roc+%cs.cmu.edu
72ab57d855
Bug 264245. Make all popups have no nsIWidget parent to avoid the hassles of various widget implementations not keeping their position consistent with their parent. Also, aggressively invalidate cached screen coordinates in GTK1 to avoid bugs. r=bzbarsky,sr=blizzard
2004-10-21 18:35:35 +00:00
dbaron%dbaron.org
206bc914fa
Fix Windows regression (view for paints can vary across platforms). b=227361 r+sr=roc
2004-10-19 22:04:47 +00:00
dbaron%dbaron.org
e43d283795
Null-check view observer. b=264683 r+sr=roc
2004-10-18 02:41:56 +00:00
dbaron%dbaron.org
2bbc9ab377
Commenting out assertion that I added yesterday. b=227361
2004-10-15 21:39:37 +00:00
dbaron%dbaron.org
2dc1b399ee
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.)
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
124d559e16
Back out 227361 to fix pageload time regression.
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
05b5b63278
Bustage fix. b=227361
2004-10-13 23:06:39 +00:00
dbaron%dbaron.org
c0a432e619
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc
2004-10-13 22:37:32 +00:00
dbaron%dbaron.org
b2c89427b4
Remove unneeded dependency on layout. b=227361 r+sr=roc
2004-10-13 22:08:00 +00:00
dbaron%dbaron.org
5d73b65b11
Remove unneeded dependency on layout. b=227361 r+sr=roc
2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu
cc07de278b
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
6c4ebb2c18
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
2004-10-09 01:39:21 +00:00
dbaron%dbaron.org
ce6eade356
Fix Sun Forte bustage. b=262596,261310
2004-10-02 18:27:37 +00:00
dbaron%dbaron.org
338d2bb649
Add helper functions that make it easier to cache factories. b=261310 r=darin
2004-10-02 00:44:13 +00:00
roc+%cs.cmu.edu
5dee51751d
Bug 160095. Don't crash trying to print documents using -moz-opacity. r+sr=bzbarsky.
2004-09-29 01:36:46 +00:00
dbaron%dbaron.org
0fb29b965b
Untabify.
2004-09-28 20:49:25 +00:00
neil%parkwaycc.co.uk
6a4f37de6b
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
2004-09-20 22:25:07 +00:00
cbiesinger%web.de
b1fad3b809
bug 259803 get views using GetInterface from a widget's client data, rather than
...
by queryinterface, r=pinkerton sr=roc
2004-09-20 12:51:31 +00:00
cbiesinger%web.de
f3e06d119c
Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
...
r+sr=roc
2004-09-16 13:02:54 +00:00
dbaron%dbaron.org
a0bf92722f
Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
2004-09-15 19:16:43 +00:00
cbiesinger%web.de
d0ebb5abbb
fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron
2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com
51fd4d10d8
Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
2004-09-04 19:28:46 +00:00
cbiesinger%web.de
db70e63d2a
fixing gcc 3.4 bustage (removing extra semicolon)
2004-09-04 17:20:00 +00:00
cbiesinger%web.de
6fef9f4542
Bug 250342 Views should not inherit from nsISupports
...
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
a8ded9cfe0
Bug 257920 remove unused nsIClipView
...
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu
9db74478da
Bug 228780. Fix unused variable warning. r=roc,sr=dbaron, patch by Serge GAUTHERIE
2004-08-28 02:22:06 +00:00
timeless%mozdev.org
1ac8922512
Bug 256610 Crash [ @ nsViewManager::GetMouseEventGrabber]
...
patch by cst@andrew.cmu.edu r=roc sr=roc
2004-08-23 19:01:39 +00:00
bzbarsky%mit.edu
07823d3576
Comment-only spelling fix. a=asa
2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu
2af6719b3b
Stop building up the opaque region if it gets too complicated. Bug 253001,
...
r+sr=roc
2004-08-11 05:12:43 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
0209021a61
Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com
4f93f80916
Bug 249810 - Add calls to PL_FreeArenaPool() so Arena memory ends up on the
...
global Arena free list. This is good because these arenas get created and
destroyed quickly. r+sr=roc
2004-07-16 14:44:10 +00:00
jim_nance%yahoo.com
dcbad2f2c7
Backing out last change. I didn't realize the tree was frozen
2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com
54f16435e1
Fix bug 152596 - Add calls to PR_FreeArenaPool() before PR_FinishArenaPool()
...
so that memory is added to the global free lists. r+sr=roc
2004-07-09 03:32:56 +00:00
jim_nance%yahoo.com
d2b1ccdb0e
Fix but 249923
...
- Remove hashtable from nsViewManager. It is now created on the stack when
it is needed.
- Remove DestroyZTreeNode(). It only removes things from the above hashtable
and that is going to be destroyed shortly after the call.
2004-07-06 02:09:47 +00:00
roc+%cs.cmu.edu
9810e28c13
Remove nsIScrollingView::Get/SetControlInsets, since it's unused.
2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com
ca43aba85d
Attempt 2 at fixing build problem.
2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com
6313e9a526
Attempt to fix Firefox build bustage resulting from my last checkin.
2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com
13e266d6bb
Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc
2004-07-05 13:10:25 +00:00
dbaron%dbaron.org
1ffc2715f2
Fix coordinate transformations used for computing mMouseLocation so they're relative to the root view rather than the end of the parent chain (which differ for, e.g., frames). Add some debugging code (turned off). b=248606 r+sr=roc
2004-06-25 19:02:37 +00:00
dbaron%dbaron.org
9320816bd2
Don't treat mouse exit and enter events as user events for purposes of content sink frequency tuning, since they're often caused by widget creation/destruction, and if the user moves the mouse we'll get real mousemove events. I'm hoping this will smooth pageload times. b=248226 r+sr=bryner
2004-06-23 17:31:29 +00:00
dbaron%dbaron.org
cefa77d7c2
Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner
2004-06-22 22:30:18 +00:00
dbaron%dbaron.org
60b7e73a8f
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu
50d0ec0813
Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron
2004-05-31 20:01:58 +00:00
bzbarsky%mit.edu
f8f45bc910
Making desperate attempt to reland with a couple crash-proofing changes. Bug
...
243724, r+sr=roc
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu
59427ab6f1
Backing out to try and fix mac orange. Bug 243724
2004-05-22 20:04:59 +00:00
roc+%cs.cmu.edu
e201d37957
Bug 243757. Handle cases where this view manager's root view is not an ancestor of the view grabbing the mouse. r+sr=bzbarsky
2004-05-22 19:55:01 +00:00
bzbarsky%mit.edu
6f4d4e2b46
deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
...
on a previous-but-similar iteration of the patch).
2004-05-22 16:47:13 +00:00
roc+%cs.cmu.edu
6b2b823cb6
Bug 243757. Complete propagation of mouse event grabbing to root view manager. r+sr=bzbarsky
2004-05-22 14:03:13 +00:00
bzbarsky%mit.edu
8915435c7a
Remove nsIViewManager::GetWidgetForView; move callers over to
...
nsIView::GetNearestWidget. Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
cab775b57b
Backing out 233441.
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
8af971a2bb
Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document.
2004-05-13 15:39:12 +00:00
roc+%cs.cmu.edu
6b829eb468
Fix bustage.
2004-05-06 03:57:05 +00:00
roc+%cs.cmu.edu
e0fe2b43bd
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
tor%cs.brown.edu
868dd94ecb
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
tor%cs.brown.edu
83eb215db9
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
gerv%gerv.net
f7f3cb2736
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
0c84e1a312
Bug 240457. Kill bad view manager assertion. r+sr=dbaron
2004-04-14 03:05:50 +00:00
roc+%cs.cmu.edu
1ec2c3be37
Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
0f29a26897
Bug 235897. hidden widgets don't count as part of the opque region. r+sr=dbaron,a=mkaply
2004-04-07 15:22:19 +00:00
roc+%cs.cmu.edu
dddea47d2b
Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman
2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu
0e5a4236d4
Bug 237426. Set clip rect *after* we've saved the old rect. r+sr=dbaron,a=asa
2004-03-24 02:21:19 +00:00
roc+%cs.cmu.edu
52524f9a8d
Bug 232469. Rework view clipping to handle three kinds of clip: clip to arbitrary rect, clip containing block children to bounds, clip all children to boudns. r+sr=dbaron,a=choffman
2004-03-11 00:32:01 +00:00
roc+%cs.cmu.edu
0215af09b3
Fixing bustage
2004-02-20 05:26:57 +00:00
roc+%cs.cmu.edu
75669ccbba
Bug 228861. Ensure that CLIP and FILTER display list instructions are added even if they appear to be outside the dirty area. Content may be reparented under them that does intersect the dirty area and is affected by the display list instructions. r+sr=dbaron
2004-02-20 04:41:06 +00:00
roc+%cs.cmu.edu
089f8b1cf0
Bug 232780. Fix aX/aY parameters in nsViewManager::CreateDisplayList. r+sr=dbaron
2004-02-20 04:34:32 +00:00
roc+%cs.cmu.edu
d8c43bbecb
Bug 232951. Make scrolling of scrolling-views-without-widgets work properly even when there are child widgets. r+sr=dbaron
2004-02-20 04:31:20 +00:00
roc+%cs.cmu.edu
1fe2384bf5
Bug 228441. -moz-opacity doesn't work on the Mac; fix it by forcing double buffering when translucent elements are being displayed. r+sr=dbaron
2004-02-20 02:11:25 +00:00
dbaron%dbaron.org
d97dedc812
Back out bug 20022. a=chofmann
2004-02-14 20:29:19 +00:00
bryner%brianryner.com
433c389ddf
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
573ac762f1
Fix for loop scoping bustage.
2004-02-04 00:46:14 +00:00
dbaron%dbaron.org
821786cb64
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu
250384aa43
Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
2004-01-30 23:52:39 +00:00
dbaron%dbaron.org
9bd2de4eb0
Add hack to make egcs happy with NS_DEFINE_STATIC_IID_ACCESSOR on class with methods that are neither pure virtual nor inline. Fixing bustage. b=109772
2004-01-30 20:02:42 +00:00
dbaron%dbaron.org
4f388081f5
Make first method inline to try to fix egcs bustage. b=109772
2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
ee86ab45fb
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
dbaron%dbaron.org
80333512b4
Miscellaneous cleanup. b=232393 r+sr=roc
2004-01-29 00:04:58 +00:00
caillon%returnzero.com
6dddc5e4e1
This should be #ifdef DEBUG.
...
r+sr=dbaron
2004-01-20 22:15:38 +00:00
bryner%brianryner.com
2bddef83ba
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
c16dc4600a
Back out the change from bug 230118 since bug 228378 makes it unnecessary.
2004-01-10 19:14:31 +00:00
roc+%cs.cmu.edu
bb7eb1cf4f
Bug 229583. initialize line height in scrolling views. patch by Asko Tontti. r+sr=roc
2004-01-10 16:21:45 +00:00
roc+%cs.cmu.edu
9348803726
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
dbaron%dbaron.org
8c1a626840
Comply with the C++ standard's (silly?) rule that converting an rvalue to a const reference requires that the copy constructor be accessible. b=230118 r=bbaetz sr=roc
2004-01-08 21:06:19 +00:00
dbaron%dbaron.org
fa116f2651
Don't make clip view optimizations when the clip view contains Z placeholders. b=225811 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron a=asa
2003-12-17 21:05:37 +00:00
uid502
91e2869af8
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
dbaron%dbaron.org
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
uid502
1cfabd35d3
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
timeless%mozdev.org
cf96db37ec
Bug 218832 [W] UMR: Uninitialized memory read in nsView::ConvertToParentCoords(int *,int *)const
...
r=roc sr=roc
2003-09-11 02:44:40 +00:00
bryner%brianryner.com
06c7c1b2b4
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-08 00:31:50 +00:00
roc+%cs.cmu.edu
3338bdd79f
Bug 194638. *Always* request invalidation of child widgets when we resize a widget. r+sr+a=dbaron
2003-08-18 19:58:39 +00:00
cls%seawood.org
1b51ba858c
Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
2003-08-16 00:42:35 +00:00
roc+%cs.cmu.edu
d3b3ea1871
Bug 213303. Allow events to be sent to views which are totally clipped out. r+sr=dbaron,a=brendan. Patch by nielsen@memberwebs.com.
2003-08-12 15:56:11 +00:00
roc+%cs.cmu.edu
61eaa5b203
Bug 215159. Fix memory leak in nsViewManager. r+sr=dbaron
2003-08-06 01:42:14 +00:00