Граф коммитов

1067 Коммитов

Автор SHA1 Сообщение Дата
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