Commit graph

99 commits

Author SHA1 Message Date
dependabot[bot]
8169afe40c build(deps): bump @biomejs/biome from 2.1.1 to 2.1.2
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 10:48:56 +02:00
dependabot[bot]
a06d1597a5
build(deps): bump @biomejs/biome from 2.0.6 to 2.1.1 (#8913)
* build(deps): bump @biomejs/biome from 2.0.6 to 2.1.1

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.6 to 2.1.1.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.1/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix lint error

* Fix lint

* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-15 14:05:51 +03:00
Olivier Goffart
27f026aeea Examples/Demos: fix warning about unused padding 2025-07-04 18:35:52 +02:00
Aurindam Jana
5a653d7f32
Update README_NXP.md
Some checks are pending
CI / mcu-embassy (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / files-changed (push) Waiting to run
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, 1.85) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, 1.85) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
Add License Header and Copyright notice
2025-07-02 21:36:52 +02:00
Aurindam Jana
3cd8d5a00e
Create README_NXP.md
Some checks are pending
CI / tree-sitter (push) Blocked by required conditions
CI / files-changed (push) Waiting to run
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, 1.85) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, 1.85) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-07-02 11:50:25 +02:00
dependabot[bot]
a74cf7ae8e
build(deps): bump @biomejs/biome from 2.0.5 to 2.0.6 (#8810)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.6/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.6
  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>
2025-06-30 21:32:18 +03:00
ogoffart
9cc24ff284 Bump version number to 1.13.0 2025-06-26 13:30:43 +00:00
Simon Hausmann
86befbe769 Python: Make space for additional python modules
Move Slint module into sub-directory under api/python
2025-06-25 20:43:09 +02:00
dependabot[bot]
78bea10408
build(deps): bump @biomejs/biome from 2.0.0 to 2.0.4 (#8758)
* build(deps): bump @biomejs/biome from 2.0.0 to 2.0.4

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-24 15:11:14 +03:00
Nigel Breslaw
6d21c7b7ff
Update to Biome 2.0 (#8730) 2025-06-19 21:38:30 +03:00
ogoffart
92f9f0e85d Bump version number to 1.12.1 2025-06-16 13:32:39 +00:00
Nigel Breslaw
39dea5a79d
demos: Fix wasm deploy of Home Automation demo (#8625) 2025-06-10 14:54:47 +03:00
Olivier Goffart
5b45ded710 usecases demo: Fix binding loop involving break-layout
Because of #3997
2025-05-21 10:33:02 +02:00
Simon Hausmann
9ad4ef6e52 iOS: Disable the sandbox for the cargo build script by default
When the xcode project is in a sub-dir but the cargo build tries to access a file outside, this won't work.
2025-05-20 11:07:19 +02:00
Simon Hausmann
e14140c028 iOS: Fix initial window geometry
Define a dummy UILaunchScreen to avoid the app running in legacy mode for old devices.
2025-05-20 11:07:19 +02:00
Simon Hausmann
4df7a9504a Avoid double app prefix in ios bundle ids and use dev instead of com
(to be squashed)
2025-05-20 11:07:19 +02:00
Simon Hausmann
d37ee60155 Add iOS build of the Energy Monitor and Home Automation demos
Use xcodegen -s ios-project.yml to generate the Xcode project.
2025-05-20 11:07:19 +02:00
Nigel Breslaw
beef5d9cde
Time fix for home-auto demo (#8473)
* Landscape time was not hidden in portrait

* Apply landscape time fix to portrait
2025-05-19 14:53:38 +03:00
Tasuku Suzuki
40c89b96d6
Home Automation: Refactor alarm passcode logic (#8435)
Remove unnecessary indirect-passcode property.
Change max length of passcode to 4.
2025-05-12 13:29:49 +03:00
Tasuku Suzuki
18d2810a8f
Home Automation: Highlight current tab (#8416)
Add visual states and animated transitions to clearly highlight the selected tab.
2025-05-12 13:20:37 +03:00
Tasuku Suzuki
3e94d81ba0
Home Automation: adjust logo appearance (#8415)
Colored logo provides better visual appeal during demonstrations.

This also addresses an issue where the first touch in kiosk mode (which deactivates it) appeared unresponsive due to no immediate visual feedback.
2025-05-10 12:21:41 +03:00
Tasuku Suzuki
f97f2d105f
Home Automation: clean up imports (#8406) 2025-05-09 14:12:59 +03:00
Tasuku Suzuki
eb1ae3d3bc
Home Automation: Improve player's play button (#8405) 2025-05-08 13:37:12 +03:00
Tasuku Suzuki
0051c95b1b
Add real-time clock to home automation demo (#8390) 2025-05-08 13:19:03 +03:00
Tasuku Suzuki
d85f11758c
Home Automation: fix color of month (#8393) 2025-05-07 11:30:47 +03:00
Tasuku Suzuki
37ad2445a7
Fix time display in home automation demo (#8392)
Show 12 instead of 0 for noon/midnight and fix AM/PM logic
2025-05-07 11:27:34 +03:00
ogoffart
e0099ea500 Bump version number to 1.12.0 2025-04-30 13:27:50 +00:00
Tasuku Suzuki
31439de382
Home Automation: fix graph vertical grid lines (#8199) 2025-04-18 17:28:07 +03:00
Simon Hausmann
c91ef1d7e6 Prospective build fix for non-esp mcu-board-support crate builds 2025-04-15 11:32:27 +02: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
081452bee9 live-preview: Explicitly set live-data values on reload
Set all values that are changed compared to the initial
set of values right after loading a new component.

This also includes a small change to the printerdemo,
so that it exposes more data to the business logic,
so that we have something to demonstrate;-)
2025-04-09 09:39:04 +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
Olivier Goffart
6f4f5aeefa Replace no_mangle with unsafe(no_mangle) in example and docs
We can't just do `s/#\[no_mangle]/#[unsafe(no_mangle)]/g`
because the version of cbingen we use doesn't understand the unsafe
attribute yet.

Part of #7998
2025-03-31 17:35:22 +02:00
Nigel Breslaw
30dca1423e
demos: Simplify home auto weather component (#7964) 2025-03-27 15:12:52 +02:00
Olivier Goffart
f71721e738 energy-monitor: fix warning
```
warning: energy-monitor@1.11.0: Aliases to global callback are deprecated. Export the global to access the global callback directly from native code
warning: energy-monitor@1.11.0:   --> /home/olivier/slint/demos/energy-monitor/ui/pages/menu_page/settings.slint:54:5
warning: energy-monitor@1.11.0:    |
warning: energy-monitor@1.11.0: 54 |     callback check-radio-option <=> SettingsAdapter.check-radio-option;
warning: energy-monitor@1.11.0:    |     ^
```

Warning was introduced in #7933
2025-03-25 10:42:15 +01:00
Nigel Breslaw
287a976bd0
Updated Home Automation demo (#7890)
Adds:

Kiosk mode. After 30 seconds demo will cycle through views.
Landscape support.
{ API } to work with the new data tab in live-preview.
SW Renderer support (use of PNG images over gradients, Rectangles, shadows, etc).
Removes side-bar and theming.
Refreshed look.
2025-03-21 19:04:58 +02:00
Simon Hausmann
cc932fceb9
Improve font embedding for MCUs when bundling translations (#7875)
Include messages from bundled translations into the character set used for deciding which glyphs to embed.
2025-03-18 11:54:28 +01:00
ogoffart
178cf21c2e Bump version number to 1.11.0 2025-03-18 09:48:22 +00:00
Simon Hausmann
37a82bcff5 Add dynamic translation selection to the usecases esp-idf build 2025-03-14 14:46:29 +01:00
Simon Hausmann
c9bc5b0c16 Add a bundled german translation for the use-cases demo in the Rust build 2025-03-14 14:46:29 +01:00
Simon Hausmann
5cd2e92c79 Adjust screen width to the latest size of the p4 function board 2025-03-14 14:46:29 +01:00
FloVanGH
f372703ea2
usecases: final polish for ew 2025 (#7817)
* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-07 08:40:12 +01:00
FloVanGH
e722d699bf
usecases: material tweak layout and colors (#7793)
* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-05 09:50:18 +01:00
FloVanGH
0ce68f2922
usecases demo: adjust material style for android (#7766)
* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-04 09:05:35 +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
FloVanGH
48ae567cb0
usecases: port to android (#7695)
* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-22 08:10:31 +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