Commit Graph

2282 Commits

Author SHA1 Message Date
philringnalda%gmail.com
326483cb86 Bug 368902: Unnecessary looping over collapsed children in nsSprocketLayout, patch by Andreas Lange <anlan@lange.cx>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219318 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 07:24:28 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
enndeakin%sympatico.ca
fd6335c608 Bug 326877, close popups when navigating pages, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@218908 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:59:20 +00:00
dbaron%dbaron.org
07b53e788d Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218880 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:01:07 +00:00
Olli.Pettay%helsinki.fi
3194bd9145 Bug 329126, Remove nsIEventListenerManager::CreateEvent, r=aaronl, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:32:34 +00:00
dbaron%dbaron.org
103e95ab15 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
1534bcd542 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
dbaron%dbaron.org
927d56bf63 Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
dbaron%dbaron.org
7d1d28c9e8 Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218555 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:31:07 +00:00
gavin%gavinsharp.com
dff7100f66 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@218075 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 20:18:24 +00:00
gavin%gavinsharp.com
fcba70756a Bug 365151: fix crash [@ nsStyleContext::GetRuleNode] or [@ nsTreeColumn::GetContent] due to stale nsTreeColumn::mFrame, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 19:59:38 +00:00
bzbarsky%mit.edu
30df0ca086 We might not have a scrollbar frame; deal with that. Bug 366112, r+sr=roc, a=jay for 1.8.0 and 1.8.1 branches
git-svn-id: svn://10.0.0.236/trunk@218032 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:13:16 +00:00
enndeakin%sympatico.ca
057a845ec2 Bug 365742, crash with drawing empty images in trees, r+sr=neil
git-svn-id: svn://10.0.0.236/trunk@217992 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 16:31:21 +00:00
neil%parkwaycc.co.uk
9d24b7f995 Rewrite code to avoid using maxLevel b=366183 r=enndeakin sr=roc
git-svn-id: svn://10.0.0.236/trunk@217985 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 09:15:19 +00:00
jruderman%hmc.edu
34040481f6 Bug 321073 - "ASSERTION: Should not be called: 'Error' (nsGridLayout2::GetRowCount should not be called)". Patch by Andreas Lange, r=enndeakin, sr=neil rashbrrok.
git-svn-id: svn://10.0.0.236/trunk@217983 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 05:58:43 +00:00
bzbarsky%mit.edu
59510f3817 Fix more bustage. Bug 243370
git-svn-id: svn://10.0.0.236/trunk@217978 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 03:56:06 +00:00
bzbarsky%mit.edu
0a27b5c5d4 Fixing more bustage, bug 243370.
git-svn-id: svn://10.0.0.236/trunk@217977 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 03:49:59 +00:00
bzbarsky%mit.edu
b285f04433 Fix build bustage. Bug 243370.
git-svn-id: svn://10.0.0.236/trunk@217976 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 03:27:19 +00:00
bzbarsky%mit.edu
9e56e89a01 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
bzbarsky%mit.edu
c51580e755 Return an already-addrefed nsTreeColumn instead of making assumptions about
object lifetimes.  Bug 309429 followup, patch by Nickolay Ponomarev
<asqueella@gmail.com>, r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@217972 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:41:05 +00:00
gavin%gavinsharp.com
b14cdb47be Bustage fix for bug 309429
git-svn-id: svn://10.0.0.236/trunk@217801 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 02:45:24 +00:00
cbiesinger%web.de
5bdaa34e24 Bug 309429 use QueryInterface rather than static_cast where the exact type
isn't known
patch by Nickolay Ponomarev <asqueella@gmail.com>/Jan Varga r=bz sr=neil


git-svn-id: svn://10.0.0.236/trunk@217725 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 16:23:48 +00:00
enndeakin%sympatico.ca
2b9c1bf7dc Bug 365234, scrolled items in listbox are invisible, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217566 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 17:18:15 +00:00
gijskruitbosch%gmail.com
3de3bec66d Bug 363791 - Crash [@ nsTreeBodyFrame::PrefillPropertyArray] involving removal of <treecols>
p=asqueella@gmail.com (Nickolay Ponomarev)
r=neil@parwaycc.co.uk (Neil Rashbrook)
sr=roc@ocallahan.org (Robert O'Callahan)


git-svn-id: svn://10.0.0.236/trunk@217540 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 13:20:23 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
0c12bf4696 Bug 364544, Crash [@ nsSliderFrame::HandleEvent] when a scrollbar thumb gets removed while dragging, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217314 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:44:10 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
mozilla.mano%sent.com
7ae3cfd07a Bug 356536 - [Mac] XUL Scroll bar slider jumps back up when mouse cursor strays from near scroll bar. patch from Stefan <stefanh@bluebottle.com>, r=me, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217270 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 22:49:59 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
Olli.Pettay%helsinki.fi
fe5981e170 Bug 364125, middle-click on scroll bar keeps scrolling until the left mouse button is pressed, p=badsector@slashstone.com, r=me, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217154 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:45:07 +00:00
Olli.Pettay%helsinki.fi
191ed00378 Bug 363879, deCOMtaminate nsGrid dir, part 2, p=Andreas Lange, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217134 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:25:48 +00:00
Olli.Pettay%helsinki.fi
cb11b4c039 Bug 363879, deCOMtaminate nsGrid dir, p=Andreas Lange, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217014 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 12:18:37 +00:00
bzbarsky%mit.edu
416011af41 Call the superclass Destroy(). Bug 363149, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216909 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:30:39 +00:00
db48x%yahoo.com
4781091ef7 bug 363112: nsDeckFrame::GetSelectedBox should use mIndex
patch by Alex Vincent <ajvincent@gmail.com>, r=enn, sr=neil


git-svn-id: svn://10.0.0.236/trunk@216825 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 18:13:48 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
sayrer%gmail.com
e8aa8fa1dd Bug 363032. invalid arg assertion in nsFrameList.cpp. Patch by Alex Vincent <ajvincent@gmail.com>. r=enndeakin, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216703 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:08:00 +00:00
roc+%cs.cmu.edu
0e0e3e92c4 Bug 344228. Fix up some naughty uses of nsIScrollbarMediator. r=enndeakin,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216686 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 19:53:41 +00:00
roc+%cs.cmu.edu
6b01227e23 Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
vladimir%pobox.com
7abbce922a b=359649, tree row painting broken, r=ndeakin
git-svn-id: svn://10.0.0.236/trunk@215992 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 19:28:39 +00:00
roc+%cs.cmu.edu
1893938850 Bug 359773. Fix return codes from Get/SetPropertyAsSupports. r+sr=jag
git-svn-id: svn://10.0.0.236/trunk@215725 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:09:19 +00:00
bent.mozilla%gmail.com
baa408b3f0 Bug 361425 - "<xul:titlebar> element needs to support 'allowevents' attribute". r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@215577 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:04:49 +00:00
Olli.Pettay%helsinki.fi
6a8d5eaf45 bug 361058, gcc2.95.3 fails to compile nsListBoxBodyFrame.cpp, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215419 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 04:42:20 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
Olli.Pettay%helsinki.fi
41ee208c0a Bug 360642, r+enndeakin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215352 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 15:45:55 +00:00
gavin%gavinsharp.com
b1ef96b548 Bug 345339, attachment 243112: Revisit nsPresState, patch by Karthik Sarma <karthik3@comcast.net>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214778 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 16:08:20 +00:00
Olli.Pettay%helsinki.fi
f9ebad2c59 Bug 358741, Crash [@ nsListBoxBodyFrame::GetListItemContentAt], r=enndeakin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@214747 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-05 22:54:41 +00:00
neil%parkwaycc.co.uk
e316824f4a Bug 358398 Horizontally scrolled trees don't paint correctly r=enn sr=roc
git-svn-id: svn://10.0.0.236/trunk@214467 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-31 15:36:18 +00:00
Olli.Pettay%helsinki.fi
6fe05dbaf8 Bug 354300, Crashes [@ nsPopupSetFrame::OnCreate] [@ nsPopupSetFrame::Destroy] when removing popup on popupshowing, p=asqueella@gmail.com, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@213315 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 18:10:58 +00:00