Commit Graph

971 Commits

Author SHA1 Message Date
dbaron%dbaron.org
a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
cbiesinger%web.de
d0ebb5abbb fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron 2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
cbiesinger%web.de
db70e63d2a fixing gcc 3.4 bustage (removing extra semicolon) 2004-09-04 17:20:00 +00:00
cbiesinger%web.de
6fef9f4542 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
a8ded9cfe0 Bug 257920 remove unused nsIClipView
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu
9db74478da Bug 228780. Fix unused variable warning. r=roc,sr=dbaron, patch by Serge GAUTHERIE 2004-08-28 02:22:06 +00:00
timeless%mozdev.org
1ac8922512 Bug 256610 Crash [ @ nsViewManager::GetMouseEventGrabber]
patch by cst@andrew.cmu.edu r=roc sr=roc
2004-08-23 19:01:39 +00:00
bzbarsky%mit.edu
07823d3576 Comment-only spelling fix. a=asa 2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu
2af6719b3b Stop building up the opaque region if it gets too complicated. Bug 253001,
r+sr=roc
2004-08-11 05:12:43 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
0209021a61 Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com
4f93f80916 Bug 249810 - Add calls to PL_FreeArenaPool() so Arena memory ends up on the
global Arena free list.  This is good because these arenas get created and
destroyed quickly. r+sr=roc
2004-07-16 14:44:10 +00:00
jim_nance%yahoo.com
dcbad2f2c7 Backing out last change. I didn't realize the tree was frozen 2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com
54f16435e1 Fix bug 152596 - Add calls to PR_FreeArenaPool() before PR_FinishArenaPool()
so that memory is added to the global free lists.  r+sr=roc
2004-07-09 03:32:56 +00:00
jim_nance%yahoo.com
d2b1ccdb0e Fix but 249923
- Remove hashtable from nsViewManager.  It is now created on the stack when
  it is needed.
- Remove DestroyZTreeNode().  It only removes things from the above hashtable
  and that is going to be destroyed shortly after the call.
2004-07-06 02:09:47 +00:00
roc+%cs.cmu.edu
9810e28c13 Remove nsIScrollingView::Get/SetControlInsets, since it's unused. 2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com
ca43aba85d Attempt 2 at fixing build problem. 2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com
6313e9a526 Attempt to fix Firefox build bustage resulting from my last checkin. 2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com
13e266d6bb Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc 2004-07-05 13:10:25 +00:00
dbaron%dbaron.org
1ffc2715f2 Fix coordinate transformations used for computing mMouseLocation so they're relative to the root view rather than the end of the parent chain (which differ for, e.g., frames). Add some debugging code (turned off). b=248606 r+sr=roc 2004-06-25 19:02:37 +00:00
dbaron%dbaron.org
9320816bd2 Don't treat mouse exit and enter events as user events for purposes of content sink frequency tuning, since they're often caused by widget creation/destruction, and if the user moves the mouse we'll get real mousemove events. I'm hoping this will smooth pageload times. b=248226 r+sr=bryner 2004-06-23 17:31:29 +00:00
dbaron%dbaron.org
cefa77d7c2 Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner 2004-06-22 22:30:18 +00:00
dbaron%dbaron.org
60b7e73a8f Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc 2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu
50d0ec0813 Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron 2004-05-31 20:01:58 +00:00
bzbarsky%mit.edu
f8f45bc910 Making desperate attempt to reland with a couple crash-proofing changes. Bug
243724, r+sr=roc
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu
59427ab6f1 Backing out to try and fix mac orange. Bug 243724 2004-05-22 20:04:59 +00:00
roc+%cs.cmu.edu
e201d37957 Bug 243757. Handle cases where this view manager's root view is not an ancestor of the view grabbing the mouse. r+sr=bzbarsky 2004-05-22 19:55:01 +00:00
bzbarsky%mit.edu
6f4d4e2b46 deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
on a previous-but-similar iteration of the patch).
2004-05-22 16:47:13 +00:00
roc+%cs.cmu.edu
6b2b823cb6 Bug 243757. Complete propagation of mouse event grabbing to root view manager. r+sr=bzbarsky 2004-05-22 14:03:13 +00:00
bzbarsky%mit.edu
8915435c7a Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
8af971a2bb Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document. 2004-05-13 15:39:12 +00:00
roc+%cs.cmu.edu
6b829eb468 Fix bustage. 2004-05-06 03:57:05 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
tor%cs.brown.edu
868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
tor%cs.brown.edu
83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
0c84e1a312 Bug 240457. Kill bad view manager assertion. r+sr=dbaron 2004-04-14 03:05:50 +00:00
roc+%cs.cmu.edu
1ec2c3be37 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron 2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
0f29a26897 Bug 235897. hidden widgets don't count as part of the opque region. r+sr=dbaron,a=mkaply 2004-04-07 15:22:19 +00:00
roc+%cs.cmu.edu
dddea47d2b Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman 2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu
0e5a4236d4 Bug 237426. Set clip rect *after* we've saved the old rect. r+sr=dbaron,a=asa 2004-03-24 02:21:19 +00:00
roc+%cs.cmu.edu
52524f9a8d 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 2004-03-11 00:32:01 +00:00
roc+%cs.cmu.edu
0215af09b3 Fixing bustage 2004-02-20 05:26:57 +00:00
roc+%cs.cmu.edu
75669ccbba Bug 228861. Ensure that CLIP and FILTER display list instructions are added even if they appear to be outside the dirty area. Content may be reparented under them that does intersect the dirty area and is affected by the display list instructions. r+sr=dbaron 2004-02-20 04:41:06 +00:00
roc+%cs.cmu.edu
089f8b1cf0 Bug 232780. Fix aX/aY parameters in nsViewManager::CreateDisplayList. r+sr=dbaron 2004-02-20 04:34:32 +00:00
roc+%cs.cmu.edu
d8c43bbecb Bug 232951. Make scrolling of scrolling-views-without-widgets work properly even when there are child widgets. r+sr=dbaron 2004-02-20 04:31:20 +00:00
roc+%cs.cmu.edu
1fe2384bf5 Bug 228441. -moz-opacity doesn't work on the Mac; fix it by forcing double buffering when translucent elements are being displayed. r+sr=dbaron 2004-02-20 02:11:25 +00:00
dbaron%dbaron.org
d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
bryner%brianryner.com
433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
573ac762f1 Fix for loop scoping bustage. 2004-02-04 00:46:14 +00:00
dbaron%dbaron.org
821786cb64 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner 2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu
250384aa43 Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions. 2004-01-30 23:52:39 +00:00
dbaron%dbaron.org
9bd2de4eb0 Add hack to make egcs happy with NS_DEFINE_STATIC_IID_ACCESSOR on class with methods that are neither pure virtual nor inline. Fixing bustage. b=109772 2004-01-30 20:02:42 +00:00
dbaron%dbaron.org
4f388081f5 Make first method inline to try to fix egcs bustage. b=109772 2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
ee86ab45fb Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
dbaron%dbaron.org
80333512b4 Miscellaneous cleanup. b=232393 r+sr=roc 2004-01-29 00:04:58 +00:00
caillon%returnzero.com
6dddc5e4e1 This should be #ifdef DEBUG.
r+sr=dbaron
2004-01-20 22:15:38 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
c16dc4600a Back out the change from bug 230118 since bug 228378 makes it unnecessary. 2004-01-10 19:14:31 +00:00
roc+%cs.cmu.edu
bb7eb1cf4f Bug 229583. initialize line height in scrolling views. patch by Asko Tontti. r+sr=roc 2004-01-10 16:21:45 +00:00
roc+%cs.cmu.edu
9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
dbaron%dbaron.org
8c1a626840 Comply with the C++ standard's (silly?) rule that converting an rvalue to a const reference requires that the copy constructor be accessible. b=230118 r=bbaetz sr=roc 2004-01-08 21:06:19 +00:00
dbaron%dbaron.org
fa116f2651 Don't make clip view optimizations when the clip view contains Z placeholders. b=225811 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron a=asa 2003-12-17 21:05:37 +00:00
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502
7eecd9a0ef 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 2003-10-11 12:00:05 +00:00
uid502
1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org
cf96db37ec Bug 218832 [W] UMR: Uninitialized memory read in nsView::ConvertToParentCoords(int *,int *)const
r=roc sr=roc
2003-09-11 02:44:40 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
roc+%cs.cmu.edu
3338bdd79f Bug 194638. *Always* request invalidation of child widgets when we resize a widget. r+sr+a=dbaron 2003-08-18 19:58:39 +00:00
cls%seawood.org
1b51ba858c 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. 2003-08-16 00:42:35 +00:00
roc+%cs.cmu.edu
d3b3ea1871 Bug 213303. Allow events to be sent to views which are totally clipped out. r+sr=dbaron,a=brendan. Patch by nielsen@memberwebs.com. 2003-08-12 15:56:11 +00:00
roc+%cs.cmu.edu
61eaa5b203 Bug 215159. Fix memory leak in nsViewManager. r+sr=dbaron 2003-08-06 01:42:14 +00:00
dbaron%dbaron.org
47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
e18f8e858d Ongoing deCOMtamination. r+sr=dbaron 2003-07-03 13:05:57 +00:00
bryner%netscape.com
dfd3c1dd7a 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.
2003-07-01 22:46:55 +00:00
roc+%cs.cmu.edu
16c63f02f7 Trivial fix for uninitialized variable. r+sr=dbaron 2003-06-26 01:49:34 +00:00
roc+%cs.cmu.edu
f0865cf16e 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 2003-06-24 01:00:46 +00:00
bryner%netscape.com
29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
timeless%mozdev.org
82da623af2 Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect
r=roc+moz sr=roc+moz
2003-05-23 22:00:34 +00:00
kmcclusk%netscape.com
ad7db364f5 Backing out my changes for bug 14190 to see if the Tp: and Ts: numbers on MacOSX go back down. 2003-05-22 04:59:30 +00:00
kmcclusk%netscape.com
d83516f4d1 defer showing/hiding widgets when view manager is batching updates to suppress invalidates bug=141901 a=asa r=roc+moz sr=kin 2003-05-22 03:19:44 +00:00
roc+%cs.cmu.edu
e6ed18491d 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 2003-05-14 00:40:17 +00:00
bryner%netscape.com
b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
seawood%netscape.com
fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
timeless%mozdev.org
c42a4e9745 Bug 201596 nsScrollPortView::ScrollTo could trigger a crash if new PRInt32[SMOOTH_SCROLL_FRAMES*2]; failed
r=roc+moz sr=roc+moz
2003-04-16 21:32:31 +00:00
roc+%cs.cmu.edu
de942543e3 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 2003-04-15 13:40:46 +00:00
bryner%netscape.com
af9740e71b nsViewFactory.cpp is dead now that view is in gklayout. Not part of the build. 2003-04-11 08:30:00 +00:00
roc+%cs.cmu.edu
d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
roc+%cs.cmu.edu
9ce6c8be14 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron 2003-04-05 11:41:19 +00:00
bryner%netscape.com
858687b03c Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa. 2003-03-29 23:31:20 +00:00
sspitzer%netscape.com
02cf476853 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
2003-03-26 19:02:12 +00:00
roc+%cs.cmu.edu
c3dd3441f6 Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard 2003-03-25 03:07:33 +00:00
roc+%cs.cmu.edu
d6fd7c0ac4 Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard 2003-03-25 02:58:10 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
3dace14ed6 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
aaronl%netscape.com
e086d7e08a Bug 196308. Flashing/flickering display. r/sr=roc+moz 2003-03-11 19:27:30 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
ere%atp.fi
a929957191 Bug 195955, removal of unneeded code and indentation cleanup.
r/sr=roc+moz
2003-03-05 14:32:07 +00:00
roc+%cs.cmu.edu
6fc98b9e15 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. 2003-02-25 02:38:38 +00:00
bryner%netscape.com
026711ed5e Remove unused nsViewManager::mLastRefresh (bug 194554). r=roc, sr=bz. 2003-02-23 03:41:23 +00:00
roc+%cs.cmu.edu
00ef3dc5ad Bug 178519. Move mouse capture to parent view if the capturing view goes away. r=kmcclusk,sr=bzbarsky 2003-02-23 02:53:15 +00:00
roc+%cs.cmu.edu
3147a22b92 Bug 180502. Never reorder views by z-index; just keep the document order. r=kmcclusk,sr=dbaron 2003-02-22 22:08:12 +00:00
roc+%cs.cmu.edu
a39004bd43 Bug 182107. Don't let negative z-index views mess up document ordering. r=kmcclusk,sr=bzbarsky,a=asa 2003-02-13 19:27:58 +00:00
locka%iol.ie
f27ea2fe10 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 2003-02-06 12:50:35 +00:00
dbaron%dbaron.org
ad4a30c503 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 2003-02-05 23:10:31 +00:00
sfraser%netscape.com
4026d7da7e Fix bug 117990: change CornerView::Paint() to lo longer to a CreateInstance of an nsILookAndFeel for every paint. r=peterl, sr=dbaron. 2003-01-17 00:14:35 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
caillon%returnzero.com
6d92f9bd32 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
roc+%cs.cmu.edu
33ca73d3d7 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
a5a3f217d1 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 2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
54508762f0 Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard 2002-12-21 02:51:14 +00:00
roc+%cs.cmu.edu
75f0cde871 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 2002-12-14 16:18:57 +00:00
roc+%cs.cmu.edu
eecdcab3d7 Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
d399b683e9 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
roc+%cs.cmu.edu
85c9ca04af Bug 170011. Revert behavior of 'overflow:hidden' to only affect children for the current element is a containing block ancestor. r=dbaron,sr=kin 2002-11-10 18:24:31 +00:00
jkeiser%netscape.com
521a885e90 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 2002-10-18 19:17:35 +00:00
roc+%cs.cmu.edu
ca03aa9d86 Bug 171334. r=kmcclusk,sr=kin,a=asa. Fix views crasher by eliminating content-parenting nesting assumptions. 2002-10-11 01:23:13 +00:00
roc+%cs.cmu.edu
f0608dd7fd Bug 153679. r=gisburn,sr=kin. Remove bogus assertion; it's OK to have no widget sometimes during scrolling or invalidation. 2002-10-08 04:18:05 +00:00
roc+%cs.cmu.edu
cbad09254c Fixing bustage, checked in a bit of another patch, sorry. sr=me 2002-09-30 12:41:11 +00:00
roc+%cs.cmu.edu
88a7759322 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 2002-09-30 11:56:37 +00:00
cbiesinger%web.de
f8750590e9 bug 169483 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls/roc+moz sr=kin 2002-09-23 12:10:28 +00:00
alecf%netscape.com
b15e45e72d 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.
2002-09-17 04:49:28 +00:00
roc+%cs.cmu.edu
1787614f42 Bug 168294. Make sure all types of clipping are applied using the zParent view chain. r=kmcclusk,sr=kin 2002-09-17 04:16:25 +00:00
alecf%netscape.com
7c03517f4d backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com
5af36705e8 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
2002-09-16 20:59:52 +00:00
kmcclusk%netscape.com
d6f51b19b1 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 2002-09-12 03:59:15 +00:00
roc+%cs.cmu.edu
a5d77f3602 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin 2002-09-11 02:33:43 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
roc+%cs.cmu.edu
23f188782e 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 2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
7ebbea6879 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 2002-09-03 21:36:28 +00:00
roc+%cs.cmu.edu
78f830028e 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 2002-08-30 03:32:05 +00:00
mjudge%netscape.com
88ac4fa947 4302. left this out of checking. fixing bustage 2002-08-26 21:46:13 +00:00
seawood%netscape.com
67c2c5b3c0 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.
2002-08-12 13:35:18 +00:00
aaronl%netscape.com
7321ffd8cb Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst 2002-08-10 08:03:53 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
roc+%cs.cmu.edu
9e4e0e3b45 Bug 159587. Force view manager to invalidate necessary areas when clipping is changed. r=kmcclusk,sr=bz 2002-08-08 01:03:57 +00:00
seawood%netscape.com
301b1a4ca8 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
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
5e0f2971fb Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc
2002-08-06 03:27:05 +00:00
rginda%netscape.com
6f3b89570e bug 155328, r=bz, sr=jst
fix uninitialized return value in nsViewManager::Init
2002-07-26 23:09:06 +00:00
rginda%netscape.com
48bcd54023 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.
2002-07-26 03:31:56 +00:00
kmcclusk%netscape.com
b87a141e21 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
681db8a644 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 2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
539f09beff Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 02:53:35 +00:00
dbaron%fas.harvard.edu
6d2263f19b 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 2002-06-26 03:38:55 +00:00
roc+%cs.cmu.edu
3cd559ba29 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson 2002-06-12 03:22:35 +00:00
roc+%cs.cmu.edu
96a4b4dbf6 Bug 148350. Fix the gcc optimizer workaround. r=kmcclusk,sr=waterson 2002-06-12 03:18:10 +00:00
kmcclusk%netscape.com
0a88931ae5 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc 2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
4492253e5a Bug 148350. Tweak code to avoid bug in gcc 2.95.3 with -O2. r=roc+moz,sr=jag 2002-06-04 04:55:04 +00:00
roc+%cs.cmu.edu
b9fd585526 Bug 142461. Turn off annoying debug messages. r=kmcclusk,sr=waterson 2002-06-04 04:48:04 +00:00
roc+%cs.cmu.edu
0e9e1348c5 Bug 141900. Ensure that SetViewChildClip respects nsIClipView clipping. r=kmcclusk,sr=waterson 2002-05-30 01:59:57 +00:00
roc+%cs.cmu.edu
d455318206 Bug 136441. Don't let floating views get clipped by non-floating parents. r=kmcclusk,sr=attinasi 2002-05-30 01:42:41 +00:00
hwaara%chello.se
0b0b90f3a9 #138852, removing last living parts of viewmanager2.
r=kmcclusk, sr=jst
2002-04-23 14:53:44 +00:00
joki%netscape.com
a5cda6ec41 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 2002-04-14 21:45:04 +00:00
pinkerton%netscape.com
9f9e505dd8 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764 2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
46b5f20c99 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 2002-04-12 13:43:32 +00:00
hyatt%netscape.com
e0734fa45e Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
627996e0cc Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag 2002-04-11 03:26:30 +00:00
rods%netscape.com
f689da2c74 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
yokoyama%netscape.com
f914ab92df Bug fix 130122
Needed to add code for IME key event (NS_IS_IME_EVENT())
Impact only on CJK keyboard input
/r=yokoyama, /sr=roc+moz, /a=asa, /adt+=jaime
2002-04-04 22:34:04 +00:00
rods%netscape.com
ab6f707d33 Add SetVisibility method to Scroll Views
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
e5bf9a8bab Bug 131487. Fix semantics of GetViewFlags/SetViewFlags. r=kmcclusk,sr=attinasi,a=asa 2002-03-26 12:12:36 +00:00
roc+%cs.cmu.edu
bdbfdae3fe Bug 128478. Don't let key events go through coordinate-based dispatching. r=kmcclusk,sr=kin,a=asa 2002-03-26 12:10:52 +00:00
roc+%cs.cmu.edu
8ecd6f3c5d Fixing bustage. In time, the C++ standards committee will pay for their crimes. 2002-03-19 04:32:01 +00:00
roc+%cs.cmu.edu
18b83fd669 Bug 124554. Make intelligent decisions about when to scroll using bitblit and when we need to do complete repaints. r=kmcclusk,sr=attinasi,a=asa 2002-03-19 03:34:10 +00:00
roc+%cs.cmu.edu
7acc78d086 Bug 130263. Don't add children of hidden views to any display list. r=kmcclusk,sr=attinasi,a=asa 2002-03-19 02:48:38 +00:00
kin%netscape.com
49bacde56c Fix for bug 127368 (Can't type in textfields in pages with an iframe and body with marginheight and marginwidth=0)
Modified HandleEvent() to prevent forwarding KeyEvents to views with a different ViewManager.

r=roc+moz@cs.cmu.edu  sr=sfraser@netscape.com  a=shaver@mozilla.org
2002-02-28 22:30:01 +00:00
roc+%cs.cmu.edu
c8624644d6 Bug 91516. FIXING BUSTAGE AGAIN 2002-02-19 23:19:11 +00:00
roc+%cs.cmu.edu
7f80ccb182 Fixing bustage. Bug 91516. 2002-02-19 22:26:50 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
roc+%cs.cmu.edu
23985b2913 Bug 123755. Fix Gtk crasher when drawing surface cannot be locked. r=pavlov,sr=attinasi 2002-02-15 13:14:32 +00:00
ccarlen%netscape.com
0d871a1552 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser 2002-02-12 15:41:41 +00:00
roc+%cs.cmu.edu
3125ae9530 Bug 96832. Reorganize event handling in the view manager to use the display list code. This means we take account of z-index properly. r=kmcclusk,sr=brendan 2002-02-12 03:46:35 +00:00
bzbarsky%mit.edu
e8baec817f Make scrollbar thumbs for selects size correctly in GTK builds. Bug
45731, patch by Michiel van Leeuwen <hmvleeuwen@altavista.com>,
r=blizzard, sr=shaver
2002-02-08 23:16:43 +00:00
roc+%cs.cmu.edu
1ee265b88a Bug 122325. Repaint correct areas when a view is resized. r=kmcclusk,sr=waterson 2002-02-01 03:10:59 +00:00
sfraser%netscape.com
0f6a4f07da Back out a change that I commited by mistake, which turned double-buffering off. Thanks to jrgm for catching this. 2002-01-31 05:15:56 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
roc+%cs.cmu.edu
71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
roc+%cs.cmu.edu
55145c72f7 Bug 120934. Deal with nonzero (x,y) in the aCombinedRect passed into nsViewManager::RefreshView(). r=kmcclusk,sr=waterson,a=asa 2002-01-23 03:32:45 +00:00
aaronl%netscape.com
917db0977f Bug 120176. Active Accessibility: tweaks to STATE_OFFSCREEN. r=kmcclusk, sr=waterson 2002-01-16 03:07:03 +00:00
rods%netscape.com
6639d9eaad Getting rid of event processor, it is no longer needed and will fix this problem
109566  r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
kmcclusk%netscape.com
fbc6a84110 Use damage rect size for backbuffer instead of widget size for paint updates to reduce usage of offscreen memory r=dcone sr=attinasi b=114082 2001-12-20 05:25:01 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
kmcclusk%netscape.com
09cb388941 Move management of the backbuffer from the viewmanager to the rendering context and make the backbuffer transient on WIN32 and GTK. bug 95952 sr=attinasi r=karnaze 2001-12-12 01:35:31 +00:00
ccarlen%netscape.com
b564bb181b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
kmcclusk%netscape.com
34f7670747 Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi 2001-12-06 02:40:41 +00:00
kmcclusk%netscape.com
da0e66d506 Check aHandled after event dispatch before accessing the view's children. b=113121 r=roc+moz sr=attinasi 2001-12-03 23:37:09 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
kmcclusk%netscape.com
68d04c0b4c Make the backbuffer transitory based on a pref. This does not have any effect unless you set (layout.transitory.backbuffer", true) bug 95952 sr=attinasi r=alexsavulov 2001-11-30 04:12:36 +00:00
kmcclusk%netscape.com
19205cdeae Replace the O(n^2) call to GetChild in nsViewHandleEvent to substantially improve page load performance and interactivity on pages with lots of comboboxes. bug 112525 r=roc+moz sr=kin 2001-11-30 04:09:36 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
roc+%cs.cmu.edu
365236cb5a Fix for bug 108940. r=kmcclusk,sr=attinasi. Initialize nsZPlaceholderView correctly. 2001-11-08 23:11:01 +00:00
roc+%cs.cmu.edu
393683ec75 Bug 73382. Let the view code work with nsView*/nsViewManager* internally and migrate some methods from public to private to the view module. Also deCOMify those methods for speed. r=kmmclusk,sr=attinasi 2001-11-07 04:05:38 +00:00
rods%netscape.com
37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
kmcclusk%netscape.com
01bf16daff fix crash by removing DisplayZTreeNode's from the mMapPlaceholderViewToZTreeNode hashtable in DestroyZTreeNode. bug 78661. r=roc+moz sr=attinasi 2001-11-02 03:59:28 +00:00
kmcclusk%netscape.com
4a795f4883 Wrap nsViewManager::ShowDisplayList in DEBUG #ifdef to reduce footprint a bit. bug 78661. r=karnaze sr=attinasi 2001-11-02 03:53:22 +00:00
bryner%netscape.com
e6b4535db9 When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt. 2001-10-31 05:06:31 +00:00
bryner%netscape.com
62fc997c61 Adding a newline to the warning printf. r=jag. 2001-10-27 07:45:29 +00:00
dbaron%fas.harvard.edu
2e3bb820b6 Remove nsViewManager2.cpp for roc. b=73382 2001-10-25 03:52:07 +00:00
roc+%cs.cmu.edu
e752f78e3f Bug 73382. Cleaning up view manager; remove nsViewManager2 from build. r=kmcclusk,sr=attinasi 2001-10-25 03:43:28 +00:00
roc+%cs.cmu.edu
5c39d8a82f Bug 73382. Cleaning up view manager; remove nsViewManager2, it's ueless. r=kmcclusk,sr=attinasi 2001-10-25 03:42:39 +00:00
roc+%cs.cmu.edu
3995e86349 Bug 106355. Regression where paint requests entirely outside the widge area caused copying of bogus bits from the backbuffer. r=kmcclusk,sr=waterson 2001-10-25 03:36:01 +00:00
roc+%cs.cmu.edu
3b44b1647d Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi 2001-10-23 01:37:29 +00:00
roc+%cs.cmu.edu
a12bb8bdd3 Bug 73382. View manager cleanup: eliminate Refresh(nsRect) path in favour of Refresh(nsIRegion), plus other minor cleanups. r=kmcclusk,rs=attinasi 2001-10-23 01:35:50 +00:00
kmcclusk%netscape.com
23accf07fb Added code to UpdateCoveringWidgets to take into account hidden views when considering whether a view completely covers the invalidated rect. bug 100652 r=roc+moz@mozilla.org sr=attinasi@netscape.com 2001-10-20 03:09:36 +00:00
kin%netscape.com
802527fb80 Fix for bug 97674: Parts of Mail composition/Composer window left blank after deleting text
If a paint event is received while refresh is disabled,
DispatchEvent() will now call UpdateView() to add the
area specified by the paint event, to the dirty region of
the view. This will insure that the area will get painted
properly when refresh is enabled.

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2001-10-16 21:41:42 +00:00
roc+%cs.cmu.edu
2de4329ad9 Cleaning up nsViewManger code (whitespace and comments). Bug 73382. r=kmcclusk,sr=attinasi 2001-10-11 02:57:31 +00:00
aaronl%netscape.com
c5cb858329 Bug 102192. Active Accessibility: Support STATE_OFFSCREEN for accessible objects. r=kmcclusk, sr=waterson 2001-10-03 00:18:48 +00:00
vidur%netscape.com
4966d85f91 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
kmcclusk%netscape.com
3fd6b28dcb Force the backbuffer to be reallocated when the display depth is changed. bug 6061 r=karnaze sr=attinasi 2001-09-28 00:16:57 +00:00
kmcclusk%netscape.com
e0d617ebf0 Check for null scrolled view before accessing it. b=98270 patch from duraid@fl.net.au. r=karnaze@netscape.com, sr=attinasi@netscape.com 2001-09-27 01:05:14 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
kmcclusk%netscape.com
e548f5dd0e Protect against null-pointer in nsViewManager::ProcessPendingUpdates. bug 97664 sr=mscott@netscape.com r=peterl@netscape.com 2001-09-15 17:22:06 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
rjesup%wgate.com
070b2fe9da Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk 2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
rjesup%wgate.com
6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com
c1b48b4601 Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
pollmann%netscape.com
aabbe24c67 Bug 43410: Correct z-index ordering of iframes. This change redundantly sets the widget's z-index, and should be cleaned up later. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com 2001-07-18 08:46:04 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
kmcclusk%netscape.com
a80e214257 Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com. 2001-06-29 04:01:26 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
roc+%cs.cmu.edu
8865fc53de Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
pinkerton%netscape.com
0b03ce7cda add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665. 2001-05-17 18:37:50 +00:00
kmcclusk%netscape.com
c5c66500ec Fixed viewmanager refresh problem on WIN32. Added a line of code to set the status to nsEventStatus_eConsumeNoDefault for NS_PAINT messages in nsViewManager::DispatchEvent. This line was inadvertently removed by the checkin for bug 75591; bug 80847 sr=roc+moz r=dcone@netscape.com 2001-05-15 20:50:11 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
joki%netscape.com
0918f29245 Fix for 64442, make views give up mouse capture when they become hidden since they can no longer get mouse messages. sr:jst r:saari 2001-05-04 03:02:55 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
roc+%cs.cmu.edu
a7e55667d2 Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu
c57754cf2e Backing myself out ... IDIOT. 2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu
8b1b9bad9d Adding view manager API for specifying background color for the document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-23 18:14:46 +00:00
morse%netscape.com
a3300caf35 bug 75661, crash when image-manager alert box appears, r=kmcclusk, sr=roc+moz 2001-04-16 20:40:08 +00:00
blizzard%redhat.com
da2e245c27 Part of bug #5569. Make sure that areas that get an NS_PAINT event we always paint the default color when the view manager has refreshes disabled. This should fix the problem where before pages start loading in mail/news and the browser some areas aren't repainted. r=bryner sr=roc+moz. 2001-04-11 14:52:06 +00:00
shaver%mozilla.org
a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
peterlubczynski%netscape.com
dbc5134980 Fix for crash with full-page plugins on Mac bug 74934 r=kmcclusk sr=roc+moz 2001-04-11 05:29:36 +00:00
roc+%cs.cmu.edu
3fc12999b4 Adding support for root views with externally defined widgets. Bug 73383. r=kmcclusk,sr=attinasi 2001-04-11 05:10:15 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
roc+%cs.cmu.edu
39798953db Fix calculation of widget coverings in nsViewManager::UpdateAllCoveringWidgets. Bug 74413, sr=attinasi,r=kmcclusk 2001-04-04 04:37:12 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
evaughan%netscape.com
dd702eea33 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
roc+%cs.cmu.edu
9b7ce382fd Correct child widget's view according to parent view's coordinates in AddCoveringWidgetsToOpaqueRegion. Fix for bug 73406. r=kmcclusk,sr=attinasi 2001-03-31 13:41:28 +00:00
disttsc%bart.nl
dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
kmcclusk%netscape.com
f55ec09bcb Invalidate only the newly exposed region when the container frame size changes vertically b=19256; sr=attinasi@netscape.com r=roc+moz@cs.cmu.edu 2001-03-30 05:17:07 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
alecf%netscape.com
90126a2f00 make this DEBUG_roc instead of DEBUG - we dont' ALL need to debug the view manager 2001-03-23 15:27:16 +00:00
roc+%cs.cmu.edu
ce8581898b Activating new view manager by default. This fixes a swath of bugs related to fixed positioning, transparent views, z-index handling, and more! Bug 39621. r=kmcclusk, sr=attinasi. To disable the new view manager, use 'user_pref(nglayout.debug.enable_scary_view_manager, false);' in your prefs.js file. 2001-03-22 15:54:50 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
roc+%cs.cmu.edu
6c9de3f44a Fix for 72055 by ian@hixie.ch. If a widget doesn't have a view, then don't try to exclude it from the opaque covering region. r=kmcclusk, sr=roc+moz@cs.cmu.edu 2001-03-19 21:51:58 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
shaver%mozilla.org
fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
timeless%mac.com
973bcd9017 for Bug 39621 Need to turn on nsViewManager by default
add ifdef DEBUG
r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu
2001-03-12 04:48:26 +00:00
roc+%cs.cmu.edu
f3e40d1380 Ignore unreliable nsIWidget information and use the associated nsView data instead. Fixes bug 70446. r=kmcclusk,sr=attinasi 2001-03-10 05:33:38 +00:00
roc+%cs.cmu.edu
3862db1677 Don't paint floating views unless the root view for the repaint is floating. This ensures that if we paint a window under a transient, the actual window contents are painted and not the transient's contents. Fix for new view manager bug 69346. r=kmcclusk, sr=attinasi 2001-03-03 06:18:11 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
roc+%cs.cmu.edu
89b90b0c1a Fix for new view manager bug 69146. Changed the way we compute the 'opaque region' consisting of widgets that cover the widget being painted. r=kmcclusk, sr=attinasi 2001-02-24 20:29:58 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
roc+%cs.cmu.edu
0c9333704b Force nsViewManager to respect DONT_BITBLT flags on descendant views when we scroll a parent view. Fix for bug 68499. r=kmcclusk,sr=attinasi 2001-02-16 21:41:52 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kmcclusk%netscape.com
03143956d6 Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com 2001-02-01 06:00:02 +00:00
dbaron%fas.harvard.edu
c55ef35a27 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
rods%netscape.com
99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
kmcclusk%netscape.com
e1f4c197d3 Removed code which cleared the backbuffer to white before rendering. bug 49779 sr=roc+moz r=rods@netscape.com 2001-01-26 05:09:37 +00:00
kmcclusk%netscape.com
5ae11d815b Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com 2001-01-20 04:59:39 +00:00
mkaply%us.ibm.com
91ea2fd585 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:53:33 +00:00
bryner%uiuc.edu
69e9b90bc6 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
dbaron%fas.harvard.edu
c333a6114a Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965 2000-11-08 03:04:02 +00:00
blizzard%redhat.com
d5affef82d fix bustage 2000-11-07 06:17:38 +00:00
scc%mozilla.org
f8168bf83e bug #39621, r=kmcclusky@netscape.com, sr=blizzard@mozilla.org. Enable the new view manager with a pref "nglayout.debug.enable_scary_view_manager". Just being the mac buddy for blizzard and roc. 2000-11-07 05:22:03 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mkaply%us.ibm.com
ec1258a408 #56164
r=kmcclusk, a,sr=roc+moz@cs.cmu.edu
Comboboxes positioning incorrect on OS/2
2000-10-17 14:54:03 +00:00
kmcclusk%netscape.com
1be2c2c7f2 Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:03:45 +00:00
kmcclusk%netscape.com
dd45327b43 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com 2000-09-26 05:04:53 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
kmcclusk%netscape.com
a1687e840a Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com 2000-08-31 02:31:17 +00:00
roc+%cs.cmu.edu
99ff1305b8 Bug 49175. Change O(n^2) child view traversal to O(n). Trim unused view painting code. O(n^2)->O(n) change submitted by alex@cendio.se. r=kmmclusk,a=brendan 2000-08-24 19:54:46 +00:00