Commit graph

34802 commits

Author SHA1 Message Date
bors-servo
a02c43dc67
Auto merge of #21712 - Manishearth:analysernode, r=ferjm
Implement AnalyserNode

<s>Needs https://github.com/servo/media/pull/127 to land (and a dependency
update)</s>

r? @ferjm

realtimeanalyser-fft-scaling.html, the test that actually checks for some level of FFT correctness, sadly doesn't work since we don't process nodes not connected to the destination.

However I locally fixed the test to work differently and it passed. We'll fix the processing model eventually.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21712)
<!-- Reviewable:end -->
2018-09-18 18:59:07 -04:00
bors-servo
97dc06c305
Auto merge of #21741 - Eijebong:deadlocks-should-stay-dead, r=jdm
Try to unlock the global lock in StructuredLogger after reloading log…

…ging

This should finally fix all the websockets related failures we've been
seeing lately.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21741)
<!-- Reviewable:end -->
2018-09-18 17:28:20 -04:00
Bastien Orivel
c692094225 Try to unlock the global lock in StructuredLogger after reloading logging
This should finally fix all the websockets related failures we've been
seeing lately.
2018-09-18 23:01:07 +02:00
Manish Goregaokar
cc32e12d0a More WPT expectation updates 2018-09-19 00:09:09 +05:30
Simon Sapin
860c827265 Build with sccache, cache the sccache cache 2018-09-18 19:28:34 +02:00
Simon Sapin
e5902fed9b sccache 2018-09-18 19:14:34 +02:00
Simon Sapin
5e08c83387 Single, shorter task for now 2018-09-18 18:58:18 +02:00
bors-servo
8a1751c2aa
Auto merge of #21738 - servo:jdm-patch-24, r=SimonSapin
Merge android-x86 tests into one step.

This should address some of the bleeding caused by #21736.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21738)
<!-- Reviewable:end -->
2018-09-18 12:33:19 -04:00
Simon Sapin
e217d66c02 Full Servo 2018-09-18 17:19:17 +02:00
Josh Matthews
56ddf863ad
Merge android-x86 tests into one step. 2018-09-18 11:14:54 -04:00
bors-servo
82e94e3b67
Auto merge of #21723 - servo:webgl, r=jdm
More drive-by WebGL and canvas fixes

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21723)
<!-- Reviewable:end -->
2018-09-18 11:06:51 -04:00
Simon Sapin
42bb1d756b YAML aliases 2018-09-18 16:07:24 +02:00
Simon Sapin
eb1c798a98 Only fetch the relevant git ref 2018-09-18 16:07:24 +02:00
Manish Goregaokar
e9be179952 Set default channel count for AnalyserNode to 2
This was deliberately changed
(https://github.com/WebAudio/web-audio-api/pull/1397 ) but the tests
have not been updated
2018-09-18 18:18:36 +05:30
Manish Goregaokar
f3efd14975 Update interfaces.html 2018-09-18 18:18:36 +05:30
Manish Goregaokar
ed12e8dc49 Update WPT expectations 2018-09-18 18:18:36 +05:30
Manish Goregaokar
9dfc57878e Add createAnalyser 2018-09-18 18:18:36 +05:30
Manish Goregaokar
aa2ccb38ca Update WPT expectations 2018-09-18 18:18:36 +05:30
Manish Goregaokar
18b9ad9e5c AnalyserNode in script 2018-09-18 18:18:36 +05:30
Manish Goregaokar
a29a54616d Update servo-media 2018-09-18 18:18:35 +05:30
Manish Goregaokar
df5c31bada Return appropriate code from bootstrap_gstreamer 2018-09-18 18:14:37 +05:30
bors-servo
bdf450336e
Auto merge of #21735 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21735)
<!-- Reviewable:end -->
2018-09-18 06:02:00 -04:00
Emilio Cobos Álvarez
c7fc80c5a3
Fix unit test build. 2018-09-18 12:01:31 +02:00
Emilio Cobos Álvarez
60e28c61e5
Fix Servo build. 2018-09-18 11:52:39 +02:00
Anthony Ramine
900c3cc6b5 Implement gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) 2018-09-18 11:48:34 +02:00
Emilio Cobos Álvarez
5ab81c4254
style: Make Servo build.
StrongRuleNode is really Sync.
2018-09-18 11:46:23 +02:00
Emilio Cobos Álvarez
4c97f68f3e
Fix tidy issues. 2018-09-18 11:46:01 +02:00
Manish Goregaokar
84ca681a78
servo_arc cleanups for publishing.
Differential Revision: https://phabricator.services.mozilla.com/D6034
2018-09-18 11:39:54 +02:00
Emilio Cobos Álvarez
22da3c22a2
style: Make LonghandId::flags an indexing operation.
I always see a bunch of time in our profiles in the iterator over the
declarations, this ensures it's not something dumb.

I suspect it's just a bunch of cache misses from walking the rule tree but in
any case this is consistent with the other getters we have and such.

Differential Revision: https://phabricator.services.mozilla.com/D5971
2018-09-18 11:39:48 +02:00
Emilio Cobos Álvarez
bc39f16b4b
style: Simplify CSSWideKeyword::parse.
Differential Revision: https://phabricator.services.mozilla.com/D5972
2018-09-18 11:39:42 +02:00
Emilio Cobos Álvarez
72ce653daf
style: Allow integer division inside calc() expressions.
Differential Revision: https://phabricator.services.mozilla.com/D5980
2018-09-18 11:39:36 +02:00
Emilio Cobos Álvarez
5cafac5d10
style: Remove DeclaredValue.
I think it used to be the case that all PropertyDeclaration variants had a
DeclaredValueOwned<T> inside. But that's no longer the case, so this abstraction
seems less useful now.

Differential Revision: https://phabricator.services.mozilla.com/D5978
2018-09-18 11:39:31 +02:00
Emilio Cobos Álvarez
4cd0f492f4
style: Deindent the non-css-wide-keyword-related code from cascade_property.
There's no good reason we construct a DeclaredValue as an intermediate step.

Differential Revision: https://phabricator.services.mozilla.com/D5977
2018-09-18 11:39:25 +02:00
Emilio Cobos Álvarez
c155efe7a5
style: Remove DeclaredValue::WithVariables.
We never construct it.

Differential Revision: https://phabricator.services.mozilla.com/D5976
2018-09-18 11:39:17 +02:00
Emilio Cobos Álvarez
d5ba19696a
style: Make ExtremumLength::valid_for static.
Differential Revision: https://phabricator.services.mozilla.com/D5975
2018-09-18 11:39:12 +02:00
Emilio Cobos Álvarez
8040c8bfec
style: Split apply_declarations into its own file, and without mako.
All that font code thrown out in the middle was making me mad.

There should be no change in behavior from this patch.

I ran rustfmt on the code but I corrected manually the following:

  https://github.com/rust-lang-nursery/rustfmt/issues/3025

Differential Revision: https://phabricator.services.mozilla.com/D5970
2018-09-18 11:39:06 +02:00
Anthony Ramine
fe6f53ffb4 Fix a small texSubImage2D bug 2018-09-18 10:49:31 +02:00
Anthony Ramine
8c100b23b1 Implement proper origin checks for WebGL textures (fixes #21522) 2018-09-18 10:33:42 +02:00
WPT Sync Bot
141a52794b Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432 2018-09-17 22:59:59 -04:00
Anthony Ramine
e745050f3a Update some outdated expectations 2018-09-17 23:44:41 +02:00
bors-servo
e98cd07910
Auto merge of #21731 - syniuhin:add-llvm-to-macos-deps, r=asajeffrey
Add llvm to macOS required dependencies in docs

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

@gterzian described it [in their comment](https://github.com/servo/servo/issues/21498#issuecomment-415698332) pretty well:

> latest "command line tools" that come with it(and include Apple's version of llvm), it might be that the current default Mac llvm is too old to compile the latest mozjs version(it appeared that after the OS update, no version of clang/llvm was installed until I downloaded the "new" command-line tools for the new OS)

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's a change to markdown file.

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21731)
<!-- Reviewable:end -->
2018-09-17 15:01:06 -04:00
syniuhin
9904ba5645 Add llvm to macOS required dependencies in docs 2018-09-17 21:42:13 +03:00
Anthony Ramine
36c8cd229e Remove Canvas2dMsg::DrawImageSelf
Now that all canvas share the same thread, it's useless to have a separate message
for that.
2018-09-17 16:24:01 +02:00
bors-servo
2239fac07c
Auto merge of #21728 - servo-wpt-sync:wpt_update_16-09-2018, r=jdm
Sync WPT with upstream (16-09-2018)

Automated downstream sync of changes from upstream as of 16-09-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21728)
<!-- Reviewable:end -->
2018-09-17 07:56:34 -04:00
bors-servo
605d74c59b
Auto merge of #21729 - Manishearth:gstreamer-lib, r=ferjm
Mention gstreamer LIB variable for Windows

This got missed.

Ideally we'll get bootstrap to do all of this, but I haven't yet made
bootstrap work properly for Windows.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21729)
<!-- Reviewable:end -->
2018-09-17 06:02:41 -04:00
Manish Goregaokar
0b5c7e9c35 Mention gstreamer LIB variable for Windows 2018-09-17 15:07:15 +05:30
Anthony Ramine
9f7b746430 Specify capacity in CanvasData::read_pixels 2018-09-17 10:01:13 +02:00
WPT Sync Bot
5e9d150c07 Update web-platform-tests to revision 1aaada4bbc936024441fe7995b77c21a2c554da1 2018-09-16 22:48:56 -04:00
Anthony Ramine
21e992bf40 Update azure
https://github.com/servo/rust-azure/pull/293
2018-09-16 20:53:38 +02:00
Anthony Ramine
f1e8eb640c Don't create 2D canvas contexts arbitrarily
Sometimes, the canvas still has no rendering context, in this case it represents
a transparent black rectangle.
2018-09-16 20:44:41 +02:00