33 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f57491a922 Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128729 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:36:28 +00:00
mjudge%netscape.com
a03311b9c2 4302. left this out of checking. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@128170 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:46:13 +00:00
hyatt%netscape.com
9a2426429d Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
git-svn-id: svn://10.0.0.236/trunk@118820 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:05:12 +00:00
rods%netscape.com
c73a8a4ad0 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118246 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 12:13:23 +00:00
rods%netscape.com
f6de1dd3b4 Add SetVisibility method to Scroll Views
Bug 92333 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117561 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
530cbb2a98 Bug 131487. Fix semantics of GetViewFlags/SetViewFlags. r=kmcclusk,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@117483 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 12:12:36 +00:00
roc+%cs.cmu.edu
cd6104bd5c Bug 124554. Make intelligent decisions about when to scroll using bitblit and when we need to do complete repaints. r=kmcclusk,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@116830 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:34:10 +00:00
roc+%cs.cmu.edu
f52124fa77 Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@112991 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:56:23 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
roc+%cs.cmu.edu
a38af362a7 Bug 73382. Let the view code work with nsView*/nsViewManager* internally and migrate some methods from public to private to the view module. Also deCOMify those methods for speed. r=kmmclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107555 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:05:38 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
bryner%netscape.com
bf9fa1fa2f Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@101405 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 07:25:52 +00:00
roc+%cs.cmu.edu
2c4e622f22 Bug 49175. Change O(n^2) child view traversal to O(n). Trim unused view painting code. O(n^2)->O(n) change submitted by alex@cendio.se. r=kmmclusk,a=brendan
git-svn-id: svn://10.0.0.236/trunk@77102 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:54:46 +00:00
roc+%cs.cmu.edu
dafb67d22b Adding new nsIView/nsIViewManager APIs so that a view can have a different parent for Z-order/clipping purposes than its geometric parent. Bug 39621. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76223 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:05:52 +00:00
pollmann%netscape.com
61d0f30aec Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!)
git-svn-id: svn://10.0.0.236/trunk@74526 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 06:02:41 +00:00
sspitzer%netscape.com
a092cc2d34 workaround for smoketest blocker #42686
now we assert and gracefully continue, instead of crashing.
I'll go give this bug to a better owner.  a=brade, r=mscott


git-svn-id: svn://10.0.0.236/trunk@72323 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:20:19 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
a27f77816e backing out troy's changes to fix various ui not working blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66998 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:05:39 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com
4d0d56ea8d Added code to prevent invalidation of non-visible rectangles.
This is a performance enhancement for platforms where toolkit invalidate calls
are expensive. b=29847 r=rods@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@62960 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:20:07 +00:00
dbaron%fas.harvard.edu
3c373934a0 Fix bug 16200 (mostly) for both GFX and native scrollbars by rounding scroll requests to the nearest pixel and, from then on, only using that rounded value. Previously, disagreements (of a fraction of a pixel) between what was on the screen and what was supposed to be there caused rounding problems (particularly at less common logical resolutions). There is a chance this may not be necessary in the future, because transform changes may fix this.
r=dcone


git-svn-id: svn://10.0.0.236/trunk@59242 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 02:44:10 +00:00
beard%netscape.com
c956c22a62 floating views. bug=21966, r=troy, rods, a=brendan
git-svn-id: svn://10.0.0.236/trunk@58504 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 01:53:34 +00:00
evaughan%netscape.com
edbfd05a90 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy


git-svn-id: svn://10.0.0.236/trunk@55520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 03:36:05 +00:00
evaughan%netscape.com
cd59b4628b Turned gfx scrollbars on by default. -r Mcaffe
git-svn-id: svn://10.0.0.236/trunk@54347 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:21:12 +00:00
kin%netscape.com
53798ca2b2 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.

r=evaughan@netscape.com


git-svn-id: svn://10.0.0.236/trunk@53893 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 19:40:52 +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
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
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
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