Commit Graph

132 Commits

Author SHA1 Message Date
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
kmcclusk%netscape.com
27a6c7d6ec Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77713 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:31:17 +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
saari%netscape.com
e1a79e8500 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
mjudge%netscape.com
f930f65148 this was supposed to be checked in for someones pdt+ bug. this alters the view's destructor to remove itself from the viewmanagers mouse capture code. r= hyatt the bug had to do with OnClick on a view causing a web page reload. this became a must fix when joki checked in his event changes.
git-svn-id: svn://10.0.0.236/trunk@71210 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:38:57 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +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
741be3a48f Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac


git-svn-id: svn://10.0.0.236/trunk@65880 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:56:27 +00:00
evaughan%netscape.com
3d16a0efc8 Grid fixes.
Memory leak fixes.
box cleanup.

-a ftang


git-svn-id: svn://10.0.0.236/trunk@65631 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:55:15 +00:00
evaughan%netscape.com
995d26d6bc 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget


git-svn-id: svn://10.0.0.236/trunk@64995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:55:38 +00:00
kmcclusk%netscape.com
c62cc9846a Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63930 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:49:18 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
dcone%netscape.com
f39b32d4ab Support for Blending added. r=beard
git-svn-id: svn://10.0.0.236/trunk@63140 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:05:12 +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
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
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
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
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
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
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
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
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
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
rods%netscape.com
08086bda14 The method nsIView::CreateView has parameter that indicates whether D&D for the widget
should be turned on or not. This make it configurable from the outside,
it is needed for the editor


git-svn-id: svn://10.0.0.236/trunk@44673 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:18 +00:00
kmcclusk%netscape.com
e1083a6ab6 nsViewManager :: Refresh
Created explicit pointers to offscreen and onscreen rendering contexts.
Stop passing NS_COPYBITS_TO_BACK_BUFFER flag.


git-svn-id: svn://10.0.0.236/trunk@43874 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:48:56 +00:00
troy%netscape.com
b9fb698148 Changed Paint() to leave the clip rect relative to the view's origin (and
not translate by the view's x and y-offset), because the view manager has already
translated into the view's local coodinate space before calling Paint()


git-svn-id: svn://10.0.0.236/trunk@43094 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:52:36 +00:00
sfraser%netscape.com
5275ec0bd4 Zero out the return value from QI in case of failure.
git-svn-id: svn://10.0.0.236/trunk@42875 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:56:40 +00:00
pavlov%netscape.com
86397afa89 don't do anything if SetDimentions is called with the same width and height.
approved by hyatt


git-svn-id: svn://10.0.0.236/trunk@41243 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:37:35 +00:00
rickg%netscape.com
31a098e241 removed two warnings from GFX library that sparky isn't likely to fix
git-svn-id: svn://10.0.0.236/trunk@41100 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 02:22:09 +00:00
sspitzer%netscape.com
c7d66ec838 hail mary bulletproofing fix for #10035
git-svn-id: svn://10.0.0.236/trunk@40135 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:57:30 +00:00
evaughan%netscape.com
e737c85970 Fixed some visibility bugs in order to make the tab widget work correctly.
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
pollmann%netscape.com
c51e86bc1c Bug 5746: Check for null.
git-svn-id: svn://10.0.0.236/trunk@31720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:36:39 +00:00
danm%netscape.com
23b438d255 HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844.
git-svn-id: svn://10.0.0.236/trunk@30274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:23:35 +00:00
troy%netscape.com
670ba61106 Made a bunch of nsIView member functions "const"
git-svn-id: svn://10.0.0.236/trunk@28890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:44:48 +00:00
kipp%netscape.com
84ae76b1ff Dump refcnts when listing views
git-svn-id: svn://10.0.0.236/trunk@28152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:53 +00:00
michaelp%netscape.com
bb57830da1 we no longer recurse into clip views. shoot me troy. so long folks.
git-svn-id: svn://10.0.0.236/trunk@27884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:53:53 +00:00
michaelp%netscape.com
729aeca8be oops. union works better than intersect...
git-svn-id: svn://10.0.0.236/trunk@27825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:19:45 +00:00
michaelp%netscape.com
5669c172c3 added GetExtents().
git-svn-id: svn://10.0.0.236/trunk@27822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
d8c7e182c0 cleaned up view flags stuff.
git-svn-id: svn://10.0.0.236/trunk@27817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:23:43 +00:00
michaelp%netscape.com
53ce63ea80 fixed bug where out of order computation of child view positions and scroll
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.


git-svn-id: svn://10.0.0.236/trunk@24322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
81f9258975 added nsIClipView.h
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.


git-svn-id: svn://10.0.0.236/trunk@23381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:10:31 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00