aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Sync WPT with upstream (08-10-2023) (#30516)Servo WPT Sync2023-10-08466-3117/+8189
| | | | | | | | | | | | * Update web-platform-tests to revision b'3d46548c5fbeb3c1b5f6bc5ae0854e0a1a0462ff' * Revert expectation for column-count-crash.https.html Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Update some dependencies to syn 2 (#30515)Alex Touchet2023-10-081-18/+18
|
* Update core-foundation in simpleservo (#30477)Martin Robinson2023-10-073-34/+16
|
* build(deps): bump byteorder from 1.4.3 to 1.5.0 (#30511)dependabot[bot]2023-10-072-3/+3
| | | | | | | | | | | | | | | Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.4.3 to 1.5.0. - [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0) --- updated-dependencies: - dependency-name: byteorder dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add support for EndeavourOS (#30513)bc-universe2023-10-061-0/+1
|
* build(deps): bump libm from 0.2.7 to 0.2.8 (#30512)dependabot[bot]2023-10-061-2/+2
| | | | | | | | | | | | | | | Bumps [libm](https://github.com/rust-lang/libm) from 0.2.7 to 0.2.8. - [Changelog](https://github.com/rust-lang/libm/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libm/compare/0.2.7...0.2.8) --- updated-dependencies: - dependency-name: libm dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump syn from 2.0.37 to 2.0.38 (#30510)dependabot[bot]2023-10-061-19/+19
| | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 2.0.37 to 2.0.38. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.37...2.0.38) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix painting order of atomic inline stacking containers (#30458)Delan Azabani2023-10-0611-156/+374
| | | | | | | | | | | | | | | | | | | | | | | * Sort stacking contexts and stacking containers by painting order * fix stealing of stacking containers; fix interleaving with fragments * actually positioned stacking containers should be stolen too * update expectations and clean up panic changes * rework naming and docs * rename s_c_a_p_s_c to real_s_c_a_p_s_c; fix docs * rename InlineStackingContainer to AtomicInlineStackingContainer * rework debug logging to use PrintTree * clean up docs and PrintTree output * don't panic unless cfg!(debug_assertions) is true * update expectations
* Sync WPT with upstream (04-10-2023) (#30493)Servo WPT Sync2023-10-063243-34070/+89506
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'dfda99176a5d552fb1129fa353b7e4c69f6ed92c' * fix linter errors after WPT import Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update expectations --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Enable streams feature in mozjs (#30503)Samson2023-10-062-3/+3
| | | | | | | * Update mozjs * Enable streams feature * Switch to servo/mozjs
* Rename messages forwarded from the constellation to the compositor (#30496)Martin Robinson2023-10-056-66/+110
| | | | | | The constellation forwards messages from other tasks to the compositor. Mainly, these are passed to WebRender. This change updates the names of these messages so it is clearer where they are coming from and where they are going.
* Bootstrap pkg-config and cmake on MacOS (#30497)Martin Robinson2023-10-054-2/+19
| | | | | | | These need to be installed in order to build so we can install them via Homebrew. Do this by simply restoring the Homebrew bootstrapping logic we had in place previously. Fixes #27171.
* build(deps): bump wgpu-hal from 0.17.1 to 0.17.2 (#30498)dependabot[bot]2023-10-041-2/+2
| | | | | | | | | | | | | | | | Bumps [wgpu-hal](https://github.com/gfx-rs/wgpu) from 0.17.1 to 0.17.2. - [Release notes](https://github.com/gfx-rs/wgpu/releases) - [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/gfx-rs/wgpu/compare/v0.17.1...v0.17.2) --- updated-dependencies: - dependency-name: wgpu-hal dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix WPT import by overriding product name to servo (#30457)Mukilan Thiyagarajan2023-10-042-1/+2
| | | | | | | | | Upstream wpt script has bug where 'product' defaults to 'firefox' and this causes import of uninstalled python modules specific to firefox runners. Fixes #30452 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Only access hit test items for the current epoch in the compositor (#30491)Martin Robinson2023-10-044-3/+35
| | | | | | | | | | | | | | | When display lists update quickly, a hit test result might be returned for a previous display list / list of hit test items. When that happens, ignore the hit test result. This fixes a crash, but there might be situations where we can do something better, such as wait for display list processing to finish before performing the hit test. A future change might do this for events like mouse clicks and touch events that should never be thrown away. Ultimately, the best thing is likely moving hit testing back to layout or script so a valid hit test can always be performed against the current DOM. Fixes #29796.
* Add shell.background-color.rgba to prefs (#30488)Ngo Iok Ui (Wu Yu Wei)2023-10-048-37/+108
| | | | | | | * Add shell.transparent-background.enabled to prefs * Rename config to background_color * Rename to background-color and.rgba add PrefValue::Array variant
* Add taplo to etc/shell.nix (#30487)Mukilan Thiyagarajan2023-10-041-0/+1
| | | | | | This addresses the 'Could not find `taplo` ...' message when running `./mach test-tidy` on NixOS. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Implement support for the `drop-shadow` filter (#30439)Ennui Langeweile2023-10-0423-355/+51
| | | | | | | | | | | | | | | | | | * Implement support for `drop-shadow` * Clean up remnant from early attempts * Fix misleading comments on GenericSimpleShadow If Servo-specific `style` changes will need to be upstreamed anyway, I might as well fix a thing that had thrown me off! * Revert "Fix misleading comments on GenericSimpleShadow" This reverts commit cdc810b826ac082041adc212c24649ee3b86ca0a. * Clean up an import * Update test expectations * Fix missing expectation on Layout 2013
* Support Namespace const in webidl (#30492)Samson2023-10-049-8/+74
| | | | | * Add TestNS with const * Implement namespace const in codegen
* Fix macOS's sameple isn't used in background_hang_monitor (#30490)Ngo Iok Ui (Wu Yu Wei)2023-10-041-1/+4
|
* build(deps): bump linux-raw-sys from 0.4.7 to 0.4.8 (#30484)dependabot[bot]2023-10-041-2/+2
| | | | | | | | | | | | | | Bumps [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) from 0.4.7 to 0.4.8. - [Commits](https://github.com/sunfishcode/linux-raw-sys/compare/v0.4.7...v0.4.8) --- updated-dependencies: - dependency-name: linux-raw-sys dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove some unused buildbot files (#30476)Martin Robinson2023-10-032-57/+0
|
* Fix libsimpleservo build (#30481)Martin Robinson2023-10-035-8/+11
| | | | | | | It seems the build has been broken on desktop platforms. This is a preliminary fix to getting this build on the bots. This is mainly missing includes, but `package-prefs.json` is no longer processed because that was only used for the UWP port (now removed.
* build(deps): bump regex from 1.9.5 to 1.9.6 (#30483)dependabot[bot]2023-10-031-2/+2
| | | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.9.5 to 1.9.6. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.9.5...1.9.6) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* De-duplicate itertools (#30472)Martin Robinson2023-10-033-14/+4
| | | Fixes #30460.
* fix handle_wgpu_msg crash (#30479)Samson2023-10-033-2/+3
| | | | | | | * Enter realm before handle_wgpu_msg fix https://github.com/servo/servo/issues/30419 * Update expectations
* Fix pinch zoom and enable it for TouchpadMagnify events (#30459)Martin Robinson2023-10-033-111/+149
| | | | | | | | | Pinch zoom was broken because pinch zoom events were triggered at -1, -1 in the compositor. This change: 1. Differentiates between magnify and scroll events in the compositor to remove the question of where to trigger them. 2. Converts winit TouchpadMagnify events into pinch zoom events so that this works properly on MacOS.
* Adjust the missing taplo message (#30473)Martin Robinson2023-10-031-3/+1
| | | | The current message doesn't have a line break where you would expect it to and instead has a gap due to the indentation of the code in Python.
* build(deps): bump brotli from 3.3.4 to 3.4.0 (#30462)dependabot[bot]2023-10-021-4/+4
| | | | | | | | | | | | | | | Bumps [brotli](https://github.com/dropbox/rust-brotli) from 3.3.4 to 3.4.0. - [Release notes](https://github.com/dropbox/rust-brotli/releases) - [Commits](https://github.com/dropbox/rust-brotli/commits) --- updated-dependencies: - dependency-name: brotli dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump errno from 0.3.3 to 0.3.4 (#30470)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | | Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.3.3 to 0.3.4. - [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md) - [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.3...v0.3.4) --- updated-dependencies: - dependency-name: errno dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump memchr from 2.6.3 to 2.6.4 (#30464)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.6.3 to 2.6.4. - [Commits](https://github.com/BurntSushi/memchr/compare/2.6.3...2.6.4) --- updated-dependencies: - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump brotli-decompressor from 2.3.4 to 2.3.5 (#30469)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | Bumps [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) from 2.3.4 to 2.3.5. - [Commits](https://github.com/dropbox/rust-brotli-decompressor/commits) --- updated-dependencies: - dependency-name: brotli-decompressor dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump itoa from 1.0.1 to 1.0.9 (#30468)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | | Bumps [itoa](https://github.com/dtolnay/itoa) from 1.0.1 to 1.0.9. - [Release notes](https://github.com/dtolnay/itoa/releases) - [Commits](https://github.com/dtolnay/itoa/compare/1.0.1...1.0.9) --- updated-dependencies: - dependency-name: itoa dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump regex-automata from 0.3.8 to 0.3.9 (#30467)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | | | Bumps [regex-automata](https://github.com/rust-lang/regex) from 0.3.8 to 0.3.9. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-automata-0.3.8...regex-syntax-0.3.9) --- updated-dependencies: - dependency-name: regex-automata dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump atomic_refcell from 0.1.11 to 0.1.12 (#30466)dependabot[bot]2023-10-022-3/+3
| | | | | | | | | | | | | | Bumps [atomic_refcell](https://github.com/bholley/atomic_refcell) from 0.1.11 to 0.1.12. - [Commits](https://github.com/bholley/atomic_refcell/commits) --- updated-dependencies: - dependency-name: atomic_refcell dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump webpki from 0.22.1 to 0.22.2 (#30465)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | Bumps [webpki](https://github.com/briansmith/webpki) from 0.22.1 to 0.22.2. - [Commits](https://github.com/briansmith/webpki/commits) --- updated-dependencies: - dependency-name: webpki dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump rustix from 0.38.14 to 0.38.15 (#30461)dependabot[bot]2023-10-021-2/+2
| | | | | | | | | | | | | | | Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.14 to 0.38.15. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.14...v0.38.15) --- updated-dependencies: - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update test expectationsOriol Brufau2023-10-026-42/+6
|
* Avoid complaints from ./mach test-tidyOriol Brufau2023-10-021-1/+2
|
* Further changes required by ServoOriol Brufau2023-10-021-0/+14
|
* style: Implement CSS @supports font-format(...) and font-tech(...) functionsJonathan Kew2023-10-022-16/+55
| | | | | | | | These are gated by the same layout.css.font-tech.enabled pref as the closely-related `tech()` function for the @font-face src descriptor; once the spec questions are settled, we should enable them all together. Differential Revision: https://phabricator.services.mozilla.com/D155359
* Further changes required by ServoOriol Brufau2023-10-021-1/+8
|
* style: Put the @font-face src tech() function behind a pref, enabled only on ↵Jonathan Kew2023-10-021-1/+1
| | | | | | | | | | | | Nightly for now There are a couple of current issues/discussions that may lead to a change in the set of supported keywords, so we may want to hold back a little on actually shipping this. - In https://github.com/w3c/IFT/pull/113, the WebFonts WG proposes several new incremental-* keywords (and maybe implies dropping the currently-defined incremental?) - In https://github.com/w3c/csswg-drafts/issues/7633, I just proposed renaming the feature-* keywords to features-* (plural) for better readability; I'd like to see a decision on that before we ship this to release. Differential Revision: https://phabricator.services.mozilla.com/D155458
* style: When serializing background shorthand skip initial values and order ↵Connor Pearson2023-10-021-17/+53
| | | | | | values according to grammar Differential Revision: https://phabricator.services.mozilla.com/D155077
* Further changes required by ServoOriol Brufau2023-10-021-9/+8
|
* style: Add basic support for nan / infinity in calc()Emilio Cobos Álvarez2023-10-021-11/+17
| | | | | | | | | | | | | | | | | | | Fix some tests to: * Not assume `double` precision. * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295 Not sure I caught all, but normalizing to 0 was already our existing behavior. This feature needs more work before it can be enabled more generally, so make it nightly-only, for now. Also, it's unclear per spec what the serialization for infinity*1s or so should be. Right now we serialize to <very-big-number>s, which seems reasonable, but some tests (but not others!) expect different behavior. I left those untouched for now. Differential Revision: https://phabricator.services.mozilla.com/D154883
* style: Implement atan2(), and enable calc() trigonometric functions by ↵Emilio Cobos Álvarez2023-10-023-117/+180
| | | | | | | | | | | default on nightly We now have test coverage, so let's do this. The remaining failures are just about infinity/nan, which is a completely different feature. Differential Revision: https://phabricator.services.mozilla.com/D154831
* Further changes required by ServoOriol Brufau2023-10-021-0/+1
|
* style: Add support for the @font-face src descriptor's tech() functionJonathan Kew2023-10-021-4/+124
| | | | | | WPT tests to be added in a following patch. Differential Revision: https://phabricator.services.mozilla.com/D154399
* style: Use the style-system format hint directly in gfx, instead of mapping ↵Jonathan Kew2023-10-021-0/+5
| | | | | | | | | | | to a separate internal enum Now that the style system has keywords for this, we don't need to define them in gfx but can just use the enum directly. (No functional change, just code simplification.) Depends on D154237 Differential Revision: https://phabricator.services.mozilla.com/D154238