roc+%cs.cmu.edu
52524f9a8d
Bug 232469. Rework view clipping to handle three kinds of clip: clip to arbitrary rect, clip containing block children to bounds, clip all children to boudns. r+sr=dbaron,a=choffman
2004-03-11 00:32:01 +00:00
roc+%cs.cmu.edu
250384aa43
Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
2004-01-30 23:52:39 +00:00
dbaron%dbaron.org
9bd2de4eb0
Add hack to make egcs happy with NS_DEFINE_STATIC_IID_ACCESSOR on class with methods that are neither pure virtual nor inline. Fixing bustage. b=109772
2004-01-30 20:02:42 +00:00
dbaron%dbaron.org
4f388081f5
Make first method inline to try to fix egcs bustage. b=109772
2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
ee86ab45fb
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
caillon%returnzero.com
6dddc5e4e1
This should be #ifdef DEBUG.
...
r+sr=dbaron
2004-01-20 22:15:38 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
uid502
1cfabd35d3
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
roc+%cs.cmu.edu
f0865cf16e
Bug 109772. Cleanup views. Promote certain members of nsView and nsViewManager to stack variables. Provide non-COM versions of, and deprecate COM usage of, nsIView methods HasWidget, GetWidget, GetFloating, GetParent, GetFirstChild, GetNextSibling, GetOpacity, GetClientData, GetVisibility, GetViewManager, GetZIndex, GetPosition, and GetBounds. r+sr=dbaron
2003-06-24 01:00:46 +00:00
aaronl%netscape.com
20117a7edc
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
2003-03-06 23:07:00 +00:00
roc+%cs.cmu.edu
75f0cde871
Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
2002-12-14 16:18:57 +00:00
kmcclusk%netscape.com
b87a141e21
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
681db8a644
backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853
2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
539f09beff
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 02:53:35 +00:00
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
roc+%cs.cmu.edu
393683ec75
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
2001-11-07 04:05:38 +00:00
bryner%netscape.com
e6b4535db9
When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt.
2001-10-31 05:06:31 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
kmcclusk%netscape.com
03143956d6
Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com
2001-02-01 06:00:02 +00:00
roc+%cs.cmu.edu
4ca1a2fbd6
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
2000-08-12 19:05:52 +00:00
saari%netscape.com
4c09a29ac5
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
2000-08-08 21:31:05 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
f6b930c9e6
backing out troy's changes to fix various ui not working blocker bugs.
2000-04-24 22:05:39 +00:00
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com
1945225950
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
2000-04-13 21:56:27 +00:00
evaughan%netscape.com
21e503b111
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
2000-04-03 03:55:38 +00:00
beard%netscape.com
e9c67d9729
added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint().
2000-02-02 00:58:22 +00:00
beard%netscape.com
7226bc7257
floating views. bug=21966, r=troy, rods, a=brendan
2000-01-25 01:53:34 +00:00
rods%netscape.com
4cf3515a9b
temprary fix for combobox dropdowns that jump all around.
...
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
tbogard%aol.net
4b3666e214
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*.
1999-11-24 06:03:10 +00:00
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
beard%netscape.com
9ce828e930
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
297bc6feb1
Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR.
1999-08-28 03:01:32 +00:00
rods%netscape.com
891b176869
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
1999-08-26 14:41:18 +00:00
buster%netscape.com
ef65d66461
added GetIID static methods to public interfaces. Code-reviewed by Kevin M.
1999-06-24 22:40:53 +00:00
evaughan%netscape.com
a9d351ef30
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
troy%netscape.com
eb5d51399b
Removed #define ALL_VIEW_FLAGS which is no longer used
1999-04-24 22:58:14 +00:00
troy%netscape.com
0fdc37c34f
Made a bunch of nsIView member functions "const"
1999-04-23 17:44:48 +00:00
troy%netscape.com
bfdac722ea
Changed a comment a little
1999-04-21 21:22:22 +00:00
troy%netscape.com
3fb7a599a3
Added NS_VIEW_FLAG_DONT_BITBLT flag
1999-04-21 21:08:27 +00:00
michaelp%netscape.com
fdc84978d8
added GetExtents().
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
46d4754a52
cleaned up view flags stuff.
1999-04-16 04:23:43 +00:00
michaelp%netscape.com
eedcdf698b
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.
1999-03-09 22:10:31 +00:00
joki%netscape.com
57e49aab2a
Fix for frames not resizing.
1999-03-03 01:59:50 +00:00
michaelp%netscape.com
9a30d47825
work in progress for new compositor. not currently enabled, so it won't
...
affect anyone else. killed Paint() method of scrolling view since it
no longer does anything useful. made view manager destructor protected to
eliminate gcc warnings.
1999-02-03 04:12:21 +00:00
joki%netscape.com
4513eb2392
Modifying view event flow to always start processing from top view, not enter at children
1999-02-01 22:45:59 +00:00
michaelp%netscape.com
dff35cf838
removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
...
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
d2b75b1ba9
changed nsIView::Init() so that it no longer takes an opacity value. this
...
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
michaelp%netscape.com
8963210ccb
removed zindex from nsIView::Init().
1998-10-27 03:36:49 +00:00
troy%netscape.com
e2b6409d3e
Changed scrolling view to use a clip view and to slide the scrolled
...
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
troy%netscape.com
68659f29d8
Changed it so that we have a dirty region per view with a widget rather
...
than having just one dirty region. Also changed it so that we stop painting
when we get to a view that has a widget
1998-10-15 04:55:21 +00:00
michaelp%netscape.com
85cad5bf10
two pass compositing now works.
1998-10-11 01:00:59 +00:00
troy%netscape.com
ad9a20da0b
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
michaelp%netscape.com
7686c7ec65
changes to support viewobserver and troy's spankage of the device context.
1998-08-28 03:05:23 +00:00
michaelp%netscape.com
89a5d9929f
killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
...
the root view. added ability to select painting in view resizing.
1998-08-26 21:24:58 +00:00
troy%netscape.com
acaa6d2f0e
Change to object lifetime management. Views are no longer ref counted
1998-08-08 04:23:33 +00:00
michaelp
f1f586a80e
when a view is the root, it's position will now always be 0, 0.
1998-07-07 21:51:57 +00:00
michaelp
ec4811f612
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
michaelp
97da4a6f90
added method to nsIView to get offset from nearest window.
...
added method to nsIView to get nearest scroll offset.
killed AdjustChildWidgets in nsIView.
lots of painting fixes.
added support for scrolling subviews.
added beginning of back-to-front compositing pass.
views, views with widgets and views with specific clips will now have their
outlines rendered in different colors. to turn this off see the top of nsView.cpp.
1998-06-16 17:05:42 +00:00
michaelp
9f71c8886e
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
michaelp
49c4d29e3f
added optimization so that as we render top->bottom, if the clip region ever
...
becomes empty, we stop rendering.
1998-06-03 21:30:51 +00:00
karnaze
4de74d7ac1
event improvements
1998-05-29 22:44:13 +00:00
michaelp
b5140d2751
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
michaelp
88085a23f5
killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
...
modified APIs that had been referring to nsRegion to use nsIRegion.
1998-05-18 21:46:20 +00:00
kmcclusk
1d7e22a70f
Added widget specific init structs
1998-05-14 21:34:08 +00:00
michaelp
a2a2bfdfee
killed erroneous comments.
1998-05-01 03:11:47 +00:00
michaelp
33997423e6
minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
...
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
michaelp
349aea1957
more cliprect api changes...
1998-04-29 02:24:07 +00:00
michaelp
c8fa2102e0
changed clipping apis so that they take parameters in the same form that
...
clipping is expressed in layer tags and css-p.
added support for setting transforms in layers (untested and very likely
problematic if scales are applied).
changed event handling and painting apis in views to support inherited
visibility.
all parameters passed into view.Init() are now properly stored in the view.
view opacity apis are now real.
1998-04-28 19:16:24 +00:00
michaelp
2bb2f10650
added support for setting clip rects in views.
...
removed paint_all_kids().
damage rect passed to frames is now properly translated into
coord space of containing view.
1998-04-27 23:51:57 +00:00
karnaze
3943ad1a15
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
michaelp
8628a9aa07
added docs.
1998-04-15 20:25:02 +00:00
kipp
098bef52b4
moved to pub
1998-04-13 20:24:54 +00:00