Simon Hausmann
a98d4709be
Move printer demo and energy-monitor into new top-level demos/ folder
...
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.
Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +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
02c43c66bd
Use the new interpreter Compiler API in tests
2024-07-01 15:00:46 +02:00
Tobias Hunger
d9224cd58f
janitor: Use more workspace dependencies
2024-06-04 14:58:29 +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
Olivier Goffart
8030732f46
Refactor the testing backend
...
Move code around and gate the internal functions used in our own tests
so we can make the testing backend public
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
Simon Hausmann
d4a6c5774e
Add support for writing tests that run with all styles
...
Tests under tests/cases/for_each_style are run with all styles at least
in the Rust driver.
Amends 6bb9905191
to include a test that
using edited works.
2024-02-23 16:12:45 +01:00
J-P Nurmi
c5248c005e
Allow specifying paths for @library
imports
2023-10-20 16:47:00 +02:00
J-P Nurmi
49c8d94f92
Janitor: add itertools as a workspace dependency
2023-10-13 13:40:27 +02:00
J-P Nurmi
030a33796e
Tests: add support for //ignore: <driver(s)>
2023-09-28 09:16:50 +02:00
Tobias Hunger
85e1c6020b
janitor: Use workspace dependnecies for the slint crates
...
This moves most of the version information we need to update into one
place.
Note that the workplace dependency features are in *addition* to any
feature set when using the workspace dependency. So we have all
workspace dependencies defined with `no-default-features = true`.
2023-09-25 16:34:16 +02:00
Tobias Hunger
d6695c55cb
Janitor: Use cargo workspace package data more
2023-09-25 16:34:16 +02:00
tronical
b8b9db4e42
Bump version number to 1.3.0
2023-09-05 15:46:36 +02:00
Olivier Goffart
3a807e46c1
Renderer feature refactor
2023-07-27 19:11:24 +02:00
Tobias Hunger
b55cdb9cf4
Make ComponentContainer a compiler configuration feature
...
Require `SLINT_EXPERIMENTAL_FEATURES` to be set in the environment to
enable `ComponentContainer` and `component-factory`.
2023-07-27 12:04:16 +02:00
ogoffart
aebaa7d6c9
Bump version number to 1.2.0
2023-07-25 10:44:53 +00:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
ogoffart
c8c9496722
Bump version number to 1.1.1
2023-06-26 12:50:02 +00:00
Olivier Goffart
c260210d6d
Janitor: update itertools
2023-06-22 15:03:10 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Tobias Hunger
04d1229685
Fix licnese information using xtask
2023-06-16 09:14:20 +02:00
ogoffart
641cab0e75
Bump version number to 1.1.0
2023-06-15 16:01:28 +00:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs ( #2888 )
2023-06-15 11:20:50 +02:00
ogoffart
dfd5fc38b3
Bump version number to 1.0.3
2023-04-26 14:04:08 +00:00
ogoffart
53cce5bf44
Bump version number to 1.0.2
2023-04-26 11:33:16 +02:00
ogoffart
bd63218412
Bump version number to 1.0.1
2023-04-18 14:56:40 +00:00
Olivier Goffart
8450e01a3f
Change the name of the compat feature ( #2230 )
...
And remove the compat-0-2-0 and compat-0-3-0 features
2023-02-16 09:40:44 +01: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
ogoffart
e7f48512ee
Bump version number to 1.0.0
2023-02-03 11:07:15 +01:00
Olivier Goffart
a0d057b8b8
Enable the new syntax by default
2023-01-07 14:18:10 +01:00
ogoffart
ce07d078ce
Bump version number to 0.3.4
2022-12-16 09:36:15 +00:00
Florian Blasius
501c6af746
Add swr render test and driver ( #1955 )
...
* add test-driver-screenshots
* add screenshot based software renderer testing
* create reference screenshots for testing with test-driver-screenshots
* add documentation to testing `README.md`
2022-12-12 11:23:27 +01:00
ogoffart
fb02b4118b
Bump version number to 0.3.3
2022-11-28 13:11:11 +00:00
Olivier Goffart
2f07caf7d1
CI: add some examples to the list of things to be tested by the interpreter
2022-11-22 17:09:25 +01:00
Olivier Goffart
c1c52a2b86
Make the test pass without defining the SLINT_EXPERIMENTAL_SYNTAX env variable
2022-11-21 22:01:52 +01:00
ogoffart
2171773a3e
Bump version number to 0.3.2
2022-10-28 09:30:14 +00:00
ogoffart
261614b914
Bump version number to 0.3.1
2022-09-15 14:39:51 +02:00
Olivier Goffart
419016a356
Rename the compat feature again
...
crates.io won't let us upload a feature with dots in it:
```
Uploading slint-interpreter v0.3.0 (/home/olivier/slint/internal/interpreter)
error: failed to publish to registry at https://crates.io
Caused by:
the remote server responded with an error: invalid upload request: invalid value: string "compat-0.3.0", expected a valid feature name at line 1 column 2254
```
2022-09-14 15:55: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
ogoffart
05a49da906
Bump version number to 0.3.0
2022-09-06 13:00:22 +02:00
ogoffart
6b15d2e479
Bump version number to 0.2.6
2022-07-06 09:58:14 +00:00
Tobias Hunger
18cbda0269
janitor: Run cargo clippy --fix
2022-05-22 11:59:00 +02:00
ogoffart
3709ded44d
Bump version number to 0.2.5
2022-05-09 16:16:00 +00:00
ogoffart
c160ec2aef
Bump version number to 0.2.4
2022-05-09 13:49:25 +00:00
ogoffart
6395cdfc09
Bump version number to 0.2.3
2022-05-04 12:32:58 +00:00
ogoffart
7b50791db4
Bump version number to 0.2.2
2022-03-10 08:48:33 +00:00