Update Translations Bot
74e23881b5
Update Translations: extract strings
2024-11-18 03:16:35 +00:00
Nigel Breslaw
08d90a5f13
Next gen docs for 1.9 ( #6766 )
...
Co-authored-by: Aurindam Jana <aurindam.jana@slint.dev>
Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-14 15:52:35 +01:00
Simon Hausmann
65fb9d84b4
Correct and simplify Node demo/examples instructions
2024-11-14 14:10:02 +01:00
Simon Hausmann
9f7e407eff
Fix fallback to source builds
...
Continue to run build-on-demand.mjs to permit a fallback to a
from-source build for users who run `npm install slint-ui` on a platform
where we don't provide binaries for (such as linux-armv7/64). However,
this is only done when run from the installed package, not from git.
From git, the prestart trick remains in use.
2024-11-14 12:25:42 +01:00
Nigel Breslaw
0461abfc73
Avoid building Rust on pnpm install
2024-11-14 12:25:42 +01:00
Olivier Goffart
d00655b059
Update MCU dependencies ( #6682 )
2024-10-29 21:35:51 +01:00
Simon Hausmann
e01a121165
Move weather demo to demos/ sub-folder
2024-10-26 09:39:52 +02:00
Simon Hausmann
d81cc50699
Fix uefi-demo build after printerdemo move to demos
2024-10-25 15:13:19 +00:00
Olivier Goffart
7ab6aeeb97
Prospective fix esp32s2 build on CI
...
These cfg doesn't seem necessary anymore and newer toolchain throw error
at it
2024-10-25 16:09:59 +02: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
Update Translations Bot
129936a7d7
Update Translations: extract strings
2024-10-25 03:10:22 +00:00
FloVanGH
3984ab6a7a
gallery: fixed layout of list view page ( #6638 )
2024-10-24 09:28:09 +00:00
Simon Hausmann
df55e5563b
Simplify OpenGL examples to use platform builder API to enforce a GL supported renderer
2024-10-23 11:22:17 +02:00
Simon Hausmann
2a4024fdcb
Bump various dependencies
2024-10-23 10:06:12 +02:00
Olivier Goffart
f94a8d07ba
uefi-demo: update dependencies
...
Also disable the compilation if not targetting uefi to avoid error about
duplicated panic handler in rust analyzer
2024-10-22 18:23:26 +02:00
Olivier Goffart
d818bf8199
Prospective CI fix:
...
```
error: unnecessary `unsafe` block
--> examples/mcu-board-support/stm32h735g.rs:209:26
|
209 | let (fb1, fb2) = unsafe { (core::ptr::addr_of!(FB1), core::ptr::addr_of!(FB2)) };
| ^^^^^^ unnecessary `unsafe` block
|
= note: `-D unused-unsafe` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_unsafe)]`
```
(probably caused by the recent Rust release)
2024-10-18 12:30:37 +02:00
Nigel Breslaw
3b50793d1e
Repeater example
2024-10-18 12:50:11 +03:00
Arnold Loubriat
53b1ba6ad4
Use the selectable
and selected
accessibility properties in the energy-monitor example
2024-10-16 15:38:46 +02:00
FloVanGH
ccf5f04087
node: added initTranslations function ( #6504 )
2024-10-10 16:37:33 +02:00
FloVanGH
52afd18650
macos: enable gettext ( #6508 )
2024-10-10 13:37:16 +00:00
Simon Hausmann
e9924f0f76
Add the ability to read/write boolean properties in the qt_viewer example
2024-10-10 13:08:36 +00:00
FloVanGH
f01ac8fc39
node: added url support to loadFile ( #6507 )
2024-10-10 11:43:32 +00:00
Aurindam Jana
9138105d7f
Update link in weather demo README
2024-10-09 23:10:06 +02:00
Nigel Breslaw
2e15a35afe
Replace broken svg
2024-10-09 17:13:51 +03:00
Nigel Breslaw
5a706683da
Update node imagefilter for latest 'jimp'
2024-10-09 13:27:36 +03:00
Update Translations Bot
d38d968f9b
Update Translations: extract strings
2024-10-09 03:08:23 +00:00
Renato Araujo Oliveira Filho
1e4de3fe0c
Implement ScrollBarPolicy property for ScrollView ( #6442 )
...
ChangeLog: ScrollView: added vertical-bar-policy and horizontal-bar-policy
Fixes : #3552
Fixes : #5578
2024-10-08 17:02:17 +02:00
Nigel Breslaw
3784780e22
Fancy switches example
2024-10-08 16:21:50 +03:00
Nigel Breslaw
6beb0c3f02
chore: Update npm dependencies
...
Update biome
Update typescript
Update esbuild
2024-10-08 13:13:49 +03:00
David Horner
6cc4cec4cb
Update ffmpeg dependency to version 7.1.0 ( #6460 )
2024-10-07 14:54:34 +02:00
Olivier Goffart
1c3eb46752
Fixup dead links to the old tutorial
2024-10-03 10:15:52 +02:00
Nathan Collins
9c04c62cc6
docs: Fix probe-rs command
...
The `run` command was missing.
2024-10-01 14:36:42 +02:00
Nathan Collins
3059bc3915
doc: Prefer probe-rs
...
Probe-run is deprecated in favour of probe-rs:
https://ferrous-systems.com/blog/probe-run-deprecation/
Update the docs to use probe-rs. Tested directly with a Raspberry Pi
Pico and STM32H735G-DK.
2024-10-01 13:36:47 +02:00
Nigel Breslaw
935c41fa37
Ensure Orbit demo has a visible ComboBox
2024-10-01 10:23:24 +03:00
Update Translations Bot
f041075e76
Update Translations: extract strings
2024-10-01 03:14:44 +00:00
Nigel Breslaw
bdf20488b0
Orbit Animation Example
...
Show how a simple orbit animation can be achieved via the trigonometry functions
2024-09-30 21:47:46 +03:00
Olivier Goffart
53e79000a4
Layouting: Take in account explicit constraints when generating layout info base on content ( #6306 )
...
Fixes #6285
ChangeLog: Fixed geometry constraints when they are partially infered
from the content, and partially infered from the explicit constraints
2024-09-30 10:57:23 +02:00
ogoffart
eb273a63ee
Bump version number to 1.9.0
2024-09-25 11:49:15 +00:00
Olivier Goffart
d0896e6360
Update the README of new demos
2024-09-24 16:51:46 +02:00
Nigel Breslaw
a6ca636d07
SpriteSheet demo
...
Simple demo showing how to create a SpriteSheet via the Image element.
2024-09-24 15:59:15 +03:00
Simon Hausmann
29804f34de
Fix WASM version of OpenGL underlay example
...
Commit 3cb636169506262d96ec2bc53a617714d5ab068d in femtovg switched to
using WeblGL to (needed for tiling). This means the GraphicsAPI::WebGL
context type needs to be updated, too. Also, the canvas_id was always
empty, but needs to be initialized from the id of the element we're
using.
2024-09-24 10:47:15 +02:00
Enyium
9894eca229
Fixed kebab casing of previous appwindow.slint
.
2024-09-20 10:26:49 +02:00
Update Translations Bot
f2dccaa42d
Update Translations: extract strings
2024-09-20 03:05:57 +00:00
Simon Hausmann
754922f965
Remove stray debug properties
2024-09-19 08:21:28 +02:00
Update Translations Bot
725b0c9ca1
Update Translations: extract strings
2024-09-19 03:05:47 +00:00
Simon Hausmann
cd2b738c7a
Rename SwipeGestureRecognizer to SwipeGestureHandler
...
The origin of this proposal is the name of the `swipe-left`, etc.
directional, boolean properties. They're missing another verb in their
name. In principle the right choice would be "recognize". That is what
the type name suggests, that's the term the documentation uses, so the
code should read `recognize-swipe-left: true;`. However that is a long
word. "Handle" is a verb that's simpler. It's also more generic (that's
a downside), but it's otherwise short enough to make things look
"right":
```
SwipeGestureHandler {
handle-swipe-left: true;
swiped => { something.naviate-left(); }
}
```
Therefore this patch proposes to rename the type to SwipeGestureHandler
and prefixes the boolean directional properties with "handle".
2024-09-18 16:37:27 +02:00
crai0
3f3ac7e347
common: add support for back and forward pointing-device buttons ( #6149 )
...
Closes #6043
ChangeLog: add support for back and forward pointing-device buttons
2024-09-18 07:48:30 +02:00
Nigel Breslaw
a9c04f13e9
Simplify dial to use atan2
2024-09-17 09:05:38 +02:00
Arnold Loubriat
d790150735
Use AccessibleRole::ListItem
inside examples
2024-09-16 09:15:39 +02:00
Olivier Goffart
890e63d352
dial example: move the files one directory down
...
There is only one directory alled "ui", so there isn't really need to have
this level of directory.
This aligns with other demo that don't have any source files
Also rename appwindow.slint to dial.slint
2024-09-14 18:37:17 +02:00