604 Commits

Author SHA1 Message Date
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
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +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
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
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
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
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
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +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
mjudge%netscape.com
a03311b9c2 4302. left this out of checking. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@128170 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:46:13 +00:00
seawood%netscape.com
823af36499 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.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +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
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +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
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +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
dbaron%fas.harvard.edu
7e821aaa94 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
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +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
roc+%cs.cmu.edu
eb9ced023d Bug 148350. Fix the gcc optimizer workaround. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123124 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:18:10 +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
c4d9baabad Bug 148350. Tweak code to avoid bug in gcc 2.95.3 with -O2. r=roc+moz,sr=jag
git-svn-id: svn://10.0.0.236/trunk@122648 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:55:04 +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
roc+%cs.cmu.edu
d6109426ba Bug 136441. Don't let floating views get clipped by non-floating parents. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122308 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 01:42:41 +00:00
hwaara%chello.se
7b05d20c66 #138852, removing last living parts of viewmanager2.
r=kmcclusk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119621 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:53:44 +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
pinkerton%netscape.com
f4f43a5220 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764
git-svn-id: svn://10.0.0.236/trunk@118853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
d5af536078 Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw
git-svn-id: svn://10.0.0.236/trunk@118852 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:43:32 +00:00