Josh Matthews
d56aca03ff
Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
2012-03-30 02:16:22 -04:00
Ms2ger
b151c26b60
Backout bug 722853 - changeset f40a17213344; r=orange
2012-03-26 18:41:19 +02:00
Josh Matthews
db1878955e
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
efe1192eee
Bug 735481. Skip ancestor filtering on IDs and classes in quirks mode, because that matching needs to be case-insensitive. r=dbaron
2012-03-14 00:44:13 -05:00
Boris Zbarsky
2fa1bff894
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
44450441bd
Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
dc91384497
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
Boris Zbarsky
9add0cf0aa
Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
...
We store a maximum of 4 hashes to save space. Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags. In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Phil Ringnalda
978972c307
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
2d490001f7
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
c0f0c50112
Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
30cdfef186
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
Boris Zbarsky
3b6777453c
Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
...
We store a maximum of 4 hashes to save space. Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags. In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Nathan Froyd
ea83912b62
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Zack Weinberg
ba152ecb1a
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Heather Arthur
92459e6267
Bug 708874 - API for locking pseudo-class state of an element. r=bz
2012-02-08 10:42:38 -08:00
Nicholas Nethercote
fb2f58d5b0
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nicholas Nethercote
301136c2ce
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Boris Zbarsky
f30aa51903
Bug 700914. Initialize the rulehash's hashtables lazily. r=dbaron
2011-12-09 05:29:01 -05:00
Nicholas Nethercote
7cdc7e0fb8
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Boris Zbarsky
4a35271f4c
Bug 689443. Switch PerWeightData back to using linked lists instead of arrays for the actual per-weight rule data, so as to reduce fragmentation. r=dbaron
...
This incidentally fixes a bug where we were copying the per-weight data very inefficiently.
2011-12-08 01:32:11 -05:00
Boris Zbarsky
21303f1007
Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron
2011-12-05 23:58:15 -05:00
Ed Morley
4e8f0f6714
Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz
2011-11-14 18:10:22 +00:00
David Zbarsky
24a72d14af
Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky
2011-11-14 16:30:28 +13:00
David Zbarsky
9f156be58b
Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky
2011-11-14 16:30:22 +13:00
David Zbarsky
bb842170d4
Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky
2011-11-14 16:30:16 +13:00
David Zbarsky
71ff78f98c
Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky
2011-11-14 16:30:08 +13:00
David Zbarsky
61f5387850
Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky
2011-11-14 16:29:56 +13:00
David Zbarsky
a9344164a3
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Daniel Holbert
302d2cde5b
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Olli Pettay
c3c86f516c
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
1deb9f1504
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
1bb2d1626a
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
1872189eac
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
37f2b96015
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
Boris Zbarsky
3945ffe29b
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-10-05 22:06:37 -04:00
Justin Lebar
d4f664d684
Back out 81ca82f27831 (bug 681755) due to incorrect leak reporting.
...
(I accidentally pushed the wrong version of this patch.)
2011-10-05 22:02:44 -04:00
Boris Zbarsky
9e8e15771f
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-09-15 15:21:52 -07:00
Michael Wu
ac54b41b01
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
Masayuki Nakano
9f8b06d9c1
Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron
2011-09-09 11:27:12 +09:00
Markus Stange
76a45395d6
Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron
2011-08-18 10:40:27 +02:00
arno renevier
a66c586dbf
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
Kyle Huey
2f0b1a1bed
Bug 676314: Count RuleHash's mArena in about:memory. r=bz
2011-08-08 08:36:38 -04:00
Kyle Huey
fce5148510
Bug 676048: Followup to add more comments.
2011-08-08 08:34:57 -04:00
Boris Zbarsky
12d67eca4e
Bug 676174. Remove the unncessary RuleHash_CSMatchEntry and resulting complications from AtomSelector_CSOps. r=dbaron
2011-08-07 22:23:36 -04:00
Boris Zbarsky
7e4ff6af48
Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron
2011-08-03 14:32:32 -04:00
Kyle Huey
f29863c4b1
Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz
2011-08-02 16:21:52 -04:00
Kyle Huey
23ad8f7e60
Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz
2011-08-01 14:25:20 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
ab1b3db5e6
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Boris Zbarsky
c5262bf950
Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
...
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00