Commit Graph

709 Commits

Author SHA1 Message Date
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