Simon Hausmann
d23f74328e
Attempt to fix the simple_window test
...
With winit, we can't run that test in a secondary thread anymore (as
done by the rust test harness). Instead select the testing backend.
2023-05-11 10:42:09 +02:00
Simon Hausmann
481288d489
Initial support for rendering with Skia and Vulkan
...
Closes #1546
2023-05-09 08:58:35 +02:00
Olivier Goffart
65e879e55f
Document how anonymous objects are mapped to native code
...
As discussed in https://github.com/slint-ui/slint/discussions/2650
2023-04-28 09:30:23 +02:00
ogoffart
dfd5fc38b3
Bump version number to 1.0.3
2023-04-26 14:04:08 +00:00
ogoffart
53cce5bf44
Bump version number to 1.0.2
2023-04-26 11:33:16 +02:00
Olivier Goffart
addc1247ec
Docs: document that \{...}
is not working in a slint!
macro
...
Closes #2517
2023-04-20 13:06:20 +02:00
Olivier Goffart
beb7af5a9c
Some entries to the changelog
2023-04-20 13:00:53 +02:00
Olivier Goffart
d5d71626c0
Docs: document that the renderer-winit-* feature must be used with winit features
...
Closes #2506
2023-04-20 11:29:50 +02:00
ogoffart
bd63218412
Bump version number to 1.0.1
2023-04-18 14:56:40 +00:00
Olivier Goffart
fd3f974d7e
Don't use old syntax in docs
2023-04-06 17:06:46 +02:00
Olivier Goffart
8b1683bf0a
Fix code snippet in README
2023-04-05 21:00:51 +02:00
Olivier Goffart
34f41f35f1
Update dependencies in readme and docs
2023-04-03 07:37:09 +02:00
Simon Hausmann
7e1d27935d
Link to the Rust Interpreter API from the same site ( #2410 )
2023-03-29 13:20:53 +02:00
Simon Hausmann
b38df20d9a
Add a feature to enable system fonts with the software renderer
...
If we have a file system, then we can allow users of the software
renderer to support text rendering by from fonts served by the file
system.
cc #2100
2023-03-28 11:33:44 +02:00
Olivier Goffart
f87b3b0758
Added a test for partial rendering
2023-03-24 17:29:01 +01:00
Simon Hausmann
8ffb5131c7
Introduce error handling in the FemtoVG and Skia renderers ( #2402 )
...
Avoid unwrap() and expect() and instead propagate errors all the way
down to run_event_loop(), show(), and hide() in the Slint AIP.
2023-03-24 14:18:11 +01:00
Olivier Goffart
9529be2162
Fix some warnings
2023-03-24 11:14:48 +01:00
Olivier Goffart
20973bdb7b
Report warnings from the slint!
macro
2023-03-24 11:14:48 +01:00
Tobias Hunger
799c9a9389
docs: fix some more links from rust docs into other docs
2023-03-24 10:18:04 +01:00
Tobias Hunger
da95051db1
docs: Fix dead links between docs
...
... and add in text that went missing in the Globals section of the rust
docs.
2023-03-23 11:22:51 +01:00
Olivier Goffart
bea263a447
Docs: Remove the sentence that say one need to use nightly
...
Rust 1.68 will be released by the time we do the next release
2023-03-06 11:02:10 +01:00
Simon Hausmann
7e843a30d8
doc: Move the recipes into the Slint Language Documentation
2023-02-23 14:20:10 +01:00
Tobias Hunger
39d215bee0
docs: Rename "Slint language Reference" to "Slint Language Documentation"
2023-02-22 21:13:47 +01:00
Tobias Hunger
78892cdf1f
docs: Fix broken links in our docs.
2023-02-22 17:08:30 +01:00
Tobias Hunger
96f75bdd0c
docs: Rework the rust part of the documentation ( #2240 )
...
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2023-02-20 21:06:05 +01:00
Olivier Goffart
f231522f7e
Change the homepage URL in the Rust API's Cargo.toml
2023-02-20 08:52:38 +01:00
Olivier Goffart
8450e01a3f
Change the name of the compat feature ( #2230 )
...
And remove the compat-0-2-0 and compat-0-3-0 features
2023-02-16 09:40:44 +01:00
Olivier Goffart
fd6c80a590
Set MSRV to 1.66
2023-02-16 09:03:22 +01:00
Olivier Goffart
5b3cde87ab
Update dependencies
2023-02-15 10:28:02 +01:00
Olivier Goffart
6889dfa5f5
Rust: Make new(), run() and show() report errors from the backend
...
Fixes #2198
2023-02-10 05:00:03 +01:00
Olivier Goffart
a19efc30db
Replace the MAX_BUFFER_AGE const generic with a runtime enum
...
Having a const generic for that didn't turn to be a good API.
Also made the C++ side more difficult
(Also renamed buffer_stride to pixel_stride)
Closes #2135
2023-02-08 14:44:01 +01:00
Tobias Hunger
d93445bd0b
docs: Remove inline langref documentation and link the mdbook
...
For node and cpp, I use relative links to point to the slint language
reference documentation.
For the slint crate documentation I create a link to
https://slint-ui.com/releases/VERSION/ ... instead: This needs to work from
docs.rs as well as from our own docs area on slint-ui.com! That is
pretty ugly: I can not even define constants for this as the crate docs
need to come before anything else.
2023-02-07 12:10:07 +01:00
ogoffart
e7f48512ee
Bump version number to 1.0.0
2023-02-03 11:07:15 +01:00
Olivier Goffart
f2c680ac28
Update description in Cargo.toml
2023-01-27 08:54:13 +01:00
Olivier Goffart
a0fb8bc771
Remove support of old SIXTYFPS_ env variable, and sixtyfps_widgets.60
2023-01-26 13:36:38 +01:00
Olivier Goffart
a3ec320bfb
Remove some deprecated stuff
...
CC #2024
2023-01-26 11:19:21 +01:00
Olivier Goffart
aad03d2d43
Update the version number in the readme and docs
2023-01-25 11:25:51 +01:00
Simon Hausmann
7e02fa8b6a
Update the syntax used in the different documentation entries and README
2023-01-25 09:54:50 +01:00
Jocelyn Turcotte
cad7178b9e
Docs: Suggest enabling the Feature resolver version 2 in the MCU doc
...
After a while trying to understand why std kept appearing in the output of
`cargo +nightly tree -e features -i once_cell -f "{p} {f}"` and why it built within the
slint tree but not in my project, I figured out that this is probably because slint
is enabling the new feature resolver in its root Cargo.toml.
2023-01-18 06:09:47 +01:00
Olivier Goffart
00de1867ae
Janitor: deps upgrade
2023-01-16 10:47:55 +01:00
Florian Blasius
f2aab576f4
Add StandardTableView widget ( #2032 )
...
* Text only StandardTableView with column and rows
* Text editing of cells
* Sort by column ascending and descending
* Variants of the TableView for native, fluent and material
2023-01-12 19:41:12 +01:00
Olivier Goffart
af50c2c2c2
Do not panic if the document contains a global but no normal component
...
Fixes #2005
(Unfortunately, we can't make a driver test for this becasue the
behavior with the interpreter is different than with the compilers.
The interpreter errors out, while the compiler should just generate
nothing)
2022-12-19 11:54:15 -08:00
ogoffart
ce07d078ce
Bump version number to 0.3.4
2022-12-16 09:36:15 +00:00
Olivier Goffart
3bc3962c00
Update versions in docs
2022-12-16 09:31:11 +01:00
Olivier Goffart
30a81d856a
documentation: fix formatting of the backend selection
2022-12-08 08:05:27 +01:00
Simon Hausmann
11f46906a2
Centralize rust-version in Cargo.toml
...
Require 1.64 in the workspace and inherit the setting in package
Cargo.toml files.
2022-12-05 12:39:14 +01:00
Simon Hausmann
7e77a2a4cc
Bump MSRV to 1.64
...
... due to rust-skia bindings requiring a feature (ffi related).
2022-12-04 19:39:35 +01:00
Simon Hausmann
d28ebc46c5
janitor: Trigger rebuilds of SLINT_EMBEDD_RESOURCES changes
...
The compiler reads this variable, so we should rebuild if it changes.
2022-11-30 11:31:14 +01:00
ogoffart
fb02b4118b
Bump version number to 0.3.3
2022-11-28 13:11:11 +00:00
Olivier Goffart
ed1911cc89
Update version number in docs
2022-11-28 11:55:48 +01:00