Yuri Astrakhan
4ae2627ade
A few more format arg inlining
...
Used these commands and some manual searching
```
cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::uninlined_format_args
cargo clippy --all-targets -- -A clippy::all -W clippy::uninlined_format_args
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```
2025-02-07 06:43:19 +01:00
Olivier Goffart
5dfa8d56dc
API review of the slint interpreter Compiler api
...
Closes #5466
2024-07-05 17:20:08 +02:00
Olivier Goffart
02c43c66bd
Use the new interpreter Compiler API in tests
2024-07-01 15:00:46 +02: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
Olivier Goffart
af09222dfd
widgets tests: Also test with the interpreter
2024-05-07 12:38:33 +02:00
Olivier Goffart
d4741efac0
testing: rename the init function
2024-04-18 18:45:31 +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
J-P Nurmi
c5248c005e
Allow specifying paths for @library
imports
2023-10-20 16:47:00 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +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
6889dfa5f5
Rust: Make new(), run() and show() report errors from the backend
...
Fixes #2198
2023-02-10 05:00:03 +01:00
Tobias Hunger
18cbda0269
janitor: Run cargo clippy --fix
2022-05-22 11:59:00 +02: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
Tobias Hunger
de4e195280
Rename internal crates and add a README.md to them
...
The README.md contains the warning that used to be in lib.rs.
Add README.md files to all internal crates
... pointing to the official public crate to use instead.
Rename internal crates
fixup: README files
fixup rename
2022-02-07 13:12:48 +01:00
Tobias Hunger
1a0a495bc5
Rename environment variables
2022-02-02 13:35:07 +01:00
Simon Hausmann
2f73a27635
Rename the sixtyfps-interpreter crate
2022-02-01 18:11:25 +01:00
Simon Hausmann
9494068201
Rename the sixtyfps-rendering-backend-selector crate
2022-02-01 18:06:49 +01:00
Olivier Goffart
2552e79675
Ignore the error which were warnings before in the updater tests
2022-01-28 13:15:02 +01:00
Tobias Hunger
ee3d51ce54
Fix parallel test execution on Linux
...
Apparently the Qt backend does not like being used in tests that are run
in multiple threads, so force the fluent style instead.
2022-01-03 16:41:19 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Tobias Hunger
31a3240733
Janitor: Fix clippy::into_iter_on_ref
2021-08-18 00:24:51 +02:00
Tobias Hunger
dc51d4ccda
Use impl Default
instead of new()
constructors
2021-07-12 13:22:25 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
27ab119233
Updater test: fix the whitelist when there are warnings
...
We should ignore the failing test if all errors are ignored.
warnings don't count
2021-05-18 19:01:55 +02:00
Olivier Goffart
54e77e8583
Updater test: ignore binding loop error
...
The updater can't fix these
2021-05-18 18:32:26 +02:00
Olivier Goffart
c91ea3f615
interpreter test: In case of failure of the test, dump all properties
2021-05-11 14:59:57 +02:00
Olivier Goffart
662c52abff
Introduce a "testing" rendering backend and use it for the interpreter test
...
This way the tests can pass even if the tests would otherwise need a running
window, like they do with the GL backend
2021-05-11 11:40:26 +02:00
Olivier Goffart
862f65c151
Fix panic in the interpreter when accessing uninitialized global
...
As the type of the Value wouldn't match the expected type
Fixes #173
(Also added a way to test the interpreter by making the interpreter
make sure the property "test", if it exists, is true)
2021-04-19 11:41:36 +02:00
Simon Hausmann
4a9cd954b8
Rework the Rust entry point API for the interpreter
...
Switch to the stateful `ComponentCompiler` concept that we discussed for the C++ API.
2021-03-18 18:20:50 +01:00
Simon Hausmann
79aefcb303
Fix compilation of tests
2021-03-15 20:02:31 +01:00
Olivier Goffart
fef4a10ebd
Use the new API for the interpreter in wasm
...
Improve the ComponenetDefinition::from_source
2021-03-15 17:57:46 +01:00
Olivier Goffart
48333370a6
Use the new interpreter API in things that depends on it
2021-03-15 17:29:27 +01:00
Olivier Goffart
50ce2d08fd
Split the nodejs and the interpreter test driver
2021-02-01 18:43:48 +01:00