Nicholas Nethercote
8198d15f1e
Bug 1038663 (part 6, attempt 2) - Allow percentage values for 'word-spacing'. r=heycam.
2015-11-08 16:40:37 -08:00
Nigel Babu
52d7459eca
Backed out 6 changesets (bug 1038663) for Android opt R2 bustage
...
Backed out changeset 97e3492d6080 (bug 1038663)
Backed out changeset d176322f2d36 (bug 1038663)
Backed out changeset f69af9161252 (bug 1038663)
Backed out changeset 8bb77e5fad8c (bug 1038663)
Backed out changeset 954e57438f51 (bug 1038663)
Backed out changeset 16c0919101cd (bug 1038663)
2015-11-06 12:49:36 +05:30
Nicholas Nethercote
b7bd8564c0
Bug 1038663 (part 6) - Allow percentage values for 'word-spacing'. r=heycam.
...
--HG--
extra : rebase_source : b7220e3c156dfef451e79b2911fbba7dec93850d
2015-11-05 17:25:46 -08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jonathan Kew
28d878bacb
Bug 1159305 - patch 1 - Provide logical accessors for nsStylePosition and nsStyleSides fields. r=dbaron
2015-05-11 11:35:47 +01:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Max Vujovic
4c4ed2fc92
Bug 948265 - Add CSS saturate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 17:52:28 -07:00
Max Vujovic
891ddf7cb3
Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 15:46:59 -07:00
Ehsan Akhgari
2b84010cb8
Bug 1048246
- Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Cameron McCormack
5a3e19e62c
Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron
...
This means that style structs holding computed calc() values are now able to be
stored in the rule tree.
2014-06-19 13:18:03 +10:00
Cameron McCormack
916d111a71
Bug 1026344 - Part 2: Make nsStyleUnit a uint8_t-sized enum so we can use it on nsStyle{Sides,Corners}. r=dbaron
2014-06-19 13:17:10 +10:00
Simon Sapin
12935dcb17
Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert
2014-03-10 15:54:13 -07:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Paul Adenot
2ff8ad5b57
Bug 761393 - Add a method to hash an nsStyleCoord. r=dbaron
2012-08-26 21:08:32 -07: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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Daniel Holbert
22ee3b126d
Bug 742581: Make definition of nsStyleCoord::GetCoordValue() consistent with the declaration, regarding what the function's return type is. r=dbaron
2012-04-06 17:01:32 -07:00
L. David Baron
17659793f1
Make nsStyleCoord's member variables private, as they should have been. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
a252d1e95b
Depend on assignment and copy construction of unions in nsStyleCoord. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
Boris Zbarsky
e0c4316236
Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron
2012-02-04 00:01:23 -05: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
L. David Baron
3d7d18c200
Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
8e923adf2c
Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:12 -07:00
L. David Baron
8d91e9081d
Make it possible to store pointer values in nsStyleSides. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
46490e81bb
Introduce nsStyleCoord::HasCoordOrNonPercentCalc to check for either a coord value or a calc() value not containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
685f0146eb
Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02: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
L. David Baron
c61f9bfba4
Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
2d6d3fc9eb
Add storage for calc() expressions to nsStyleCoord. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
fbdc2c3138
Add nsStyleCoord::Array type. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
f67d8257ba
Get rid of (void) C-isms in nsStyleCoord. (Bug 363249) r=bzbarsky
2010-05-11 08:49:44 -07:00
timeless
f3cdc36c53
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
aa22afa674
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Robert O'Callahan ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
c1cb654e54
Bug 513395: Implement revised CSS gradient notation (2/2): rendering
...
--HG--
rename : layout/reftests/css-gradients/radial-ref.html => layout/reftests/css-gradients/radial-1-ref.html
rename : layout/reftests/css-gradients/radial.html => layout/reftests/css-gradients/radial-1a.html
rename : layout/reftests/css-gradients/twostops-ref.html => layout/reftests/css-gradients/twostops-1-ref.html
rename : layout/reftests/css-gradients/twostops.html => layout/reftests/css-gradients/twostops-1a.html
2009-11-02 11:36:43 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
5c26b37323
Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes
2009-11-02 11:36:43 -08:00
L. David Baron
8461beec27
Switch nsStyleAnimation from using nsStyleCoord to using its own nsStyleAnimation::Value, so we don't have to add nontrivial destructors to nsStyleCoord. (Bug 522852) r=dholbert,bzbarsky
2009-10-20 07:46:16 -04:00
L. David Baron
a24f436459
Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky
2009-10-13 19:38:20 -07:00
Daniel Holbert
176ee39664
Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc
2009-10-02 14:37:25 -07:00
L. David Baron
587ac05e42
Add support for color values to nsStyleCoord so nsStyleAnimation can animate colors. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
Daniel Holbert
e44e74289c
Bug 504652, patch 1: create nsStyleAnimation utility class for shared animation & interpolation code. r=dbaron
2009-09-10 12:03:36 -07:00
L. David Baron
cb6012ec82
Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky
2009-02-09 20:36:54 -08:00
Zack Weinberg
f21ce60ac3
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05: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
0d8b560733
Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
2008-03-05 16:05:26 -08:00
dbaron@dbaron.org
1865808f7c
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
f4e95ca927
Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
2007-05-10 23:01:31 -07:00
dbaron@dbaron.org
9920e003d3
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
dbaron%dbaron.org
30f8db359a
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00