Commit Graph

372 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
53611f9e3a # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61908 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 22:07:34 +00:00
beard%netscape.com
db94531e70 bug 20185 [PDT+], landing nsViewManager2, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@61078 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:52:44 +00:00
beard%netscape.com
a876d9dda5 bug 25336, fixes incorrect usage of unsigned integer causing an infinite loop, r=jst@citec.fi (he originated the patch).
git-svn-id: svn://10.0.0.236/trunk@60940 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:11:31 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
beard%netscape.com
67e7f15ccb added blending logic
git-svn-id: svn://10.0.0.236/trunk@60185 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 02:53:09 +00:00
beard%netscape.com
a946b3689b OptimizeDisplayList() changes.
git-svn-id: svn://10.0.0.236/trunk@60052 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:05:00 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
beard%netscape.com
7e7b39d00d removed unused enums, turned double buffering back on, added test for opaque views that occlude other views. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@59849 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 04:13:29 +00:00
beard%netscape.com
2e716f8b23 changed test of mClip from (left == right) && (top == bottom) to (left == 0) && (right == 0) && (top == 0) && (bottom == 0). Added test for empty clip rect, to avoid painting. Added an assert to make sure mClip is set to reasonable values. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@59848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 04:11:55 +00:00
beard%netscape.com
0de951c0e1 made using nsViewManager2 depend on the preference "nglayout.view.useViewManager2". r=pavlov, kmcclusk
git-svn-id: svn://10.0.0.236/trunk@59834 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:02:10 +00:00
brade%netscape.com
903ef4f864 fix access paths for move to CW5 (bug #25949)
git-svn-id: svn://10.0.0.236/trunk@59549 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:45:39 +00:00
beard%netscape.com
b96fe64320 added IsClipView() predicate, preliminary support for the new front-to-back display list partitioner.
git-svn-id: svn://10.0.0.236/trunk@59454 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:00:23 +00:00
beard%netscape.com
5c1741c2f8 added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint().
git-svn-id: svn://10.0.0.236/trunk@59453 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:58:22 +00:00
waterson%netscape.com
21d5ec4c31 Undo the optimization: it breaks the addressing widget :-(.
git-svn-id: svn://10.0.0.236/trunk@59381 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 08:13:12 +00:00
waterson%netscape.com
ea2a5c3c7f Optimize MoveViewTo() to only move the view if aX != oldX and aY != oldY. This cuts out about 10% on large web pages that slam the status bar, because boxes seem to want to reposition the widget at the same place over and over. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@59337 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 01:14:49 +00:00
jdunn%netscape.com
40d2152942 changing static_cast to use NS_STATIC_CAST instead...
git-svn-id: svn://10.0.0.236/trunk@59250 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 15:37:51 +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
kmcclusk%netscape.com
62e366a2dc Added missing nsIViewManager methods to nsViewManager2.h and nsViewManger2.cpp.
bug=22069; r=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58866 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:23:34 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +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
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
beard%netscape.com
9711b10ee4 USE_NEW_COMPOSITOR=1 for M13. r=vidur,troy a=jar
git-svn-id: svn://10.0.0.236/trunk@58343 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 02:06:22 +00:00
joki%netscape.com
88ea82eb9b Fix bug 24310 by backing out fix for 21304. a:chofmann
git-svn-id: svn://10.0.0.236/trunk@58262 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:34:47 +00:00
joki%netscape.com
a8a20be440 fix bug 21304, hidden views stealing events. r:rods
git-svn-id: svn://10.0.0.236/trunk@58096 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:15:23 +00:00
beard%netscape.com
5fbbc22c69 turned on usage of nsViewManager2, which seems to fix some important bugs on linux, such as #20185, and definitely #21405. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57982 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:52:39 +00:00
pavlov%netscape.com
50535db0da build nsViewManager2.cpp on windows r=beard
git-svn-id: svn://10.0.0.236/trunk@57981 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:45:51 +00:00
pavlov%netscape.com
ff0606905e build nsViewManager.cpp on linux r=beard
git-svn-id: svn://10.0.0.236/trunk@57980 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:43:57 +00:00
beard%netscape.com
98031ad9db cleaned up, removed NSGetFactory, added conditional usage of nsViewManager2, which will be turned on soon. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57979 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:43:36 +00:00
beard%netscape.com
e7d69e40f1 forward declaring nsIViewManager rather than including nsViewManager.h. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57978 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:43:02 +00:00
beard%netscape.com
4f2ca6fe8b Added nsViewManager2.cpp. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@57976 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 23:08:50 +00:00
beard%netscape.com
510956bf63 Simple back to front compositor.
git-svn-id: svn://10.0.0.236/trunk@57974 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 22:28:28 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
rods%netscape.com
2b7a1b6ca2 edge case PR_MAx should be against the insets sizes instead of zero
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@56401 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:55:20 +00:00
ftang%netscape.com
cfa1a18207 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
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
rods%netscape.com
99432f125e temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416


git-svn-id: svn://10.0.0.236/trunk@55990 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:21:58 +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
ftang%netscape.com
199df01b45 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
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
beard%netscape.com
067dc9aa6f bug #20504: fix crash when printing. r=joki
git-svn-id: svn://10.0.0.236/trunk@55021 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:13:56 +00:00
beard%netscape.com
d2b4f7de3c 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
git-svn-id: svn://10.0.0.236/trunk@54958 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:58:24 +00:00
beard%netscape.com
d8e63b5bf9 bug #13131, 18140: now accumulating paint requests into a region for each view that has a widget. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@54787 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:27:56 +00:00
tbogard%aol.net
081927560a Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*.
git-svn-id: svn://10.0.0.236/trunk@54391 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:10 +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
kmcclusk%netscape.com
b383e76259 Removed build warning in nsCornerView::Paint on Linux by overriding both overloaded Paints. r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54166 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 21:11:46 +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
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