401 Commits

Author SHA1 Message Date
beard%netscape.com
4a6bc220ae bug #7774: added SetViewAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48939 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:57 +00:00
beard%netscape.com
bbdb98bf69 bug #7774: added SetViewAutoZIndex to support CSS2 auto z-indexing. bug# 14601: assertion cleanup, using #ifdef instead of if (gsDebug). a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48938 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:55 +00:00
beard%netscape.com
0193ba8474 bug #7774: added new bit NS_VIEW_PUBLIC_FLAG_AUTO_ZINDEX, SetAutoZIndex/GetAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48937 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:54 +00:00
beard%netscape.com
82a6ffbec0 bug #10503: override SetZIndex to propagate to child views. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48936 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:49 +00:00
beard%netscape.com
5ead22a8f0 bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48935 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:47 +00:00
joki%netscape.com
2fd324ac84 Add new scroll method to allow scrolling to top or bottom of doc.
git-svn-id: svn://10.0.0.236/trunk@48571 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:15:53 +00:00
beard%netscape.com
bed21decdf bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager.
git-svn-id: svn://10.0.0.236/trunk@48231 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 00:51:41 +00:00
beard%netscape.com
5d0b4bdd82 nsIScrollPositionListener support.
git-svn-id: svn://10.0.0.236/trunk@48173 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 04:42:11 +00:00
beard%netscape.com
6d185a4226 Added nsIScrollPositionListener.h
git-svn-id: svn://10.0.0.236/trunk@48172 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 04:39:03 +00:00
beard%netscape.com
3c26e02bfe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@48171 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 04:34:49 +00:00
warren%netscape.com
c1c4475a5c Added missing rv initialization which was causing the component manager to fail under purify. Submitted bug #14130 to dp about the component manager problem.
git-svn-id: svn://10.0.0.236/trunk@47944 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:09:42 +00:00
briano%netscape.com
11d45261bd General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47677 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 23:36:43 +00:00
kin%netscape.com
06c17f0ef0 Fix for bug #13439: SelectAll Delete does not repaint entire edit area
- Removed all references to mUpdateBatchCnt
    in nsViewManager::UpdateView().

  - The methods Enable/DisableRefresh() now check to
    see if we are batching before executing their code.
    This will prevent any layout/parser code from turning
    on refresh before all Begin/EndUpdateViewBatch() calls
    are unwound.


git-svn-id: svn://10.0.0.236/trunk@47645 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:39:03 +00:00
kin%netscape.com
d0370bd7bf Fix for bug #13440: Repaint problems when typing at the end of a document.
- modified nsScrollingView::ComputeScrollOffsets()
    so that it doesn't change the scrolled offsets
    just because the document size changed.


git-svn-id: svn://10.0.0.236/trunk@47644 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:38:53 +00:00
ramiro%netscape.com
e324fbd024 Cleanup the neckutil linking thing.
git-svn-id: svn://10.0.0.236/trunk@47500 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:15:11 +00:00
danm%netscape.com
d178595658 reorder treatment of refcount during release. fixes bug 13556
git-svn-id: svn://10.0.0.236/trunk@47466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:15:25 +00:00
beard%netscape.com
47fbf5f772 using generic factory for nsViewManager creation, removed extraneous calls to AddRef/Release of created views.
git-svn-id: svn://10.0.0.236/trunk@47089 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:34:56 +00:00
beard%netscape.com
98dbc40cfb switched to NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@47086 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:04:17 +00:00
beard%netscape.com
64698597cc switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations.
git-svn-id: svn://10.0.0.236/trunk@47085 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:03:42 +00:00
colin%theblakes.com
cf93ffc8e9 Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS
git-svn-id: svn://10.0.0.236/trunk@47057 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:45:00 +00:00
beard%netscape.com
d498773668 bug #11637: using an nsIRegion to track already painted opaque views, to get around funky front to back -> back to front transitions. probably being overaggressive about this, will revisit. switched to NS_GET_IID() where possible. cleaned up some redundant local variables in RenderViews().
git-svn-id: svn://10.0.0.236/trunk@47010 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 03:27:14 +00:00
beard%netscape.com
58c9773eba switched to NS_GET_IID() where possible. fixed clipping bugs by making all widgets clip children and siblings.
git-svn-id: svn://10.0.0.236/trunk@47009 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 03:24:01 +00:00
beard%netscape.com
da4324b6a9 switched to NS_GET_IID() where possible.
git-svn-id: svn://10.0.0.236/trunk@47008 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 03:23:09 +00:00
beard%netscape.com
55999e4de6 cleaned up CreateInstance to not use delete on interface pointers. Modernized implementation using NS_IMPL_ISUPPORTS1.
git-svn-id: svn://10.0.0.236/trunk@47007 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 03:22:29 +00:00
colin%theblakes.com
f9fbb5adfd Back out last change
git-svn-id: svn://10.0.0.236/trunk@46568 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 14:30:25 +00:00
colin%theblakes.com
ec00efc0e5 Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS
git-svn-id: svn://10.0.0.236/trunk@46558 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 12:58:39 +00:00
beard%netscape.com
a6ba4b075b bug #10261: fix for dropping calls to UpdateView, also now correctly handles calls to UpdateView(nsIView*, nsIRegion*, ...) with non-null nsIRegion*.
git-svn-id: svn://10.0.0.236/trunk@45812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 02:27:40 +00:00
briano%netscape.com
e0bf25c550 Cleaned it up and eliminated the pointless #!gmake.
git-svn-id: svn://10.0.0.236/trunk@45591 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:30:07 +00:00
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
cyeh%netscape.com
e066f641bc Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45411 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:24:51 +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
39cdb750f7 Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR.
git-svn-id: svn://10.0.0.236/trunk@44974 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 03:01: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
rods%netscape.com
08086bda14 The method nsIView::CreateView has parameter that indicates whether D&D for the widget
should be turned on or not. This make it configurable from the outside,
it is needed for the editor


git-svn-id: svn://10.0.0.236/trunk@44673 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:18 +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
beard%netscape.com
4cc79b63aa removed static library targets (view.o, viewDebug.o)
git-svn-id: svn://10.0.0.236/trunk@44028 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 22:13:21 +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
troy%netscape.com
b9fb698148 Changed Paint() to leave the clip rect relative to the view's origin (and
not translate by the view's x and y-offset), because the view manager has already
translated into the view's local coodinate space before calling Paint()


git-svn-id: svn://10.0.0.236/trunk@43094 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:52:36 +00:00
kmcclusk%netscape.com
7efa978483 Added code to prevent negative values from being passed to nsIWidget::Resize.
git-svn-id: svn://10.0.0.236/trunk@43046 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:20:53 +00:00
sfraser%netscape.com
5275ec0bd4 Zero out the return value from QI in case of failure.
git-svn-id: svn://10.0.0.236/trunk@42875 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:56:40 +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
760ea464b7 Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList().
git-svn-id: svn://10.0.0.236/trunk@41677 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 03:05:37 +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