aboutsummaryrefslogtreecommitdiffstats
path: root/components/geometry
Commit message (Collapse)AuthorAgeFilesLines
* Add `rust-version` to all `Cargo.toml` files (#33483)Martin Robinson2024-09-171-0/+1
| | | | | | | This is another step preparing for building Servo without `mach`. Fixes #33430. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Use workspace definitions for all crates and update to the 2021 edition (#32544)Martin Robinson2024-06-181-5/+5
|
* dependencies: Upgrade to WebRender 0.64 (#31486)Martin Robinson2024-03-141-1/+1
| | | | | | | | | This brings the version of WebRender used in Servo up-to-date with Gecko upstream. The big change here is that HiDPI is no longer handled via WebRender. Instead this happens via a scale applied to the root layer in the compositor. In addition to this change, various changes are made to Servo to adapt to the new WebRender API. Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Move Stylo to its own repo (#31350)Delan Azabani2024-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove packages that were moved to external repo * Add workspace dependencies pointing to 2023-06-14 branch * Fix servo-tidy.toml errors * Update commit to include #31346 * Update commit to include servo/stylo#2 * Move css-properties.json lookup to target/doc/stylo * Remove dependency on vendored mako in favour of pypi dependency This also removes etc/ci/generate_workflow.py, which has been unused since at least 9e71bd6a7010d6e5723831696ae0ebe26b47682f. * Add temporary code to debug Windows test failures * Fix failures on Windows due to custom target dir * Update commit to include servo/stylo#3 * Fix license in tests/unit/style/build.rs * Document how to build with local Stylo in Cargo.toml
* deps: Stop vendoring WebRender (#31212)Martin Robinson2024-01-301-1/+1
| | | | | The new strategy for dependencies with upstream in Gecko is to manage them in separate repositories, which will more easily allow rebasing our changes on top of newer Gecko work.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-5/+4
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-3/+1
| | | | | | | | | | | * 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>
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-3/+3
| | | | | | | 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.
* 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.
* Fix some warnings new in Rust NightlySimon Sapin2019-11-081-1/+2
|
* Remove unused dependenciesShotaro Yamada2019-10-011-1/+0
|
* Update euclid.Emilio Cobos Álvarez2019-07-232-2/+5
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* WebRender units are no longer reexported.Patrick Walton2019-07-091-1/+1
|
* WR update: new viewport semanticPaul Rouget2019-03-221-3/+2
|
* Update references to malloc_size_of_derive, which is in crates.io now.Emilio Cobos Álvarez2019-01-131-1/+1
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-5/+0
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* Move malloc_size_of_derive to proper positionDesmond2018-09-041-1/+1
|
* Format components fallible and geometry #21373kingdido9992018-09-041-6/+17
|
* WR updatePaul Rouget2018-08-061-2/+2
|
* Update euclid to 0.18Bastien Orivel2018-07-181-1/+1
|
* alias some euclid typesPaul Rouget2018-03-162-1/+6
|
* Bump euclid to 0.17Bastien Orivel2018-02-281-1/+1
|
* Introduce MaxRect traitPyfisch2018-01-172-3/+25
| | | | | It is implemented for LayoutRect and Rect<Au>. Replaces the max_rect() function from servo_geometry.
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-1/+1
|
* Update app_units and webrenderSimon Sapin2017-12-081-1/+1
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-182-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* Add an 'unstable' top-level cargo feature to control optional unstable stuff.Simon Sapin2017-10-121-4/+0
|
* Bump serde to 1.0Bastien Orivel2017-06-161-2/+2
|
* Bump euclid to 0.14.Nicolas Silva2017-06-142-4/+2
|
* Bump euclid to 0.13 and heapsize to 0.4Bastien Orivel2017-06-051-2/+2
|
* Silence a warning in servo_geometryAnthony Ramine2017-05-201-1/+0
|
* Update app_units to 0.4.1Manish Goregaokar2017-05-192-3/+3
|
* Rename ScreenPx to DeviceIndependentPixel.Glenn Watson2017-02-221-7/+7
|
* Update serde to 0.9 (fixes #15325)Anthony Ramine2017-02-181-3/+3
|
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-1/+1
|
* Removed util.Alan Jeffrey2016-12-142-0/+73