Michał Fita
277aa92845
Add assertions for clocks monotonicity ( #9514 )
...
Fixes #3491
2025-09-24 18:20:48 +02:00
Olivier Goffart
c98d234b9e
Janitor: Always use `#![no_std] for runtime lib
...
And call `extern crate std` when the feature is enabled.
I've read this is the good practice on how to do it.
So that the std prelude is no longer included automatically.
There is then less difference between std and and no-std build which
should avoid surprises in the CI when we use things from the prelude.
The downside is that there is a bit of churn in the tests
2025-01-27 19:22:00 +01:00
Simon Hausmann
19bfe926d2
Fix CI pico build
...
With the pico toolchain it seems num_traits::Float isn't needed here anymore.
Apply the same fix as elsewhere in the codebase.
2025-01-09 17:30:15 +01:00
Olivier Goffart
43c7f57b0f
spawn_local: initialize the platform if not initialized before the call
...
Take the opportunity to refactor a bit the way the global platform or
context is accessed
Fixes : #5871
2024-08-21 13:26:04 +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
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
Tobias Hunger
a8f912900b
janitor: Fix warnings in nightly about redandant use
2024-02-19 17:05:21 +01:00
Olivier Goffart
fa24283cd4
Add a few funciton to make SlintContext usefull
...
Make it possible to spawn future and run event loop with a SlintContext
handle
2024-01-29 15:34:48 +01:00
Olivier Goffart
18022b16b0
Move the SlintContext to a different module
2024-01-29 15:34:48 +01:00
Olivier Goffart
503baf2898
internal: Move the backend global instance in a SlintContext
...
The SlintContext will hold all the thread_local state.
A small step in the direction of #4294
2024-01-08 21:17:52 +01:00
Tobias Hunger
3a87342073
testing: Add a method to the testing interface to query the mocked time
...
I find this helpful when debugging tests using mocked time.
2023-12-01 17:36:18 +01:00
Ken Carpenter
b20536131f
Add more easing formulas ( #3812 )
...
Closes #2655
2023-11-03 09:20:44 +01: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
Simon Hausmann
7122d22c88
janitor: use the new default attribute for enums
2022-12-05 10:20:39 +01:00
Tobias Hunger
10c3c9d16d
Api cleanup: Rename some remaining platform abstractions to platform
2022-08-29 16:53:47 +02:00
Tobias Hunger
259457eff8
API cleanup: Fix typo in variable name
2022-08-29 13:26:36 +02:00
Olivier Goffart
8fba65a282
Rename and expose the unsafe-single-threaded feature
2022-08-25 16:47:53 +02:00
Olivier Goffart
7417422e3c
Make the PlatformAbstraction not Send using a EventLoopProxy trait
...
This changes the way the platform abstraction is initialized
2022-08-24 11:32:21 +02:00
Olivier Goffart
2e5ab86bea
Rename backend module to platform
...
and the Backend trait into PlatfromAbstraction trait
2022-08-23 19:39:49 +02:00
Olivier Goffart
dd081758b0
Upgrade to lyon 1.0
2022-07-22 19:27:49 +02:00
Olivier Goffart
30f95e3aca
Fix animation-tick()
to register that there are running animation
2022-07-12 17:36:04 +02:00
Olivier Goffart
c941946f49
Debug: make sure that more properties have debug_name
...
The global properties, and base properties were not named
This adds a Property::new_named regardless if debug is enabled or not
2022-02-18 17:40:17 +01: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
1a0a495bc5
Rename environment variables
2022-02-02 13:35:07 +01:00
Tobias Hunger
e6b24bceec
[reorg]: Set up and populate the internal
directory
...
Move "internal" crates into the `internal` directory. This first batch
includes most of sixtyfps_runtime but leaves the rendering backends
alone for now.
pre-commit applied some cleanups to the moved files:
- Consistent newline at end of file policy
- trimming trailing whitespace
- Formatting Cargo.toml files.
2022-01-31 16:00:50 +01:00