Max Vujovic
|
7a521db165
|
Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron
|
2014-08-20 15:46:59 -07:00 |
|
Cameron McCormack
|
c9c32895af
|
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 |
|
Simon Sapin
|
ed42775975
|
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 |
|
Ehsan Akhgari
|
5ee21d6d3f
|
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
|
2013-07-18 13:59:53 -04:00 |
|
David Zbarsky
|
2c3499b66c
|
[Bug 847110] Fix up includes in layout/style r=dbaron
|
2013-03-02 19:31:48 -05:00 |
|
Paul Adenot
|
ef774bffba
|
Bug 761393 - Add a method to hash an nsStyleCoord. r=dbaron
|
2012-08-26 21:08:32 -07:00 |
|
Ehsan Akhgari
|
0fd9123eac
|
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 |
|
Matt Woodrow
|
73b3aac203
|
Bug 779010 - Use nsStyleCoord equality operator to compare nsStyleSides and nsStyleCorners. r=dbaron
|
2012-07-30 19:25:28 -07:00 |
|
Gervase Markham
|
ca171eec44
|
Bug 716478 - update licence to MPL 2.
|
2012-05-21 12:12:37 +01:00 |
|
L. David Baron
|
095914432d
|
Depend on assignment and copy construction of unions in nsStyleCoord. (Bug 730240) r=bzbarsky
|
2012-02-24 21:23:14 -08:00 |
|
Zack Weinberg
|
15a9a210d0
|
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
|
2012-02-23 08:19:00 -08:00 |
|
Boris Zbarsky
|
b5877864ea
|
Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron
|
2012-02-04 00:01:23 -05:00 |
|
Ehsan Akhgari
|
2a602a5685
|
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
|
2011-10-17 10:59:28 -04:00 |
|
Michael Wu
|
d8e503c38b
|
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
|
344df4887f
|
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
|
fa356d0a17
|
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
|
b3fa68a978
|
Make nsStyleCoord::operator== check deep equality of calc() expressions rather than just doing pointer comparison. (Bug 585715) r=bzbarsky a2.0=blocking+
|
2010-08-31 12:05:12 -04:00 |
|
L. David Baron
|
ee89e22866
|
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
|
8d8f88a01a
|
Add storage for calc() expressions to nsStyleCoord. (Bug 363249) r=bzbarsky
|
2010-07-02 21:18:55 -07:00 |
|
L. David Baron
|
be6f3354a9
|
Add nsStyleCoord::Array type. (Bug 363249) r=bzbarsky
|
2010-07-02 21:18:55 -07:00 |
|
L. David Baron
|
0d2dad97cf
|
Get rid of (void) C-isms in nsStyleCoord. (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:44 -07:00 |
|
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
|
dbd6355ce6
|
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
|
e57591b530
|
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
|
34d6f3a24f
|
Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky
|
2009-10-13 19:38:20 -07:00 |
|
Daniel Holbert
|
50268f016b
|
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
|
477e364bde
|
Add support for color values to nsStyleCoord so nsStyleAnimation can animate colors. (Bug 504652) r=bzbarsky
|
2009-09-11 06:46:36 -04:00 |
|
L. David Baron
|
5fe09edd17
|
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
|
1b9f5190da
|
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
|
58cf580d4a
|
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
|
7003061847
|
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
|
6375aad92f
|
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
|
ce027d98d6
|
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 |
|
hg@mozilla.com
|
465265d0d4
|
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
|
2007-03-22 10:30:00 -07:00 |
|