Commit graph

141 commits

Author SHA1 Message Date
Olivier Goffart
fd6c80a590 Set MSRV to 1.66 2023-02-16 09:03:22 +01:00
Tobias Hunger
1a31c9a50b
docs: Polish the C++ docs (#2229) 2023-02-15 15:47:45 +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
Tobias Hunger
e64e15e277 docs: Modernize the tutorials for 1.0 2023-02-09 16:59:25 +01:00
ogoffart
e7f48512ee Bump version number to 1.0.0 2023-02-03 11:07:15 +01:00
Olivier Goffart
aad03d2d43 Update the version number in the readme and docs 2023-01-25 11:25:51 +01:00
Igor Loskutov
8a56d7a272 Fix tutorial "running in browser" example html tag typo 2023-01-24 07:58:33 +01:00
Simon Hausmann
3c65c6177d Fix C++ memory game tutorial not starting out of the box on Windows
After commit 3e5aa212d5 the Slint DLLs
aren't placed in the `bin/` directory by default anymore. Since the
tutorial builds Slint as an external sub-project, it is entirely
isolated and the CMAKE_*_OUTPUT_DIRECTORY variables do not propagate. On
macOS and Linux, the program still runs due to rpath. On Windows, the
instructions said to put `bin` into `%PATH%`, but that doesn't work
anymore, the dll is now in `_deps/slint-build`.

Instead of adjusting `%PATH%`, this change adjusts the documentation to
recommend the use of a custom command on Windows using
$<TARGET_RUNTIME_DLLS:tgt> to copy the DLL across. This is guarded with
WIN32 due to https://gitlab.kitware.com/cmake/cmake/-/issues/23543 ,
where the proposed solution requires CMake 3.26 (not released yet).
2023-01-09 13:30:13 +01:00
Olivier Goffart
1b0217fe98 C++ tutorial: fix "Rust"->"C++" typos
We are in the C++ tutorial so it's only C++ code
2023-01-05 17:22:30 +01: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
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
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
ogoffart
2171773a3e Bump version number to 0.3.2 2022-10-28 09:30:14 +00:00
Olivier Goffart
17aa0d7203 Update version number in docs 2022-10-28 09:42:20 +02:00
Joshua Goring
bf2e6a5ef7 Fix editor integrations link 2022-09-18 07:49:12 +02:00
ogoffart
261614b914 Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
Simon Hausmann
8556ad0864 Refer to the release/0.3 branch instead of release/0.2 for the CMake docs 2022-09-14 15:45:16 +02:00
Olivier Goffart
2ada879b05 Update version number in the documentation 2022-09-14 14:47:44 +02:00
ogoffart
05a49da906 Bump version number to 0.3.0 2022-09-06 13:00:22 +02:00
Miłosz Kosobucki
e85f8593a4 Fix typo and add backticks 2022-08-10 11:55:42 +02:00
Miłosz Kosobucki
445563d64d Remove unnecessary character in tutorial 2022-08-09 16:59:44 +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
Olivier Goffart
6334bc433b Update version in docs 2022-07-06 09:31:30 +02:00
Tobias Hunger
18cbda0269 janitor: Run cargo clippy --fix 2022-05-22 11:59:00 +02:00
ogoffart
3709ded44d Bump version number to 0.2.5 2022-05-09 16:16:00 +00:00
Olivier Goffart
d6ec32ee5f Prepare the 0.2.4 release 2022-05-09 17:32:37 +02:00
ogoffart
c160ec2aef Bump version number to 0.2.4 2022-05-09 13:49:25 +00:00
Olivier Goffart
e999ecd444 Update version number in docs 2022-05-09 14:49:53 +02:00
ogoffart
6395cdfc09 Bump version number to 0.2.3 2022-05-04 12:32:58 +00:00
Olivier Goffart
69a2d45203 Update version number in docs and readme 2022-05-04 12:00:57 +02:00
Olivier Goffart
452bc2a696 Update MSRV to rust 1.59 in the CI and documentation
This is only required for dependencies of slint-build and xtask.
So this is not enforced yet and will still work with 1.56 with
for C++ or when not using slint-build.
2022-04-14 19:18:05 +02:00
Simon Hausmann
3f53ce2f92 Re-organize the last page of the tutorial
Based on the reddit feedback, add links to the API docs and restructure
the list a little.
2022-03-17 21:32:33 +01:00
Simon Hausmann
b34f733716 Point C++ users to the new release/0.2 branch
That way version upgrades to new patch release become easier.
2022-03-10 11:08:58 +01:00
ogoffart
7b50791db4 Bump version number to 0.2.2 2022-03-10 08:48:33 +00:00
Olivier Goffart
3b2b1c92a4 Update version number in docs and readmes
```
sed --follow-symlinks -i 's/^\(slint.*\) = ".*"/\1 = "0.2.1"/' **/*.rs **/*.md
sed --follow-symlinks -i 's/GIT_TAG v.*$/GIT_TAG v0.2.1/' **/*.md
```
2022-03-10 08:46:16 +01:00
Lukas Jung
2fbe2e12b3 tutorial: remove minor version from dependencies
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2022-03-09 14:10:45 +01:00
Lukas Jung
7e46829deb tutorial: improve wording and links in extension recommendations
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2022-03-09 14:10:45 +01:00
Lukas Jung
cd52beb85e tutorial: clone() the tiles_model step 6 already like the explanation says 2022-03-09 14:10:45 +01:00
Lukas Jung
7aac74af6e bump version to 0.2.1 in tutorial 2022-03-09 14:10:45 +01:00
Lukas Jung
8c23291a08 mention recommended editor extensions in tutorial 2022-03-09 14:10:45 +01:00
Simon Hausmann
4d31ec5874 Fix instructions for unpacking the icons on Windows 2022-03-09 11:26:26 +01:00
Simon Hausmann
ea0e02f468 Fix tutorial C++ instructions for starting the memory game on Windows 2022-03-09 11:26:26 +01:00
ogoffart
ecd0fb7ecd Bump version number to 0.2.1 2022-02-10 16:25:28 +01:00
Simon Hausmann
a9c76d44a2 Fix links from the tutorial to the Rust crates
The crate has been renamed. There's a redirect in place, so the release docs should be ok,
but in the future we should use the right name.
2022-02-10 13:25:46 +01:00
Olivier Goffart
e429968a15 Update version number in the docs 2022-02-09 17:08:19 +01:00
Olivier Goffart
d9c32f7338 Fix broken symlink 2022-02-09 16:56:13 +01:00
Olivier Goffart
567b54501a Upate the links to the templates repository
Also update a few more links and reference to slint in the readme
I know this means that we will have invalid links and instructions until the release,
but the instructions are already broken anyway
2022-02-09 15:49:18 +01:00