roc+%cs.cmu.edu
4f37a24822
Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@247598 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:46:18 +00:00
roc+%cs.cmu.edu
4556299cf1
Backing out 420351
...
git-svn-id: svn://10.0.0.236/trunk@247541 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 10:44:32 +00:00
roc+%cs.cmu.edu
9279545699
Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@247525 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:36:04 +00:00
reed%reedloden.com
5d85092e88
Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@246514 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:42:36 +00:00
smontagu%smontagu.org
f4ea22ead6
Make Hebrew list numbering be ordered correctly. Bug 413928, r+sr=roc, blocking1.9=shrep
...
git-svn-id: svn://10.0.0.236/trunk@245553 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 08:22:03 +00:00
roc+%cs.cmu.edu
af5a6ea598
Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats
...
git-svn-id: svn://10.0.0.236/trunk@242342 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 02:08:30 +00:00
tglek%mozilla.com
1b2f5bc689
Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +00:00
roc+%cs.cmu.edu
44e8f1fb7a
Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@236536 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:19:16 +00:00
sharparrow1%yahoo.com
66c4c37428
Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@231596 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 19:07:44 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
e81955cfa2
When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +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
roc+%cs.cmu.edu
eca770f48f
Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it.
...
git-svn-id: svn://10.0.0.236/trunk@218879 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:58:55 +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
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
roc+%cs.cmu.edu
4d9d5d0511
Bug 326758. Bullets should accept mouse events. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@216830 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:56:30 +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
bzbarsky%mit.edu
b869f56794
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
roc+%cs.cmu.edu
bd9175c940
Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00
dbaron%dbaron.org
f019e59995
Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
roc+%cs.cmu.edu
d5ea80116c
Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@199574 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 03:29:32 +00:00
dbaron%dbaron.org
7be4b9c543
Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
b258ce85ca
Single line comments to describe files (helpful in LXR)
...
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
bzbarsky%mit.edu
fb8579f413
Fix leak bug 324969 -- make sure to call virtual destructors.
...
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bzbarsky%mit.edu
c25a517378
Make sure to reset our intrinsic size if we're doing a GetDesiredSize and have
...
no image; this way if we later get an image we'll make sure to reflow. Bug
294718, r+sr=roc, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176972 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:35:32 +00:00
dbaron%dbaron.org
806d014cd4
Zooming way down should not make bullets larger. b=296219 r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174879 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 21:25:41 +00:00
dbaron%dbaron.org
72020748e5
Implement CSS2 counters. b=3247 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
dbaron%dbaron.org
a9db24126d
Further changes to Georgian list numbering. Patch from Gia Shervashidze <giasher@telenet.ge>. r+sr=dbaron b=287166
...
git-svn-id: svn://10.0.0.236/trunk@171022 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 00:26:28 +00:00
dbaron%dbaron.org
d335ab171e
Fix Georgian list numbering (Mkhedruli, not Khutsuri). b=287166 r=jshin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171016 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 23:27:03 +00:00
cvshook%sicking.cc
12f074b44e
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
bryner%brianryner.com
2474296ae5
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
f35c55bd73
Check for updated bullet image in DidSetStyleContext, not reflow. Bug 180142,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 21:18:20 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +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
d1c1168c09
Back out 236889 due to 253755.
...
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
dbaron%dbaron.org
8c1a22db88
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00