Josh Matthews
6c868f53ab
Pin pycparser to known working version
2018-09-19 10:31:25 -04:00
bors-servo
0866dabc42
Auto merge of #21602 - ferjm:audiobuffer.crash, r=Manishearth
...
Fix all AudioBuffer WPTs
- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes
<!-- 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/21602 )
<!-- Reviewable:end -->
2018-09-19 04:07:04 -04:00
Fernando Jiménez Moreno
9b356334d5
Update WPT
2018-09-19 09:33:00 +02:00
Fernando Jiménez Moreno
4a927b5b78
Rustfmt audiobuffer.rs
2018-09-19 07:28:12 +02:00
Andre Bogus
34b5d8fbe8
This updates the smallvec crate and enables the union feature
...
We had a mix of 0.6.2 and 0.6.5 (which is the current release),
this unifies to the latest version. It also enables the union
feature which removes the discriminant, reducing memory usage.
2018-09-19 07:16:30 +02:00
Fernando Jiménez Moreno
138c739205
Keep shared and js channels in sync
2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
346d705c66
Do not skip buffer update during copyToChannel
2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
a81389268a
Throw IndexError if start_in_channel is equal to ArrayBuffer length
2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
10e8ab3892
Apply start_in_channel to destination and not source during AudioBuffer.CopyToChannel
2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
e0e1f5f900
Implement AudioBufferSourceOptions.AudioBuffer and always keep servo media audio buffer updated
2018-09-19 06:54:17 +02:00
Fernando Jiménez Moreno
5307766ed2
Check AudioBuffer options constraints
2018-09-19 06:54:16 +02:00
Fernando Jiménez Moreno
b8ade93538
Throw when trying to copy AudioBuffer data from or to a SharedArrayBuffer
2018-09-19 06:54:16 +02:00
Fernando Jiménez Moreno
e80ac0000f
Fix AudioBuffer crash. Do not modify number of channels while moving from shared to js channels
2018-09-19 06:54:16 +02:00
bors-servo
3889041cc6
Auto merge of #21734 - Manishearth:bootstrap-retcode, r=jdm
...
Return appropriate code from bootstrap_gstreamer
Otherwise it exits with 1
<!-- 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/21734 )
<!-- Reviewable:end -->
2018-09-18 20:18:06 -04:00
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