Commit graph

552 commits

Author SHA1 Message Date
Simon Hausmann
c6510c23e6 doc: Remove Clip element mention from the docs
It's internal
2022-11-30 12:42:10 +01:00
Olivier Goffart
70efe0c573 Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit 0e3c43f332.

Release was released
2022-11-28 14:13:26 +01:00
ogoffart
fb02b4118b Bump version number to 0.3.3 2022-11-28 13:11:11 +00:00
Simon Hausmann
7ebc84a0cb Fix accidental scrollbar in doc preview in C++ docs
Remove accidental padding on the "buttons" (that was from an earlier attempt
at styling the links as buttons).
2022-11-28 13:21:07 +01:00
Simon Hausmann
affdda2ce2 doc: Fix no-auto-preview with C++ docs
We need to explicitly match the divs that have now no-auto-preview in their class name
2022-11-28 13:11:59 +01:00
Olivier Goffart
0e3c43f332 Prepare for release: add Cargo.lock and set the version number in the docs 2022-11-28 11:55:48 +01:00
Olivier Goffart
ed1911cc89 Update version number in docs 2022-11-28 11:55:48 +01:00
Simon Hausmann
0bd21f4e56
Use click-to-play for preview of examples and recipes (#1919)
By using a persistent WebGL context for reach (small) preview, we hit
the browser imposed limits on the number of GL contexts quickly.  This
change add support to pt out of the automatic enabling of the preview
via no-auto-preview, that's selected for recipes.
2022-11-28 11:49:53 +01:00
Olivier Goffart
6bed0e00bb Docs: recipes: Add some no-preview tags
For things that involve native code.
That helps showing the page on chromium as it would otherwise run out of
GPU contexts
2022-11-28 10:54:30 +01:00
Olivier Goffart
fea2f8df37 Docs: fix the no-preview tag
That tag is added in a bunch of places, but was not working (the preview
was still shown)
2022-11-28 10:54:30 +01:00
Olivier Goffart
ad5b7be836
Recipes: Translation example 2022-11-25 17:38:40 +01:00
Simon Hausmann
3802eabf7e
Add more docs about selecting the style with the lsp, vs code and slint viewer (#1911) 2022-11-25 16:36:08 +01:00
Simon Hausmann
4308ed921d
Add documentation about the available widget styles and how to select them (#1910) 2022-11-25 14:53:20 +01:00
Olivier Goffart
c4f90dfa2a
Receipes: TableView 2022-11-25 14:26:22 +01:00
Olivier Goffart
c26b01f4f7 janitor: Replace deprecated property in docs 2022-11-24 12:06:16 +01:00
Simon Hausmann
d8a1f2cf01 Introduce a rem unit in the type system
This allows specifying font sizes relative to the Window's
default-font-size, similar to CSS rem.
2022-11-24 11:33:38 +01:00
Simon Hausmann
75ccd897ed Document PointerEventButton
This is public API.
2022-11-24 10:43:11 +01:00
Simon Hausmann
0dbde222f2 Improve docs for the init callback
Elaborate on the order of invocation and state of properties with regards to
initialized bindings.
2022-11-24 10:24:54 +01:00
Olivier Goffart
51933b99bb New syntax for transitions, within the state 2022-11-22 15:16:54 +01:00
Olivier Goffart
d2ade4fd98
Document and enable the in / out keywords with the old component syntax (#1879)
But it still defaults to `in-out`
2022-11-21 18:41:35 +01:00
Simon Hausmann
907b58161c Add support for invoking an init callback on component and element construction
This enables imperative code to be run. To be used sparingly :-)
2022-11-17 10:12:08 +01:00
Florian Blasius
61c39b5fa1 Add support for dispatching key events through the public platform API
This change adds `KeyPress` and `KeyRelease` variants to the
`WindowEvent` enum, along with the new `slint::Key` enum, that allows
encoding keys.
2022-11-15 10:34:17 +01:00
Olivier Goffart
99b17b293c
building.md: mention the use of symlinks for Windows user
And how to get them working.
2022-11-10 20:02:18 +01:00
Tasuku Suzuki
64b248cfa9 doc: remove duplicated backticks 2022-10-28 17:44:48 +02:00
ogoffart
2171773a3e Bump version number to 0.3.2 2022-10-28 09:30:14 +00:00
Olivier Goffart
4b3b96712a Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit a8f93de554.

The release is done.
2022-10-28 11:13:07 +02:00
Olivier Goffart
a8f93de554 Prepare for release: add Cargo.lock and set the version number in the docs
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2022-10-28 09:42:20 +02:00
Olivier Goffart
17aa0d7203 Update version number in docs 2022-10-28 09:42:20 +02:00
Be
8953903b90 document ways around needing xcb and fontconfig at build time 2022-10-05 15:21:54 +02:00
Simon Hausmann
c07ae0bf12 doc: bump example MSVC version from 2019 to 2022
Since we also bumped the build tools example command line a few lines above.
2022-09-22 14:10:10 +02:00
Simon Hausmann
d3f34f3bdd janitor: Fix typo 2022-09-22 14:08:46 +02:00
Simon Hausmann
67994071b0 doc: Mention gcc 10 in the C++ prerequisites 2022-09-22 12:58:04 +02:00
Simon Hausmann
2b7343c4d4 Rework the Node.js section of the build guide
- Use Node.js as the name, as that's also what's on the website
- Link to the websites of the dependencies
- Move the Node.js API prerequisites below the C++ section, in order of priority
- Create a Node.js Tests section, similar to C++, just for running the tests
- Change the remaining Node.js API build section, similar to C++, to
  explain what's needed to build it from git and how to use it.
2022-09-22 12:56:18 +02:00
Simon Hausmann
e97e12d9d9 Minor doc polish
- "can do C++20" -> "supports C++20"
2022-09-22 12:56:18 +02:00
Simon Hausmann
3c664cdd82 Various fixes to the Slint Build Guide
- In order to -> To
- Use title case for section titles
- Elaborate in the indvidual sentences about testing and building what the
  prerequisites are, what the provided command lines accomplish and where
  the output can be found.
2022-09-22 12:56:18 +02:00
Simon Hausmann
ab338cc2af Bump MSVC from 2019 to 2022
The Skia binaries on Windows are built against the 2022 runtime, so
when linking the app we also need to provide that.
2022-09-22 12:56:18 +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
Olivier Goffart
0186c717c3 Revert "Update docs url before release"
This reverts commit 2583acfc67.

Release was released
2022-09-14 16:34:57 +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
2583acfc67 Update docs url before release 2022-09-14 14:50:29 +02:00
Olivier Goffart
2ada879b05 Update version number in the documentation 2022-09-14 14:47:44 +02:00
Simon Hausmann
dcb442b013 Fix warning in suggested cargo doc command line
Also enable the log feature.
2022-09-09 10:09:07 +02:00
Simon Hausmann
5352df1c61 Enable the document-features feature for the recommended cargo doc command line 2022-09-09 10:06:00 +02:00
Simon Hausmann
8ee88a53c1
MCU Doc fixes (#1615)
Various edits to the introduction of how to use Slint on MCUs.
2022-09-09 08:35:01 +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
Tobias Hunger
8b66194aca Fix doc for renderer-software feature
Also fix casing in `mcu.md` headline
2022-09-07 10:11:11 +02:00
Tobias Hunger
d1d188f3e3 docs: Spellcheck 2022-09-07 10:11:11 +02:00
Tobias Hunger
639dcaf702 api: Rename module swrenderer to software_renderer
Also rename the `swrenderer` feature to `software-renderer`.
2022-09-07 10:11:11 +02:00