aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo
Commit message (Collapse)AuthorAgeFilesLines
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-9/+9
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Consume official GStreamer binaries on MacOSMukilan Thiyagarajan2023-05-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR re-enables support for the gstreamer mediastack in macOS by consuming the official binary '.pkg' files from gstreamer.freedesktop.org To maintain symmetry with other platforms, the '.pkg' files are uploaded to servo-build-deps and fetched from there using the new script 'etc/install_macos_gstreamer.sh'. Unlike the Homebrew version, the official GStreamer is distributed as a 'relocatable' framework i.e the dylibs all have @rpath-relative install names and also link to other dylibs using @rpath relative path. To address this difference the 'servo' binary needs to be patched with 'install_name_tool' to add an LC_RPATH command that sets the relative paths that the dynamic linker should search when trying to satify dependencies. In Servo's case, this will be a path relative to the 'servo' binary itself i.e '@executable_path/lib/' The additional 'lib' is due to a flaw in the gstreamer packaging where the install names of some of the dylibs have the prefix '@rpath/lib' and some of them just have '@rpath'. This PR also fixes a couple of issues present in the `mach build` process on MacOS: 1. `mach build` process was not copying transitive dependencies of servo binary but only the first level dylibs 2. `mach build` process didn't patch the links to dylibs in servo binary (and dependencies). This meant though (some) dylibs were copied to local path, the binary still loaded the dylibs from system GStreamer installation i.e homebrew instead of the copieds dylibs The build and runtime dependencies in etc/homebrew/Brewfile and etc/homebrew/Brewfile-build have also been removed in This PR. Signed-off-by: Mukilan Thiyagarajan <me@mukilan.in>
* Make sender and receiver name more coherentatbrakhi2023-05-081-8/+8
|
* Auto merge of #29693 - mrobinson:cleanup-options, r=mukilanbors-servo2023-05-031-8/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | Clean up how command-line options are passed around <!-- 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 #29678 - [x] These changes do not require tests because they do not change behavior.
| * Clean up debug optionsMartin Robinson2023-05-011-8/+12
| |
* | Bump mozangle to 0.3.3.Philip Lamb2023-05-011-1/+1
|/
* Update user agent stringsAlex Touchet2023-03-301-7/+7
|
* Bump surfman to 0.6Thomas Gardner2023-02-241-1/+1
| | | | | Update to the new release of surfman, and consume it without using the `patches` section in Cargo.toml.
* Bump euclid to 0.22Martin Robinson2023-01-261-2/+2
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* Update keyboard-types.Josh Matthews2022-04-011-1/+1
|
* Create initial browser id for compositor on startup.Josh Matthews2021-10-181-4/+12
|
* Only request synchronous repaint when a resize will actually occur.Josh Matthews2021-03-051-4/+7
|
* Update to winit 0.24.Josh Matthews2021-03-051-1/+1
| | | | | Co-authored-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Paulo E. Castro <pecastro@wormholenet.com>
* Port some code to Python3Vincent Ricard2021-02-181-4/+4
|
* Bump env_logger from 0.7.1 to 0.8.2dependabot-preview[bot]2020-11-241-1/+1
| | | | | | | | | Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.7.1 to 0.8.2. - [Release notes](https://github.com/env-logger-rs/env_logger/releases) - [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update webrender.Josh Matthews2020-08-101-1/+1
|
* Remove stub debugger server.Josh Matthews2020-08-102-7/+0
|
* Pipe GST_DEBUG output to its own log file on UWP.Josh Matthews2020-08-071-2/+1
|
* Revert "Update webrender."Josh Matthews2020-08-041-1/+1
| | | | This reverts commit 2ca1b06e77f28cebeb886f50a6c21c438d4b2f46.
* Update webrender.Josh Matthews2020-07-311-1/+1
|
* Make reload button clear the network cache.Josh Matthews2020-07-271-0/+7
|
* Update user agent stringsAlex Touchet2020-07-261-6/+6
|
* Auto merge of #27304 - paulrouget:staticdevtoolsport, r=jdmbors-servo2020-07-211-3/+9
|\ | | | | | | | | | | | | | | | | | | | | UWP: non random port for devtools, and support for custom UWP prefs packages-prefs.json is now taken into account for libsimpleservo. Making it possible to have custom pref for the UWP builds, removing some weirdness in the way we handle preferences in the hololens code. This also adds a new set of preferences to control the devtools server startup state, and make the port choice constant across sessions. Fix #27267 Fix #22970
| * Configure devtools server via preferencesPaul Rouget2020-07-171-3/+9
| |
* | Auto merge of #27302 - jdm:gst-package-mac, r=Manishearthbors-servo2020-07-172-54/+61
|\ \ | |/ |/| | | | | | | | | | | Make gstreamer packaging explicit This change aligns Windows and macOS in terms of loading an explicit set of included plugins when initializing gstreamer. It also creates a single source of truth - the set of expected plugins is generated in a build script by the same python code that is used for packaging, so it should be impossible for platforms relying on this system to get out of sync. Fixes #27293
| * Load explicit set of gstreamer plugins on macos, and include them in the ↵Josh Matthews2020-07-162-54/+61
| | | | | | | | nightly package.
* | Unfocus input when virtual keyboard is dismissedPaul Rouget2020-07-131-0/+10
|/
* Auto merge of #26752 - ferjm:datachannel, r=Manishearthbors-servo2020-06-301-1/+1
|\ | | | | | | | | | | | | | | | | | | WebRTC data channels support - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #26212 This depends on https://github.com/servo/media/pull/350 and contains the basic pieces to make a simple test like https://ferjm.github.io/samples/src/content/datachannel/basic/ work
| * Add 1.16 feature to gstreamerFernando Jiménez Moreno2020-06-291-1/+1
| |
* | Auto merge of #27114 - paulrouget:key_events, r=jdmbors-servo2020-06-301-1/+1
|\ \ | | | | | | | | | | | | | | | | | | [UWP] Key events This is the initial work required for proper keyboard events. The text controller implementation is very basic, just enough to show the virtual keyboard when it's needed, and have basic key events.
| * | update keyboard-types cratePaul Rouget2020-06-291-1/+1
| | |
* | | Auto merge of #27016 - gterzian:fix_closing_window, r=jdm,paulrougetbors-servo2020-06-301-5/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure clean shutdown of JS threads <!-- Please describe your changes on the following line: --> FIX https://github.com/servo/servo/issues/26685 FIX https://github.com/servo/servo/issues/26996 FIX https://github.com/servo/servo/issues/9672 FIX #27027 --- <!-- 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. -->
| * | ensure clean shutdown of all threads running JSGregory Terzian2020-06-301-5/+1
| |/
* / Support for webxr layer managementAlan Jeffrey2020-06-282-73/+33
|/
* Implement GPUSwapChain and GPUCanvasContext and interface with WebrenderKunal Mohan2020-06-131-1/+19
|
* Auto merge of #26697 - utsavoza:ugo/issue-11681/22-05-2020, r=jdmbors-servo2020-06-121-4/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement CanvasRenderingContext2d.fillText The PR consists of broadly two main changes: - Implementation of Canvas2dRenderingContext.font - Basic implementation of Canvas2dRenderingContext.fillText Although I am not fully sure about the long term goals for the canvas backend in Servo, I assumed limited scope for font and text handling (should support simple text drawing with font selection) in the current implementation as I believe a more complete implementation would eventually be brought in as a part of #22957. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #11681 - [x] There are tests for these changes
| * Enable textAlign, textBaseline and direction attributes for canvasUtsav Oza2020-06-101-4/+6
| |
* | Update webrender.Josh Matthews2020-06-112-2/+1
| |
* | canvas: Don't panic if webrender isn't reachable.Josh Matthews2020-06-101-2/+2
|/
* Proxy all WR interactions for layout/font/script/canvas threads to the ↵Josh Matthews2020-06-092-16/+55
| | | | | | | compositor thread. There is now a single RenderApi that is used, and all transactions are serialized through the compositor.
* Remove support for heartbeats profilingSimon Sapin2020-06-041-1/+0
|
* Remove support for energy profilingSimon Sapin2020-06-041-1/+0
|
* More Cargo.toml updatesatouchet2020-05-301-47/+47
|
* Convert all uses of UpdateResources api to use webrender transactions.Josh Matthews2020-05-111-0/+4
|
* Update webrender.Josh Matthews2020-05-112-10/+1
|
* Remove use of `webrender::RendererKind`Simon Sapin2020-04-201-8/+1
| | | | | It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587 CC https://bugzilla.mozilla.org/show_bug.cgi?id=1631579
* Update surfman to 0.2 and remove glutinAlan Jeffrey2020-04-172-55/+43
|
* Update user agent stringsAlex Touchet2020-04-081-6/+6
|
* Remove WebVRAlan Jeffrey2020-04-082-56/+2
|
* Extract user_agent from global optsUtsav Oza2020-04-061-3/+67
|