KuoE0
eb9b79b55c
Bug 1342863 - (Part 6) DocGroup labeling for timer callback in PresShell. r=dholbert
...
MozReview-Commit-ID: 9gfiu9DN2aT
2017-03-15 17:37:24 +08:00
KuoE0
dc70aa1bce
Bug 1342863 - (Part 1) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in PresShell. r=dholbert
...
MozReview-Commit-ID: HNBIDrSAo5B
2017-03-09 17:08:41 +08:00
Wei-Cheng Pan
41952f0b5c
Bug 1341531 - Measure input event dispatching latency. (*_EVENT_RECEIVED_MS) r=smaug
...
This patch measures the time from an input event creation, to it been
dispatched to PresShell, but just before any handler been executed.
MozReview-Commit-ID: 6ZYra7YYICY
2017-02-08 15:11:53 +08:00
Carsten "Tomcat" Book
0e87ee5db5
Backed out changeset 17d753a5dd9a (bug 1342863) for bustage
2017-03-23 08:41:57 +01:00
Carsten "Tomcat" Book
37040b9199
Backed out changeset 07e257b46b6f (bug 1342863)
2017-03-23 08:41:25 +01:00
KuoE0
1b6a7b75e3
Bug 1342863 - (Part 6) DocGroup labeling for timer callback in PresShell. r=dholbert
...
MozReview-Commit-ID: 9gfiu9DN2aT
2017-03-15 17:37:24 +08:00
KuoE0
2a6d227786
Bug 1342863 - (Part 1) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in PresShell. r=dholbert
...
MozReview-Commit-ID: HNBIDrSAo5B
2017-03-09 17:08:41 +08:00
Markus Stange
7dc30cc736
Bug 1339897 - Rename PROFILER_LABEL_PRINTF to PROFILER_LABEL_DYNAMIC and make it really cheap. r=Ehsan,njn
...
Instead of copying and concatenating strings into an mDest buffer in
SamplerStackFramePrintfRAII, require callers to keep the string buffer alive
for the duration of the current scope, and store the pointer to the annotation
string in the ProfileEntry. During stackwalking, concatenate the label and the
annotation (separated by a space) and store the resulting string in the
profile buffer.
MozReview-Commit-ID: GEjcLrhhdvb
2017-03-22 19:37:33 -04:00
Iris Hsiao
13ba8c0abf
Backed out changeset 140374af2570 (bug 1341531) for build bustage
2017-03-22 15:52:39 +08:00
Wei-Cheng Pan
87ba13158a
Bug 1341531 - Measure input event dispatching latency. (*_EVENT_RECEIVED_MS) r=smaug
...
This patch measures the time from an input event creation, to it been
dispatched to PresShell, but just before any handler been executed.
MozReview-Commit-ID: 6ZYra7YYICY
2017-02-08 15:11:53 +08:00
Emilio Cobos Álvarez
c4199a94f8
Bug 1296516: Cleanup infallible or unchecked nsCSSFrameConstructor methods. r=heycam
...
MozReview-Commit-ID: IoMOQyAhadv
2017-03-20 22:28:16 +01:00
Emilio Cobos Álvarez
242bc7d424
Bug 1347381: Tell Servo earlier about stylesheet changes. r=heycam
...
MozReview-Commit-ID: 4FcFzvSTckm
2017-03-15 19:54:11 +01:00
Stone Shih
fc539f8060
Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug
2017-03-03 13:24:20 +08:00
Stone Shih
be4086e6ac
Bug 1323158 - Part 3: Fire boundary events when dispatching gotpointercapture. r=smaug
2017-01-20 15:00:07 +08:00
Stone Shih
9b3b9658a3
Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug
2017-01-18 15:25:44 +08:00
Stone Shih
f676b67d9c
Bug 1346166 - Set isHandlingUserInput = true when dispatching pointerdown and pointerup. r=smaug
2017-03-11 14:10:52 +08:00
Timothy Nikkel
3d803646ac
Bug 1346109. Change the image visibility frame walker to handle missing displayport base rects. r=botond
...
We set the base rect for root scroll frames of root content documents and top level documents because it is quick and easy to calculate it.
Otherwise we ignore the display port if we are missing a base rect, and treat it like a scrollframe without a displayport. This is likely better behaviour as if the base rect is missing the computed displayport may not even cover what is currently visible.
2017-03-11 01:00:51 -06:00
Bobby Holley
fe8dc59428
Bug 1344386 - Don't look for overlapping change hints in stylo documents. r=emilio
...
MozReview-Commit-ID: 9wK8TTXolPM
2017-03-07 13:14:32 -08:00
Mats Palmgren
89416847ae
Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
...
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead. r=tn
MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
7c43dcf986
Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
...
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Stone Shih
07a1a01198
Bug 1340085 - [Pointer Event] Stop firing pointer events after firing eTouchCancel. f=smaug. r=kats
2017-02-16 15:05:09 +08:00
Emilio Cobos Álvarez
f4eb911148
Bug 1341083: Cleanup infallible ProcessRestyledFrames. r=heycam
...
MozReview-Commit-ID: JfugKoU6caG
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io >
2017-02-25 19:15:33 +01:00
Wes Kocher
d2ae02e129
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2xWBiKMAozs
2017-02-23 16:59:01 -08:00
Kartikaya Gupta
f2ce17b763
Merge m-c to graphics
...
MozReview-Commit-ID: BMjcETZ38gw
2017-02-23 09:51:44 -05:00
sotaro
87e0825b4a
Bug 1341163 - Update LayerManager handling PresShell::RenderDocument() r=nical
2017-02-23 10:49:46 +09:00
Cameron McCormack
b16e5f7bca
Bug 1337258 - Support ServoStyleSheets in nsStyleSheetService. r=xidorn
...
MozReview-Commit-ID: 4vaHzDBZHFg
2017-02-21 10:42:27 +08:00
Ting-Yu Lin
e6769617e9
Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert
...
This patch is written by the following script with some manual adjustment to
the comment in nsRubyTextContainerFrame.cpp and nsRubyFrame.cpp, and
nsColumnSetFrame's constructor.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "nsReflowStatus *([a-zA-Z0-9]*) = NS_FRAME_COMPLETE" "nsReflowStatus \1"
rename "([a-zA-Z0-9.*]*) *= NS_FRAME_COMPLETE;" "\1.Reset();"
rename "([a-zA-Z0-9.*]*) == NS_FRAME_COMPLETE" "\1.IsEmpty()"
MozReview-Commit-ID: 9tqQAHvdQex
2017-02-14 17:55:48 +08:00
Markus Stange
50d3418d30
Bug 1340709 - Add profiler tracing markers for more phases of the refresh tick. r=mattwoodrow
...
This adds markers for FireScrollEvent, DispatchSynthMouseMove, ForwardTransaction, and NotifyDidPaint.
MozReview-Commit-ID: 9XahFGzIOls
2017-02-17 13:03:37 -05:00
Wes Kocher
7edbcda21d
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Boris Zbarsky
2be49a7995
Bug 1339891 part 2. Make FlushPendingNotifications on a presshell quickly no-op if there is nothing to flush. r=heycam
2017-02-17 13:38:44 -05:00
Boris Zbarsky
d8056f09f6
Bug 1339891 part 1. Make the invariants around nsIPresShell::FlushPendingNotifications clearer. r=mats
2017-02-17 13:38:44 -05:00
Wes Kocher
0e7757aeda
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher
b91739bde1
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Daniel Holbert
9ee6665728
Bug 1338772: Move mInFlush tweak a bit closer to the actual flushing, in PresShell::FlushPendingNotifications. r=bz
...
MozReview-Commit-ID: 9jeQVl6iX56
2017-02-15 09:55:33 -08:00
Bill McCloskey
f79edeabc9
Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
...
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Jeff Walden
a6ec779698
Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz
2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book
18ab6a9a02
Merge mozilla-central to autoland
2017-02-15 12:59:23 +01:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Cameron McCormack
7e0b0226e3
Bug 1340090 - Annotate fall through to satisfy static analysis on a CLOSED TREE. r=me a=tomcat+bustage-fix
2017-02-17 01:38:00 +01:00
Cameron McCormack
7daf2c7fe5
Bug 1340090 - Make nsStyleSheetService notify PresShells directly instead of using the observer service. r=bz
...
MozReview-Commit-ID: 4xz422B6GSv
2017-02-17 15:56:28 +08:00
Matt Woodrow
e40a3c55b7
Bug 1302071 - Part 5: Bucket PresContext invalidations by transaction ID, and only deliver them when the associated composite has completed. r=tnikkel
...
This patch does a few things:
* Buckets invalidations by transaction ID, and sends MozAfterPaints events for them when the associated composite completes.
* Creates a separate EventualDidPaint timer for each transaction ID we have invalidations for rather than just using one.
* Removes NotifyDidPaintForSubtree(PAINT_LAYERS), as it was only necessary for the existing bucketing mechanism.
MozReview-Commit-ID: JERMsgxhPQd
2017-02-17 15:16:15 +13:00
Matt Woodrow
41d4c15ba3
Bug 1302071 - Part 4: Pass the current transaction ID to NotifyInvalidation. r=tnikkel
...
MozReview-Commit-ID: AMLjzElRp1l
2017-02-17 15:15:45 +13:00
Matt Woodrow
2cebc9affd
Bug 1302071 - Part 3: Remove flags parameter to NotifyInvalidation since it's unused. r=tnikkel
...
MozReview-Commit-ID: 8hC1GglMhk2
2017-02-17 11:50:58 +13:00
Matt Woodrow
96389b5cf7
Bug 1302071 - Part 1: Remove AddPresShellToInvalidateIfHidden since it doesn't appear to be necessary. r=tnikkel
...
We added this so that MozAfterPaint events would be delivered to hidden documents as part of bug 539356, but I don't remember what needed it.
It doesn't appear to be necessary for any tests any more, so let's just get rid of it
MozReview-Commit-ID: HcmIjstZyLQ
2017-02-17 11:49:29 +13:00
Cameron McCormack
87f3ad6dfb
Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
...
MozReview-Commit-ID: 7lsti0bGzNr
2017-02-13 11:21:33 +08:00
William Chen
ae6e16da55
Bug 1332511 - Adjust telemetry histograms for time to first input probes. r=jwatt, data=bsmedberg
2017-01-31 21:49:06 -07:00
Cameron McCormack
2f1c8d26fe
Bug 1334735 - Part 3: Really set mNeedLayoutFlush when skipping suppressed interruptible reflows. r=bz
...
MozReview-Commit-ID: AKL9LShifvI
2017-02-10 10:42:28 +08:00
Cameron McCormack
c6a66bcfd8
Bug 1334735 - Part 2: Add separate flag to track need to flush throttled animations. r=bz,birtles
...
MozReview-Commit-ID: 6Vi3laKcbmG
2017-02-10 10:42:28 +08:00
Cameron McCormack
334e0fe231
Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
...
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Jessica Jong
1653fdc0ea
Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
2017-02-03 05:16:00 -05:00