Olivier Goffart
634e4387c6
Update toml_edit and xshell
2022-04-14 19:18:05 +02:00
Olivier Goffart
452bc2a696
Update MSRV to rust 1.59 in the CI and documentation
...
This is only required for dependencies of slint-build and xtask.
So this is not enforced yet and will still work with 1.56 with
for C++ or when not using slint-build.
2022-04-14 19:18:05 +02:00
Olivier Goffart
1b91158b46
corelib: allow to use i32 for coordinate instead of f32
2022-04-11 17:46:50 +02:00
Olivier Goffart
0429e11cf7
Refactor: Move ItemRc and ItemWeak to item_tree.rs
...
Keep items.rs for the implementation of items, and move the logic
that helprs navigating the tree to the item_tree.rs module
2022-04-07 16:59:38 +02:00
Olivier Goffart
4c3d15c04e
Fix documentation warning
2022-04-05 06:39:21 +02:00
Simon Hausmann
4c88b2b19b
Start a page with examples and recipes
...
This is the beginning of a page to collect common things users need to
do, in a format that they can copy & paste into their application code.
There's a lot more that could be done though.
2022-04-04 10:01:26 +02:00
Tobias Hunger
ee68716d07
Component: Add information to stich together ItemTrees
...
Add accessors to the information necessary to stitch together the
Component-wide ItemTrees (which include DynamicNodes) into one logical
tree of Items.
2022-03-28 14:13:36 +02:00
Olivier Goffart
cf49568373
Compiler: make the image processing an enum in the config
2022-03-24 13:16:21 +01:00
Tobias Hunger
bdc3778cec
Rename init/free item functions back
2022-03-14 09:43:50 +01:00
Tobias Hunger
1240c1d0b8
Remove the Component functions that initialize and free items
...
... based in the ItemTree. Leave only the variants that take the
ItemArray.
2022-03-14 09:43:50 +01:00
Tobias Hunger
6681545aca
Use item_array in rust
2022-03-14 09:43:50 +01:00
ogoffart
7b50791db4
Bump version number to 0.2.2
2022-03-10 08:48:33 +00:00
Olivier Goffart
3b2b1c92a4
Update version number in docs and readmes
...
```
sed --follow-symlinks -i 's/^\(slint.*\) = ".*"/\1 = "0.2.1"/' **/*.rs **/*.md
sed --follow-symlinks -i 's/GIT_TAG v.*$/GIT_TAG v0.2.1/' **/*.md
```
2022-03-10 08:46:16 +01:00
Simon Hausmann
3a50755cab
Add MCU board config setup ( #1006 )
...
* Add MCU board config setup
Let the mcu backend provide the link flags via I_DEP_* and the
Slint-build crate now offers a function to allow printing Slint-specific
rustc flags.
2022-03-03 13:31:40 +01:00
Olivier Goffart
849529fa48
slint-build: Redo the compilation when some environment variables change
2022-02-24 10:52:43 +01:00
Tobias Hunger
f3feab1267
Implement ptr_eq for VWeak and PartialEq for Items ( #976 )
...
* Implement ptr_eq for VWeaks
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2022-02-21 17:45:18 +01:00
Simon Hausmann
304e06f758
Begin rasterizing glyphs for glyph embedding
...
Enable with `SLINT_EMBED_GLYPHS=1` and select sizes like
`SLINT_FONT_SIZES=12,16`
This change just puts the data structures in place, rasterizes a fixed
subset, embeds that into the rust generated code and calls a backend
function for registering the font that is unimplemented.
2022-02-15 15:52:24 +01:00
Olivier Goffart
152efc0f35
Re-export num_traits::Float
...
I'm not sure this is actually a good idea
2022-02-14 12:34:02 +01:00
Olivier Goffart
a1176d7b6a
Update to document-features 0.2
...
Make it optional and only enabled when building the docs
2022-02-11 11:07:58 +01:00
Olivier Goffart
0f29ae8524
Make sure doc snippets gets compiled
...
So that #934 can't be reproduced
2022-02-11 08:42:02 +01:00
Flying-Toast
3d3787ed20
Fix link
2022-02-11 07:16:15 +01:00
Olivier Goffart
8839c8f5c5
Fix code snippet in the documentation
...
Fixes #934
2022-02-10 20:37:18 +01:00
ogoffart
ecd0fb7ecd
Bump version number to 0.2.1
2022-02-10 16:25:28 +01:00
Olivier Goffart
e429968a15
Update version number in the docs
2022-02-09 17:08:19 +01:00
Tobias Hunger
58e7caafb0
Fix LICENSES symlinks
2022-02-09 17:05:47 +01:00
Olivier Goffart
567b54501a
Upate the links to the templates repository
...
Also update a few more links and reference to slint in the readme
I know this means that we will have invalid links and instructions until the release,
but the instructions are already broken anyway
2022-02-09 15:49:18 +01:00
Olivier Goffart
667236d533
A few occurence of sixtyfps less
2022-02-09 13:32: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
Simon Hausmann
6d923b9367
Improve GL backend feature docs to convey cross-platform support
...
Apply suggestion from code review
2022-02-08 14:47:25 +01:00
Simon Hausmann
9a520cb41c
Fix implicit selection of the std feature when selecting backend-gl-x11/wayland
2022-02-08 14:47:25 +01:00
Simon Hausmann
90d67be1a4
Document the feature renaming in the migration guides
2022-02-08 14:47:25 +01:00
Simon Hausmann
be5b8c1c46
Rename the backend-gl feature to backend-gl-all
2022-02-08 14:47:25 +01:00
Simon Hausmann
48f3f47401
Rename the x11 and wayland features to backend-gl-x11/wayland
2022-02-08 14:47:25 +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
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
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
Tobias Hunger
1534f87e30
Change authors to Slint Developers
2022-02-02 16:21:34 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +01:00
Olivier Goffart
ad4eea9e96
Merge remote-tracking branch 'master' into wip/rename
...
Conflicts:
.reuse/dep5
Cargo.toml
api/cpp/README.md
api/cpp/docs/conf.py
api/rs/slint/Cargo.toml
docs/development.md
2022-02-02 15:04:22 +01:00
Tobias Hunger
cc3994b58d
Rename rust API
2022-02-02 13:26:35 +01:00
Tobias Hunger
ee5ae56c4a
Move api/sixtyfps-rs to api/rs/slint (no crate rename!)
2022-02-02 13:26:34 +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
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