Benoit Jacob
79c308b707
Bug 1035394 - Fix dangerous public destructors in layout - r=dbaron
2014-07-08 17:23:18 -04:00
Benoit Jacob
919b379ff0
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Ms2ger
45efada15c
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
1ab8344d82
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
530bc74c8d
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Xidorn Quan
ab361e10f1
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
John Daggett
b569224dce
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
Daniel Holbert
db941b5d80
Bug 864005: Remove mentions of & checks for 'layout.css.supports-rule.enabled' pref. r=heycam r=khuey
2014-06-04 21:07:07 -07:00
Trevor Saunders
4abce4092c
bug 1004746
- part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj
2014-05-07 18:05:37 -04:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Ehsan Akhgari
86a457baf2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
John Daggett
fd57425fcc
Bug 904263 - check pref settings more efficiently. r=dbaron
2013-08-19 13:49:49 +09:00
Catalin Iacob
4f03e5bb1a
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Andrew McCreight
2bdf1d7bcf
Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron
2013-06-13 15:13:13 -07:00
Arnaud Sourioux
043b0fd84c
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
John Daggett
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b
Merge backout.
2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
935216a597
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
Arnaud Sourioux
9a8c47ea32
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Boris Zbarsky
9c1973b5d2
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Joshua Cranmer
969dfd9705
Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo
2013-03-23 21:14:43 -05:00
Masatoshi Kimura
e5e5a90814
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
David Zbarsky
2c3499b66c
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Boris Zbarsky
889e1ea478
Bug 774980. Hook up nsCSSKeyframeRule to cycle collection. r=smaug
2013-01-18 23:32:12 -05:00
Trevor Saunders
a78d6c805a
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Boris Zbarsky
9a2a0bca08
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Cameron McCormack
a4292916ca
Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz
2012-11-27 16:30:30 +11:00
L. David Baron
be38660c66
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
Brendan Dahl
d860d7b308
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Ryan VanderMeulen
8f46b7f654
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
507304aa6c
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Boris Zbarsky
529cae9883
Bug 795221 part 3. Implement cycle collection for GroupRule objects. r=smaug,dbaron
...
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-2.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
1aa9d15695
Bug 795221 part 1. Implement cycle collection for nsCSSStyleSheet objects, so we don't leak through them. r=smaug,dbaron
...
Each nsCSSStyleSheet has a pointer to a nsCSSStyleSheetInner. The
nsCSSStyleSheetInner is shared across multiple stylesheets, in
general. The nsCSSStyleSheetInner owns the rules and the child
stylesheets.
What this means is that a given rule object is effectively owned by
multiple sheets. However, cycles can only form through rule objects
that have been JS-wrapped, and if we're JS-wrapping a rule object that
means we have ensured that it's owned by only one stylesheet.
Therefore, we only traverse and unlink mInner if it's uniquely owned
by our sheet.
Similarly, if our child sheets or any of their rules have been
JS-wrapped, that means that we must have an mInner that we own
outright.
2012-10-07 22:39:08 -04:00
Arnaud Sourioux
815396c1bb
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Boris Zbarsky
31276eb444
Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron
2012-08-23 21:08:09 -07:00
Boris Zbarsky
8b4fc28fc2
Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv
2012-08-23 21:08:08 -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
Boris Zbarsky
1b8d2356ea
Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron
2012-08-05 22:16:30 -04:00
Boris Zbarsky
ab8c73b485
Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron
2012-08-05 22:14:52 -04:00
Boris Zbarsky
bb5cc2f15d
Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron
2012-08-05 22:14:47 -04:00
Cameron McCormack
d7f2d311ed
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Joshua Cranmer
4b8f318e78
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Nethercote
2806f8e46a
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
2012-01-02 18:19:14 -08:00
Nathan Froyd
fdce3db512
Bug 712299 - don't require manual syncing of font data; r=bz
2011-12-20 11:49:16 -05:00
Jeff Walden
f16def0c00
Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
...
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -05:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08: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