Simon Hausmann
bb7355878f
Improve comment about SLINT_EMBED_RESOURCES target property use
2024-09-20 10:30:25 +02:00
Simon Hausmann
9534aaa155
stm32 docs: Set SLINT_EMBED_RESOURCES target property instead of DEFAULT_SLINT_EMBED_RESOURCES as global variable
2024-09-20 10:30:25 +02:00
Simon Hausmann
ec4a95f031
Polish the generic STM32 instructions
...
This includes removal of the SLINT_STYLE setting, as a default is set there for FEATURE_FREESTANDING.
2024-09-20 10:30:25 +02:00
Enyium
9894eca229
Fixed kebab casing of previous appwindow.slint
.
2024-09-20 10:26:49 +02:00
Simon Hausmann
024a31bba4
Add "generic" STM32 setup instructions
...
... these really need screenshots, but it's a start.
2024-09-19 23:36:41 +02:00
Simon Hausmann
00411f622e
Remove one outdated section from the esp-idf troubleshooting
2024-09-19 23:36:41 +02:00
Simon Hausmann
f4406f7583
Add missing license tags
2024-09-19 23:36:41 +02:00
Simon Hausmann
7ad2dbbaba
Integrating the MCU docs into the C++ docs
...
- Getting Started is now "Getting Started on Desktop"
- A new "Getting Started on MCU" section combines:
- ESP-IDF
- STM32 (for the board templates we provide)
- Generic (instructions from cmake.md moved here)
The ESP-IDF README is now shortened and links to the C++ esp-idf
section (careful! This might become a dead link if we re-organize
in the future...)
2024-09-19 23:36:41 +02:00
Simon Hausmann
ddfbd1821a
For our Rust, C++, and Node.js templates, recommend the use of a zip archive download instead of git
...
This removes any git history of ours from the download, and removes the need to have git installed.
2024-09-18 10:48:38 +02:00
Simon Hausmann
d78354f01b
Initial import of STM32 Platform Integration ( #5892 )
...
This is a head-only library for now.
2024-08-22 15:55:01 +02:00
Simon Hausmann
c25a03d6f7
C++: Make it possible to split up the C++ code generated for a .slint file
...
Add a COMPILATION_UNITS argument to slint_target_sources that defines into how many .cpp files to split up a .slint file. The new default is now one.
2024-08-20 15:53:24 +02:00
ogoffart
4dd7d96a28
Bump version number to 1.8.0
2024-08-15 12:44:46 +00:00
Simon Hausmann
a727d87796
CMake: Make it possible to override the scale factor
...
Co-Authored-By: Olivier Goffart <olivier.goffart@slint.dev>
2024-08-14 11:00:50 +02:00
ogoffart
bbf7edc5a3
Bump version number to 1.7.2
2024-08-09 09:52:17 +00:00
ogoffart
aa25e3cd44
Bump version number to 1.7.1
2024-07-23 12:05:34 +00:00
Simon Hausmann
e36eb6aba6
Document behaviour of globals when exporting multiple components
...
Fixes #5467
2024-07-18 13:43:13 +02:00
Simon Hausmann
6d79ca1a05
Document the SLINT_FEATURE_XXX pre-processor variables
...
and sync them with the existing features.
2024-07-04 13:39:13 +02:00
Simon Hausmann
7ab7dd63c5
Document SLINT_ENABLED/DISABLED_FEATURES target properties
2024-07-04 13:39:13 +02:00
Danut Enachioiu
033e4de9b9
Update language-specific docs to document that public functions can be called from the backend code ( #5522 )
...
* Examples for calling public functions in language-specific docs.
* Update the function example so it actually uses its parameter.
(This broke some c++ tests because of the unused argument warning)
2024-07-03 12:13:08 +02:00
Olivier Goffart
42a2c6a569
Only generate code for the exported Window
...
Have a warning when a component is exported from the main file and
doesn't inherit Window.
Unless it's the last component, for compatibility with Slint 1.6
Also don't warn in the interpreter
2024-06-25 15:13:06 +02:00
Simon Hausmann
6f2a6c3f09
CMake: Add support for LIBRARY_PATHS to slint_target_sources
...
This makes it possible to use component libraries with C++.
2024-06-05 11:07:12 -07:00
ogoffart
3a6e34ba45
Bump version number to 1.7.0
2024-06-04 20:34:29 +00:00
Aurindam Jana
3523e86359
Simplify commercial license ( #3063 )
...
Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
2024-05-31 14:06:17 +02:00
Olivier Goffart
13fe59cc2e
C++: Move the internal test helper in the private_api namespace
...
in a different file
2024-04-22 11:28:12 +02:00
Simon Hausmann
35605af303
Fix Windows C++ binary package file name (attempt 3)
...
CPACK_SYSTEM_NAME is what we used before, and that has the win64 suffix
that the prepare_release job in nightly_snapshot.yaml expects. Also
fixed the docs to add the missing MSVC suffix that's new.
2024-04-16 17:50:59 +02:00
Chris Chinchilla
7afa34a7e1
Rename tutorial to quickstart ( #4941 )
2024-04-04 13:26:24 +02:00
Olivier Goffart
fd4dcfc128
Update MSRV to 1.73
...
A MSRV update is required to update the image crate to 0.25, otherwise
we get link error that are ficed in newer version.
Also other dependency update such as env_logger needs a newer MSRV.
Update to 1.73 because it has functions like `with_borrow` on thread
storage which we already actually use in some platform.
This is also the last release before the the drop of macOs < 10.12
in Rust 1.74
2024-03-27 09:04:31 +01:00
ogoffart
6bf40989d9
Bump version number to 1.6.0
2024-03-27 07:49:22 +00:00
ogoffart
20c570ab1d
Bump version number to 1.5.1
2024-03-18 08:55:01 +00:00
Simon Hausmann
efb626a54a
C++: Fix incorrectly documented minimum supported Rust version
2024-03-08 15:20:53 +01:00
Simon Hausmann
77f0cd9eac
Fix license header check for Pipfiles
2024-03-07 10:08:12 +01:00
Wilston Oreo
bef532b5fc
Optional C++ namespaces ( #4759 )
...
Co-authored-by: Michael Winkelmann <michael@winkelmann.site>
2024-03-06 19:43:11 +01:00
ogoffart
a0eed4e58e
Bump version number to 1.5.0
2024-02-20 17:33:11 +00:00
Olivier Goffart
9200480b53
Fix a few links to the docs that changed with the new structure
2024-02-03 09:38:49 +01:00
ogoffart
fec2b961db
Bump version number to 1.4.1
2024-02-01 09:12:42 +00:00
Simon Hausmann
9f440c2699
Node.js: Document global singletons
2024-01-23 17:51:01 +01:00
Simon Hausmann
d44717a11d
doc: Add a section for targeting MCUs in the C++ documentation
...
Fixes #4180
2024-01-19 11:42:30 +01:00
Olivier Goffart
750a3033f8
C++ docs: add cmake reference
2024-01-15 17:36:29 +01:00
Olivier Goffart
4a1a7b1f7e
Fix slint warnings in the docs
2024-01-12 09:24:51 +01:00
Simon Hausmann
aadac60a07
doc: Fix title case
2024-01-08 09:42:57 +01:00
ogoffart
b081c489d6
Bump version number to 1.4.0
2023-12-11 11:21:37 +00:00
ogoffart
b9255ab8e2
Bump version number to 1.3.2
2023-12-01 08:05:15 +00:00
ogoffart
0a5bf6c37b
Bump version number to 1.3.1
2023-11-23 07:47:07 +00:00
Aurindam Jana
50a6040c38
Update cpp docs on installing or building slint ( #3821 )
2023-11-01 19:10:04 +01:00
Simon Hausmann
e0d1d4366d
doc: In the type mapping, refer to the angle as "angle", not as "value"
2023-10-17 13:26:04 +02:00
Tobias Hunger
b12575a4c4
janitor: Go over our spell checking setup
...
* Extend the cspell word list
* Remove those extensions from individual source files
* white-list licenses and such as we should not meddle with those
* Fix spelling
2023-10-16 09:01:51 +02:00
Simon Hausmann
c8b05c2b05
Add documentation about the different renderers, their pros/const, and availability in backends and API
2023-09-12 11:28:17 +02:00
tronical
b8b9db4e42
Bump version number to 1.3.0
2023-09-05 15:46:36 +02:00
Simon Hausmann
465fe20478
Fix external links from the C++ docs in markdown files
...
Recgonize the default schemes, otherwise
myst-parser thinks they're internal.
2023-08-30 14:58:31 +02:00
Olivier Goffart
fd60d08f7b
Rename SLINT_TARGET_CARGO_FLAGS
to SLINT_LIBRARY_CARGO_FLAGS
2023-08-30 13:44:19 +02:00