roc+%cs.cmu.edu
80ebc8eca4
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
...
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
roc+%cs.cmu.edu
19c46ac733
Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu
8489f8d24b
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
git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
timeless%mozdev.org
8bbaa8a03e
Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@166001 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:04:17 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
067c70d127
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
18c53f2f32
Bug 267302 Views should be created by the view manager r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
f53f98f7f3
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
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
cbb6297ddd
Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164828 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:37:21 +00:00
roc+%cs.cmu.edu
5376e448a8
Bug 265983. GTK1 needs GetNativeData(NS_NATIVE_WIDGET) to be passed as the native parent, not NS_NATIVE_WINDOW. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164667 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 12:57:46 +00:00
bzbarsky%mit.edu
3a053f56de
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
git-svn-id: svn://10.0.0.236/trunk@164628 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 20:47:25 +00:00
roc+%cs.cmu.edu
a5b948fd1a
Bug 264245. Make all popups have no nsIWidget parent to avoid the hassles of various widget implementations not keeping their position consistent with their parent. Also, aggressively invalidate cached screen coordinates in GTK1 to avoid bugs. r=bzbarsky,sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@164150 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-21 18:35:35 +00:00
dbaron%dbaron.org
4788c0f03d
Remove unneeded dependency on layout. b=227361 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu
8ff367d401
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
cbiesinger%web.de
7e24ddb14b
bug 259803 get views using GetInterface from a widget's client data, rather than
...
by queryinterface, r=pinkerton sr=roc
git-svn-id: svn://10.0.0.236/trunk@162549 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:51:31 +00:00
cbiesinger%web.de
49a0c9fc4b
Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
cbiesinger%web.de
47104955d7
fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161770 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 21:30:18 +00:00
cbiesinger%web.de
aebea73882
fixing gcc 3.4 bustage (removing extra semicolon)
...
git-svn-id: svn://10.0.0.236/trunk@161760 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 17:20:00 +00:00
cbiesinger%web.de
0be99300a4
Bug 250342 Views should not inherit from nsISupports
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
92e59ef827
Backing out 233441.
...
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
gerv%gerv.net
8419e1650f
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
8a8e4a6529
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
...
git-svn-id: svn://10.0.0.236/trunk@153854 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 00:32:01 +00:00
bryner%brianryner.com
e6a225b469
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
roc+%cs.cmu.edu
83d80aee52
Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
...
git-svn-id: svn://10.0.0.236/trunk@152103 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 23:52:39 +00:00
roc+%cs.cmu.edu
0456e20a91
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
dbaron%dbaron.org
85465588e0
Miscellaneous cleanup. b=232393 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@151995 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 00:04:58 +00:00
caillon%returnzero.com
6ca68157ac
This should be #ifdef DEBUG.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151601 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 22:15:38 +00:00
roc+%cs.cmu.edu
986d8acdaa
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
uid502
e9d6a45b46
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
timeless%mozdev.org
8b3ba53ac7
Bug 218832 [W] UMR: Uninitialized memory read in nsView::ConvertToParentCoords(int *,int *)const
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@146717 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 02:44:40 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
62a66263bd
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144428 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 13:05:57 +00:00
roc+%cs.cmu.edu
b023404ef9
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
...
git-svn-id: svn://10.0.0.236/trunk@144076 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:00:46 +00:00
timeless%mozdev.org
cf328850eb
Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect
...
r=roc+moz sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@142845 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:00:34 +00:00
kmcclusk%netscape.com
8b1080a18b
Backing out my changes for bug 14190 to see if the Tp: and Ts: numbers on MacOSX go back down.
...
git-svn-id: svn://10.0.0.236/trunk@142746 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 04:59:30 +00:00
kmcclusk%netscape.com
9420e2a859
defer showing/hiding widgets when view manager is batching updates to suppress invalidates bug=141901 a=asa r=roc+moz sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@142741 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 03:19:44 +00:00
bryner%netscape.com
6d58bc1d0d
Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@141538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:01:36 +00:00
aaronl%netscape.com
c9374cc75d
Bug 196308. Flashing/flickering display. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139285 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 19:27:30 +00:00
aaronl%netscape.com
60b1c05bf1
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
ere%atp.fi
453188e7c7
Bug 195955, removal of unneeded code and indentation cleanup.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@138954 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 14:32:07 +00:00
roc+%cs.cmu.edu
783927d526
Bug 190311. Make nsImageGTK UpdateGC() when it needs to change the clip rect; make it set the correct clip rect. In the view system, make sure VIEW_CLIPPED is set only when needed.
...
git-svn-id: svn://10.0.0.236/trunk@138411 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 02:38:38 +00:00
roc+%cs.cmu.edu
209c3030a8
Bug 178519. Move mouse capture to parent view if the capturing view goes away. r=kmcclusk,sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138260 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:53:15 +00:00
roc+%cs.cmu.edu
8293c257e0
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
...
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
roc+%cs.cmu.edu
631a6c40fc
Bug 170011. Revert behavior of 'overflow:hidden' to only affect children for the current element is a containing block ancestor. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@133541 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 18:24:31 +00:00
roc+%cs.cmu.edu
255f58cd6b
Bug 171334. r=kmcclusk,sr=kin,a=asa. Fix views crasher by eliminating content-parenting nesting assumptions.
...
git-svn-id: svn://10.0.0.236/trunk@131752 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 01:23:13 +00:00
roc+%cs.cmu.edu
e5211852f5
Bug 168294. Make sure all types of clipping are applied using the zParent view chain. r=kmcclusk,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@129776 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 04:16:25 +00:00
roc+%cs.cmu.edu
45a8f7c62d
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
...
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
roc+%cs.cmu.edu
60be9caaa2
Bug 159587. Force view manager to invalidate necessary areas when clipping is changed. r=kmcclusk,sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@126716 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 01:03:57 +00:00