Olivier Goffart
a942ed0852
Remove thiserror dependency
...
Uses derive_more instead
2025-01-06 17:25:08 +01:00
Olivier Goffart
995735ca12
Update version in docs
2024-12-18 13:26:30 +01:00
Olivier Goffart
b30f91ff41
Rename slint_build::compile_with_output to compile_with_output_path
2024-12-09 04:07:52 +01:00
Olivier Goffart
73b549a42c
bundled translation: Better error reporting
...
forward the error up the stack instead of panicking while producing the llr
2024-11-19 21:34:42 +01:00
Olivier Goffart
0dbc029cdc
slint-build: Add config option to set the path for bundled translations
...
Part of #6793
2024-11-18 13:17:18 +01:00
Olivier Goffart
df88ac422d
Update documentation of slint_buid::compile_with_output
...
CC: #6340
2024-10-04 15:26:20 +02:00
Willem Vanhulle
595221f928
Remove dependency on Cargo variables in a helper function for the Slint to Rust compiler ( #6430 )
...
Co-authored-by: Willem Vanhulle <willemvanhulle@gmail.com>
2024-10-04 15:18:37 +02:00
Olivier Goffart
ea9f5d58a5
Update version number in docs and readme
2024-09-23 11:14:22 +02:00
Simon Hausmann
18d6d2da29
Add Rust API for build.rs to specify the scale factor ahead of time
2024-08-14 11:00:50 +02:00
Simon Hausmann
26296c86a2
Bump version in docs
2024-07-18 10:45:48 +02:00
Olivier Goffart
5dfa8d56dc
API review of the slint interpreter Compiler api
...
Closes #5466
2024-07-05 17:20:08 +02:00
Olivier Goffart
2fd8744cfc
compiler: Move embedded_file_resources from the root Component to the Document
2024-06-20 12:03:38 +02:00
Simon Hausmann
a52fe6bbfc
Make element debug information configurable
...
The `SLINT_EMIT_DEBUG_INFO` environment variable needs to be set for Rust and C++ builds. For the interpreter it's always enabled, since ... we have it.
2024-06-05 01:29:58 -07: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
Aurindam Jana
9a3aa265d5
Update Royalty-free license ( #5257 )
...
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00
Simon Hausmann
3c5bd71a3b
doc: more version bumps
2024-05-13 09:36:17 +02:00
Aurindam Jana
0cfeec1a31
Update Slint Community License ( #4994 )
...
Updated the version from 1.1 to 1.2
Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License"
Added definition of "Mobile Application" and grant of right
Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section
Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage
Moved the para on copyright notices to section under "Limitations"
2024-04-15 15:18:55 +02:00
Olivier Goffart
f6d16ee1ef
Update version in docs
2024-03-14 09:42:37 +01:00
Olivier Goffart
80b2ac1375
Fix use of deprecated symbols
...
The toml_edit dependency is required for reading board_config.toml
2024-03-11 17:51:36 +01:00
Tobias Hunger
06b04e71b5
compiler: Return the TypeLoader
from compile_syntax_node
2024-02-29 19:35:52 +01:00
Yuya Nishihara
004749157f
Fix rust codegen to skip over backslash-escaped character
...
If the generated code contains "\"" and format!("{}", ..), the latter would be
corrupted because the code formatter rewrites "{}" as if it were a code block.
2024-02-02 08:35:03 +01:00
Simon Hausmann
988e4fcd09
Bump more version numbers in Rust docs
2024-01-31 09:12:27 +01:00
Carter Hunt Fogelman
ff27bc79ae
Wrap all non-test uses of in a BufWriter/BufReader for efficiency
2023-12-27 09:15:53 +01:00
J-P Nurmi
c5248c005e
Allow specifying paths for @library
imports
2023-10-20 16:47:00 +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
Olivier Goffart
d688f37ee8
Change alias to the native style depending on the platform
...
Fixes #3431
2023-09-29 17:05:10 +02:00
Tobias Hunger
da7023a073
Update version information to 1.3.0
2023-09-25 16:34:16 +02:00
Simon Hausmann
5e9aa8830e
Bump Slint version in various doc samples to 1.2.0
...
Same as commit 2a2e38315e
2023-09-04 10:17:02 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Olivier Goffart
2a2e38315e
Update a few docs to 1.1.0
2023-06-26 12:42:01 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs ( #2888 )
2023-06-15 11:20:50 +02:00
Olivier Goffart
ce25fb65a6
Pass the translation domain to the runtime
...
For rust, it uses the crate name, for others, it needs to be passed in
the comment line
2023-06-05 16:34:59 +02:00
Olivier Goffart
34f41f35f1
Update dependencies in readme and docs
2023-04-03 07:37:09 +02:00
Olivier Goffart
a0fb8bc771
Remove support of old SIXTYFPS_ env variable, and sixtyfps_widgets.60
2023-01-26 13:36:38 +01:00
Olivier Goffart
aad03d2d43
Update the version number in the readme and docs
2023-01-25 11:25:51 +01:00
Olivier Goffart
3bc3962c00
Update versions in docs
2022-12-16 09:31:11 +01:00
Simon Hausmann
d28ebc46c5
janitor: Trigger rebuilds of SLINT_EMBEDD_RESOURCES changes
...
The compiler reads this variable, so we should rebuild if it changes.
2022-11-30 11:31:14 +01:00
Olivier Goffart
ed1911cc89
Update version number in docs
2022-11-28 11:55:48 +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
17aa0d7203
Update version number in docs
2022-10-28 09:42:20 +02:00
Olivier Goffart
1b58ab93f1
Fix documentation of CompilerConfiguration::embed_resources
...
It was just a copy paste of with_style
2022-10-21 10:33:54 +02:00
Olivier Goffart
2ada879b05
Update version number in the documentation
2022-09-14 14:47:44 +02:00
Simon Hausmann
d90b503a1c
Move the mcu backend to become a board support helper crate for examples
2022-08-25 12:54:52 +02:00
Olivier Goffart
1884ddf4c6
Add api so slint-build to chose how to embed the images
2022-08-24 18:18:44 +02:00
Olivier Goffart
5c89680e9f
slint-build: fix code formater in presence of '\u{..}'
...
It would insert newline after the `}` and break the build
2022-08-23 14:46:21 +02:00
Olivier Goffart
6334bc433b
Update version in docs
2022-07-06 09:31:30 +02:00
Olivier Goffart
30c84feda5
slint-build: properly detect char literal when reformating
2022-06-28 18:20:12 +02:00
Simon Hausmann
caa42d82c6
Fix compilation of generated Rust code when token stream contains single-quoted semicolon
...
When using glyph embedding, we generate a character map where each code
point is a literal char. When the font contains a semicolon and we
generate an entry for that, we write ';' and the CodeFormatter would
think the semicolon is the end of a statement and produce a newline.
That breaks the build of the generated code. Instead teach the formatter
also about single-quoted string literals.
2022-06-28 18:20:12 +02:00
Simon Hausmann
6a668fe83b
Revert "Use prettyplease crate to do the formatting"
...
This reverts commit 6294be540f
. This slows
down the build significantly.
2022-06-28 18:20:12 +02:00