aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add nightly task to build and run tests with latest webrender.jdm-patch-34Josh Matthews2019-11-271-5/+18
|
* Auto merge of #24858 - saschanaz:handle-property, r=jdmbors-servo2019-11-272-28/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle u32 property indices <!-- Please describe your changes on the following line: --> Tried porting from Gecko, not sure how to do void JSID check yet. --- <!-- 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 #14093 <!-- Either: --> - [x] There are tests for these changes <!-- 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. -->
| * Handle u32 property indicesKagami Sascha Rosylight2019-11-272-28/+40
| |
* | Auto merge of #24871 - servo:2020-ci, r=nox,SimonSapinbors-servo2019-11-2745-225/+363
|\ \ | | | | | | | | | | | | | | | Run WPT with Layout 2020 on CI … and gate PRs on the result.
| * | Add decision task support for `try=wpt-2020`Simon Sapin2019-11-271-3/+8
| | | | | | | | | | | | This also needs support in Homu’s configuration file
| * | Use the rayon pool when computing styles in layout 2020Anthony Ramine2019-11-271-1/+1
| | |
| * | Remove some stale servo-2020 gatesAnthony Ramine2019-11-273-5/+3
| | |
| * | Dump more stuff in the assertion in set_font_size_dependencyAnthony Ramine2019-11-271-1/+3
| | |
| * | Split FlowChildren in IndependentLayout and FlowLayoutAnthony Ramine2019-11-266-48/+61
| | | | | | | | | | | | | | | The result of doing the layout of an independent formatting context should be unconcerned with margin collapsing.
| * | Make NodeExt private in layout_2020Anthony Ramine2019-11-262-4/+8
| | |
| * | Rename Arc to ServoArc in layout_2020::dom_traversalAnthony Ramine2019-11-261-10/+10
| | |
| * | Add a .servobuild option for --with-debug-assertionsSimon Sapin2019-11-262-1/+5
| | |
| * | Run WPT for Layout 2020 on CISimon Sapin2019-11-261-29/+67
| | |
| * | Linux release build CI: time virtualenv creation and `cargo fetch`Simon Sapin2019-11-261-0/+2
| | |
| * | Update WPT expectations for Layout 2020Simon Sapin2019-11-2630-2/+58
| | |
| * | Use std::mem::take instead of defining itSimon Sapin2019-11-263-15/+5
| | |
| * | Make IndependentFormattingContext a struct that owns stylesSimon Sapin2019-11-269-123/+149
| | | | | | | | | | | | | | | | | | | | | | | | … and has a private enum for its contents. Privacy forces the rest of the code to go through methods rather than matching on the enum, reducing accidental layout-mode-specific behavior.
* | | Auto merge of #24870 - pshaughn:2909, r=jdmbors-servo2019-11-274-41/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #2909 (squashed version of PR #24865) <!-- Please describe your changes on the following line: --> Now using data-url::forgiving_base64 instead of base64, this fixes all the fetch/data-urls/base64.* tests. --- <!-- 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 do not quite fix yet #2909 <!-- Either: --> - [X] 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. -->
| * | | Fix #2909 as far as WPT is concerned, not full data-url class integrationPatrick Shaughnessy2019-11-264-41/+17
| |/ /
* | | Auto merge of #24877 - atouchet:master, r=jdmbors-servo2019-11-271-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update some URLs <!-- 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. -->
| * | Update some URLsAlex Touchet2019-11-261-2/+2
| | |
* | | Auto merge of #24862 - jdm:js-init-destroy-fit-the-second, r=asajeffreybors-servo2019-11-275-9/+45
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure SpiderMonkey shuts down cleanly This is the alternate solution that I described in #24845. Given how much simpler the resulting code is, I'm now much more in favour of this design. Depends on https://github.com/servo/rust-mozjs/pull/487. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21696 and fix #22276 - [x] There are tests for these changes
| * | | Remove use of deprecated language construct.Josh Matthews2019-11-261-1/+1
| | | |
| * | | script: Ensure JS engine is initialized and deinitialized on the same thread.Josh Matthews2019-11-265-8/+44
| | | |
* | | | Auto merge of #24868 - servo-wpt-sync:wpt_update_26-11-2019, r=servo-wpt-syncbors-servo2019-11-2690-260/+1854
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync WPT with upstream (26-11-2019) Automated downstream sync of changes from upstream as of 26-11-2019. [no-wpt-sync] r? @servo-wpt-sync
| * | | | Update web-platform-tests to revision 1cee79240e1a6e2df18faa0ed27c7febada1e3fbWPT Sync Bot2019-11-2690-260/+1854
| | | | |
* | | | | Auto merge of #24861 - asajeffrey:gstplugin-url, r=ferjmbors-servo2019-11-261-6/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add url parameter to the servosrc gstreamer plugin <!-- Please describe your changes on the following line: --> Support a `url` parameter for the gstreamer plugin. --- <!-- 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 #24836 - [x] These changes do not require tests because adding features to a port <!-- 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. -->
| * | | | | Add url parameter to the servosrc gstreamer pluginAlan Jeffrey2019-11-251-6/+58
| | | | | |
* | | | | | Auto merge of #24859 - jdm:surfman-fallible, r=Manishearthbors-servo2019-11-261-9/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't panic if surfman initialization fails. Since WebGL is only one component of the web platform, there's no reason that failing to initialize surfman for webgl support should take down the entire browser. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24642 (in that the browser will now start up) and fix #24627 - [x] These changes do not require tests because tests for graphics acceleration? don't make me laugh.
| * | | | | | Don't panic if surfman initialization fails.Josh Matthews2019-11-251-9/+24
| | | | | | |
* | | | | | | Auto merge of #24758 - gterzian:impl_timer_task_source, r=noxbors-servo2019-11-2613-204/+241
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement timer-task-source, time-out service worker <!-- Please describe your changes on the following line: --> Implements the timer task-source, and folds the IPC glue-code into a single route set by the globalscope. Also switches service worker to using a dedicated "time-out" mechanism, which previously relied on the timer mechanism(and I think didn't actually implement script timers). --- <!-- 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 #24747 (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. -->
| * | | | | | | impl timer-task-source, dedicated time-out mechanism for service-workerGregory Terzian2019-11-1913-204/+241
| | | | | | | |
* | | | | | | | Auto merge of #24783 - mmatyas:webgl_fns_readpixels, r=noxbors-servo2019-11-269-404/+385
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for WebGL2 ReadPixels functions Adds support for the new ReadPixels functions introduced with WebGL2 and the relevant PixelStorei parameters.. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.10 <!-- Please describe your changes on the following line: --> --- This is a work in progress patch, but I think it might be ready for comments. There are a few issues left: - When the target is the pixel pack buffer, the GL function expects a byte offset as a pointer. In Sparkle the `read_pixels` functions return/work on top of arrays, so for now I've made a [workaround patch](https://github.com/mmatyas/sparkle/commit/45d8bb263d87edcf6c2608fe14d717430025fdc2). I wonder if that's okay or should we do it somehow differently? - When writing to the pixel pack buffer, padding bytes on the destination are properly ignored. When writing to client buffers, Sparkle `read_pixels` returns a buffer with 1 byte alignment, which I think is fine (less stuff to move between threads), but requires positioning the rows manually (see the bottom of `read_pixels_into` vs. `ReadPixels_`). - There are some duplicated code between the array buffer and pixel pack buffer variants, eg. the detection of intersection with the framebuffer. This could be refactored, but that results in a function with `Result<Option<Rect<u32>>, WebGLError>`, which I'm not sure is readable enough to help. - There is a duplication with the WebGL1 code. WebGL2 introduces row length, skip pixels and skip rows as pixel pack parameters which affect the ReadPixels operation. The helper functions could be moved to be usable in WebGL1, but then these new modifiers would also need to be passed as a function parameter, which is somewhat ugly (but would work). What's your opinion about this? cc @jdm @zakorgy --- <!-- 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] There are tests for these changes <!-- 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. -->
| * | | | | | | | Add support for WebGL2 ReadPixels functionsMátyás Mustoha2019-11-269-404/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for the new ReadPixels functions introduced with WebGL2 and the relevant PixelStorei parameters. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.10
* | | | | | | | | Auto merge of #24842 - servo:jdm-patch-34, r=noxbors-servo2019-11-266-271/+12
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make JS runnables for workers execute on correct event loop - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24812
| * | | | | | | | Ensure JS runnables are dispatched to a worker's event loop instead of its ↵Josh Matthews2019-11-226-271/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parent.
* | | | | | | | | Auto merge of #24863 - asajeffrey:gstplugin-resizing, r=ferjmbors-servo2019-11-261-5/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gstreamer plugin should resize when it's presented with frames to fill <!-- Please describe your changes on the following line: --> This is a workaround for race conditions in the embedder. --- <!-- 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 #24835 - [x] These changes do not require tests because it's fixing a bug with an embedding <!-- 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. -->
| * | | | | | | | | The gstreamer plugin should resize when it's presented with frames to fill, ↵Alan Jeffrey2019-11-251-5/+8
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | not when caps are set
* | | | | | | | | Auto merge of #24854 - paulrouget:xrprompt, r=Manishearthbors-servo2019-11-268-1/+125
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompt user to install OpenXR package if not installed Fix #24086 It's important to note that this PR introduces a restricted capability. During the app store submission process we will need to justify why we want to use that capability. This piece of UI is important for the Emulator, where OpenXR is not available by default.
| * | | | | | | | Prompt user to install OpenXR package if not installedPaul Rouget2019-11-268-1/+125
| | | | | | | | |
* | | | | | | | | Auto merge of #24866 - Manishearth:iterator-invalidation, r=jdmbors-servo2019-11-253-1/+62
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix iterator invalidation in our forEach implementation. Currently we iterate over iterables in forEach based on the length they report when we start iterating, however the inner callback is able to change this. ```js let params = new URLSearchParams("foo=bar&baz=qux"); params.forEach((p) => { console.log(p); params.delete("baz"); }) ``` This causes us to panic [here](https://github.com/servo/servo/blob/f1aa5d8dbdc32f6f474b09234558652b9bead686/components/script/dom/bindings/codegen/CodegenRust.py#L7412) over an attempt to access out of bounds. Relevant spec: https://heycam.github.io/webidl/#es-forEach r? @jdm
| * | | | | | | | Add WPT test for invalidating WebIDL iterators during forEachManish Goregaokar2019-11-252-0/+50
| | | | | | | | |
| * | | | | | | | Fix iterator invalidation in our forEach implementation.Manish Goregaokar2019-11-251-1/+12
|/ / / / / / / /
* | | | | | | | Auto merge of #24857 - pshaughn:master, r=jdmbors-servo2019-11-252-2/+2
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add llvm-dev to Debian requirements <!-- 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 - [X] These changes fix #24852 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it's the build process itself, not servo code <!-- 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. -->
| * | | | | | | Merge branch 'master' of https://github.com/pshaughn/servoPatrick Shaughnessy2019-11-2380-138/+1681
| |\ \ \ \ \ \ \
| * | | | | | | | llvm-dev is required on DebianPatrick Shaughnessy2019-11-232-2/+2
| | | | | | | | |
* | | | | | | | | Auto merge of #24754 - asajeffrey:gstplugin, r=ferjmbors-servo2019-11-2513-11/+1088
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a gstreamer servosrc plugin <!-- Please describe your changes on the following line: --> A first draft of a gstreamer plugin. Lots of stuff to fix, most importantly that it should write to GL memory, not do readback. But it's a start! --- <!-- 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 do not require tests because it's a new platform <!-- 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. -->
| * | | | | | | | | Run bootstrap-gstreamer in CIAlan Jeffrey2019-11-251-1/+5
| | | | | | | | | |
| * | | | | | | | | Require gstreamer 1.16 in machAlan Jeffrey2019-11-252-4/+4
| | | | | | | | | |
| * | | | | | | | | Add a gstreamer servosrc pluginAlan Jeffrey2019-11-2511-6/+1079
| | |/ / / / / / / | |/| | | | | | |