Olivier Goffart
c51fb14a0e
Improve the slint! macro with rust-analyzer with -
...
We currently use the debug representation of Span to know if they are
next touching eachother as there are no stable way currently.
But that doesn't work with rust analyzer as it doesn't have a
representation we can test.
Also Span::source_text is not implemented with rust analyzer.
So just default to identifier with `-` touching instead of not touching
as this happens more often.
One can still use `(foo)-(bar)` when one really need minus
CC #685
2023-10-26 13:13:03 +02:00
J-P Nurmi
c5248c005e
Allow specifying paths for @library
imports
2023-10-20 16:47:00 +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
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Tobias Hunger
e02c360000
Clippy polish
2023-06-28 14:22:30 +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
12e6b34e2d
Translations: support for plurals
2023-06-07 10:34:34 +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
addc1247ec
Docs: document that \{...}
is not working in a slint!
macro
...
Closes #2517
2023-04-20 13:06:20 +02:00
Olivier Goffart
20973bdb7b
Report warnings from the slint!
macro
2023-03-24 11:14:48 +01:00
Olivier Goffart
a0fb8bc771
Remove support of old SIXTYFPS_ env variable, and sixtyfps_widgets.60
2023-01-26 13:36:38 +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
Olivier Goffart
1425ef63de
Change the Url from sixtyfps.io to slint-ui.com
...
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Simon Hausmann
e5483f2836
Add support for selecting the style via SIXTYFPS_STYLE as fallback
...
This makes transitioning easier
2022-02-07 17:49:44 +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
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +01:00
Tobias Hunger
cc3994b58d
Rename rust API
2022-02-02 13:26:35 +01:00
Olivier Goffart
03534039d6
Replace more .60 by .slint
...
Mainly an automated change with
git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"
and some manual checks
2022-02-02 10:12:31 +01:00
Simon Hausmann
cab22f8355
Rename the sixtyfps-compilerlib crate
2022-02-01 18:08:18 +01:00
Simon Hausmann
9494068201
Rename the sixtyfps-rendering-backend-selector crate
2022-02-01 18:06:49 +01:00
Tobias Hunger
842f75e653
[reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs
2022-01-31 18:24:33 +01:00