aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Added gstreamer support to the magicleap portAlan Jeffrey2019-08-082-10/+4
|
* Fix a panic when using layout 2020Anthony Ramine2019-08-061-2/+4
|
* Auto merge of #23896 - nox:layout-2020, r=SimonSapinbors-servo2019-08-0119-22/+4732
|\ | | | | | | | | | | | | | | | | | | | | | | Remove most of the things in layout 2020 We keep mostly the query system. There is probably more to delete but that's a good start I think. <!-- 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/23896) <!-- Reviewable:end -->
| * Fix compilation errors due to the rebaseAnthony Ramine2019-08-018-71/+30
| | | | | | | | It's too complicated to make all the commits in that branch compile properly.
| * Remove most of the things in layout 2020Anthony Ramine2019-07-3146-29831/+75
| | | | | | | | | | We keep mostly the query system. There is probably more to delete but that's a good start I think.
| * Make layout_2020 be layout_2013Anthony Ramine2019-07-3148-22/+34529
| |
* | Do not start up webvr services when running webxr and vice versaManish Goregaokar2019-07-311-2/+6
| |
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)Simon Sapin2019-07-3137-108/+117
|/
* Remove GStreamer dependencies from UWP app. Remove GStreamer backend on Windows.Josh Matthews2019-07-302-10/+14
| | | | | | It's impossible to conditionally use a crate based only on cargo features, so temporarily disable the backend on all Windows builds while we sort out how to get the UWP builds working again.
* Auto merge of #23891 - gterzian:fix_raf_flodding, r=asajeffreybors-servo2019-07-301-3/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebXr: allow for only a single raf message, until callbacks execute <!-- Please describe your changes on the following line: --> See https://github.com/servo/webxr/issues/34 --- <!-- 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/23891) <!-- Reviewable:end -->
| * allow for only a single raf message, until callbacks executeGregory Terzian2019-07-301-3/+17
| |
* | style: Fix some issues with #23856 in Gecko.Emilio Cobos Álvarez2019-07-302-3/+3
| |
* | style: Accept percentage for shape-image-threshold.Boris Chiou2019-07-302-13/+3
| | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D39241
* | Auto merge of #23856 - servo:stylo-engines, r=noxbors-servo2019-07-3056-1027/+986
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020} Renaming the variable helped make sure I looked at every use. Also auto-generate relevant parts of `CSSStyleDeclaration.webidl`, to make libscript compile accordingly. <!-- 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/23856) <!-- Reviewable:end -->
| * | Generate apis.html and css-properties.json for docs as part of crates’ ↵Simon Sapin2019-07-306-97/+62
| | | | | | | | | | | | | | | | | | | | | | | | build scripts … rather than as an extra step after `cargo doc`. This helps always using the correct set of CSS properties (for layout 2013 v.s. 2020).
| * | Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}Simon Sapin2019-07-2950-466/+862
| | | | | | | | | | | | Renaming the variable helped make sure I looked at every use.
| * | Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the ↵Simon Sapin2019-07-297-485/+83
| | | | | | | | | | | | style crate
* | | Auto merge of #23887 - servo:jdm-patch-47, r=asajeffreybors-servo2019-07-291-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Use origin of final HTTP response as document origin I discovered surprising problems when loading pages from http://joshmatthews.net that load same-origin images and try to use them as webgl textures. Since there's a redirect from joshmatthews.net to www.joshmatthews.net, the images are not considered same-origin in Servo because the document stores the origin for the original request's URL, rather than the origin of the response that is received after processing any redirections. <!-- 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/23887) <!-- Reviewable:end -->
| * | Use origin of final HTTP response as document origin.Josh Matthews2019-07-291-2/+2
| | |
* | | Auto merge of #23839 - Manishearth:end-improve, r=asajeffreybors-servo2019-07-293-7/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve session test lifecycle code Requires https://github.com/servo/webxr/pull/25 Fixes https://github.com/servo/servo/issues/23796, hopefully r? @asajeffrey <!-- 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/23839) <!-- Reviewable:end -->
| * | | Improve session test lifecycle codeManish Goregaokar2019-07-293-7/+37
| |/ /
* | | Auto merge of #23886 - servo:jdm-patch-46, r=asajeffreybors-servo2019-07-291-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid panic during shutdown when Blobs exist Observed when closing the UWP app when https://www.joshmatthews.net/demos/lamp.html is the active document. --- - [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 no real shutdown tests. <!-- 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/23886) <!-- Reviewable:end -->
| * | Don't panic if file manager thread is unreachable when cleaning up Blobs.Josh Matthews2019-07-291-1/+1
| | |
* | | Auto merge of #23884 - jdm:webgl-shutdown, r=asajeffreybors-servo2019-07-298-43/+78
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't panic if WebGL thread can't be reached during finalization. Before these changes, when closing a browsing instance displaying WebGL content I would hit a bunch of panics when the WebGL objects are GCed after the WebGL thread has shut down. With these changes shutdown is panic-free. --- - [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 no tests on 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/23884) <!-- Reviewable:end -->
| * | Don't panic if WebGL thread can't be reached during finalization.Josh Matthews2019-07-298-43/+78
| |/
* / Drop webgl main thread data during shutdown.Josh Matthews2019-07-291-6/+8
|/
* Get XR sessions to track the draw texture, so we render the XR framebuffer ↵Alan Jeffrey2019-07-283-7/+30
| | | | rather than the default canvas framebuffer
* Auto merge of #23863 - jdm:gstreamer-uwp, r=ferjmbors-servo2019-07-272-6/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various UWP GStreamer improvements There are a number of positive changes in these commits: * we successfully load GStreamer plugins in ARM64 UWP builds * we correctly link the ARM64 ANGLE libraries when appropriate * it is no longer necessary to manually set the LIB environment variable on Windows * we automatically download and link against UWP-friendly GStreamer binaries when building with `--uwp` * the use of vcruntime140.dll, msvcp140.dll and api-ms-win-crt-runtime-l1-1-0.dll in the UWP application has been removed and the build does not repackage them * the set of base supporting GStreamer DLLs has been expanded to allow the gstlibav plugin to load correctly --- <!-- 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 #23742 - [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/23863) <!-- Reviewable:end -->
| * Load GStreamer plugins on Windows arm64.Josh Matthews2019-07-272-4/+6
| |
| * Load GStreamer plugins in UWP builds.Josh Matthews2019-07-271-2/+9
| |
* | Replace use of callbacks in webxr by channelsAlan Jeffrey2019-07-269-175/+90
| |
* | When using the WebGL external image API, use sync calls if we happen to be ↵Alan Jeffrey2019-07-263-221/+190
| | | | | | | | on the WebGL thread
* | Auto merge of #23777 - jdm:webgl-main-thread, r=asajeffreybors-servo2019-07-2616-221/+589
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support running WebGL in its own thread or on the main thread. This is the final missing piece to support WebGL in ANGLE on Windows. ANGLE doesn't support multiple GL contexts on separate threads using the same underlying Direct3d device, so we need to process all GL operations for WebGL on the same thread as the compositor. These changes try to retain enough flexibility to support both approaches so we can get WebGL working on Windows ASAP. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23697 - [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/23777) <!-- Reviewable:end -->
| * | Remove extra webgl message pumping thread.Josh Matthews2019-07-2510-43/+189
| | |
| * | Support running WebGL in its own thread or on the main thread.Josh Matthews2019-07-258-199/+421
| | |
* | | Auto merge of #23855 - sreeise:media_frag_string, r=ferjmbors-servo2019-07-262-30/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed DOMString usages to string in MediaFragmentParser <!-- Please describe your changes on the following line: --> Changed `DOMString` usages to `String`/`&str`. --- <!-- 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 #23834 (GitHub issue number if applicable) <!-- 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. --> <!-- 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/23855) <!-- Reviewable:end -->
| * | | Changed DOMString usages to string in MediaFragmentParsersreeise2019-07-252-30/+15
| | | |
* | | | Auto merge of #23852 - jdm:arm64-crashfix, r=asajeffreybors-servo2019-07-252-18/+23
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update SpiderMonkey bindings for Windows arm64 crash fix This allows the Windows ARM64 to load web pages without crashing. --- - [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 no Windows arm64 CI. <!-- 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/23852) <!-- Reviewable:end -->
| * | | Update SpiderMonkey bindings for Windows arm64 crash fix.Josh Matthews2019-07-252-18/+23
| | |/ | |/|
* | | Auto merge of #23847 - asajeffrey:webxr-main-thread-waker, r=jdmbors-servo2019-07-254-12/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the event loop waker into WebXR <!-- Please describe your changes on the following line: --> This PR passes the event loop waker into webxr so it can wake the main thread up when needed. --- <!-- 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 #23796 - [X] These changes do not require tests because existing tests do the job <!-- 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/23847) <!-- Reviewable:end -->
| * | Pass the event loop waker into WebXRAlan Jeffrey2019-07-254-12/+9
| |/
* | Auto merge of #23843 - emilio:insta-boom, r=SimonSapinbors-servo2019-07-251-1/+7
|\ \ | |/ |/| | | | | | | | | | | Don't insta-free in UniqueArc::assume_init. <!-- 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/23843) <!-- Reviewable:end -->
| * style: Properly refcount-log UniqueArcs created with new_uninitialized().Emilio Cobos Álvarez2019-07-241-0/+6
| |
| * Don't insta-free in UniqueArc::assume_init.Emilio Cobos Álvarez2019-07-241-1/+1
| |
* | Auto merge of #23837 - cburgos:bugfix/link_called-update, r=jdmbors-servo2019-07-241-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update link_called when link function called. <!-- Please describe your changes on the following line: --> On call of WebGLProgram::link update link_called to true --- <!-- 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 #23722 (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/23837) <!-- Reviewable:end -->
| * | update link_called when link function called.Christopher Burgos2019-07-231-0/+1
| | |
* | | Modify *::get_cx methods to return a safe JSContext instead of a raw onemarmeladema2019-07-2443-321/+306
| | |
* | | Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-2443-529/+444
| | |
* | | Convert internal methods to handle safe JSContext instead of raw JSContextmarmeladema2019-07-244-139/+151
| | |
* | | Callbacks now uses safe JSContext instead of raw JSContextmarmeladema2019-07-245-18/+27
| | |