Commit Graph

522816 Commits

Author SHA1 Message Date
Nicolas Silva
22c22ec1aa Bug 1404477 - Merge ResourceUpdateQueue and TransactionBuilder. r=kats 2018-01-29 14:33:39 +01:00
Nicolas Silva
f55e3ca2f0 Bug 1404477 - WebRender document API bindings. r=kats 2018-01-29 14:33:35 +01:00
Jonathan Kew
9ed4a9f5b0 Bug 1432552 - Update font-inspector API test to cover the getVariationInstances() method. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
a9d3aedc1b Bug 1432552 - patch 3 - DirectWrite and macOS font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
9d76755d51 Bug 1432552 - patch 2 - Linux font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
7857c1de2a Bug 1432552 - patch 1 - Add a getVariationInstances() method to InspectorFontFace. r=dholbert,bz 2018-01-29 13:24:11 +00:00
Jonathan Kew
9eeaca34ef Bug 1433402 - Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel 2018-01-29 13:24:11 +00:00
Andrea Marchesini
3c7ea71285 Bug 1433625 - Implement console.createInstance().time("foo") correctly, r=smaug 2018-01-29 13:25:15 +01:00
sotaro
5af870ac7c Bug 1413390 - Add PluginGeometryUpdates handling for WebRenderLayerManager r=jrmuizel 2018-01-29 20:55:09 +09:00
Olli Pettay
75fad770e5 Bug 1433413 - Optimize IsEventTargetChrome, r=masayuki 2018-01-29 13:49:48 +02:00
Franziskus Kiefer
3b0ae69f9b Bug 1432177 - land NSS 1b20549e1075 UPGRADE_NSS_RELEASE, r=me 2018-01-29 12:28:20 +01:00
Tooru Fujisawa
a3ce7bc4c0 Bug 1430979 - Wait for focus event in addition to FormReady event in formautofill tests. r=MattN 2018-01-29 19:15:11 +09:00
shindli
ddf020c0e5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-29 12:00:28 +02:00
shindli
00a17dac6a Merge inbound to mozilla-central. a=merge 2018-01-29 11:51:34 +02:00
Lars T Hansen
d06dd69c12 Bug 1428453 : [MIPS] Implement hardware wasm traps support; patch=dragan.mladjenovic, r=luke, push=lth 2018-01-29 08:35:43 +01:00
Ryan VanderMeulen
7aca63f2d9 Bug 1433810 - Update pdf.js to version 2.0.303. r=bdahl 2018-01-28 16:54:07 -05:00
Andreea Pavel
6e4caeb112 Merge inbound to mozilla-central. a=merge 2018-01-28 23:48:41 +02:00
Andreea Pavel
fe726415d8 Merge autoland to mozilla-central. a=merge 2018-01-28 23:45:15 +02:00
ffxbld
57bf9bde8f No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2018-01-28 11:13:29 -08:00
ffxbld
7bc77b8169 No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2018-01-28 11:13:25 -08:00
Coroiu Cristina
09ec728b3e Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-01-28 12:44:50 +02:00
Coroiu Cristina
415e17e8fa Merge inbound to mozilla-central. a=merge 2018-01-28 12:40:33 +02:00
Andrea Marchesini
339c703613 Bug 1425559 - nsPrompter must use nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
Andrea Marchesini
2599812670 Bug 1425559 - "content-child-will-shutdown" notification when the content process starts the shutting down, r=smaug 2018-01-28 08:41:36 +01:00
Andrea Marchesini
6ca084192f Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug
Currently nsIThreadManager::spinEventLoopUntil doesn't monitor the shutting
down. Firefox shutting down can be blocked by a 'broken' use of
nsIThreadManager::spinEventLoopUntil.
nsIThreadManager::spinEventLoopUntilOrShutdown should be used instead.
2018-01-28 08:41:36 +01:00
Aneesh Agrawal
b1fec36f2d servo: Merge #19884 - Fix mutation test in CI by passing env vars correctly (from aneeshusa:fix-mutation-test); r=jdm
Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary
since it was the first token in the command string, which won't work.

Fix this by using the `env` command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the `buildbot_steps.yml` file.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes should fix #19821 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 025e5d773313e16ffe73ae63efc068b79b82d531
2018-01-27 23:38:04 -06:00
Gabriel Luong
48795467af Bug 1428170 - Update Codemirror to 5.33.0. r=bgrins 2018-01-28 00:04:37 -05:00
Emilio Cobos Álvarez
de08a6d44c Bug 1433591: Test that dynamic changes properly affect hit-testing for elements that have anon boxes. r=bz
MozReview-Commit-ID: 3NfL4Lf7yOu
2018-01-28 05:30:24 +01:00
Emilio Cobos Álvarez
c933c5eb83 Bug 1433591: Update the style of child anon box wrapper after owned anon boxes. r=bz
Since the former could inherit from the latter.

Test incoming in a followup.

MozReview-Commit-ID: LJjprcyjDyU
2018-01-28 05:11:07 +01:00
Kentaro Teramoto
8a4c077c64 Bug 1421395 - change focus ring in console from gray dotted line to blue, change active input caret color to toolbar-checked-color. r=nchevobbe
MozReview-Commit-ID: 6fUAi4199Yb
2018-01-27 08:33:33 +09:00
Kit Cambridge
75e9fd95e1 Bug 1433698 - Make trace logging for synced bookmark trees less noisy. r=markh
MozReview-Commit-ID: 1MSxKdsgsIu
2018-01-27 13:04:06 -08:00
Patrick Brosset
0f5aa16aae Bug 1424880 - Size the font for grid area names after the smallest dimension; r=gl
MozReview-Commit-ID: 7dWo8Fw6gwf
2018-01-28 16:40:32 +01:00
Andreea Pavel
ba22a67efc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-28 23:50:58 +02:00
Hiroyuki Ikezoe
443c084c2c Bug 1415780 - Drop CollectDocuments in nsRefreshDriver.cpp. r=hiro
MozReview-Commit-ID: ETSPKpWDuI4
2018-01-27 19:19:54 +09:00
Hiroyuki Ikezoe
9b5ed819f8 Bug 1415780 - Call UpdateTiming() prior to remove the animtion from the timeline in Animation::CancelNoUpdate. r=birtles
Now AnimationEventDispatcher ensures that the refresh driver's next tick
happens for cancel event, so we don't need to re-observe the timeline
(it happens in UpdateTiming) once after removing the animation from the
timeline.

MozReview-Commit-ID: 7ivclmYIkPa
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
5d807148ef Bug 1415780 - Let AnimationEventDispatcher observe nsRefreshDriver. r=birtles
So that we can now ensure nsRefreshDriver ticks (i.e. nsRefreshDriver doesn't
stop its timer) for all queued events.
Before this patch, dispatching CSS animation/transition events relied on the
fact that DocumentTimeline observes nsRefreshDriver.  For this fact,
animationcancel or transitioncancel event did not dispatch properly in some
cases, i.e. the case where the animation was dropped from the DocumentTimeline.

MozReview-Commit-ID: 7JYro0MY2U2
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
aeb371d4c9 Bug 1415780 - Make AnimationEventDispatcher::SortEvents() private. r=birtles
Now we sort pending events only when dispatching the events, i.e.
only inside DispatchEvent().

MozReview-Commit-ID: BZbuF8gD39b
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
d2a02a7a1b Bug 1415780 - Let nsPresContext have AnimationEventDispatcher. r=birtles
Now we sort CSS animation/transition events by scheduled event time prior
to compositor order.

SortEvents() will be a private method in the next patch in this patch
series.

MozReview-Commit-ID: ICkOayquN0f
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
a034829e2a Bug 1415780 - Make AnimationEventDispatcher refcountable. r=birtles
In a subsequent patch in this patch series, we want to make nsPresContext
have an AnimationEventDispatcher as RefPtr<>.

Instead, if we were trying to make nsPresContext have the
AnimationEventDispatcher as data object (not RefPtr<>) just like we did in
CommonAnimationManager, we will fall into header inclusion hell since Element.h
includes nsPresContext.h and AnimationEventDispatcher.h ends up including
Element.h.  Even if we could solve the inclusion hell, we will suffer from Rust
bindgen issues for some reasons.

MozReview-Commit-ID: B0nX2JzIRJD
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
e71a499c3f Bug 1415780 - De-templatize AnimationEventDispatcher. r=birtles,masayuki
Now single AnimationEventDispatcher can handle both CSS animation/transition
events simultaneously.  To do this we had to change AnimationEventInfo and
TransitionEventInfo into a single struct, the struct is also named
AnimationEventInfo.

It results we can sort both CSS animation/transition events altogether.  Thus
we make sure CSS animation/transition events are sorted by scheduled event time
prior to their composite order (i.e. transitions is prior to animations).

At this moment, we don't sort both events altogether since nsAnimationManager
and nsTransitionManager has an AnimationEventDispatcher respectively.  In the
next patch we move AnimationEventDispatcher into nsPresContext, i.e. each
document has an AnimationEventDispatcher without the distinction between
CSS animations and transitions.

Note that, after this patch, we copy all members in InternalTransitionEvent and
InternalAnimationEvent in the copy-constructor of AnimationEventInfo, this
will be fixed once WidgetEvent has move-constructor and move-assignment
(bug 1433008).

MozReview-Commit-ID: 5JAh6N7C6ee
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
240eb59065 Bug 1415780 - Split AnimationEventDipatcher into an independent file. r=birtles
MozReview-Commit-ID: Fcqtu7G400Z
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
cca79d6d8a Bug 1415780 - Rename DelayedEventsDispatcher to AnimationEventDispatcher. r=birtles
We plan to use this class to dispatch web animation API events as well
(bug 1354501).

MozReview-Commit-ID: 7DMmc0aJzJ5
2018-01-27 21:17:27 +09:00
Hiroyuki Ikezoe
540f88a904 Bug 1415780 - Drop the comment for nsAnimationManager::DispatchEvents(). r=birtles
The comment is no longer correct since bug 1180125.

MozReview-Commit-ID: A4NWgmwAOFt
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe
2582b42209 Bug 1415780 - Move AnimationCollection::PseudoTypeAsString into nsCSSPseudoElements. r=birtles
It's not need to be a template function since the function is independent from
AnimationType.

MozReview-Commit-ID: 13WkRIfaQbZ
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe
652a16bc3c Bug 1415780 - Don't count all observers for nsRefreshDriver. r=smaug
We just need information whether there is still an observer or not in most
cases.  The only case we need to know the count is in an assertion in the
dtor of nsRefreshDriver.  In the dtor we are checking there remains no
observers other than early runners.

Note that the order in HasObserver() was adjusted to reflect that we check
boolean flag first (mViewManagerFlushIsPending) and subsequently check observer
which is likey happen to.  mFrameRequestCallbackDocs should have checked prior
to mResizeEventFlushObservers though.

MozReview-Commit-ID: E1qplusqw1Y
2018-01-27 21:17:26 +09:00
Hiroyuki Ikezoe
ba96b7d221 Bug 1415780 - Undef GetCurrentTime in the template function that uses Animation::GetCurrentTime. r=birtles
MozReview-Commit-ID: DaOZtYRx4Ud
2018-01-27 21:17:26 +09:00
Tom Ritter
1d6d42232b Bug 1432319 Bump MinGW version to incorporate Process Mitigation structs needed by the sandbox r=froydnj
MozReview-Commit-ID: HnYuQa8DflY
2018-01-27 19:44:45 -06:00
CYBAI
088b6b59dd servo: Merge #19889 - script: Move style as Element method (from CYBAI:style-inside-element); r=emilio
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19886
- [x] These changes do not require tests because it should not break anything

Source-Repo: https://github.com/servo/servo
Source-Revision: 64c514ac3a54254720440d869c1c739f7b2a6802
2018-01-28 12:00:45 -06:00
Aneesh Agrawal
5f4ec8f3cb servo: Merge #19882 - Move global CI environment variables to servo (from aneeshusa:move-global-env-vars-to-servo); r=jdm
Migrate RUST_BACKTRACE out of saltfs.
SCCACHE_IDLE_TIMEOUT has already been migrated.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes help with servo/saltfs#770 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 1cb824d48e832b2e11b5e7341b188ad579b43111
2018-01-28 11:01:23 -06:00
Aneesh Agrawal
a074b6c44a servo: Merge #19883 - Re-enable sccache for Linux builds (from aneeshusa:reenable-sccache-partially); r=jdm
As far as I know, sccache is working properly
on the non-cross-compiling Linux builders.
For safety, only enable it for the builders that run on PRs,
to avoid breaking our nightly generation and scheduled test runs.

This will also allow testing new versions of sccache more easily.
This implements my suggestion from https://github.com/servo/servo/pull/19858#issuecomment-360514782, and should also let us
handle testing a new sccache: https://github.com/rust-lang/rust/issues/42867#issuecomment-358692077 (our current version of sccache [seems to be 2018-01-09](f50214b8fa/servo-build-dependencies/ci-map.jinja (L5))).

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 78ffce1cbe5fcce4d057b69c3cbf0cd2bc2b449c
2018-01-28 10:17:02 -06:00