Commit Graph

712 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
48abc3f2ac Comment-only spelling fix. a=asa
git-svn-id: svn://10.0.0.236/trunk@160675 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu
7735a0fea2 Stop building up the opaque region if it gets too complicated. Bug 253001,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@160653 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 05:12:43 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
46bbadb4bd Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159427 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com
3abd533652 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


git-svn-id: svn://10.0.0.236/trunk@159330 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 14:44:10 +00:00
jim_nance%yahoo.com
9f9afa438c Backing out last change. I didn't realize the tree was frozen
git-svn-id: svn://10.0.0.236/trunk@158940 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com
b1da4ff303 Fix bug 152596 - Add calls to PR_FreeArenaPool() before PR_FinishArenaPool()
so that memory is added to the global free lists.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@158938 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 03:32:56 +00:00
jim_nance%yahoo.com
f2c7f58af2 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.


git-svn-id: svn://10.0.0.236/trunk@158776 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 02:09:47 +00:00
roc+%cs.cmu.edu
972134bbf4 Remove nsIScrollingView::Get/SetControlInsets, since it's unused.
git-svn-id: svn://10.0.0.236/trunk@158764 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com
8ef1ce1723 Attempt 2 at fixing build problem.
git-svn-id: svn://10.0.0.236/trunk@158761 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com
6a1cdac1d3 Attempt to fix Firefox build bustage resulting from my last checkin.
git-svn-id: svn://10.0.0.236/trunk@158757 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com
21087b68e5 Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc
git-svn-id: svn://10.0.0.236/trunk@158755 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 13:10:25 +00:00
dbaron%dbaron.org
c3bd695888 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
git-svn-id: svn://10.0.0.236/trunk@158497 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 19:02:37 +00:00
dbaron%dbaron.org
9897041a64 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
git-svn-id: svn://10.0.0.236/trunk@158367 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 17:31:29 +00:00
dbaron%dbaron.org
984d2d3d5f Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@158330 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 22:30:18 +00:00
dbaron%dbaron.org
41ff3ad83f 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
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu
50cd69aed6 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
git-svn-id: svn://10.0.0.236/trunk@157191 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 20:01:58 +00:00
bzbarsky%mit.edu
e43701bf5e Making desperate attempt to reland with a couple crash-proofing changes. Bug
243724, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156783 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu
a25eaed36b Backing out to try and fix mac orange. Bug 243724
git-svn-id: svn://10.0.0.236/trunk@156782 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:04:59 +00:00
roc+%cs.cmu.edu
e0992afdd6 Bug 243757. Handle cases where this view manager's root view is not an ancestor of the view grabbing the mouse. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156779 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:55:01 +00:00
bzbarsky%mit.edu
457174619e deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
on a previous-but-similar iteration of the patch).


git-svn-id: svn://10.0.0.236/trunk@156767 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 16:47:13 +00:00
roc+%cs.cmu.edu
f31b7bb7b5 Bug 243757. Complete propagation of mouse event grabbing to root view manager. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156761 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 14:03:13 +00:00
bzbarsky%mit.edu
e26ec45382 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
60cbb66cdc 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.
git-svn-id: svn://10.0.0.236/trunk@156357 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 15:39:12 +00:00
roc+%cs.cmu.edu
83502f61c2 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@156022 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:57:05 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
3b830c4f76 Bug 240457. Kill bad view manager assertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154847 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 03:05:50 +00:00
roc+%cs.cmu.edu
adc0d11131 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154762 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
79ebc15f63 Bug 235897. hidden widgets don't count as part of the opque region. r+sr=dbaron,a=mkaply
git-svn-id: svn://10.0.0.236/trunk@154575 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 15:22:19 +00:00
roc+%cs.cmu.edu
c67ff884e5 Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@154562 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu
607db497dc Bug 237426. Set clip rect *after* we've saved the old rect. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@154217 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-24 02:21:19 +00:00
roc+%cs.cmu.edu
8a8e4a6529 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
git-svn-id: svn://10.0.0.236/trunk@153854 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 00:32:01 +00:00
roc+%cs.cmu.edu
e7cedf35f7 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@153009 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 05:26:57 +00:00
roc+%cs.cmu.edu
1471a92350 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
git-svn-id: svn://10.0.0.236/trunk@153007 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 04:41:06 +00:00
roc+%cs.cmu.edu
8beee51ef8 Bug 232780. Fix aX/aY parameters in nsViewManager::CreateDisplayList. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153005 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 04:34:32 +00:00
roc+%cs.cmu.edu
3c4c9422cd Bug 232951. Make scrolling of scrolling-views-without-widgets work properly even when there are child widgets. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153004 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 04:31:20 +00:00
roc+%cs.cmu.edu
3c8a3de89d 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
git-svn-id: svn://10.0.0.236/trunk@152999 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 02:11:25 +00:00
dbaron%dbaron.org
18c65e7769 Back out bug 20022. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@152780 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 20:29:19 +00:00
bryner%brianryner.com
e6a225b469 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
f609de46de Fix for loop scoping bustage.
git-svn-id: svn://10.0.0.236/trunk@152258 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 00:46:14 +00:00
dbaron%dbaron.org
b7508c936c 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
git-svn-id: svn://10.0.0.236/trunk@152252 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu
83d80aee52 Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
git-svn-id: svn://10.0.0.236/trunk@152103 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 23:52:39 +00:00
dbaron%dbaron.org
c07a053815 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
git-svn-id: svn://10.0.0.236/trunk@152090 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 20:02:42 +00:00
dbaron%dbaron.org
1b3901e857 Make first method inline to try to fix egcs bustage. b=109772
git-svn-id: svn://10.0.0.236/trunk@152076 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
0456e20a91 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
dbaron%dbaron.org
85465588e0 Miscellaneous cleanup. b=232393 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@151995 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 00:04:58 +00:00