jdunn%netscape.com
f0c83b3d5a
Fixing all unresolved symbols on unix. The bug has the diff's
...
r dp@netscape.com (ramiro helped me with it)
# 18688
git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +00:00
beard%netscape.com
c9334b0fcd
partial reversion of view manager, to fix XP menu breakage on windows.
...
git-svn-id: svn://10.0.0.236/trunk@53448 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 05:47:00 +00:00
beard%netscape.com
fb2ed0031b
fix VC5 bustage, needed to add const qualifiers to GetWidgetView, ViewToWidget.
...
git-svn-id: svn://10.0.0.236/trunk@53446 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 03:53:51 +00:00
beard%netscape.com
9a5f66247d
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@53444 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 02:51:25 +00:00
beard%netscape.com
57aa5577da
update just a touch more when resizing views. bug=17574, r=pavlov, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@52935 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 04:06:59 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
waterson%netscape.com
2fa1de35a2
Don't enable drag & drop on scrollbars. r=pink,hyatt
...
git-svn-id: svn://10.0.0.236/trunk@52574 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 21:03:46 +00:00
ramiro%fateware.com
dbec4b872f
Link in raptorgfx dynamically to make the component properly loadable.
...
regxpcom was breaking on this one. r=valeski
git-svn-id: svn://10.0.0.236/trunk@51513 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 05:06:39 +00:00
kin%netscape.com
9af25b17a4
Fix for bug #15360 : Drag Selecting, Clicking, then Clicking leaves caret cruft.
...
r=troy@netscape.com ,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com
layout/html/base/src/nsGfxScrollFrame.cpp
- Renamed all occurrences of ScrollPositionChanged() to
to ScrollPositionDidChange() to match changes made
to nsIScrollPositionListener.
- Added ScrollPositionWillChange() stub method.
layout/html/base/src/nsPresShell.cpp
- Added PresShellViewEventListener class that implements the
nsIScrollPositionListener and nsICompositeListener view
interfaces. This allows us to turn caret rendering on and off
when scrolling and repainting to prevent leaving caret cruft
on the screen.
- PresShellViewEventListener is created in InitialReflow(), and
released in ~PresShell().
view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
- Added nsICompositeListener to list of files to be exported.
view/public/nsICompositeListener.h
- New file. Implementers of this interface can register themselves
with the view manager to receive notification before and after
a view is composited/refreshed.
view/public/nsIScrollPositionListener.h
- Added a ScrollPositionWillChange() method.
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
view/public/nsIViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener methods.
view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
- Added NotifyScrollPositionWillChange() and
NotifyScrollPositionDidChange() methods.
- Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
methods. Added temporary offsetX and offsetY variables to allow us
to calculate new offsets without changing mOffsetX and mOffsetY before
notifications are sent out.
view/src/nsScrollPortView.cpp
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
- Modified ScrollTo() to call the listener's ScrollPositionWillChange()
method.
view/src/nsViewManager.cpp
view/src/nsViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener() methods.
- Added support for CompositeListener notifications in the Refresh()
methods for regions and rects.
- Fix for bug #15901 : [DOGFOOD] Selected text does not clear when you type
Modified UpdateView() so that rects with zero width and height are
no longer added to our damage region.
r=beard@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50786 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 04:29:30 +00:00
mcafee%netscape.com
8ebe80d3dc
Better warning messages. r=pavlov.
...
git-svn-id: svn://10.0.0.236/trunk@50707 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:13:39 +00:00
waterson%netscape.com
6430228b19
Add nsScrollPortView.cpp to the build to get around undefined symbols at startup: looks like it got missed on Unix.
...
git-svn-id: svn://10.0.0.236/trunk@50422 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:41:07 +00:00
waterson%netscape.com
e20da712ec
Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
...
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
evaughan%netscape.com
4dbf02b9bd
added files: mozilla/view/src/nsScrollPortView.cpp
...
git-svn-id: svn://10.0.0.236/trunk@50387 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:34 +00:00
evaughan%netscape.com
b6c93b5c5c
Integrated Gfx scrollbars.
...
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
dveditz%netscape.com
30a83caa1d
Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
54966bf91e
r=beard; Added in ctor/dtor counting
...
git-svn-id: svn://10.0.0.236/trunk@49837 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:52:53 +00:00
beard%netscape.com
da97767078
changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
...
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +00:00
peterl%netscape.com
e67f69dfde
when hiding a view, invalidate the parent view since the hidden view will reject the invalidate
...
git-svn-id: svn://10.0.0.236/trunk@49284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:29:21 +00:00
pinkerton%netscape.com
5d38858c12
don't call UpdateView if visibility hasn't changed (bugs 14782, 14925). rev beard/ramiro, appr leaf.
...
git-svn-id: svn://10.0.0.236/trunk@49240 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 21:23:32 +00:00
pavlov%netscape.com
b5bbc1919b
work to get drawing done based on regions and not rects a=shaver r=beard
...
git-svn-id: svn://10.0.0.236/trunk@49179 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:28:03 +00:00
dp%netscape.com
46956763a0
raptorview into component
...
git-svn-id: svn://10.0.0.236/trunk@49173 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 00:58:35 +00:00
dp%netscape.com
3c80610f68
raptorview into component
...
git-svn-id: svn://10.0.0.236/trunk@49168 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 00:52:36 +00:00
dp%netscape.com
c3d8fbedad
Converting ViewFactory to nsIModule.
...
git-svn-id: svn://10.0.0.236/trunk@49162 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 23:55:05 +00:00
beard%netscape.com
9062bea1a4
leaking nsIRegions in nsViewManager::ProcessPendingUpdates() when region is empty. Duh! Switched to nsCOMPtr.
...
git-svn-id: svn://10.0.0.236/trunk@49138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 17:48:33 +00:00
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