Commit Graph
223 Commits
Author SHA1 Message Date
pierre@netscape.com c7718ac069 In GetDrawingSurface(), erase the drawing surface when it is re-used. 3455: [PP] mac/linux, dual toolbars appear after surfing. 6989: Multiple window drawing gets messed up. 6678: [PP]clipping/port problems in child dialogs. 5560: [PP] CornerView displays garbage. 1999-06-17 04:01:50 +00:00
joki@netscape.com 950ca8f05f Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
bruce@cybersight.com f085e832fd Explicitly include prinrval.h here. (This will make be needed for some changes coming shortly after M7.) 1999-06-05 11:29:03 +00:00
kin@netscape.com 43f098b1cb Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.
1999-05-26 21:13:06 +00:00
dp@netscape.com 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
beard@netscape.com b4f37fa631 bugs #5062, #4703: have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough. a=chofmann 1999-05-19 23:23:47 +00:00
evaughan@netscape.com 20ee0f32da Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
beard@netscape.com 237c35d6f1 bug #5093: removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead. 1999-05-18 21:45:46 +00:00
pierre@netscape.com b6bb60347c Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com. 1999-05-18 14:37:57 +00:00
pierre@netscape.com 92e14cb2a8 #5949 "Frequent resizing of window causes apprunner to stop drawing" 1999-05-18 13:14:46 +00:00
beard@netscape.com fd636a4443 bug #5093: added widget->Invalidate() calls after changing the position of scrollbar thumb. It may be more appropriate to fix this in nsScrollbar.cpp 1999-05-17 19:40:40 +00:00
bruce@cybersight.com 135eb3f490 Fix ANSI C++ violation. (a=beard) 1999-05-15 22:53:57 +00:00
pollmann@netscape.com 9e3abd2e8f Bug 5746: Check for null. 1999-05-15 01:36:39 +00:00
danm@netscape.com 73355dfcf6 HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844. 1999-05-04 23:23:35 +00:00
joki@netscape.com 3bb8305dba Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
kipp@netscape.com 982a7474e0 Do not update views when refresh is disable 1999-04-30 00:09:04 +00:00
pierre@netscape.com ee89d8ffae fixed the display of some missing views on Mac (like the CornerView) 1999-04-27 05:34:05 +00:00
troy@netscape.com 673c2b916e Changed Scroll() to check if the scrolled view has the
NS_VIEW_PUBLIC_FLAG_DONT_BITBLT flag set
1999-04-24 22:49:28 +00:00
troy@netscape.com 3e45849f5f Added function GetClipView() 1999-04-24 02:52:58 +00:00
kipp@netscape.com 3a647babb5 Removed obsolete include file 1999-04-23 19:52:36 +00:00
troy@netscape.com abc19e4f16 Made a bunch of nsIView member functions "const" 1999-04-23 17:44:48 +00:00
pierre@netscape.com 6fa171780c expands the width and height independently from each other in GetDrawingSurface 1999-04-20 04:03:25 +00:00
kipp@netscape.com 6fa5f7cdc7 Dump refcnts when listing views 1999-04-19 23:22:53 +00:00
kipp@netscape.com 35b147a8cb Added a missing NS_RELEASE 1999-04-19 23:22:32 +00:00
michaelp@netscape.com 7335d2c010 we no longer recurse into clip views. shoot me troy. so long folks. 1999-04-16 19:53:53 +00:00
kmcclusk@netscape.com 00be0b38ad fix for bug#4325. ScrollingView's now manage their component's (mClipView, mHScrollBarView,
mVScrollBarView, mCornerView) visibility when the ScrollingView's visibility changes.
1999-04-16 19:18:30 +00:00
michaelp@netscape.com 01e3445035 oops. union works better than intersect... 1999-04-16 05:19:45 +00:00
michaelp@netscape.com 26fc16291b added GetExtents(). 1999-04-16 04:50:02 +00:00
michaelp@netscape.com fcf996b6ca cleaned up view flags stuff. 1999-04-16 04:23:43 +00:00
kipp@netscape.com 2c85192d27 Backed out yesterdays change as it broke framesets 1999-04-08 23:18:02 +00:00
kipp@netscape.com dd420761df Fixed not bother repositioning when coordinates don't change 1999-04-08 00:00:13 +00:00
joki@netscape.com d4dcc60b25 Adding spacebar to list of keys that will scroll page. 1999-04-06 21:37:34 +00:00
michaelp@netscape.com 425fa5adec enabling new compositor. 1999-04-05 22:45:32 +00:00
kipp@netscape.com 60b1b2aa50 Make SetWidget assertion more particular about when to bomb 1999-04-03 19:01:15 +00:00
kipp@netscape.com 30e240f5de Removed some compiler warnings... 1999-04-03 19:00:56 +00:00
troy@netscape.com 5f0f2daffc Fix for bug #4317. Changed SetPosition() to call AdjustChildWidgets() with
"this" as the second parameter instead of the scrolled view
1999-03-28 05:25:07 +00:00
michaelp@netscape.com 5325ef7f43 added Set/GetLineHeight(). 1999-03-20 01:25:37 +00:00
michaelp@netscape.com df3217d989 ScrollTo() now blits wherever possible. 1999-03-20 00:47:08 +00:00
michaelp@netscape.com 42f9b38f84 added APIs for scrolling by page or line. 1999-03-20 00:11:35 +00:00
michaelp@netscape.com 4859aecf53 fixed bug where out of order computation of child view positions and scroll
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.
1999-03-18 21:04:00 +00:00
michaelp@netscape.com b8d36522f4 made compositor state an enum and macro to trace state transitions
for easier debugging. made offscreen to onscreen blit restricted to the
damage rect. added temporary hack so that new compositor works on linux.
1999-03-11 21:25:25 +00:00
michaelp@netscape.com e94c93ca8e fixed bug in underflow of state push count in new compositor. 1999-03-10 05:31:27 +00:00
michaelp@netscape.com 450cacea82 added nsIClipView.h
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.
1999-03-09 22:10:31 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
rods@netscape.com d6c3258a36 Aded check for null parent to fix printing 1999-03-05 20:14:05 +00:00
rods@netscape.com c8813e138e Added where a scrolled view sets the widget for the vertical scrollbar
into the window so the window can send the vertical scrollbar the appropriate
message.
1999-03-05 15:41:50 +00:00
michaelp@netscape.com ec48503011 added return code check WRT off screen surface allocation.
part of mac fixes.
1999-03-05 01:43:06 +00:00
joki@netscape.com 9707c69fc8 Fix for frames not resizing. 1999-03-03 01:59:50 +00:00
kmcclusk@netscape.com 73485522a4 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
kipp@netscape.com 472768bedc use macro to get operator new correct 1999-02-26 19:57:18 +00:00