654 Commits

Author SHA1 Message Date
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
uid502
6b34cca104 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
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +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
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
roc+%cs.cmu.edu
b061cab94c Bug 194638. *Always* request invalidation of child widgets when we resize a widget. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@146170 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 19:58:39 +00:00
cls%seawood.org
6352367a62 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
roc+%cs.cmu.edu
a84edff323 Bug 213303. Allow events to be sent to views which are totally clipped out. r+sr=dbaron,a=brendan. Patch by nielsen@memberwebs.com.
git-svn-id: svn://10.0.0.236/trunk@145921 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 15:56:11 +00:00
roc+%cs.cmu.edu
d958cbdb7e Bug 215159. Fix memory leak in nsViewManager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145640 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 01:42:14 +00:00
dbaron%dbaron.org
20a7c5ebb1 Remove unused content quality stubs. b=111346 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +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
bryner%netscape.com
d04c652303 Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@144362 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 22:46:55 +00:00
roc+%cs.cmu.edu
db7353a4a3 Trivial fix for uninitialized variable. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144178 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 01:49:34 +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
bryner%netscape.com
112e4e9f44 Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +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
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
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