roc+%cs.cmu.edu
ae0c6e3548
Bug 201442. Fix regression by making nsViewManager::Refresh() properly take into account views which have content extending above or to the left of their origin, and which have widgets. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142400 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 00:40:17 +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
roc+%cs.cmu.edu
c43b1f1f74
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140762 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 02:49:40 +00:00
bryner%netscape.com
30ea96f3f3
Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@140436 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-29 23:31:20 +00:00
sspitzer%netscape.com
af7e2ecd61
fix for blocker bug #199159
...
chrome not repainting, off by one errors in painting.
a rounding problem in ConvertNativeRegionToAppRegion()
thanks to roc for the fix. rs=sspitzer, a=loanpham
git-svn-id: svn://10.0.0.236/trunk@140354 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 19:02:12 +00:00
roc+%cs.cmu.edu
afa76d3c3c
Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@140208 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 03:07:33 +00:00
roc+%cs.cmu.edu
e5bc645b4f
Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@140207 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:58:10 +00:00
darin%netscape.com
418b92e9d5
backing out roc+%cs.cmu.edu check-in for bug 113232
...
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
4afc0e3336
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140131 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:54:48 +00:00
bryner%netscape.com
55da91d2cb
Remove unused nsViewManager::mLastRefresh (bug 194554). r=roc, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@138263 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 03:41:23 +00:00
roc+%cs.cmu.edu
172d4f6301
Bug 180502. Never reorder views by z-index; just keep the document order. r=kmcclusk,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@138236 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:08:12 +00:00
roc+%cs.cmu.edu
a71edf87de
Bug 182107. Don't let negative z-index views mess up document ordering. r=kmcclusk,sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@137780 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:27:58 +00:00
locka%iol.ie
4b62a867c3
Fix mouse exit so it goes to the targetted view rather than the view the mouse may or may not be over as it leaves the main widget. b=144880 r=ccarlen@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@137474 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 12:50:35 +00:00
dbaron%dbaron.org
c5a6b17522
Prevent clicking on a tooltip from freezing the UI by ensuring that hidden views can't capture mouse events. b=156764 r=roc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@137441 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 23:10:31 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
caillon%returnzero.com
360f61e8a1
184257 - Updating pref callers. r=timeless sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@135983 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 08:40:41 +00:00
roc+%cs.cmu.edu
55be3c1d27
Backing out fix for bug 170330... againr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
b997358c68
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
...
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
fbcd1c38c6
Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@135537 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 02:51:14 +00:00
roc+%cs.cmu.edu
4d55566a79
Backing out fix for bug 170330 due to Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
30ffe3fbf2
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134861 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:29:08 +00:00
jkeiser%netscape.com
0f735a6172
Make hidden iframes and other widgets not display sub-widgets (bug 139805), r=roc+moz@cs.cmu.edu, sr=dbaron@fas.harvard.edu, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@132249 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 19:17:35 +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
2a762b92df
Bug 153679. r=gisburn,sr=kin. Remove bogus assertion; it's OK to have no widget sometimes during scrolling or invalidation.
...
git-svn-id: svn://10.0.0.236/trunk@131391 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:18:05 +00:00
roc+%cs.cmu.edu
897f622cd0
Fixing bustage, checked in a bit of another patch, sorry. sr=me
...
git-svn-id: svn://10.0.0.236/trunk@130793 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 12:41:11 +00:00
roc+%cs.cmu.edu
e25496d35f
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
cbiesinger%web.de
3146b4d8ed
bug 169483 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls/roc+moz sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130237 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 12:10:28 +00:00
alecf%netscape.com
0a6fd820f0
re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
...
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
git-svn-id: svn://10.0.0.236/trunk@129778 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 04:49:28 +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
alecf%netscape.com
47f453908d
backing out my fix to 166147 to see if it fixes orange
...
git-svn-id: svn://10.0.0.236/trunk@129761 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 23:48:12 +00:00
alecf%netscape.com
704b2afb26
fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
...
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@129749 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 20:59:52 +00:00
kmcclusk%netscape.com
dbf189662a
reparent the view's descendant widgets when a view is re-inserted into a new view hierarchy position by paginated reflow. b=129034 r=roc+moz sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@129299 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:59:15 +00:00
roc+%cs.cmu.edu
9391d161f9
Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@129217 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:33:43 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
4f2eb464ee
Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128736 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
f57491a922
Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128729 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:36:28 +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
aaronl%netscape.com
2f2ceac598
Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@126977 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:03:53 +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
bzbarsky%mit.edu
99b0c67ba5
Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
...
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc
git-svn-id: svn://10.0.0.236/trunk@126424 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 03:27:05 +00:00
rginda%netscape.com
42f6f7246b
bug 155328, r=bz, sr=jst
...
fix uninitialized return value in nsViewManager::Init
git-svn-id: svn://10.0.0.236/trunk@125905 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:09:06 +00:00
rginda%netscape.com
133a2f6ef8
bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
...
sr=jst, r=roc+mozilla@cs.cmu.edu , a=asa
make sure we always post new invalidate events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.
git-svn-id: svn://10.0.0.236/trunk@125843 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:31:56 +00:00
kmcclusk%netscape.com
a1abaaf6e3
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@124486 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
0c52be1f09
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
...
git-svn-id: svn://10.0.0.236/trunk@124472 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
16fa19c5d5
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@124460 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 02:53:35 +00:00
roc+%cs.cmu.edu
f300916895
Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
...
git-svn-id: svn://10.0.0.236/trunk@123126 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:22:35 +00:00
kmcclusk%netscape.com
eb567220f1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
6be84e28ca
Bug 142461. Turn off annoying debug messages. r=kmcclusk,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122645 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:48:04 +00:00
roc+%cs.cmu.edu
03697b0f3a
Bug 141900. Ensure that SetViewChildClip respects nsIClipView clipping. r=kmcclusk,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122311 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 01:59:57 +00:00
joki%netscape.com
34048fc38a
Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst
...
git-svn-id: svn://10.0.0.236/trunk@118961 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:45:04 +00:00