aboutsummaryrefslogtreecommitdiffstats
path: root/components/config
Commit message (Collapse)AuthorAgeFilesLines
* Enable minibrowser by default but also keep the option to disable it (#30338)Atbrakhi2023-09-131-3/+3
| | | | | | | | | * enable minibrowser by default * review fix * rename no_minibrowser to no-minibrowser * review fix
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-114-16/+19
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-085-11/+9
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Move user input logic into servoshell (#30238)Atbrakhi2023-09-062-110/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cleanup and move user input logix into servoshell * fix fmt * moves test from servoshell file * move command-line args into servoshell * remove feature media-gstreamer * fix fmt * move user input logic code into lib to make it more testable * remove opts_matches in fn instead get it from main2 * remove pub and fix import * add licence in new file * revert passing Matches, instead pass Option String * review update, also move sanitize fn to parser file * fmt fix * review fix: remove extra line
* remove minibrowser from prefs (#30127)Atbrakhi2023-08-191-3/+0
|
* Switch to rustls and webpki-roots (#30025)Martin Robinson2023-08-081-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change replaces OpenSSL with rustls and also the manually curated CA certs file with webpki-roots (effectively the same thing, but as a crate). Generally speaking the design of the network stack is the same. Changes: - Code around certificate overrides needed to be refactored to work with rustls so the various thread-safe list of certificates is refactored into `CertificateErrorOverrideManager` - hyper-rustls takes care of setting ALPN protocols for HTTP requests, so for WebSockets this is moved to the WebSocket code. - The safe set of cypher suites is chosen, which seem to correspond to the "Modern" configuration from [1]. This can be adjusted later. - Instead of passing a string of PEM CA certificates around, an enum is used that includes parsed Certificates (or the default which reads them from webpki-roots). - Code for starting up an SSL server for testing is cleaned up a little, due to the fact that the certificates need to be overriden explicitly now. This is due to the fact that the `webpki` crate is more stringent with self-signed certificates than SSL (CA certificates cannot used as end-entity certificates). [2] 1. https://wiki.mozilla.org/Security/Server_Side_TLS 2. https://github.com/briansmith/webpki/issues/114 Fixes #7888. Fixes #13749. Fixes #26835. Fixes #29291.
* Allow enabling minibrowser from command line (#30042)Atbrakhi2023-07-281-0/+6
|
* Remove some unused options (#30028)Martin Robinson2023-07-261-9/+0
| | | | These are no longer used and some of them no longer make sense with WebRender.
* Minibrowser: Introduce minibrowser.enabled prefs (#29995)Atbrakhi2023-07-131-0/+3
| | | | | * Introduce minibrowser.enabled prefs * commit signoff
* Make the choice of layout runtime settingMartin Robinson2023-07-062-0/+13
| | | | Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Remove UWP / Hololens supportMartin Robinson2023-07-053-10/+2
|
* It was removed from the spec and it's disabled everywhere.Emilio Cobos Álvarez2023-06-301-3/+0
| | | | This also removes the meta viewport support (which was implemented on top), but that also had a single test and is disabled everywhere, so I'm not too concerned, it can be implemented again if / when needed.
* Remove the DOMToTexture featureMartin Robinson2023-06-271-5/+0
| | | | | | | | | | | This relies on WebRender's frame output API, `set_output_image_handler`, which has been removed from the latest upstream [1]. It's sad to remove this feature, which was probably a lot of work to implement, but it seems difficult to patch WebRender to restore this functionality. Fixes #29936. 1. https://hg.mozilla.org/mozilla-central/rev/361521e3c52324809553c555fb066d50f023d9bf
* Layout 2020: Remove the floats preferenceMartin Robinson2023-06-131-3/+0
| | | | | Enable floats always. It doesn't make sense to have this preference as it's a basic feature of an experimental layout engine.
* Remove an unneeded arc reference count bump on each pref access.Emilio Cobos Álvarez2023-06-081-5/+5
|
* Place floats in layout 2020, but don't flow text around the floats yet.Patrick Walton2023-06-031-0/+3
| | | | | | | | | | | | | | | This commit puts floats behind the `layout.floats.enabled` pref, because of the following issues and unimplemented features: * Inline formatting contexts don't take floats into account, so text doesn't flow around the floats yet. * Non-floated block formatting contexts don't take floats into account, so BFCs can overlap floats. * Block formatting contexts that contain floats don't expand vertically to contain all the floats. That is, floats can stick out the bottom of BFCs, contra spec.
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-7/+7
| | | | | | | 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.
* Clean up debug optionsMartin Robinson2023-05-011-276/+136
|
* Bump euclid to 0.22Martin Robinson2023-01-261-1/+1
| | | | | | | | | | | | | - 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.
* Replaced some Opts struct fields with shorthand initializers.michaelgrigoryan252022-12-061-16/+16
|
* Removed unnecessary type bindings.michaelgrigoryan252022-12-061-3/+3
|
* Fix some Clippy lints.Teymour Aldridge2022-08-041-1/+1
|
* Update font-kit.Josh Matthews2022-04-012-4/+4
|
* move servo_version from config crate to ports/libsimpleservo/api/src/lib.rs ↵s-maurice2022-03-061-9/+0
| | | | | | and duplicate in ports/winit/main2.rs Signed-off-by: s-maurice <51819025+s-maurice@users.noreply.github.com>
* Fix warnings introduced in newer Rust NightlySimon Sapin2021-02-251-6/+1
| | | | | | | | | | | | This does not (yet) upgrade ./rust-toolchain The warnings: * dead_code "field is never read" * redundant_semicolons "unnecessary trailing semicolon" * non_fmt_panic "panic message is not a string literal, this is no longer accepted in Rust 2021" * unstable_name_collisions "a method with this name may be added to the standard library in the future" * legacy_derive_helpers "derive helper attribute is used before it is introduced" https://github.com/rust-lang/rust/issues/79202
* Remove stub debugger server.Josh Matthews2020-08-101-23/+0
|
* Introduce shell.crash_reporter.enabled prefPaul Rouget2020-08-031-0/+3
|
* Auto merge of #27429 - asajeffrey:webxr-user-intent-pref, r=Manishearthbors-servo2020-07-291-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a pref to indicate user intent to enter webxr <!-- Please describe your changes on the following line: --> Add a pref to indicate that the user has indicated intent to enter webxr. --- <!-- 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 command-line pref <!-- 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 a pref to indicate user intent to enter webxrAlan Jeffrey2020-07-291-0/+2
| |
* | Move secondary view support into a prefManish Goregaokar2020-07-271-0/+1
|/
* Auto merge of #26710 - AbhishekSharma102:issue_26571, r=jdm,gterzianbors-servo2020-07-211-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile external scripts off the main thread <!-- 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 - [ ] These changes fix #26571 (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. -->
| * Added off thread compilationAbhishekSharma1022020-07-211-0/+3
| | | | | | | | | | Co-authored-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: Abhishek Sharma <20724848+AbhishekSharma102@users.noreply.github.com>
* | Configure devtools server via preferencesPaul Rouget2020-07-172-9/+31
|/
* Auto merge of #27265 - jdm:hubs-stubs2, r=ferjmbors-servo2020-07-151-0/+6
|\ | | | | | | | | | | Add stubs for HTMLCanvasElement.captureStream and WebRTC transceiver APIs These stubs are hidden by default and only exist to allow getting past the relevant code that invokes them on hubs.mozilla.org.
| * dom: Add WebRTC transceiver stubs.Josh Matthews2020-07-141-0/+3
| |
| * dom: Add stub implementation for HTMLCanvasElement.captureStream.Josh Matthews2020-07-141-0/+3
| |
* | dom: Hide debugging extension methods behind a pref.Josh Matthews2020-07-141-0/+3
|/
* Auto merge of #27235 - asajeffrey:webxr-sessionavailable, r=jdmbors-servo2020-07-101-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sessionavailable event that allows content to enter an XR session without a user gesture <!-- Please describe your changes on the following line: --> This allows servo to implement immersive web apps. https://immersive-web.github.io/webxr/#application-launch --- <!-- 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 I'm not sure we should have a WPT for something this non-standard. <!-- 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 a sessionavailable event that allows content to enter an XR session ↵Alan Jeffrey2020-07-101-1/+2
| | | | | | | | without a user gesture
* | dom: Use pref macro for IDL conditional guards.Josh Matthews2020-07-091-1/+0
|/
* Add support for webxr cubemap and spherical 360 renderingAlan Jeffrey2020-07-091-0/+2
|
* Embedding API: prefs r/wPaul Rouget2020-06-104-142/+15
|
* Auto merge of #26788 - servo:energy, r=jdmbors-servo2020-06-041-13/+0
|\ | | | | | | | | | | Remove support for energy and heartbeats profiling Both are disabled by default (energy at compile-time, heartbeats with a run-time option). Neither is tested of CI. Neither has been used in a long time. They might have Undefined Behavior: https://github.com/servo/servo/issues/26550#issuecomment-634238098. They each depend on a mostly-unmaintained C library. The thread-safety expectation of those libraries are unknown.
| * Remove support for heartbeats profilingSimon Sapin2020-06-041-13/+0
| |
* | Layout 2020 skeleton for `display: flex`, behind a prefSimon Sapin2020-06-041-0/+3
|/
* reading unminified scripts from diskskrzyp12020-06-021-0/+11
|
* Auto merge of #26421 - Eijebong:remove-influent, r=jdmbors-servo2020-05-251-9/+1
|\ | | | | | | | | | | Remove influxDB support for profile It's apparently unused. Influent is unmaintained. Let's remove it
| * Remove influxDB support for profileBastien Orivel2020-05-041-9/+1
| | | | | | | | It's apparently unused. Influent is unmaintained. Let's remove it
* | Add a preference to control ImageBitmap while it's incomplete.Josh Matthews2020-05-231-0/+3
| |
* | More Cargo.toml cleanupsAlex Touchet2020-05-141-4/+4
| |