Граф коммитов

305 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 7204dd91a1 Remove aPresContext parameter to nsStyleContext constructor and document parameters to constructor. (Bug 791416) r=bzbarsky 2012-09-18 11:37:13 -07:00
L. David Baron f91cf8d1d2 Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones 2012-09-14 14:12:34 -07:00
L. David Baron 0b49235e79 Make author !important rules override CSS animations. (Bug 783714) r=bzbarsky
This was resolved at the CSS Working Group meeting on 2012-08-15.
2012-08-29 18:27:01 -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
David Zbarsky 03039446fa [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd cb640ed02d Bug 746276 - pack style structures more carefully; r=bz 2012-04-17 15:22:49 -04:00
Josh Matthews 0a84303b99 Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron 2012-03-30 02:16:22 -04:00
Ms2ger cd6e787733 Backout bug 722853 - changeset f40a17213344; r=orange 2012-03-26 18:41:19 +02:00
Josh Matthews 5b05bfee0b Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
--HG--
extra : rebase_source : d59985b415ccafc4a9c8e8dbea9b69fa61602b8b
2012-02-21 09:57:09 -05:00
Nicholas Nethercote 7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nicholas Nethercote 8ea852b335 Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky 2011-12-08 21:01:52 -08:00
Olli Pettay 2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari 92064e6d3f 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
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07: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
Boris Zbarsky 6f26e1d0d4 Bug 686656. Make sure to skip animation rules as well as transition rules when we're reparenting a style context when not processing an animation restyle. r=dbaron 2011-09-20 23:52:44 -04:00
Brian Birtles 3e8804de84 Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Kyle Huey 8b23d8f061 Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Kyle Huey 6951a28a22 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 1b406143bc Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Boris Zbarsky 0b03178d45 Bug 655549 and bug 645768. Rejigger the quirk table color rule to work more reliably. r=dbaron 2011-06-01 07:43:31 -04:00
Boris Zbarsky e6dd6b4132 Bug 529750 followup; reenable the assertion. r=dbaron 2011-05-25 16:54:30 -04:00
Boris Zbarsky 2ccc16ad68 Bug 529750 part 2. Assume that in AssertNoImportantRules and AddImportantRules the rule is a StyleRule. r=dbaron 2011-05-23 16:45:43 -04:00
Boris Zbarsky ee7da30dbb Bug 529750 part 1. Don't walk non-CSS UA rules when checking for important UA rules. r=dbaron 2011-05-23 16:45:42 -04:00
Boris Zbarsky 9c81f50645 Bug 611922. When reparenting style contexts, use the visitedness of our new parent unless we're the style context for a link. In that situation, assume that our visitedness did not change. r=dbaron 2011-05-20 16:21:27 -04:00
L. David Baron 6d7a1b6c6a Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky 2011-04-30 15:16:19 -07:00
David Zbarsky a0b813679f Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri 2af4853be5 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky 732897cc3f Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
L. David Baron d177e3432d ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron 88867baa75 Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron 914379bb82 Add support for cascading of keyframes rules. (Bug 435442, patch 6) r=bzbarsky 2011-04-11 23:18:43 -07:00
Boris Zbarsky af7837cf56 Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky fbfff8a404 Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 7a803c365b Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky b7cf0b4cf6 Bug 598832 part 7. Stop caching the content state of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 4e6bf4af7c Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron 2011-03-29 13:29:20 -04:00
L. David Baron 8ff298d446 Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky 2011-03-17 20:14:32 -07:00
Craig Topper 678b9c7c11 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Boris Zbarsky 20d4516c3b Bug 625434. Make sure we don't get into a situation where we're failing to gc the ruletree for a page. r=dbaron, a=blocker 2011-01-18 21:20:35 -05:00
Boris Zbarsky da2cad4e60 Bug 589615 part 2. Rename the HTML preshint level to just the preshint level, since it's the only preshint level now. r=dbaron, a=dbaron 2011-01-14 21:14:41 -05:00
Boris Zbarsky 670b84a67f Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron 2011-01-14 21:14:41 -05:00
Mounir Lamouri 06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Craig Topper 7bc0610614 Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
L. David Baron 63ad20a8ac Append style sheets from binding manager when ensuring unique inner on all sheets. (Bug 578810) r=bzbarsky 2010-07-16 22:36:34 -07:00