Olivier Goffart
f31cefdea9
Fix min/max/clamp in presence of percentages
...
We were not properly converting the first argument
Fixes #7118
2024-12-16 18:44:55 +01:00
Olivier Goffart
9b71cf1a36
Math postfix member functions on numbers
...
Closes #5328
2024-08-15 14:52:13 +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
0929e3dfc1
Slint: make the abs work with unit types
2024-05-08 19:04:22 +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
255dc59ef4
Rename @image-url(..., 9slice(...))
to @image-url(..., nine-slice(...))
...
As per API review:
- In the Rust and C++ API we use `set_nine_slice_edges` because the getter couldn't start with 9
- in english we spell number less than 10 with letters and this is a name
2024-03-07 17:01:57 +01:00
Olivier Goffart
22d9fc9cf9
@image-url: Semantic analysis of the 9slice
2024-02-13 14:46:27 +01:00
Olivier Goffart
6e2280ece3
Parse 9slice in @image-url
2024-02-13 14:46:27 +01:00
Olivier Goffart
2ce161ced8
Parser: Hint for the mod function when parsing %
...
Was reported several times:
- https://github.com/slint-ui/slint/discussions/4190
- https://github.com/slint-ui/slint/issues/3980
2023-12-19 17:23:30 +01:00
Tobias Hunger
2ad8774a61
Add clamp function to slint language
2023-11-22 12:27:54 +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
Olivier Goffart
6111b17a7c
Proper error when wrong type used in an unary operation
...
Fixes #2669
2023-05-02 17:41:36 +02:00
Olivier Goffart
d881a4fb66
Syntax tests: move some tests to another folder
...
tidy a bit the basic directory
2023-05-02 13:06:50 +02:00