ogoffart
ac8427a3c6
Bump version number to 1.2.2
2023-09-29 10:05:23 +02:00
Olivier Goffart
049cfee3d7
Update esp deps
...
(cherry picked from commit 8f61f1c2a7 )
2023-09-15 17:22:41 +02:00
tronical
368e52344d
Bump version number to 1.2.1
2023-09-15 14:57:26 +02:00
Olivier Goffart
5052aa8561
Remove clap dependency of cbindgen
...
we don't use it, and clap used by cbindgen is an old version resulting
in duplicate clap versions being built
2023-08-25 10:51:59 +02:00
Olivier Goffart
146ed520e8
C++: rename SLINT_FEATURE_STD in SLINT_FEATURE_FREESTANDING with the opposite meaning
2023-08-21 16:52:30 +02:00
Simon Hausmann
5c9eed62f1
Add a new backend that supports rendering fullscreen with Vulkan
...
This doesn't require a windowing system, just Linux and Vulkan drivers
that supports the display extensions.
It's called linuxkms as soon this will go beyond Vulkan and also support
EGL and perhaps dumb buffers for software rendering.
2023-07-28 13:40:37 +02:00
Olivier Goffart
fd7fc5ab9b
C++, remove the experimental flag
...
The platform namespace is now always enabled.
2023-07-28 10:36:08 +02:00
Olivier Goffart
3a807e46c1
Renderer feature refactor
2023-07-27 19:11:24 +02:00
ogoffart
aebaa7d6c9
Bump version number to 1.2.0
2023-07-25 10:44:53 +00:00
Olivier Goffart
ed0e4726d1
C++: use esp-backtrace as a panic handler on the esp platform
2023-07-24 12:20:51 +02:00
Simon Hausmann
e9286c1189
Make it possible to build the slint-cpp crate as a static library
...
This isn't supported on desktop yet, but on MCU it is.
Cargo is instructed to build a dylib and a staticlib, but corrosion
instructs rustc to build only either dylib or staticlib.
Corrosion listens to the BUILD_SHARED_LIBS option and will change the
default for the Slint::Slint INTERFACE_LINK_LIBRARIES to either
slint-cpp-shared or slint-cpp-static. This way the selection is
transparent to the users.
2023-07-21 18:32:45 +02:00
Olivier Goffart
1805e6c4c1
C++: Make it working to have experimental withoud std
2023-07-18 13:54:59 +02:00
Olivier Goffart
7cffad2c3f
C++: add a STD feature enabled by default
2023-07-18 12:44:20 +02:00
Olivier Goffart
4a505c6788
C++: Make the platform support work without the "std" feature
...
Add a experimental-platform feature that doesn't include skia
2023-07-14 10:46:21 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Olivier Goffart
aa8ef4e302
C++: add a "std" feature to the slint-cpp crate
...
And make it no_std otherwise
This is a first step towards getting C++ on MCU (#2136 )
2023-07-05 21:48:01 +02:00
ogoffart
c8c9496722
Bump version number to 1.1.1
2023-06-26 12:50:02 +00: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
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
Olivier Goffart
d8b0737b1d
Translations: disable gettext by default for C++ and the viewer
...
Can cause problem when compiling on windows or mac
2023-06-08 16:56:10 +02:00
Olivier Goffart
6b262e120d
Translations in C++
2023-06-05 16:34:59 +02:00
Simon Hausmann
481288d489
Initial support for rendering with Skia and Vulkan
...
Closes #1546
2023-05-09 08:58:35 +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
ogoffart
bd63218412
Bump version number to 1.0.1
2023-04-18 14:56:40 +00:00
Simon Hausmann
714a91e928
cmake: Add the SLINT_FEATURE_RENDERER_WINIT_SOFTWARE option to enable the software renderer
2023-03-31 08:58:04 +02:00
Simon Hausmann
3839033300
Make it possible to use more than png and jpeg with Slint C++
...
Enable all the image formats the image-rs crate enables by default.
2023-03-23 13:28:39 +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
ogoffart
e7f48512ee
Bump version number to 1.0.0
2023-02-03 11:07:15 +01:00
ogoffart
ce07d078ce
Bump version number to 0.3.4
2022-12-16 09:36:15 +00:00
Simon Hausmann
6a87a07e12
Add support for showing the renderer on macOS with AppKit
2022-12-12 17:02:11 +01:00
Olivier Goffart
fe0e881418
C++ wrapper for the Skia backend
2022-12-12 17:02:11 +01:00
Olivier Goffart
8d686637f4
Experimental platform API from C++
2022-12-12 12:54:31 +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
ogoffart
fb02b4118b
Bump version number to 0.3.3
2022-11-28 13:11:11 +00:00
ogoffart
2171773a3e
Bump version number to 0.3.2
2022-10-28 09:30:14 +00:00
ogoffart
261614b914
Bump version number to 0.3.1
2022-09-15 14:39:51 +02:00
Olivier Goffart
419016a356
Rename the compat feature again
...
crates.io won't let us upload a feature with dots in it:
```
Uploading slint-interpreter v0.3.0 (/home/olivier/slint/internal/interpreter)
error: failed to publish to registry at https://crates.io
Caused by:
the remote server responded with an error: invalid upload request: invalid value: string "compat-0.3.0", expected a valid feature name at line 1 column 2254
```
2022-09-14 15:55:57 +02:00
Olivier Goffart
8850959a2c
Rename the backend feature flags
2022-09-07 17:11:57 +02:00
Olivier Goffart
15fa69ef55
Rename the compat-0-2-0 feature to compat-0.3.0
...
But keep a compat-0-2-0 fome compatibility anyway
2022-09-07 14:09:07 +02:00
ogoffart
05a49da906
Bump version number to 0.3.0
2022-09-06 13:00:22 +02:00
Simon Hausmann
3a1817de3f
Skia: Make it possible to explicitly select the OpenGL backend of Skia
...
When opting into the Skia renderer, we default to metal on macOS and D3D on Windows.
However if you want to develop a cross-platform application with Skia and
for example rely on OpenGL to be able to implement an OpenGL underlay or overlay,
then we need the ability to explicitly opt into skia's GL renderer.
cc #1445
2022-09-05 14:07:27 +02:00
Simon Hausmann
771b122198
Add skia renderer skeleton
...
This one can render basically just plain rectangles.
2022-08-02 12:00:56 +02:00
Simon Hausmann
b47eb8507a
Remove the rtti-winit and rtti-qt features
...
These are not needed anymore, as the selector can enable the respective rtti features
in the winit and gl crate when its own rtti features is enabled.
2022-07-26 17:43:51 +02:00
Simon Hausmann
3619989fcc
Rename backend feature flags to accomodate more renderers
...
Split backend-gl-* into eventloop-winit-* and renderer-femtovg.
The old feature names are still available.
For consistency eventloop-qt and renderer-qt are aliases for backend-qt.
2022-07-26 17:43:51 +02:00
Simon Hausmann
27bf9348e6
Rename the backend-gl crate into backend-winit
2022-07-26 17:43:51 +02:00
Simon Hausmann
fe3d4b7177
Bump MSRV to 1.60
2022-07-26 09:20:52 +02:00
ogoffart
6b15d2e479
Bump version number to 0.2.6
2022-07-06 09:58:14 +00:00