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

63 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 7dd71ad03b Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz 2013-02-20 23:35:03 -08:00
Cameron McCormack 1d38a7132f Bug 829363 - Make :scope match style scope roots. r=bzbarsky 2013-01-16 15:48:29 +11:00
Cameron McCormack 4f4a1d1d74 Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack c2964df438 Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack c067646b00 Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack f83b36df21 Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack 5000fec383 Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-08 19:09:23 +11:00
Boris Zbarsky b8f5cf0684 Bug 648722 part 2. Make :scope match the context node for selectors API calls. r=dbaron 2012-12-04 23:15:47 -05:00
Cameron McCormack 28fd36a685 Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz 2012-11-15 06:09:01 +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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ryan VanderMeulen 5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ehsan Akhgari b354f9cf8c Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Boris Zbarsky 3e12270964 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Phil Ringnalda ef5d0d917f Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky f593cd5e83 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05: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
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
Felix Fung 0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07: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 bc9f691318 Bug 598832 part 14. Make RuleProcessorData a stack-only class. 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 b65ed4354f Bug 598832 part 12. Stop using RuleProcessorData in SelectorMatchesTree. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky d48e457cc2 Bug 598832 part 11. Stop caching the parent content pointer and the element pointer; just use the passed-in aElement. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 22bd1cff27 Bug 598832 part 10. Stop caching information about the element's attributes; just get it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 2e4df29640 Bug 598832 part 9. Stop caching the element's local name; just get it from the DOM as needed. 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 be4156dd55 Bug 598832 part 6. Stop caching the language of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 3b5cba5436 Bug 598832 part 5. Move caching of nth-index stuff to the TreeMatchContext. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky 8d93a3554b Bug 598832 part 4. Move tracking of whether we're in quirks mode to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky 206e01b948 Bug 598832 part 3. Stop keeping track of whether the node or document is HTML in the RuleProcessorData. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky a691fa82b9 Bug 598832 part 2. Move tracking of the scope root to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -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
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
Boris Zbarsky 3f7bc45256 Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron 2010-04-30 09:12:06 -04:00
Craig Topper 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
L. David Baron 3a0a941202 Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron 3dbb11b9a9 Fix initialization comment in nsRuleProcessorData. (Bug 147777) r=sdwilsh 2010-04-02 18:58:26 -07:00
Markus Stange 00fbecd8b0 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Markus Stange d0207d99c6 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange 4a7a64bc2e Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Shawn Wilsher 5a72540281 Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Shawn Wilsher f968dfb0d2 Backed out changeset bca0b6ed92e4 2010-02-18 10:02:49 -08:00
Shawn Wilsher 35bd533654 Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00