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
Tobias Hunger
e64e15e277
docs: Modernize the tutorials for 1.0
2023-02-09 16:59:25 +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
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
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
Simon Hausmann
fe3d4b7177
Bump MSRV to 1.60
2022-07-26 09:20:52 +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
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
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
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
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
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Olivier Goffart
1425ef63de
Change the Url from sixtyfps.io to slint-ui.com
...
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Olivier Goffart
00ff5e21a7
Update git repository URL
2022-02-08 08:26:21 +01:00
Olivier Goffart
d4c1130130
Rename more occurences
2022-02-02 17:19:31 +01:00
Tobias Hunger
1534f87e30
Change authors to Slint Developers
2022-02-02 16:21:34 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +01:00
Olivier Goffart
d2d6a5cc6a
Rename sixtyfps_
2022-02-02 14:25:56 +01:00
Olivier Goffart
fc6b7cc966
Replace sixtyfps::
almost everywhere
2022-02-02 13:50:44 +01:00
Simon Hausmann
7d297da2fc
Rename the sixtyfps C++ namespaces
2022-02-02 12:11:27 +01:00
Olivier Goffart
692171bf0c
Change the 60
blocks to slint
blocs in documentation comments
2022-02-02 10:51:42 +01:00
Simon Hausmann
95452ccab3
Fix calls to slint_target_sources
...
Use the .slint extension
2022-02-02 10:39:56 +01:00
Olivier Goffart
03534039d6
Replace more .60 by .slint
...
Mainly an automated change with
git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"
and some manual checks
2022-02-02 10:12:31 +01:00
Olivier Goffart
0c0a783095
Rename all our .60 files to .slint
2022-02-02 10:05:45 +01:00
Simon Hausmann
b1a70f9e58
Rename the SixtyFPS CMake interface
2022-02-02 09:58:26 +01:00
Tobias Hunger
842f75e653
[reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs
2022-01-31 18:24:33 +01:00
Tobias Hunger
e3c4209b1f
Change Model::row_data to return an Option<T> ( #873 )
...
Change Model::row_data to return an Option<T> (rust) or std::optional<T> (c++)
Co-authored-by: Olivier Goffart <olivier@woboq.com>
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2022-01-26 13:55:38 +01:00
Olivier Goffart
d0b3adeba9
Requires C++20
2022-01-24 13:04:12 +01:00
Olivier Goffart
6babb73136
Update the MSRV to 1.56, and test the generated code with edition 2021
2022-01-24 13:01:59 +01:00
Olivier Goffart
c3f624d2fd
Version updates
2022-01-21 09:33:16 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Olivier Goffart
abed31454c
Update version number in docs in preparation for the release
2021-11-24 14:10:16 +01:00
Olivier Goffart
ce65e7871c
Update the GIT_TAG in the readme
2021-10-22 16:51:25 +02:00
Olivier Goffart
4844450d01
Update the version in docs
2021-10-06 14:54:22 +02:00
Simon Hausmann
562842f19e
Bump minimum required CMake version from 3.16 to 3.19
...
The upcoming re-organization of the C++ header generation requires the
use of the CORROSION_ENVIRONMENT_VARIABLES target property, which in
turn requires CMake >= 3.19.
2021-09-18 07:32:53 +02:00
Olivier Goffart
c56b965672
Update version number in docs
2021-09-09 08:54:19 +02:00
Olivier Goffart
7c3555e280
Update the version number that shows in the documentation
...
It does not update the version number in the README because
these are either not part of the versionized documentation
or the demantic versioning make it work anyway
2021-08-19 09:57:13 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Simon Hausmann
045356bf58
Added links from the tutorials to the YouTube recording
2021-08-06 15:54:31 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Tobias Hunger
e01bd87df8
Janitor: Fix warnings about markdown files
...
These might change the layout of the rendered markdown files. This will
also fix some typos along the way:-)
2021-06-28 08:32:25 +02:00
Tobias Hunger
a46d936d6f
Janitor: Fix typo in target CMake target name
...
No behavior change is intended here!
2021-06-28 08:32:00 +02:00
Simon Hausmann
3c76206d7f
Share the "dev" readme for the tutorials
2021-06-17 16:18:36 +02:00
Simon Hausmann
ef36caad88
C++ tutorial: Fix code formatting
...
... to avoid a horizontal scrollbar in the code block.
Apply the same formatting tricks as on the HTML blog version
2021-06-17 16:09:59 +02:00