ogoffart
c8c9496722
Bump version number to 1.1.1
2023-06-26 12:50:02 +00:00
Olivier Goffart
d2edb6ee57
Fix crates.io uploading
...
dev-dependencies with path shouldn't have a version
2023-06-26 13:47:23 +02:00
Olivier Goffart
9b59036816
Add licenses symlinks
2023-06-26 13:12:29 +02:00
Olivier Goffart
2a2e38315e
Update a few docs to 1.1.0
2023-06-26 12:42:01 +02:00
Simon Hausmann
ab0e38c76d
Merge absolute-x
and absolute-y
"virtual" properties into absolute-position
( #2942 )
...
The type of thep property is `Point`, which existed before. It was
mapped to `slint::private_unstable_api::re_exports::Point` (euclid) and
is now mapped to slint::LogicalPosition (also in C++).
2023-06-21 08:17:57 +02:00
Olivier Goffart
fe55664eae
Improve docs of slint::init_translations
2023-06-20 12:08:38 +02:00
Olivier Goffart
fdec5960bd
Support for @rust-attr on enums
2023-06-19 22:40:49 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Tobias Hunger
04d1229685
Fix licnese information using xtask
2023-06-16 09:14:20 +02:00
Olivier Goffart
99ab5e78d4
Implement a way to run future on the slint event loop
...
Closes #747
2023-06-16 08:35:19 +02:00
ogoffart
641cab0e75
Bump version number to 1.1.0
2023-06-15 16:01:28 +00:00
Simon Hausmann
2e7cc49567
Initial AccessKit support
...
This change adds initial accessibility support for the winit backend
through use of AccessKit.
2023-06-15 13:20:14 +02:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs ( #2888 )
2023-06-15 11:20:50 +02:00
Olivier Goffart
72de76b71a
Documentation for enums
2023-06-12 13:02:14 +02:00
Simon Hausmann
e663282c65
Fix support for High-DPI with Qt
...
Preserve the early backend initialization of commit
f0b047057b
2023-06-10 11:41:04 +02:00
Olivier Goffart
12e6b34e2d
Translations: support for plurals
2023-06-07 10:34:34 +02:00
Simon Hausmann
1bf05eae7c
Add support for absolute-x and absolute-y properties on any element ( #2823 )
...
Fixes #1691
2023-06-06 14:37:53 +02:00
Olivier Goffart
57d41b44b5
Enable runtime translations from rust
2023-06-05 16:34:59 +02:00
Olivier Goffart
ce25fb65a6
Pass the translation domain to the runtime
...
For rust, it uses the crate name, for others, it needs to be passed in
the comment line
2023-06-05 16:34:59 +02:00
Olivier Goffart
cf746ddf8d
WIP: formatting implementation of translate in rust and C++
2023-06-05 16:34:59 +02:00
Amirhossein Akhlaghpour
3a4f3c61d5
Add @rust-attr
on scturct ( #2785 )
...
Fixes : #2660
2023-06-05 16:29:55 +02:00
Simon Hausmann
f9ba8023d4
Fix read-only TextInput reporting input method access
...
When the TextInput item is read-only, it should not report availability
or any other status to the input method via the window adapter.
This also fixes the order of events when clicking on a TextInput: We
would send the ime position update request before enabling the ime,
because we set the focus _after_ setting the cursor pos.
Fixes #2812
2023-06-05 14:55:22 +02:00
Simon Hausmann
e7320607a3
Remove BorrowedOpenGLTexture from the public API again and just provide a factory function in slint::Image
2023-06-01 15:56:55 +02:00
Simon Hausmann
eadfec64a3
Add support for importing OpenGL textures into Slint
...
This is the initial API for Slint to borrow OpenGL textures from the
application for rendering.
2023-06-01 15:56:55 +02:00
Simon Hausmann
439b0c09d8
Try to improve the documentation for ModelRc ( #2791 )
...
- Mention in the type mapping table as well as in ModelRc that ModelRc is also used for array struct fields.
- Use an itemized list for the different ways of constructing, with the from_slice variant being listed second.
cc #2787
2023-05-31 17:16:06 +02:00
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