Jonathan Kew
76bdb9472c
bug 1031241 pt 4 - Rename the {MIN,PREF}_WIDTH constants used to identify the type of intrinsic inline-size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
55170c430a
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
ce9cbe4216
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
James Kitchener
ca00cc5665
Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc
2014-06-18 06:47:00 -04:00
Carsten "Tomcat" Book
d4b927afae
Backed out changeset 248103817c8b (bug 330964)
2014-06-16 13:08:53 +02:00
James Kitchener
b48cdf9fa0
Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc
2014-06-15 00:53:00 +02:00
Daniel Holbert
d1c7df5b20
Bug 860242: If box-sizing includes border/padding, then don't add border/padding to cell-width, in fixed table layout's percent-width case. r=dbaron
2013-07-11 16:46:06 -07:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Boris Zbarsky
27793548d6
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Ryan VanderMeulen
8dd0402085
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
b7cc9710e0
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
c6d965bec9
Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan
2012-03-16 15:56:41 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jan Küchler
c510bc3046
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
L. David Baron
2a023744e6
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Mats Palmgren
dea07412a1
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
L. David Baron
e3204bb21a
Fix slight errors when widths can't be round-tripped through floats. (Bug 467141) r+sr=roc
2008-12-04 08:09:53 -08:00
Bernd
bc86ffbed0
bug 458924 - activate the DidResizeColumns mechanism when column widths changes in fixed layout. r/sr=dbaron
2008-11-27 18:23:52 -08:00
L. David Baron
798ff29d8c
Distribute extra space in fixed-layout tables where all columns have widths proportionally rather than equally, for compatibility. (Bug 445142) r=bernd sr=roc a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
114a60a7ec
Back out 6ce5f62a59455c79b3e12414989d3727f283b7c3 due to mac startup failures.
2008-11-25 14:38:06 -08:00
L. David Baron
385a0411a4
Distribute extra space in fixed-layout tables where all columns have widths proportionally rather than equally, for compatibility. (Bug 445142) r=bernd sr=roc a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
3347434086
For fixed-layout tables, leave room for the cell spacing for all columns, whether they have cells originating in them or not, since we don't know if cells for those columns will arrive as the table loads incrementally. (Bug 444928) r=bernd sr=roc
2008-09-24 10:14:35 -07:00
Zack Weinberg
28a8588125
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-15 14:31:36 -07:00
dbaron@dbaron.org
5a7a8d066f
Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+
2007-11-15 10:10:31 -08:00
dbaron@dbaron.org
ace3611ec9
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
2007-05-03 16:11:00 -07:00
bzbarsky%mit.edu
baec9bd166
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
b80d119b57
Untabify.
2006-12-25 19:44:34 +00:00
mats.palmgren%bredband.net
6ee857d0b7
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
2006-12-17 14:06:42 +00:00
dbaron%dbaron.org
31f1898810
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.
2006-12-08 05:38:33 +00:00
bmlk%gmx.de
a714532cd0
avoid memory leak on early return bug 333354 r/sr=bzbarsky
2006-05-25 14:56:44 +00:00
timeless%mozdev.org
426f83aecc
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
bmlk%gmx.de
32e0b4f487
don't shrink cells below borderpadding in fixed layout, bug 308019 r/sr=bzbarsky
2006-02-11 11:12:40 +00:00
bryner%brianryner.com
0fd21c3872
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
e763429e44
prescontext removal part 2 bug 229631 r/sr=roc
2003-12-29 16:58:20 +00:00
bmlk%gmx.de
d481d3e19e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
2003-12-28 17:02:40 +00:00
bmlk%gmx.de
ba4cab3073
remove bogus array handling code bug 226757 r/sr=dbaron
2003-12-20 11:15:27 +00:00
bmlk%gmx.de
bbed1b51f3
fixed table layout add cellspacing only for columns where cells originate. bug 220653 r/sr=bzbarsky
2003-10-21 19:29:14 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bmlk%gmx.de
00f2ea1ad8
build warning fix bug 198738 r/sr=bzbarsky
2003-04-05 15:36:31 +00:00
bmlk%gmx.de
c9d8064022
fix build warnings from my previous checkin
2003-03-22 12:21:22 +00:00
bmlk%gmx.de
ebf5835d15
change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
2003-03-21 19:35:36 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
bzbarsky%mit.edu
a06f3fd860
Fix allocation of whitespace in table-layout:fixed to handle rounding
...
errors better. Bug 157890, r=karnaze, sr=dbaron, a=asa
2002-07-30 02:29:03 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
cathleen%netscape.com
740d95a0a9
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00
karnaze%netscape.com
9cab58e6b8
bug 110474 - fix pixel rounding errors. sr=attinasi, r=bernd
2001-11-19 15:51:28 +00:00