aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
...
* | Auto merge of #21506 - ferjm:webaudio.wpts, r=Manishearthbors-servo2018-09-252-6/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some WebAudio 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/21506) <!-- Reviewable:end -->
| * | Throw if time given to AudioScheduledSourceNode.stop is negativeFernando Jiménez Moreno2018-09-252-4/+8
| | |
| * | Use buffer_set flag for AudioBufferSourceNode buffer setterFernando Jiménez Moreno2018-09-251-2/+11
| | |
* | | Auto merge of #21757 - ferjm:offlineaudiocontext.constructor, r=jdmbors-servo2018-09-251-19/+17
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check constraints in both overloaded OfflineAudioContext constructors - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are WPTs tests for these changes and this should fix the remaining OfflineAudioContext failures. <!-- 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/21757) <!-- Reviewable:end -->
| * | Check constraints in both overloaded OfflineAudioContext constructorsFernando Jiménez Moreno2018-09-201-19/+17
| | |
* | | Auto merge of #21784 - servo:jdm-patch-33, r=noxbors-servo2018-09-231-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use standard buffer format for DEPTH_STENCIL This makes the Going Home title display for me on my Pixel 2. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21763 - [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/21784) <!-- Reviewable:end -->
| * | | webgl: Use standard texture format for WebGL-specific DEPTH_STENCIL format.Josh Matthews2018-09-211-3/+3
| | |/ | |/|
* / | webgl: Restore active texture if it's changed while deleting a texture.Josh Matthews2018-09-211-1/+1
|/ /
* | Auto merge of #21680 - paavininanda:relevant_mut, r=jdmbors-servo2018-09-203-11/+56
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding all the relevant mutations <!-- 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: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix a subset of #11416 <!-- Either: --> - [x] These changes do not require tests <!-- 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/21680) <!-- Reviewable:end -->
| * | Adding relevant mutations and new test resultspaavininanda2018-09-203-11/+56
| | |
* | | Auto merge of #21647 - AgustinCB:fix-space-leak-when-pipeline-is-closed, ↵bors-servo2018-09-201-4/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=asajeffrey Fix space leak when pipeline is closed Add a new control message to drop remove worklets. Implement `Drop` for `Worklet` and get the worklet thread pool. Use that pool to send `ExitWorklet` to all the threads with the id of the `Worklet` that it's dropping. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #17442 - [ ] There are tests for these changes OR - [x] These changes do not require tests because I don't know how to add a test for this :( If you consider this needs a test, could you point me out on how to write (and run!) one in this project? I gave this a couple tries, but I wasn't very successful. <!-- 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/21647) <!-- Reviewable:end -->
| * | | Fix space leak when pipeline is closedAgustin Chiappe Berrini2018-09-081-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new control message to drop remove worklets. Implement `Drop` for `Worklet` and get the worklet thread pool. Use that pool to send `ExitWorklet` to all the threads with the id of the `Worklet` that it's dropping.
* | | | Auto merge of #21750 - Manishearth:biquad, r=ferjmbors-servo2018-09-206-2/+233
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement BiquadFilterNode A bunch of tests still fail but some of it may be a timing issue, looking at it the tests are *at least* affected by https://github.com/servo/servo/issues/21659 (changing how they work to avoid problems from that does not make them pass but does change the exact value of the error), so I feel like I should fix that first before investigating these. r? @ferjm <!-- 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/21750) <!-- Reviewable:end -->
| * | | Fix GainNode constructor for gain audioparamManish Goregaokar2018-09-201-1/+1
| | | |
| * | | Add createBiquadFilter()Manish Goregaokar2018-09-203-5/+5
| | | |
| * | | Implement BiquadFilterNodeManish Goregaokar2018-09-204-0/+231
| | | |
* | | | Validate GLSL names (fixes #21287)Anthony Ramine2018-09-202-24/+67
| |_|/ |/| |
* | | Fix the error when calling getProgramInfoLog on a deleted program (#20561)Anthony Ramine2018-09-201-1/+1
| | |
* | | Remove some misplaced framebuffer validationsAnthony Ramine2018-09-201-10/+0
| | |
* | | implement missing steps for complete apinupurbaghel2018-09-202-7/+12
| | |
* | | Format script componentchansuke2018-09-19357-18128/+25537
| | |
* | | Auto merge of #21746 - llogiq:update-smallvec, r=emiliobors-servo2018-09-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/21746) <!-- Reviewable:end -->
| * | | This updates the smallvec crate and enables the union featureAndre Bogus2018-09-191-1/+1
| |/ / | | | | | | | | | | | | | | | 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.
* | | Auto merge of #21353 - DanxiongLei:damonlei_fix, r=jdmbors-servo2018-09-191-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix(webgl): fix issue https://github.com/servo/servo/issues/21352 If we have a bounded framebuffer previously, which is not the one to delete. we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default). change it to: check the id before sending the Command --- - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #21352 - [ ] There are tests for these changes OR - [x] These changes do not require tests because `it's obviously simple.` <!-- 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/21353) <!-- Reviewable:end -->
| * | | fix(webgl): fix issue https://github.com/servo/servo/issues/21352danxionglei2018-08-071-4/+3
| | | | | | | | | | | | | | | | | | | | If we have a bounded framebuffer previously, which is not the one to delete. we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default).
* | | | Rustfmt audiobuffer.rsFernando Jiménez Moreno2018-09-191-5/+13
| | | |
* | | | Keep shared and js channels in syncFernando Jiménez Moreno2018-09-191-7/+15
| | | |
* | | | Do not skip buffer update during copyToChannelFernando Jiménez Moreno2018-09-191-5/+1
| | | |
* | | | Throw IndexError if start_in_channel is equal to ArrayBuffer lengthFernando Jiménez Moreno2018-09-191-1/+1
| | | |
* | | | Apply start_in_channel to destination and not source during ↵Fernando Jiménez Moreno2018-09-191-6/+10
| | | | | | | | | | | | | | | | AudioBuffer.CopyToChannel
* | | | Implement AudioBufferSourceOptions.AudioBuffer and always keep servo media ↵Fernando Jiménez Moreno2018-09-193-42/+50
| | | | | | | | | | | | | | | | audio buffer updated
* | | | Check AudioBuffer options constraintsFernando Jiménez Moreno2018-09-191-1/+3
| | | |
* | | | Throw when trying to copy AudioBuffer data from or to a SharedArrayBufferFernando Jiménez Moreno2018-09-191-0/+8
| | | |
* | | | Fix AudioBuffer crash. Do not modify number of channels while moving from ↵Fernando Jiménez Moreno2018-09-191-4/+2
| |/ / |/| | | | | | | | shared to js channels
* | | Auto merge of #21712 - Manishearth:analysernode, r=ferjmbors-servo2018-09-186-2/+257
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -->
| * | | Set default channel count for AnalyserNode to 2Manish Goregaokar2018-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was deliberately changed (https://github.com/WebAudio/web-audio-api/pull/1397 ) but the tests have not been updated
| * | | Add createAnalyserManish Goregaokar2018-09-182-1/+8
| | | |
| * | | AnalyserNode in scriptManish Goregaokar2018-09-184-1/+249
| | | |
* | | | Auto merge of #21723 - servo:webgl, r=jdmbors-servo2018-09-184-138/+149
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -->
| * | | | Implement gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL)Anthony Ramine2018-09-181-1/+9
| | | | |
| * | | | Fix a small texSubImage2D bugAnthony Ramine2018-09-181-5/+6
| | | | |
| * | | | Implement proper origin checks for WebGL textures (fixes #21522)Anthony Ramine2018-09-183-41/+39
| | | | |
| * | | | Remove Canvas2dMsg::DrawImageSelfAnthony Ramine2018-09-171-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Now that all canvas share the same thread, it's useless to have a separate message for that.
| * | | | Don't create 2D canvas contexts arbitrarilyAnthony Ramine2018-09-162-86/+97
| | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, the canvas still has no rendering context, in this case it represents a transparent black rectangle.
| * | | | Mark some canvas methods as unsafeAnthony Ramine2018-09-161-5/+10
| |/ / / | | | | | | | | | | | | They use raw JS context pointers.
* / / / Fix Servo build.Emilio Cobos Álvarez2018-09-181-1/+4
|/ / /
* | | Auto merge of #21711 - servo:webgl, r=jdmbors-servo2018-09-1412-255/+400
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some fixes to canvas stuff <!-- 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/21711) <!-- Reviewable:end -->
| * | | Update HTMLCanvasElement WebIDL definitionAnthony Ramine2018-09-152-40/+37
| | | |
| * | | Update CanvasRenderingContext2D WebIDL definitionAnthony Ramine2018-09-143-105/+75
| | | | | | | | | | | | | | | | CanvasImageSource was never supposed to include CanvasRenderingContext2D.
| * | | Update the WebIDL parserAnthony Ramine2018-09-146-108/+284
| | | |