Tobias Hunger
c072998719
Let's not hard-code the list of styles
2022-02-15 13:55:50 +01:00
Tobias Hunger
e5582a8a17
Update internal/compiler/typeloader.rs
...
Co-authored-by: Olivier Goffart <olivier@woboq.com>
2022-02-15 13:55:50 +01:00
Tobias Hunger
da0deb4119
Test style error when creating TypeLoader
2022-02-15 13:55:50 +01:00
Tobias Hunger
98cf796866
Scan for style files in the include directories
2022-02-15 13:55:50 +01:00
Tobias Hunger
d64dfa500c
Error out when selecting unknown styles
2022-02-15 13:55:50 +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
00ff5e21a7
Update git repository URL
2022-02-08 08:26:21 +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
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
Olivier Goffart
d706d63ce1
Replace references to the .60 files that are now renamed with .slint
2022-02-02 10:12:31 +01:00
Olivier Goffart
46902a8662
Redirects and have a deprecated warning when importing sixtyfps_widgets.60
2022-02-01 19:01:28 +01:00
Olivier Goffart
0308f86cd4
Rename sixtyfps_widgets.60 to std-widgets.slint
2022-02-01 18:58:54 +01:00
Olivier Goffart
1a60171701
Allow loading .slint files in addition to .60
2022-02-01 18:58:54 +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