725 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
02d5f9491e Bug 160095. Don't crash trying to print documents using -moz-opacity. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@162927 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:36:46 +00:00
dbaron%dbaron.org
de1ba08283 Untabify.
git-svn-id: svn://10.0.0.236/trunk@162892 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 20:49:25 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
cbiesinger%web.de
7e24ddb14b bug 259803 get views using GetInterface from a widget's client data, rather than
by queryinterface, r=pinkerton sr=roc


git-svn-id: svn://10.0.0.236/trunk@162549 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:51:31 +00:00
cbiesinger%web.de
49a0c9fc4b Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
dbaron%dbaron.org
7d40175fee Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
cbiesinger%web.de
47104955d7 fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161770 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com
809b317cb3 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
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
cbiesinger%web.de
aebea73882 fixing gcc 3.4 bustage (removing extra semicolon)
git-svn-id: svn://10.0.0.236/trunk@161760 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 17:20:00 +00:00
cbiesinger%web.de
0be99300a4 Bug 250342 Views should not inherit from nsISupports
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
470d2e0074 Bug 257920 remove unused nsIClipView
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@161753 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu
10eeb9e05b Bug 228780. Fix unused variable warning. r=roc,sr=dbaron, patch by Serge GAUTHERIE
git-svn-id: svn://10.0.0.236/trunk@161413 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-28 02:22:06 +00:00
timeless%mozdev.org
cb066a25ca Bug 256610 Crash [ @ nsViewManager::GetMouseEventGrabber]
patch by cst@andrew.cmu.edu r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@161145 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 19:01:39 +00:00
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