Commit graph

1676 commits

Author SHA1 Message Date
OwerPlay
ae25c64ac0 Implemented Play/Pause for gstreamer example 2025-01-17 08:28:15 +01:00
Simon Hausmann
37ed7e6129 Fix Bazel build
Work around rav1e's use of the built crate panicing if certain cargo
provided environment variables aren't set. These don't seem to be needed
by rav1e, it merely wants the version, but still...
2025-01-15 08:27:48 +00:00
Olivier Goffart
8a5df27469
Update to Image 0.25 (#7365)
Added image-default-formats with all the format supported by image by
default, and enable that feature by default.
Also put that feature in compat-1-2 for compatibility with user that
have used image 0.24 with enabled features.
Make a new compat-1-10 feature that does not enable default format by
default

ChangeLog: upgraded image crate to 0.25, added a new cargo feature
to enable all image formats. (that feature is enabled by default with
compat-1-2, added compat-1-10 to disable it

Fixes https://github.com/slint-ui/slint/issues/7251
2025-01-14 16:31:05 +01:00
dependabot[bot]
870805ec19 build(deps): bump typescript from 5.2.2 to 5.7.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.2.2 to 5.7.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.2.2...v5.7.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 15:25:56 +01:00
Simon Hausmann
4aa81b671a Make glow a Cargo workspace dependency 2025-01-14 14:24:41 +01:00
Simon Hausmann
37be696cd6 Bump glow and femtovg versions 2025-01-14 14:24:41 +01:00
Olivier Goffart
404956f919 Update mipidsi dependency 2025-01-14 14:02:44 +01:00
Olivier Goffart
6e9c991933 Janitor: cargo fmt 2025-01-14 11:24:15 +01:00
Olivier Goffart
c1bab16d6d Janitor: dependencies update 2025-01-14 10:48:46 +01:00
ogoffart
c83af3ca5c Bump version number to 1.10.0 2025-01-13 13:38:41 +00:00
Simon Hausmann
f5909807ea esp-idf: Rename SlintPlatformConfiguration's color_swap to byte_swap and deprecate color_swap_16 2025-01-13 14:27:37 +01:00
Simon Hausmann
d7b44d2686 Bump gstreamer dependencies 2025-01-13 12:45:38 +01:00
Tasuku Suzuki
346d1c2df3 Fix typos
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00
Olivier Goffart
3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
Olivier Goffart
cfbcf0b1d7
Introduce Window::try_dispatch_event (#7313)
That is the same as Window::dispatch_event, but it reports an error
instead of panicking
2025-01-09 19:39:38 +01:00
Olivier Goffart
f645492240 Map example: do image decoding in a thread 2025-01-08 21:15:52 +01:00
Olivier Goffart
0248790228 Maps demo: cache the reqwest client
Building it is actually expensive
2025-01-08 14:49:08 +01:00
Olivier Goffart
120230825d Janitor: update dependency 2025-01-06 17:25:08 +01:00
Arnold Loubriat
9c25040b00 Set accessible-action-default on tabs 2025-01-06 09:30:11 +01:00
Arnold Loubriat
14466d1be6 Set accessible-label on tab panels 2025-01-06 09:30:11 +01:00
Arnold Loubriat
3304df0f82 Add AccessibleRole::TabPanel 2025-01-06 09:30:11 +01:00
Arnold Loubriat
60aacc8f82 Set accessible-item-selected on tabs 2025-01-06 09:30:11 +01:00
Arnold Loubriat
67f6e1a737 Set accessible-item-selectable on tabs 2025-01-06 09:30:11 +01:00
Arnold Loubriat
23e37ce4de Set accessible-item-index on tabs 2025-01-06 09:30:11 +01:00
Arnold Loubriat
38499962a9 Set accessible-item-count on tab bar widgets 2025-01-06 09:30:11 +01:00
Arnold Loubriat
c3cfa6044a Remove tab title label from the accessibility tree 2025-01-06 09:30:11 +01:00
Simon Hausmann
a25a17ea29 Updated proc-macro-patch based on upstream feedback 2025-01-05 20:36:17 +00:00
Simon Hausmann
852b6c8ccc Remove commented out crate specs 2025-01-05 18:23:06 +00:00
Simon Hausmann
b1c35b2a3a Fix logic error in proc-macro-crate patch 2025-01-05 18:22:07 +00:00
Simon Hausmann
db5d9063fc Simplify khronos_api patch for Bazel build
Use relative paths to CARGO_MANIFEST_DIR in build.rs. Patch is
also submitted upstream at https://github.com/brendanzab/gl-rs/pull/549
2025-01-05 09:50:41 +00:00
Simon Hausmann
ab37bc4b61 Remove the lock file from the Bazel build
As long as we're building from slint git, there's no point in a lock
file, as dependencies may get bumped in the Cargo.toml files.
2025-01-05 09:24:54 +00:00
Simon Hausmann
f5ca7a071c Make the Bazel build more robust
Ashpd doesn't compile out of the box because it uses zvariant-derive's
macro, which uses proc-macro-crate to find out if the zvariant types are
in `zvariant::` directly or indirectly via `zbus::zvariant::`. This is
checked by using proc-macro-crate to parse ashpd's Cargo.toml to see if
there's a dependency on zbus or zvariant, and if this fails the fallback
of zvariant-derive is to just use `zvariant::`. That's why before this
patch the Bazel build was injecting the zvariant dependency.

Instead of injecting this dependency to ashpd, it's better to fix
proc-macro-crate. This is less error prone in terms of version encoding
and it feels like the right approach. So the applied patch is also
submitted upstream as a PR.
2025-01-05 09:24:14 +00:00
Simon Hausmann
7212ecb2a8 Bazel: Build from git without patches 2025-01-04 12:43:53 +00:00
Simon Hausmann
2d4d4f608f Upgrade to Slint 1.9.0 2025-01-04 08:51:47 +00:00
Simon Hausmann
261c241eac Update to latest rules_rust release 2025-01-03 15:45:06 +00:00
Simon Hausmann
a2ab82a8de Remove i-slint-backend-testing and i-slint-backend-winit dependencies
Those aren't needed
2025-01-03 14:56:46 +00:00
Simon Hausmann
2cc99af43c Re-generate Bazel lock file with my local build... 2025-01-03 14:56:46 +00:00
Simon Hausmann
c5565305a5 Add copyright notices and SPDX license identifiers 2025-01-03 14:55:04 +01:00
Andrew Wagner
760106bcd5 Start adding CICD config 2025-01-03 14:55:04 +01:00
Andrew Wagner
2bf530588e Add more information on building with bazel and pin the bazel version in .bazelversion 2025-01-03 14:55:04 +01:00
Andrew Wagner
999c52fa7c Add a README.md file to show how non-bazel users how to build 2025-01-03 14:55:04 +01:00
Andrew Wagner
65ce94949c Add an example for building slint code in bazel 2025-01-03 14:55:04 +01:00
ogoffart
f309a551b5 Bump version number to 1.9.2 2024-12-30 10:18:16 +00:00
Tasuku Suzuki
95d29e9b90
dial example: Restrict angle to the defined range and refine angle calculation (#7181)
- Enforce that the angle stays within the specified start and end angles.
- Transition from using the initial touch angle as a reference to using the previous angle.
2024-12-20 19:39:28 +02:00
Tasuku Suzuki
2edb59d71b
dial example: simplify source code (#7179)
- Eliminated `in` qualifier from properties not used as inputs for clarity.
- Removed the default lightOff state as it served no purpose.
- Removed Rectangles used as containers for simplification.
2024-12-20 09:22:38 +02:00
Tasuku Suzuki
8719c0e5ec
dial example: rotate dial only if initial touch is within its bounds (#7142)
Add a boundary check to ensure that rotation only occurs when the
first pointer contact is inside the circular dial area.
If the initial touch is outside, the dial remains stationary.

Mouse cursor is set properly to show current status.
2024-12-19 16:55:12 +02:00
autofix-ci[bot]
a715fb9fa0 [autofix.ci] apply automated fixes 2024-12-19 15:26:29 +01:00
Simon Hausmann
d90d882ede Move failing image-filter type check
Since we don't build the node.js API anymore, we can't run this as part of pnpm type-check. Move it to the nodejs test. It runs very quickly and we've already built the Node.js port by then.

Amends 028884926a
2024-12-19 15:13:10 +01:00
aurindam
dc3f29b6da Bump version number to 1.9.1 2024-12-19 12:57:19 +00:00
Olivier Goffart
2a2a53b758 Update esp-hal dependency 2024-12-17 14:53:55 +01:00