L. David Baron
de97785bb8
Bug 1115812 patch 10 - Add RestyleTracker parameter to BeginProcessingRestyles. r=heycam
...
This is needed in patch 11.
2015-01-13 21:03:12 -08:00
Mats Palmgren
bfc9b6f5d9
Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky
2014-11-20 18:24:09 +00:00
L. David Baron
ce24eea9ff
Bug 1075137 patch 6 - Convert remaining IsProcessingAnimationStyleChange calls to call the method on the RestyleManager. r=birtles
2014-10-02 21:53:24 -07:00
Cameron McCormack
2b8a825cbe
Bug 1072724 - Support showing more information about style structs in restyle logs. r=dbaron
...
The MOZ_DEBUG_RESTYLE_STRUCTS environment variable can be set to a comma-
separated list of style struct names. When restyle logging is enabled,
this will cause the style context tree -- showing cached style struct
pointers for those structs specified -- to be logged before each
individual restyle is processed. It will also show the struct pointer
values involved when swapping structs between style contexts.
For example, set MOZ_DEBUG_RESTYLE_STRUCTS=Font,UserInterface to show
the cached nsStyleFont and nsStyleUserInterface pointers on the style
contexts involved in the restyle process.
2014-10-01 09:13:57 +10:00
Cameron McCormack
f198d61ca8
Bug 979133 - Add facility to log the restyle process. r=dbaron
...
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr. By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.
If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points. (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.) You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 15:45:36 +10:00
Phil Ringnalda
9f84067f15
Back out c0c410aed86f (bug 979133) for -wError bustage
...
CLOSED TREE
2014-09-24 21:06:22 -07:00
Cameron McCormack
8b4e0a7a7d
Bug 979133 - Add facility to log the restyle process. r=dbaron
...
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr. By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.
If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points. (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.) You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 13:13:14 +10:00
Cameron McCormack
cd67a74d36
Bug 1063384 - Make RestyleTracker::DoProcessRestyle's restylesToProcess not have an mDescendants array in each element. r=dbaron
2014-09-19 11:12:30 +10:00
Cameron McCormack
9f6b829fcb
Bug 931668 - Part 24: Avoid copying RestyleData::mDescendants when modifying an existing entry. r=dbaron
2014-09-05 13:48:48 +10:00
Cameron McCormack
9a07631783
Bug 931668 - Part 21: Fix issue where not all pending-restyle descendants are restyled. r=dbaron
2014-09-05 13:48:47 +10:00
Cameron McCormack
ececeecbd7
Bug 931668 - Part 10: Record pending restyles of restyle root descendants and ensure we restyle them if we didn't get to them. r=dbaron
2014-09-05 13:48:45 +10:00
L. David Baron
2b30e0b163
Bug 996796 patch 6 - Adjust checks of restyle types to accomodate new types weaker than eRestyle_Self. r=heycam
...
FIXME: Adjust for eRestyle_Force if bug 931668 lands first.
Later patches will add such types that are like eRestyle_Self but that
only replace the style attribute, animation rule, or transition rule.
2014-08-02 19:37:43 -07:00
L. David Baron
e5a5d8fd98
Bug 1026768 - Pass the restyle hint through from ProcessOneRestyle to ComputeStyleChangeFor rather than converting it to a boolean and back. r=heycam
...
This was originally bug 996796 patch 6, but it's also needed bug 931668,
so I'm moving it into its own bug.
2014-06-18 17:07:26 -07:00
William Chen
93c8625034
Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug
2014-06-07 01:42:54 -07:00
Victor Porof
298ca2ed1b
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Ehsan Akhgari
45b9b9b617
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
L. David Baron
0b56cfff8c
Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam
2013-07-30 17:36:08 -07:00
L. David Baron
19b49545d6
Bug 896138 patch 8: Add setter for RestyleManager::mInStyleRefresh rather than using friend. r=heycam (within review comments for patch 4)
...
(The friend declaration is still needed for access to RestyleElement,
which I'd rather leave private.)
2013-07-20 12:14:25 -07:00
L. David Baron
bb2688431e
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
L. David Baron
b9eb754656
Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam
2013-07-20 12:14:24 -07:00
Benoit Girard
f4b3710284
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 15:25:50 +01:00
Benoit Girard
4146042cfd
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Ed Morley
90c9bf415e
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
627fcd7895
Backed out changeset d195190adc48 (bug 851611)
2013-03-18 14:10:30 +00:00
Benoit Girard
0b880319f3
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 14:41:02 +01:00
Benoit Girard
6d0dfa5b89
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Matt Woodrow
077e43fa79
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Matt Woodrow
2f8ab51496
Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc
2012-12-10 15:33:04 +13:00
Ehsan Akhgari
243c878d26
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
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
bfcfb56d9b
Bug 709256 part 1. Fast-path RestyleTracker::ProcessRestyles when there aren't any restyles to process. r=roc
2011-12-14 23:42:14 -05:00
Jeff Muizelaar
87a35137e7
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Ehsan Akhgari
478ad1a412
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
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Boris Zbarsky
23c4137568
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Robert O'Callahan
55d2e81812
Backed out changeset 0c4519d63a98
2010-08-12 11:32:21 +12:00
Boris Zbarsky
8c807697b3
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Boris Zbarsky
a36b2c3391
Bug 573127. Adjust the assert slightly to make it match reality. r=dbaron
2010-06-23 00:47:23 -04:00
Boris Zbarsky
44622cf59d
Another missed review comment for bug 479655
2010-06-18 15:35:52 -04:00
Boris Zbarsky
0a494c827b
Addressing some bug 479655 review comments I missed.
2010-06-18 15:18:02 -04:00
Boris Zbarsky
bf21a41863
Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
ae6315f866
Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
dd043f1d13
Bug 479655 part 7. Switch to the new setup for tracking and handling restyles. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
4f92c20d44
Bug 479655 part 5. Pass the relevant restyle tracker through to style reresolution. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
e4c01dc054
Bug 479655 part 4. Move handling of eRestyle_LaterSiblings into RestyleTracker. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
302d756481
Bug 479655 part 3. Refactor restyle processing into a new RestyleTracker class. r=dbaron
2010-06-18 12:23:04 -04:00