roc+%cs.cmu.edu
c577ddef7d
Bug 130078. Backing out now that I have perf. numbers
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
f3a912e6c7
Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
2006-05-04 03:46:19 +00:00
dbaron%dbaron.org
d08b0241f8
Another attempt at the Windows bustage. b=317375
2006-01-26 07:06:26 +00:00
roc+%cs.cmu.edu
5451e97878
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
bsmedberg%covad.net
dff1dea638
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
f41c3cb1f3
Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
2005-07-19 23:24:30 +00:00
masayuki%d-toybox.com
196a4a38f3
Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
2005-07-11 05:27:10 +00:00
masayuki%d-toybox.com
1ffaf0e3af
Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
21ec8e4859
Backing out fix for bug 296838 to see how it's hurting Tp
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
fdbfe2ab6b
Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
2005-06-21 04:07:04 +00:00
roc+%cs.cmu.edu
5e57c3c681
Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
cee1401380
Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver
2005-06-02 09:00:48 +00:00
jst%mozilla.jstenback.com
c4b8dd4f16
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
af00f217f9
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
63b60e6d63
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
c8d3df631f
Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
d222ecb623
Flush out reflows before processing invalidates and paint events. Fixes a
...
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor. Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
dbaron%dbaron.org
f749b59b77
Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc
2004-11-24 22:05:36 +00:00
neil%parkwaycc.co.uk
d13fb54f7e
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
7198a5985b
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
869014801a
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
683944da62
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
bzbarsky%mit.edu
f958ca676d
Push view update batching up to the root view manager. Make all associated
...
members only be accessed by the root view manager. Document the invalidation
setup a bit. Bug 244290, r+sr=roc
2004-10-29 20:47:25 +00:00
dbaron%dbaron.org
cbd46ce33d
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.)
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
4277cbb2bd
Back out 227361 to fix pageload time regression.
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
0c6786b66d
Bustage fix. b=227361
2004-10-13 23:06:39 +00:00
dbaron%dbaron.org
0bfc91bf4e
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc
2004-10-13 22:37:32 +00:00
roc+%cs.cmu.edu
818d0bd3ff
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
2fdb399a89
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
2004-10-09 01:39:21 +00:00
neil%parkwaycc.co.uk
1c346b8beb
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
2004-09-20 22:25:07 +00:00
dbaron%dbaron.org
fa2cc9940e
Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
2004-09-15 19:16:43 +00:00
cbiesinger%web.de
28133d3196
Bug 250342 Views should not inherit from nsISupports
...
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
6709d53145
Bug 257920 remove unused nsIClipView
...
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu
d2859ce21a
Remove nsIScrollingView::Get/SetControlInsets, since it's unused.
2004-07-05 16:53:10 +00:00
dbaron%dbaron.org
0ec49fbb44
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
2004-06-22 04:32:52 +00:00
bzbarsky%mit.edu
e4f86cf527
Remove nsIViewManager::GetWidgetForView; move callers over to
...
nsIView::GetNearestWidget. Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
f1f89a9129
Backing out 233441.
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e508d2a0ad
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
gerv%gerv.net
aa835b77c5
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
93ceed6057
Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
1ab1631b6e
Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman
2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu
ae52c1ef20
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
dbaron%dbaron.org
d78e8a45b5
Back out bug 20022. a=chofmann
2004-02-14 20:29:19 +00:00
dbaron%dbaron.org
b506c7e4d8
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu
1bbbe00322
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
dee7054683
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
6b4b5847ef
Make first method inline to try to fix egcs bustage. b=109772
2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
a2c6a75e31
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
a2c8dc1fad
This should be #ifdef DEBUG.
...
r+sr=dbaron
2004-01-20 22:15:38 +00:00
uid502
512587f8ca
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
6bed557bd4
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
dbaron%dbaron.org
f61c45ed1a
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
2003-07-22 18:38:08 +00:00
roc+%cs.cmu.edu
55c04f87d7
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
bryner%netscape.com
a4565876ab
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
seawood%netscape.com
8f112a4226
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
bryner%netscape.com
4e18cb33f7
Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
2003-04-21 23:01:36 +00:00
roc+%cs.cmu.edu
1304af9cbc
Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst
2003-04-15 13:40:46 +00:00
roc+%cs.cmu.edu
d48c2c89f7
Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
f295b9b118
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
2003-03-12 03:22:11 +00:00
aaronl%netscape.com
c616086a0c
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
e48869f9a2
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
035d850bf9
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
176fd20954
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
roc+%cs.cmu.edu
93e5b50e9f
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
f5a2455464
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
roc+%cs.cmu.edu
beff719ea7
Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
2002-08-30 03:32:05 +00:00
mjudge%netscape.com
225499c46a
4302. left this out of checking. fixing bustage
2002-08-26 21:46:13 +00:00
seawood%netscape.com
97fd6e4aed
Removing unused defines:
...
_IMPL_NS_BASE (bug #162142 )
_IMPL_NS_GFXONXP (bug #162145 )
_IMPL_NS_UI (bug #162183 )
B_ONE_M (bug #162196 )
XP_NEW_SELECTION (bug #162230 )
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
aaronl%netscape.com
526ac11f6a
Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst
2002-08-10 08:03:53 +00:00
seawood%netscape.com
8ae6c40f5d
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
kmcclusk%netscape.com
353410cea2
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
e89c78b98a
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
a84a43a1c8
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
dbaron%fas.harvard.edu
2bf216c9e2
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
rods%netscape.com
073485a97b
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
2002-04-05 12:13:23 +00:00
rods%netscape.com
6bdd9485c2
Add SetVisibility method to Scroll Views
...
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
18ecdfc4e9
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00
aaronl%netscape.com
c3d31ba6a2
Bug 120176. Active Accessibility: tweaks to STATE_OFFSCREEN. r=kmcclusk, sr=waterson
2002-01-16 03:07:03 +00:00
rods%netscape.com
f933be4ae0
Getting rid of event processor, it is no longer needed and will fix this problem
...
109566 r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
seawood%netscape.com
874c54280c
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
roc+%cs.cmu.edu
544c375270
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
563ec66cf4
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
38a0f22173
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
roc+%cs.cmu.edu
06d956a0b3
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
rods%netscape.com
760f64245a
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
bryner%netscape.com
c3d6f78b18
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
roc+%cs.cmu.edu
a91280e360
Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi
2001-10-23 01:37:29 +00:00
aaronl%netscape.com
f917df3955
Bug 102192. Active Accessibility: Support STATE_OFFSCREEN for accessible objects. r=kmcclusk, sr=waterson
2001-10-03 00:18:48 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
alecf%netscape.com
e5cc5abd22
Add REQUIRES to many modules for win32 support, bug 98372 r=cls
2001-09-12 20:32:40 +00:00
dbaron%fas.harvard.edu
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
kmcclusk%netscape.com
3f6fa664d9
Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com.
2001-06-29 04:01:26 +00:00
roc+%cs.cmu.edu
2673dd6ef6
Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu
e14a792475
Backing myself out ... IDIOT.
2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu
46be0f5f02
Adding view manager API for specifying background color for the document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
2001-04-23 18:14:46 +00:00
kmcclusk%netscape.com
f3b73154d2
Invalidate only the newly exposed region when the container frame size changes vertically b=19256; sr=attinasi@netscape.com r=roc+moz@cs.cmu.edu
2001-03-30 05:17:07 +00:00
kmcclusk%netscape.com
81862e3601
Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com
2001-02-01 06:00:02 +00:00
rods%netscape.com
9c6f7ccade
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
kmcclusk%netscape.com
00f44bbe67
Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com
2001-01-20 04:59:39 +00:00
kmcclusk%netscape.com
8d64023edc
Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com
2000-10-17 05:03:45 +00:00
kmcclusk%netscape.com
3c200a5ad8
Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com
2000-09-26 05:04:53 +00:00
roc+%cs.cmu.edu
d854e17240
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
00ad136b80
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
cls%seawood.org
33938e6100
Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
2000-07-02 18:44:42 +00:00
evaughan%netscape.com
4ab93afb2e
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
joki%netscape.com
b2e873d830
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
troy%netscape.com
8b0eb04e08
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
96f16854ec
backing out troy's changes to fix various ui not working blocker bugs.
2000-04-24 22:05:39 +00:00
troy%netscape.com
73fc3dde30
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com
fb31d1a466
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
36425cfe40
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
kmcclusk%netscape.com
4fcfd42b15
Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com
2000-03-23 23:49:18 +00:00
dbaron%fas.harvard.edu
fd5dc605d2
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.
2000-03-22 02:43:08 +00:00
kmcclusk%netscape.com
4d12d19a42
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
2000-02-09 15:48:01 +00:00
beard%netscape.com
1e3fbe74f7
added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint().
2000-02-02 00:58:22 +00:00
kmcclusk%netscape.com
06e11f665b
Added missing nsIViewManager methods to nsViewManager2.h and nsViewManger2.cpp.
...
bug=22069; r=attinasi@netscape.com
2000-01-27 02:23:34 +00:00
kmcclusk%netscape.com
dc23d344e1
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
2000-01-26 23:04:40 +00:00
beard%netscape.com
84cbca2516
floating views. bug=21966, r=troy, rods, a=brendan
2000-01-25 01:53:34 +00:00
rods%netscape.com
ccd12d79ec
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
981b300078
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*.
1999-11-24 06:03:10 +00:00
beard%netscape.com
54792d43d1
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kin%netscape.com
2c6c5d65d1
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
1999-10-15 04:29:30 +00:00
evaughan%netscape.com
dd8734ed83
Integrated Gfx scrollbars.
1999-10-12 00:16:06 +00:00
beard%netscape.com
470c87ef61
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
b7379dd39c
bug #6251 : added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. a=leaf, r=troy
1999-09-23 23:26:47 +00:00
joki%netscape.com
f3b8c1d1a2
Add new scroll method to allow scrolling to top or bottom of doc.
1999-09-21 14:15:53 +00:00
beard%netscape.com
6bb85f6f32
bug #6251 : added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager.
1999-09-19 00:51:41 +00:00
beard%netscape.com
c86d588ad3
nsIScrollPositionListener support.
1999-09-18 04:42:11 +00:00
beard%netscape.com
09f6f6f97b
Added nsIScrollPositionListener.h
1999-09-18 04:39:03 +00:00
beard%netscape.com
012a57794d
First Checked In.
1999-09-18 04:34:49 +00:00
beard%netscape.com
6c8a1fae2a
switched to NS_DEFINE_STATIC_IID_ACCESSOR
1999-09-13 03:04:17 +00:00
beard%netscape.com
798ac3c3f0
switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations.
1999-09-13 03:03:42 +00:00
briano%netscape.com
64f859af0e
Cleaned it up and eliminated the pointless #!gmake.
1999-09-02 00:30:07 +00:00
cyeh%netscape.com
df37c0fb33
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 01:24:51 +00:00
beard%netscape.com
102254690f
Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR.
1999-08-28 03:01:32 +00:00
rods%netscape.com
d222c86771
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
warren%netscape.com
6fc20cbcd6
More necko changes.
1999-06-25 01:53:22 +00:00
buster%netscape.com
f77050318c
added GetIID static methods to public interfaces. Code-reviewed by Kevin M.
1999-06-24 22:40:53 +00:00
kin%netscape.com
5548735176
Added implementation of BeginUpdateViewBatch() and
...
EndUpdateViewBatch() to nsIViewManager and nsViewManager.
1999-05-26 21:13:06 +00:00
evaughan%netscape.com
2b76d2dc93
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
troy%netscape.com
6de54225e5
Removed #define ALL_VIEW_FLAGS which is no longer used
1999-04-24 22:58:14 +00:00
troy%netscape.com
c1987aeb49
Added function GetClipView()
1999-04-24 02:52:58 +00:00
troy%netscape.com
d279c12ec4
Made a bunch of nsIView member functions "const"
1999-04-23 17:44:48 +00:00
troy%netscape.com
2acb6b4e38
Changed a comment a little
1999-04-21 21:22:22 +00:00
troy%netscape.com
be7c4f5b18
Added NS_VIEW_FLAG_DONT_BITBLT flag
1999-04-21 21:08:27 +00:00
michaelp%netscape.com
710117681b
a parting shot.
1999-04-16 21:22:45 +00:00
michaelp%netscape.com
8a29649a56
added GetExtents().
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
bda045ca40
cleaned up view flags stuff.
1999-04-16 04:23:43 +00:00
michaelp%netscape.com
3999fe2688
added Set/GetLineHeight().
1999-03-20 01:25:37 +00:00
michaelp%netscape.com
59c8f9b691
added APIs for scrolling by page or line.
1999-03-20 00:11:35 +00:00
michaelp%netscape.com
a536bf85ef
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.
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
d59a66c386
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
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
joki%netscape.com
efafc46414
Fix for frames not resizing.
1999-03-03 01:59:50 +00:00
michaelp%netscape.com
abc0a250c7
added unknown content quality. fixed potential crash because of bug in timer
...
code. now uses rootscrollable for all scrollable view notifications.
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
fd60616dc3
added Get/SetScrollableRoot() to nsIViewManager. fixed bug where maximizing
...
window would cause junk to be shown below/to the right of the real content
if the document was scrolled towards bottom/right. fixed flashing scrollbar
problem. made quality control work again.
1999-02-16 00:57:06 +00:00
troy%netscape.com
0068780d65
Added GetScrollbarVisibility()
1999-02-03 04:25:31 +00:00
michaelp%netscape.com
e9df6a8f2c
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
66e96113d0
Modifying view event flow to always start processing from top view, not enter at children
1999-02-01 22:45:59 +00:00
troy%netscape.com
e3646613dc
Added additional parameter to Display() for specifying which view
...
should be displayed
1998-12-07 03:44:57 +00:00
ramiro%netscape.com
2009b728de
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
cyeh%netscape.com
e9d3c67427
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
michaelp%netscape.com
d7d8293d07
changes to support printing.
1998-11-14 01:58:34 +00:00
michaelp%netscape.com
6f7deed7e4
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
a5066c14af
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
cls%seawood.org
609f087498
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
michaelp%netscape.com
e0c8e417a5
fleshed out view manager view clip setting and view depth arrangement methods.
1998-10-27 20:16:09 +00:00
michaelp%netscape.com
59a621f4b3
removed zindex from nsIView::Init().
1998-10-27 03:36:49 +00:00
troy%netscape.com
13b406d986
Added ability to control the insets used when positioning the scrollbars and
...
clip view
1998-10-21 16:07:55 +00:00
troy%netscape.com
0e83a1ba39
Added GetScrollPosition, removed some XXX comments that I should have
...
removed before checking in, and added some more documentation
1998-10-19 16:57:27 +00:00
troy%netscape.com
f5ed70ca69
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
0ede4514df
Removed NS_VMREFRESH_SCREEN_RECT update option
1998-10-15 20:57:43 +00:00
troy%netscape.com
f4f34febf4
Changed GetWindowOffsets() to specify the view to check rather than assuming
...
the root view. This fixes scrolling problems when scrolling views are used
as a sub-view
1998-10-15 05:27:00 +00:00
troy%netscape.com
cb1f553721
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
0a0da13d2b
two pass compositing now works.
1998-10-11 01:00:59 +00:00
troy%netscape.com
715766b02f
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com
a72700df68
Changed nsIViewManager interface to conform to XPCOM conventions
1998-08-28 04:56:56 +00:00
michaelp%netscape.com
f1fba56cbb
changes to support viewobserver and troy's spankage of the device context.
1998-08-28 03:05:23 +00:00
michaelp%netscape.com
eab3862f9e
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
joki%netscape.com
a3d9156246
Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
1998-08-19 05:35:20 +00:00
troy%netscape.com
4b212c0467
Change to object lifetime management. Views are no longer ref counted
1998-08-08 04:23:33 +00:00
michaelp%netscape.com
44636707c4
documented GetClipView() API.
1998-07-27 21:30:14 +00:00
michaelp%netscape.com
c35d9371ee
form elements, etc. (i.e. sub widgets) now scroll smoothly.
1998-07-26 04:24:42 +00:00
michaelp%netscape.com
1e09120c96
re-added optimization with the ability to use it anywhere by setting the
...
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
8fd323a89b
added APIs to viewmanager to enable and disable all rendering.
...
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
kipp%netscape.com
c549a5d441
Added ScrollTo method
1998-07-22 23:39:23 +00:00
michaelp
f660a2b2b2
when a view is the root, it's position will now always be 0, 0.
1998-07-07 21:51:57 +00:00
michaelp
e183f05efb
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
7dda210d32
added ability to set behavior of scrollbars in scrollable views.
1998-06-23 00:53:56 +00:00
michaelp
2a932c4016
added content quality indicator.
1998-06-21 01:23:44 +00:00
atotic
fcb81f3583
First Checked In.
1998-06-16 21:39:13 +00:00
michaelp
fe978c2d9d
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
ab13cdae91
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
michaelp
62938843da
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
michaelp
d039ec90ae
added support of irregular damage regions to viewmanager.
1998-06-03 03:12:52 +00:00
troy
c6bc27af0c
Made damage rect passed to UpdateView() be a const
1998-06-02 05:26:42 +00:00
karnaze
f65a3e4e87
event improvements
1998-05-29 22:44:13 +00:00
michaelp
d380754776
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
kipp
73176fdcbe
Including missing nsCoord
1998-05-22 20:11:42 +00:00