114 Commits

Author SHA1 Message Date
beard%netscape.com
a77676c65e removed min/max
git-svn-id: svn://10.0.0.236/trunk@45553 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:16:28 +00:00
beard%netscape.com
4bbe89dd79 bug #10715: rewrote nsViewManager::ResizeView() to correctly invalidate newly exposed/resized view. Assumes layout properly invalidates internal area.
git-svn-id: svn://10.0.0.236/trunk@45439 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:53:55 +00:00
tague%netscape.com
6bbc6c0935 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
git-svn-id: svn://10.0.0.236/trunk@45252 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:20:32 +00:00
beard%netscape.com
ea97daa5fd removed USE_DISPLAY_LIST_ELEMENTS #ifdefs.
git-svn-id: svn://10.0.0.236/trunk@44740 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:02:55 +00:00
leaf%mozilla.org
6069cc033f Backing out change.
git-svn-id: svn://10.0.0.236/trunk@44171 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:23:00 +00:00
ramiro%netscape.com
ef4abc49f8 Fix for the rendering problem on unix after the NS_COPYBITS_TO_BACK_BUFFER
cleanup.


git-svn-id: svn://10.0.0.236/trunk@44061 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:54:41 +00:00
kmcclusk%netscape.com
e1083a6ab6 nsViewManager :: Refresh
Created explicit pointers to offscreen and onscreen rendering contexts.
Stop passing NS_COPYBITS_TO_BACK_BUFFER flag.


git-svn-id: svn://10.0.0.236/trunk@43874 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:48:56 +00:00
evaughan%netscape.com
fd72782f13 xpscrollbars
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +00:00
tague%netscape.com
ef7a140a36 Added support for mapping the reply of a textevent (i18n input support) back into platform coordinate space
git-svn-id: svn://10.0.0.236/trunk@42734 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 03:56:03 +00:00
beard%netscape.com
07c15f16a0 display list elements, ShowDisplayList() method.
git-svn-id: svn://10.0.0.236/trunk@41786 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 03:16:55 +00:00
beard%netscape.com
0109c98025 bug #10460: now handling negative z-index
git-svn-id: svn://10.0.0.236/trunk@41781 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 02:43:24 +00:00
hyatt%netscape.com
3055877ffd Backing out beard's changes completely and reverting to version 3.34 of
nsViewManager.cpp, and reverting to version 3.100 of nsViewManager.h.

Note that beard's backing out of the negative z-index code did NOT fix
the problem.  This means the bug lurks somewhere else in the file.


git-svn-id: svn://10.0.0.236/trunk@41768 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:44:24 +00:00
beard%netscape.com
d1758c698d turned off negative zindex check to see if it fixes XP menus.
git-svn-id: svn://10.0.0.236/trunk@41765 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:18:42 +00:00
beard%netscape.com
2a5c9681a3 bug #10460: now placing views with negative z-index after their parent in display list.
Lots of clean up, added DisplayListElement struct instead of storing views in every 3rd slot of the display list, #ifdef USE_DISPLAY_LIST_ELEMENTS. Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList(). More to come.


git-svn-id: svn://10.0.0.236/trunk@41676 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 03:05:32 +00:00
sspitzer%netscape.com
57c3f3bd87 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@38201 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:25:42 +00:00
rods%netscape.com
360e823201 Removed drawing optimization because it causes flicker.
git-svn-id: svn://10.0.0.236/trunk@37863 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 20:44:05 +00:00
pierre%netscape.com
76630b14c1 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.


git-svn-id: svn://10.0.0.236/trunk@35768 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:01:50 +00:00
joki%netscape.com
7cb2ba1a65 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
git-svn-id: svn://10.0.0.236/trunk@34378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:38:26 +00:00
kin%netscape.com
18516ebae7 Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.


git-svn-id: svn://10.0.0.236/trunk@32710 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:13:06 +00:00
beard%netscape.com
c7a927daba bugs #5062, #4703: have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@32346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:23:47 +00:00
evaughan%netscape.com
e737c85970 Fixed some visibility bugs in order to make the tab widget work correctly.
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
pierre%netscape.com
0619f79267 Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@32072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 14:37:57 +00:00
pierre%netscape.com
f46fadfca9 #5949 "Frequent resizing of window causes apprunner to stop drawing"
git-svn-id: svn://10.0.0.236/trunk@32070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 13:14:46 +00:00
bruce%cybersight.com
95689446cf Fix ANSI C++ violation. (a=beard)
git-svn-id: svn://10.0.0.236/trunk@31790 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:53:57 +00:00
kipp%netscape.com
047d0484b8 Do not update views when refresh is disable
git-svn-id: svn://10.0.0.236/trunk@29816 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:09:04 +00:00
pierre%netscape.com
9110b95452 fixed the display of some missing views on Mac (like the CornerView)
git-svn-id: svn://10.0.0.236/trunk@29399 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:34:05 +00:00
kipp%netscape.com
aa32bf3a94 Removed obsolete include file
git-svn-id: svn://10.0.0.236/trunk@28919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:52:36 +00:00
pierre%netscape.com
38e23d0391 expands the width and height independently from each other in GetDrawingSurface
git-svn-id: svn://10.0.0.236/trunk@28225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:03:25 +00:00
michaelp%netscape.com
d8c7e182c0 cleaned up view flags stuff.
git-svn-id: svn://10.0.0.236/trunk@27817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:23:43 +00:00
kipp%netscape.com
e5e9cb1246 Backed out yesterdays change as it broke framesets
git-svn-id: svn://10.0.0.236/trunk@26838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:18:02 +00:00
kipp%netscape.com
7795752bda Fixed not bother repositioning when coordinates don't change
git-svn-id: svn://10.0.0.236/trunk@26761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:00:13 +00:00
michaelp%netscape.com
92f6764bcf enabling new compositor.
git-svn-id: svn://10.0.0.236/trunk@26344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:45:32 +00:00
kipp%netscape.com
ebbae2a494 Removed some compiler warnings...
git-svn-id: svn://10.0.0.236/trunk@26160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:00:56 +00:00
michaelp%netscape.com
53ce63ea80 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.


git-svn-id: svn://10.0.0.236/trunk@24322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
92d0f77a8c 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.


git-svn-id: svn://10.0.0.236/trunk@23765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
0dfa53b698 fixed bug in underflow of state push count in new compositor.
git-svn-id: svn://10.0.0.236/trunk@23493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:31:27 +00:00
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
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
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
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
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
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
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
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