632 Commits

Author SHA1 Message Date
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
seawood%netscape.com
fd152f541a Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner


git-svn-id: svn://10.0.0.236/trunk@141327 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 19:19:42 +00:00
timeless%mozdev.org
e5d9b8f8b4 Bug 201596 nsScrollPortView::ScrollTo could trigger a crash if new PRInt32[SMOOTH_SCROLL_FRAMES*2]; failed
r=roc+moz sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141264 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 21:32:31 +00:00
roc+%cs.cmu.edu
97549634ee 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
git-svn-id: svn://10.0.0.236/trunk@141176 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 13:40:46 +00:00
bryner%netscape.com
7f6ea424ca nsViewFactory.cpp is dead now that view is in gklayout. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@141024 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 08:30:00 +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
roc+%cs.cmu.edu
941938fa81 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140747 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 11:41:19 +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
a70c7ce7b7 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@140133 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 05:29:45 +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
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
roc+%cs.cmu.edu
071d5592f4 Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +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
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
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
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
sfraser%netscape.com
0e67cebec5 Fix bug 117990: change CornerView::Paint() to lo longer to a CreateInstance of an nsILookAndFeel for every paint. r=peterl, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@136459 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 00:14:35 +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
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