L. David Baron
221bfbea99
Bug 1215702 patch 2 - Remove the mechanism of backend-only CSS properties. r=heycam
...
This is a mechanism that should not exist; any use of it means
nonconformance with http://www.w3.org/TR/CSS/#partial .
--HG--
extra : commitid : fI2rko2cf4
2015-10-19 22:22:34 -07:00
Cameron McCormack
d32a93dce9
Bug 1180120 - Part 7: Add eRestyleResult_StopWithStyleChange. r=dbaron
2015-08-29 06:13:48 +10:00
Xidorn Quan
163821d0ad
Bug 1122781 part 4 - Add runtime dependency check of style structs. r=dbaron
...
This patch adds a mechanism to check struct computation against a known set of non-cyclic dependencies.
The checks are only done when we get a struct on a context during computation of a struct on the same context.
--HG--
extra : source : b4dbb093ac3df3e8eac14fdc7bf7e8fe44b56ffb
2015-02-07 13:25:21 +11:00
Cameron McCormack
dd8ce60c6d
Bug 773296 - Part 3: Allow more than 27 style structs. r=dbaron
...
This bumps up nsStyleContext::mBits to a uint64_t so that it can fit
another style struct. If we're going to need to keep at least 27 style
structs, it might be better to split mBits up into two uint32_ts: one
for the flags and one for the style struct bits.
2013-12-12 13:09:40 +11:00
Cameron McCormack
10e5ff17b2
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11: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
L. David Baron
c50f6e81a4
Keep reset and inherited style struct IDs separate. (Bug 639231, patch 1) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
5e6525f89c
Use a valid value for storing in a bitfield as the style struct ID for backend-only properties. (Bug 469244) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
dwitte@stanford.edu
7e454eebf6
get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
2008-01-10 12:56:49 -08:00
dbaron@dbaron.org
2bc4978388
Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc
2007-10-08 14:58:22 -07:00
dbaron@dbaron.org
7983f1a9af
Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
2007-04-28 09:01:24 -07:00