Commit graph

20 commits

Author SHA1 Message Date
ogoffart
e0099ea500 Bump version number to 1.12.0 2025-04-30 13:27:50 +00:00
Simon Hausmann
00c89626df Introduce a prelude to mcu-board-support to make esp-hal available when the entry point comes from esp_hal::main
esp_hal::main's code requires the availability of `esp_hal` as import.
2025-04-15 11:32:27 +02:00
Juraj Michálek
d85f27ea9c muc-board-support: esp32-s3-box-3 resolve entry point 2025-04-15 11:32:27 +02:00
Olivier Goffart
78a3757b7f
Remormat all the toml file again to fix npm upload
Commit cd6f2e2 reformated the .toml, but the 80 char width column is
judged too small to be practical

Add a .taplo.toml file

Also do not split feature array
2025-04-09 15:06:00 +02:00
Tobias Hunger
cd6f2e2cf2 ci: Format toml files
... using taplo with default settings

I tried this with 4 spaces indentation, but the patch is almost as
big as this one, so I went with default settings instead as that
is just easier:-)
2025-04-02 11:03:41 +02:00
ogoffart
178cf21c2e Bump version number to 1.11.0 2025-03-18 09:48:22 +00:00
Olivier Goffart
da9fbebf18
esp-idf line by line renderer: use two line buffer
esp_lcd_panel_draw_bitmap is async so we should render in a different
buffer.
2025-02-25 21:37:36 +01:00
Olivier Goffart
c3e32c1665
Don't enable image-default-formats by default, remove compat-1-10 feature
We decided that the compatibility with people having enabled the extra
format in image 0.24 [1] is not worth it compared to the extra compilation
time most people gets by default when they don't need this feature.
(Which is less than 10% slower when the feature is enabled)

Since then there is no need for compat-1-10, remove it

[1] by depending directly on image 0.24 in their Cargo.toml and enabling
the features, which will not work with Slint 1.10 that now use image 0.25
2025-02-22 11:15:18 +01:00
Olivier Goffart
c94d494169 printerdemo_mcu esp-idf: increase the stack size
Otherwise we stack overflow when expendin the queue
2025-02-18 18:47:46 +01:00
Yuri Astrakhan
9621cae218 Auto-fixed clippy::needless_lifetimes
`__CARGO_FIX_YOLO=1` is a hack, but it does help a lot with the tedious fixes where the result is fairly clear.

See https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes

```
__CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::needless_lifetimes

cargo fmt --all
```
2025-02-07 09:20:49 +01:00
Yuri Astrakhan
6324b35e94 Auto-fixed clippy::needless_borrow
`__CARGO_FIX_YOLO=1` is a hack, but it does help a lot with the tedious fixes where the result is fairly clear.

See https://rust-lang.github.io/rust-clippy/master/index.html#/needless_borrow

```
__CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::needless_borrow

cargo fmt --all
```
2025-02-07 09:02:45 +01:00
Tasuku Suzuki
ad61d029e5 Demo: fix documentation link to mcu-board-support 2025-01-28 06:25:22 +01:00
Simon Hausmann
7ba44271af CI: Fix esp-idf build
Pin espressif/button to a version that compiles.
2025-01-24 15:07:19 +01: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
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
Nathan Collins
d1be6f69fd printerdemo_mcu PrinterQueueItem uses a status string
Use a string instead of the JobStatus enum.

This makes the PrinterQueue code compatible with the printerdemo code,
allowing us to switch between mcu and non-mcu versions of this demo,
depending on what will fit on a device.

A string is used, rather than porting the non-mcu demo to an enum,
because the non-mcu demo needs to work with the cpp_interpreted demo.
2025-01-02 13:54:53 +01:00
ogoffart
f309a551b5 Bump version number to 1.9.2 2024-12-30 10:18:16 +00:00
aurindam
dc3f29b6da Bump version number to 1.9.1 2024-12-19 12:57:19 +00:00
Simon Hausmann
a98d4709be Move printer demo and energy-monitor into new top-level demos/ folder
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.

Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00