Граф коммитов

321 Коммитов

Автор SHA1 Сообщение Дата
ramiro%fateware.com 233d11ef1a Link in raptorgfx dynamically to make the component properly loadable.
regxpcom was breaking on this one.  r=valeski
1999-10-22 05:06:39 +00:00
kin%netscape.com 2c6c5d65d1 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
1999-10-15 04:29:30 +00:00
mcafee%netscape.com 14b531cbd4 Better warning messages. r=pavlov. 1999-10-14 23:13:39 +00:00
waterson%netscape.com 5b02bdb168 Add nsScrollPortView.cpp to the build to get around undefined symbols at startup: looks like it got missed on Unix. 1999-10-12 04:41:07 +00:00
waterson%netscape.com ab20f5e245 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 1999-10-12 02:10:08 +00:00
evaughan%netscape.com b460bf4aee added files: mozilla/view/src/nsScrollPortView.cpp 1999-10-12 00:16:34 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
kipp%netscape.com 24c5713f26 r=beard; Added in ctor/dtor counting 1999-10-05 14:52:53 +00:00
beard%netscape.com b547c2ffb0 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
peterl%netscape.com 0f9d0ccbd8 when hiding a view, invalidate the parent view since the hidden view will reject the invalidate 1999-09-29 03:29:21 +00:00
pinkerton%netscape.com 59dd7211e2 don't call UpdateView if visibility hasn't changed (bugs 14782, 14925). rev beard/ramiro, appr leaf. 1999-09-28 21:23:32 +00:00
pavlov%netscape.com 4046eb39d0 work to get drawing done based on regions and not rects a=shaver r=beard 1999-09-28 01:28:03 +00:00
dp%netscape.com 16d7fef8e3 raptorview into component 1999-09-28 00:58:35 +00:00
dp%netscape.com 6367598dad raptorview into component 1999-09-28 00:52:36 +00:00
dp%netscape.com c5202d45c3 Converting ViewFactory to nsIModule. 1999-09-27 23:55:05 +00:00
beard%netscape.com 2e2cfcbf8b leaking nsIRegions in nsViewManager::ProcessPendingUpdates() when region is empty. Duh! Switched to nsCOMPtr. 1999-09-27 17:48:33 +00:00
beard%netscape.com d24347f48f bug #7774: added SetViewAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy 1999-09-23 23:26:57 +00:00
beard%netscape.com ea8c38f83a bug #7774: added SetViewAutoZIndex to support CSS2 auto z-indexing. bug# 14601: assertion cleanup, using #ifdef instead of if (gsDebug). a=leaf, r=troy 1999-09-23 23:26:55 +00:00
beard%netscape.com 470c87ef61 bug #7774: added new bit NS_VIEW_PUBLIC_FLAG_AUTO_ZINDEX, SetAutoZIndex/GetAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy 1999-09-23 23:26:54 +00:00
beard%netscape.com bc1b64915f bug #10503: override SetZIndex to propagate to child views. a=leaf, r=troy 1999-09-23 23:26:49 +00:00
beard%netscape.com b7379dd39c bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. a=leaf, r=troy 1999-09-23 23:26:47 +00:00
joki%netscape.com f3b8c1d1a2 Add new scroll method to allow scrolling to top or bottom of doc. 1999-09-21 14:15:53 +00:00
beard%netscape.com 6bb85f6f32 bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. 1999-09-19 00:51:41 +00:00
beard%netscape.com c86d588ad3 nsIScrollPositionListener support. 1999-09-18 04:42:11 +00:00
beard%netscape.com 09f6f6f97b Added nsIScrollPositionListener.h 1999-09-18 04:39:03 +00:00
beard%netscape.com 012a57794d First Checked In. 1999-09-18 04:34:49 +00:00
warren%netscape.com 632bd04454 Added missing rv initialization which was causing the component manager to fail under purify. Submitted bug #14130 to dp about the component manager problem. 1999-09-17 07:09:42 +00:00
briano%netscape.com e879c25e61 General cleanup. 1999-09-15 23:36:43 +00:00
kin%netscape.com 24ca45d86b 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.
1999-09-15 20:39:03 +00:00
kin%netscape.com ac18692ee6 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.
1999-09-15 20:38:53 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
danm%netscape.com 27f5dbe488 reorder treatment of refcount during release. fixes bug 13556 1999-09-15 00:15:25 +00:00
beard%netscape.com 05f7f9f084 using generic factory for nsViewManager creation, removed extraneous calls to AddRef/Release of created views. 1999-09-13 03:34:56 +00:00
beard%netscape.com 6c8a1fae2a switched to NS_DEFINE_STATIC_IID_ACCESSOR 1999-09-13 03:04:17 +00:00
beard%netscape.com 798ac3c3f0 switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations. 1999-09-13 03:03:42 +00:00
colin%theblakes.com 664183dfa7 Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS 1999-09-12 12:45:00 +00:00
beard%netscape.com 3f05013bc0 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(). 1999-09-12 03:27:14 +00:00
beard%netscape.com 6fb5b09fa1 switched to NS_GET_IID() where possible. fixed clipping bugs by making all widgets clip children and siblings. 1999-09-12 03:24:01 +00:00
beard%netscape.com 6752845fdb switched to NS_GET_IID() where possible. 1999-09-12 03:23:09 +00:00
beard%netscape.com d6fd62541c cleaned up CreateInstance to not use delete on interface pointers. Modernized implementation using NS_IMPL_ISUPPORTS1. 1999-09-12 03:22:29 +00:00
colin%theblakes.com 524f7f0188 Back out last change 1999-09-09 14:30:25 +00:00
colin%theblakes.com d00740719c Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS 1999-09-09 12:58:39 +00:00
beard%netscape.com 2e6af96bc5 bug #10261: fix for dropping calls to UpdateView, also now correctly handles calls to UpdateView(nsIView*, nsIRegion*, ...) with non-null nsIRegion*. 1999-09-03 02:27:40 +00:00
briano%netscape.com 64f859af0e Cleaned it up and eliminated the pointless #!gmake. 1999-09-02 00:30:07 +00:00
beard%netscape.com 4004be4f34 removed min/max 1999-09-01 23:16:28 +00:00
beard%netscape.com f2dcf61606 bug #10715: rewrote nsViewManager::ResizeView() to correctly invalidate newly exposed/resized view. Assumes layout properly invalidates internal area. 1999-09-01 04:53:55 +00:00
cyeh%netscape.com df37c0fb33 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00