Commit Graph

201 Commits

Author SHA1 Message Date
troy%netscape.com
f349e95f64 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
7269559974 added Set/GetLineHeight(). 1999-03-20 01:25:37 +00:00
michaelp%netscape.com
cde49398b1 ScrollTo() now blits wherever possible. 1999-03-20 00:47:08 +00:00
michaelp%netscape.com
c73d71c2b4 added APIs for scrolling by page or line. 1999-03-20 00:11:35 +00:00
michaelp%netscape.com
2a2e262462 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
b1636a697d 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
94b6c305f8 fixed bug in underflow of state push count in new compositor. 1999-03-10 05:31:27 +00:00
michaelp%netscape.com
eedcdf698b 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
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
rods%netscape.com
b8e49b766c Aded check for null parent to fix printing 1999-03-05 20:14:05 +00:00
rods%netscape.com
862718ccb1 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
60711f3cab added return code check WRT off screen surface allocation.
part of mac fixes.
1999-03-05 01:43:06 +00:00
joki%netscape.com
57e49aab2a Fix for frames not resizing. 1999-03-03 01:59:50 +00:00
kmcclusk%netscape.com
82dac76411 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
c7764aadc0 use macro to get operator new correct 1999-02-26 19:57:18 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
sfraser%netscape.com
3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
michaelp%netscape.com
88248b4267 work in progress for new compositor. 1999-02-25 18:44:45 +00:00
michaelp%netscape.com
980ea68e38 added unknown content quality. fixed potential crash because of bug in timer
code. now uses rootscrollable for all scrollable view notifications.
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
5f525464c3 turned off timers when our damage count goes to zero. 1999-02-16 02:25:20 +00:00
michaelp%netscape.com
f8b4bc0d49 added Get/SetScrollableRoot() to nsIViewManager. fixed bug where maximizing
window would cause junk to be shown below/to the right of the real content
if the document was scrolled towards bottom/right. fixed flashing scrollbar
problem. made quality control work again.
1999-02-16 00:57:06 +00:00
troy%netscape.com
55bbd0f8fa Re-ordered the call to SetPosition(0) for the horizontal scrollbar,
because the way it was caused the scrollbar to be enabled when it should
be disabled...
1999-02-03 05:03:04 +00:00
troy%netscape.com
391a2f6747 Added GetScrollbarVisibility() 1999-02-03 04:25:31 +00:00
michaelp%netscape.com
9a30d47825 work in progress for new compositor. not currently enabled, so it won't
affect anyone else. killed Paint() method of scrolling view since it
no longer does anything useful. made view manager destructor protected to
eliminate gcc warnings.
1999-02-03 04:12:21 +00:00
joki%netscape.com
4513eb2392 Modifying view event flow to always start processing from top view, not enter at children 1999-02-01 22:45:59 +00:00
troy%netscape.com
d05af532a2 Fix for bug #2748. Reset the scroll-position to 0 when the scrollbar
is no longer needed
1999-01-31 18:42:13 +00:00
michaelp%netscape.com
937965f4d0 corner view now paints correctly again. 1999-01-28 22:37:16 +00:00
troy%netscape.com
10b772e4b3 Changed clip-view to clip sibling windows 1999-01-28 17:07:21 +00:00
michaelp%netscape.com
c6c7e67d41 fixed bug where CreateWidget() was called twice for the ClipView and zero
times for the CornerView.
1999-01-28 05:04:43 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
michaelp%netscape.com
803a36dc65 when a clip is specified for a view, the clip now only affects the
view for which it is specified, not any of it's children or other
views stacked "behind" it.
1999-01-15 22:11:46 +00:00
sfraser%netscape.com
6b37d2bc99 Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view. 1999-01-08 21:31:56 +00:00
joki%netscape.com
d798c3e079 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp 1999-01-08 21:13:59 +00:00
pierre%netscape.com
fa82921b1c Improve performance on Mac: disable the Composite timer (temporary code - see comments) 1998-12-20 13:15:41 +00:00
michaelp%netscape.com
c9e3b38acd the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
in the correct system specified "background" color.
1998-12-19 06:20:36 +00:00
pierre%netscape.com
3de5def19a Enable double buffering on Mac 1998-12-18 13:33:55 +00:00
sfraser%netscape.com
f2222d9e1d Assert on a null widget Ptr 1998-12-16 03:37:56 +00:00
michaelp%netscape.com
ca4f2f41f7 we not put the responsibility for managing damage regions into the widget
code instead of doing it in the viewmanager. this allows us to paint much
more optimally.
1998-12-15 05:47:25 +00:00
beard%netscape.com
18984e5a80 First Checked In. 1998-12-13 05:01:04 +00:00
sfraser%netscape.com
b2b751eef5 Convert AppleSingle->binary format. 1998-12-10 03:22:27 +00:00
troy%netscape.com
8311b73428 Added additional parameter to Display() for specifying which view
should be displayed
1998-12-07 03:44:57 +00:00
pierre%netscape.com
535feac07a temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed) 1998-12-06 00:37:25 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
troy%netscape.com
eb69c1ae25 Changed InsertChild() to use <= (instead of <) for zindex check, and changed
iteration to use sibling pointers
1998-12-04 21:28:52 +00:00
michaelp%netscape.com
faf05a8557 updated for new blending API. 1998-12-01 02:16:14 +00:00
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
beard%netscape.com
7b2b7b599d First Checked In. 1998-11-30 22:14:25 +00:00
michaelp%netscape.com
52d7df63eb fixed bug where computing *need* for vert/horz scrollbar did not take into
account the fact that there might be a need for the other scrollbar too.
it used to be that if it knew that it *did* need a vert/horz scrollbar it
would take the other one into account properly. it was just in making the
initial decision that there was an error.
1998-11-25 03:32:00 +00:00
michaelp%netscape.com
b866bc5b7f reduced scollbar flashing. 1998-11-24 00:06:46 +00:00
michaelp%netscape.com
cf92a49a1a backout changes i didn't want to commit. 1998-11-23 23:50:17 +00:00