Commit Graph
322 Commits
Author SHA1 Message Date
[email protected] 1ad8a5811d floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
[email protected] d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
[email protected] 9875af405d Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={[email protected], [email protected]}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
[email protected] 6b55fbf4a6 USE_NEW_COMPOSITOR=1 for M13. r=vidur,troy a=jar 2000-01-21 02:06:22 +00:00
[email protected] 26f24537cd Fix bug 24310 by backing out fix for 21304. a:chofmann 2000-01-19 22:34:47 +00:00
[email protected] 636235b79a fix bug 21304, hidden views stealing events. r:rods 2000-01-18 15:15:23 +00:00
[email protected] ac1931419d turned on usage of nsViewManager2, which seems to fix some important bugs on linux, such as #20185, and definitely #21405. r=pavlov 2000-01-17 00:52:39 +00:00
[email protected] 8e05781c32 build nsViewManager2.cpp on windows r=beard 2000-01-17 00:45:51 +00:00
[email protected] 230b9c8659 build nsViewManager.cpp on linux r=beard 2000-01-17 00:43:57 +00:00
[email protected] eb4e86b44f cleaned up, removed NSGetFactory, added conditional usage of nsViewManager2, which will be turned on soon. r=pavlov 2000-01-17 00:43:36 +00:00
[email protected] e5b6496357 forward declaring nsIViewManager rather than including nsViewManager.h. r=pavlov 2000-01-17 00:43:02 +00:00
[email protected] eea003e44f Simple back to front compositor. 2000-01-16 22:28:28 +00:00
[email protected] d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, [email protected]
2000-01-11 20:49:15 +00:00
[email protected] 49b845d209 edge case PR_MAx should be against the insets sizes instead of zero
r=kmcclusk
1999-12-22 19:55:20 +00:00
[email protected] d4988b06cc partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00
[email protected] 3954688ee2 temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
[email protected] e9aaa04ce3 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
[email protected] aba663db9f add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
[email protected] 133dc3f69e bug #20504: fix crash when printing. r=joki 1999-12-02 05:13:56 +00:00
[email protected] 46473cc1bd bug #17574: fixed ResizeView() to generate an update for the bounding box of old and new bounds of the view, instead of the entire parent view (duh!). this can be optimized further by doing separate updates if old and new aren't overlapping. r=kin 1999-12-01 22:58:24 +00:00
[email protected] 105f4ed171 bug #13131, 18140: now accumulating paint requests into a region for each view that has a widget. r=pavlov 1999-11-30 22:27:56 +00:00
[email protected] bc8963c485 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. 1999-11-24 06:03:10 +00:00
[email protected] b85d05e475 Turned gfx scrollbars on by default. -r Mcaffe 1999-11-24 00:21:12 +00:00
[email protected] 842cd29f62 Removed build warning in nsCornerView::Paint on Linux by overriding both overloaded Paints. [email protected] 1999-11-22 21:11:46 +00:00
[email protected] dc1588f4c9 Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

[email protected]
1999-11-18 19:40:52 +00:00
[email protected] 7a2898a716 Fixing all unresolved symbols on unix. The bug has the diff's
r [email protected] (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
[email protected] 62dbf164a2 partial reversion of view manager, to fix XP menu breakage on windows. 1999-11-14 05:47:00 +00:00
[email protected] be3dfb7304 fix VC5 bustage, needed to add const qualifiers to GetWidgetView, ViewToWidget. 1999-11-14 03:53:51 +00:00
[email protected] 7f3709df3b pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
[email protected] 2d6b9f46ef update just a touch more when resizing views. bug=17574, r=pavlov, a=chofmann 1999-11-08 04:06:59 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] 7a3da32abc Don't enable drag & drop on scrollbars. r=pink,hyatt 1999-11-02 21:03:46 +00:00
[email protected] fbf71dbbcc 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
[email protected] bb2055d5c7 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
[email protected],[email protected],[email protected],[email protected]

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.
      [email protected]
1999-10-15 04:29:30 +00:00
[email protected] e499870210 Better warning messages. r=pavlov. 1999-10-14 23:13:39 +00:00
[email protected] c7f5c53691 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
[email protected] 7f6df0914a 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
[email protected] 59519330d0 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
[email protected] e4c61f2088 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
[email protected] ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
[email protected] 525b59f80b Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
[email protected] 29b0cc1ad0 r=beard; Added in ctor/dtor counting 1999-10-05 14:52:53 +00:00
[email protected] dfe923c5dc when hiding a view, invalidate the parent view since the hidden view will reject the invalidate 1999-09-29 03:29:21 +00:00
[email protected] 09490daf06 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
[email protected] 58c2b01274 work to get drawing done based on regions and not rects a=shaver r=beard 1999-09-28 01:28:03 +00:00
[email protected] 2fe11644fb raptorview into component 1999-09-28 00:58:35 +00:00
[email protected] 7131aeb870 raptorview into component 1999-09-28 00:52:36 +00:00
[email protected] 85b195937d Converting ViewFactory to nsIModule. 1999-09-27 23:55:05 +00:00
[email protected] ef9ffc1023 leaking nsIRegions in nsViewManager::ProcessPendingUpdates() when region is empty. Duh! Switched to nsCOMPtr. 1999-09-27 17:48:33 +00:00
[email protected] ac1dd82d3c bug #7774: added SetViewAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy 1999-09-23 23:26:57 +00:00