193 Commits

Author SHA1 Message Date
michaelp%netscape.com
81f9258975 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.


git-svn-id: svn://10.0.0.236/trunk@23381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:10:31 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
rods%netscape.com
e0396140b8 Aded check for null parent to fix printing
git-svn-id: svn://10.0.0.236/trunk@22909 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:14:05 +00:00
rods%netscape.com
704f4fa587 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.


git-svn-id: svn://10.0.0.236/trunk@22894 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:41:50 +00:00
michaelp%netscape.com
3b152094ca added return code check WRT off screen surface allocation.
part of mac fixes.


git-svn-id: svn://10.0.0.236/trunk@22820 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:43:06 +00:00
joki%netscape.com
c41dbba1c6 Fix for frames not resizing.
git-svn-id: svn://10.0.0.236/trunk@22676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:59:50 +00:00
kmcclusk%netscape.com
4bd141876c 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


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
kipp%netscape.com
31f557d779 use macro to get operator new correct
git-svn-id: svn://10.0.0.236/trunk@22203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:57:18 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
sfraser%netscape.com
c74199e668 Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
git-svn-id: svn://10.0.0.236/trunk@22001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:57 +00:00
michaelp%netscape.com
fe37951134 work in progress for new compositor.
git-svn-id: svn://10.0.0.236/trunk@21936 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:44:45 +00:00
michaelp%netscape.com
d1f2203c7c added unknown content quality. fixed potential crash because of bug in timer
code. now uses rootscrollable for all scrollable view notifications.


git-svn-id: svn://10.0.0.236/trunk@20823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
2c3dc317a4 turned off timers when our damage count goes to zero.
git-svn-id: svn://10.0.0.236/trunk@20757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 02:25:20 +00:00
michaelp%netscape.com
1b2aa59d45 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.


git-svn-id: svn://10.0.0.236/trunk@20751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:57:06 +00:00
troy%netscape.com
3ced68e7e0 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...


git-svn-id: svn://10.0.0.236/trunk@19417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 05:03:04 +00:00
troy%netscape.com
832f79717f Added GetScrollbarVisibility()
git-svn-id: svn://10.0.0.236/trunk@19409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:31 +00:00
michaelp%netscape.com
9548d7fa85 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.


git-svn-id: svn://10.0.0.236/trunk@19406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:12:21 +00:00
joki%netscape.com
f85ee98763 Modifying view event flow to always start processing from top view, not enter at children
git-svn-id: svn://10.0.0.236/trunk@19215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:45:59 +00:00
troy%netscape.com
a02386ecfe Fix for bug #2748. Reset the scroll-position to 0 when the scrollbar
is no longer needed


git-svn-id: svn://10.0.0.236/trunk@19122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 18:42:13 +00:00
michaelp%netscape.com
36e4ee9653 corner view now paints correctly again.
git-svn-id: svn://10.0.0.236/trunk@18956 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:37:16 +00:00
troy%netscape.com
05ab551aaa Changed clip-view to clip sibling windows
git-svn-id: svn://10.0.0.236/trunk@18923 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:07:21 +00:00
michaelp%netscape.com
8b6acf11bf fixed bug where CreateWidget() was called twice for the ClipView and zero
times for the CornerView.


git-svn-id: svn://10.0.0.236/trunk@18903 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:04:43 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
michaelp%netscape.com
a1dbc02252 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.


git-svn-id: svn://10.0.0.236/trunk@17871 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:11:46 +00:00
sfraser%netscape.com
c1c7c84e7d Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view.
git-svn-id: svn://10.0.0.236/trunk@17388 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:31:56 +00:00
joki%netscape.com
b39d75f877 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp
git-svn-id: svn://10.0.0.236/trunk@17387 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:13:59 +00:00
pierre%netscape.com
1a1dd95f2b Improve performance on Mac: disable the Composite timer (temporary code - see comments)
git-svn-id: svn://10.0.0.236/trunk@16729 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:15:41 +00:00
michaelp%netscape.com
9708832dd7 the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
in the correct system specified "background" color.


git-svn-id: svn://10.0.0.236/trunk@16704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 06:20:36 +00:00
pierre%netscape.com
d644ebc792 Enable double buffering on Mac
git-svn-id: svn://10.0.0.236/trunk@16662 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:33:55 +00:00
sfraser%netscape.com
e324dbae1d Assert on a null widget Ptr
git-svn-id: svn://10.0.0.236/trunk@16488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:56 +00:00
michaelp%netscape.com
72b9fbb09b 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.


git-svn-id: svn://10.0.0.236/trunk@16417 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:47:25 +00:00
beard%netscape.com
a4edceb665 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16326 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:01:04 +00:00
sfraser%netscape.com
e86e6a6910 Convert AppleSingle->binary format.
git-svn-id: svn://10.0.0.236/trunk@16118 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:22:27 +00:00
troy%netscape.com
dcfe7f9e75 Added additional parameter to Display() for specifying which view
should be displayed


git-svn-id: svn://10.0.0.236/trunk@15902 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:44:57 +00:00
pierre%netscape.com
11b0da96a2 temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
git-svn-id: svn://10.0.0.236/trunk@15871 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:25 +00:00
troy%netscape.com
9fad935195 Changed InsertChild() to use <= (instead of <) for zindex check, and changed
iteration to use sibling pointers


git-svn-id: svn://10.0.0.236/trunk@15800 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:28:52 +00:00
michaelp%netscape.com
3fbc2c9f07 updated for new blending API.
git-svn-id: svn://10.0.0.236/trunk@15491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:16:14 +00:00
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
beard%netscape.com
57c4d48cc4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15473 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:14:25 +00:00
michaelp%netscape.com
05a6bdf469 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.


git-svn-id: svn://10.0.0.236/trunk@15290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:32:00 +00:00
michaelp%netscape.com
6313915e19 reduced scollbar flashing.
git-svn-id: svn://10.0.0.236/trunk@15196 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
6ca45d2e06 backout changes i didn't want to commit.
git-svn-id: svn://10.0.0.236/trunk@15195 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
ddee55a0ed fixed display of black or garbage when resizing scrolled scrollingviews.
git-svn-id: svn://10.0.0.236/trunk@15194 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:43:08 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
jfrancis%netscape.com
104d6e8c39 missed a source file. added nsView.cpp to project
git-svn-id: svn://10.0.0.236/trunk@15001 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:28:50 +00:00
jfrancis%netscape.com
afed7afdb1 mac shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:56 +00:00
jfrancis%netscape.com
91f873177c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14991 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:20 +00:00
michaelp%netscape.com
e0cadc24c9 fixed bug where a view with opacity set to 0.0f would cause the area where it
is to never be drawn.


git-svn-id: svn://10.0.0.236/trunk@14910 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:50:28 +00:00
michaelp%netscape.com
bff62c7d82 fixed problem with vertical scrollbar not always appearing.
git-svn-id: svn://10.0.0.236/trunk@14744 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:42:53 +00:00
michaelp%netscape.com
1f112558cd changes to support printing.
git-svn-id: svn://10.0.0.236/trunk@14649 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:58:34 +00:00