Simon Hausmann
dc34cb33e3
Prospective fix for windows artifact directory structure
...
GH action's upload-artifact strips the provided path
2021-10-22 15:36:53 +02:00
Olivier Goffart
15d87cd917
Fix packaging of licenses
2021-10-22 15:09:48 +02:00
Simon Hausmann
9ac76cce2b
Fix missing windows artifact
2021-10-22 15:04:06 +02:00
Olivier Goffart
329d43a51a
txt files don't need a license header
2021-10-22 14:55:09 +02:00
Olivier Goffart
ee1febc8f7
Fix the path in the .tar.gz
2021-10-22 14:44:51 +02:00
Olivier Goffart
862a9d700a
pin to ubuntu 20.4 lts
2021-10-22 14:44:51 +02:00
Olivier Goffart
18ce1087d5
Hardcode the Qt license
...
Because the install qt github action does not install the documentation
2021-10-22 14:32:17 +02:00
Olivier Goffart
24cccfb9bb
Use cargo-about to generate the attributions from Qt crates
2021-10-22 14:32:17 +02:00
Olivier Goffart
422b90d612
Generate an index.html instead of a index.md
2021-10-22 14:32:17 +02:00
Olivier Goffart
2f6ebfe38d
Fix some docs warning
2021-10-22 14:32:17 +02:00
Simon Hausmann
028df853dd
Try to use the script to create legal notices in the yaml job
2021-10-22 12:13:20 +02:00
Simon Hausmann
4b321579c2
Fix links in generated index.md
...
Somehow the empty link didn't work.
2021-10-22 11:59:38 +02:00
Simon Hausmann
675e4bb850
Explain what the script does and centralize index.md
2021-10-22 11:55:56 +02:00
Simon Hausmann
7833e7a9b7
Initial helper script to collect license info for binary package
2021-10-22 11:41:34 +02:00
Simon Hausmann
34d28f4028
Minor sentence polish in the viewer README
2021-10-22 09:00:27 +02:00
Simon Hausmann
c7339afe75
Mention the viewer binaries
2021-10-22 08:55:20 +02:00
Simon Hausmann
b248680666
Bump the changelog date
2021-10-22 08:11:11 +02:00
Olivier Goffart
f8c00b19b5
Add link to the examples from the sixtyfps-viewer README
2021-10-21 18:03:56 +02:00
Olivier Goffart
8fec471785
Add screenshot of CargoUI in the examples/README
2021-10-21 17:53:06 +02:00
Simon Hausmann
3554277c26
Minor polish to the changelog
...
And added 0.1.4 version. We can tweak the date :-)
2021-10-21 16:53:45 +02:00
Simon Hausmann
1182bb439b
Fix filename of viewer binary
2021-10-21 16:47:37 +02:00
Simon Hausmann
6e828e2c82
Include LICENSE.md in the sixtyfps-viewer packages
2021-10-21 16:46:21 +02:00
Simon Hausmann
dd5850adf8
Fix permissions of created viewer binary on Linux
...
GH action's artifacts mechanism always strips permissions. The established workaround is to tar up the files first.
2021-10-21 16:34:19 +02:00
Simon Hausmann
d5ae3b0bc5
Fix macos platform plugin copying
2021-10-21 15:00:38 +02:00
Simon Hausmann
65205df8f8
Fix license check
2021-10-21 14:59:27 +02:00
Simon Hausmann
6c17470835
Build only the viewer binary in the viewer binary job
2021-10-21 14:42:00 +02:00
Simon Hausmann
0d4c389e49
Add job for building viewer binaries with Qt
2021-10-21 14:38:19 +02:00
Simon Hausmann
26ae3210d5
Fix key specification for rust-cache
...
We need `with`
2021-10-21 14:02:24 +02:00
Simon Hausmann
63a8d81483
Prospective fix for invalid yaml syntax
2021-10-21 14:01:34 +02:00
Simon Hausmann
d377a405d5
Prospective fix for linking error in the CI on Windows
2021-10-21 14:00:20 +02:00
Simon Hausmann
7b687d020c
Fix compatibility of attach_peer
on ModelHandle
for older models
...
If the model doesn't implement `model_tracker` then we must
forward `attach_peer`.
2021-10-21 13:39:38 +02:00
Tobias Hunger
bb071fb92f
cargo-audit: Remove indirect dependency on outdated time crate
2021-10-21 13:31:14 +02:00
Olivier Goffart
38c726ad4f
We need to enable the png feature in the test backend
2021-10-21 13:10:22 +02:00
Olivier Goffart
68797dd0d4
Make sure to specify a high enough version for the rgb crate
...
There were security issues reported in previous version
2021-10-21 12:44:06 +02:00
Olivier Goffart
cc1205742d
Move the image dependency down in the dependency tree
...
Corelib only need the image crate for doc test
the Qt bakcned don't use the image crate
2021-10-21 12:42:04 +02:00
Olivier Goffart
56d592100e
Update a few dependencies
2021-10-21 12:24:48 +02:00
Simon Hausmann
8f2e4f487e
Expose window-background in the native StyleMetrics
...
It's also in the non-native metrics
2021-10-20 17:41:02 +02:00
Simon Hausmann
2ba469cf2a
Fix vector model example docs
...
Re-implement model_tracker instead of attach_peer.
2021-10-20 15:33:37 +02:00
Simon Hausmann
64ee1047c8
Simplify filters model
...
We don't need to re-implement attach_peer
2021-10-20 15:33:37 +02:00
Olivier Goffart
efd0aee6ec
Docs: remove the wording about the limitation that length does not track the model
...
Was solved in #599
2021-10-20 15:29:15 +02:00
Simon Hausmann
d420d5efd7
internal cleanup: Rename Property::set_dirty() to mark_dirty()
2021-10-20 15:25:28 +02:00
Simon Hausmann
a494eafa9c
Make Property::set_dirty public
...
Property is not public API yet, there's not much value in playing hide and seek.
Co-authored-by: Olivier Goffart <ogoffart@sixtyfps.io>
2021-10-20 15:25:28 +02:00
Simon Hausmann
8596cca549
Fix model length tracking in the interpreter
...
Added the missing tracking call and fix the test to cover this properly.
2021-10-20 15:25:28 +02:00
Simon Hausmann
7d12fd7b4e
Add support for tracking the length of a model in C++
...
Similar to the parent commit, the model tracks changes to the rows and
marks an internal property dirty. Since we have a base class this is a
little less intrusive.
cc #98
2021-10-20 15:25:28 +02:00
Simon Hausmann
63bf1af093
Add support for tracking the length of a model in Rust
...
This is done by exposing the ModelNotify to the caller via the new
ModelTracker trait, which has a function that allows "hooking" into the
dirty tracking of the size.
By extension, this also works in JavaScript.
cc #98
2021-10-20 15:25:28 +02:00
Olivier Goffart
e3d9abb1f7
ListView: Attempt to account for ListView with different item height
...
As an attempt to fix part of https://github.com/sixtyfpsui/cargo-ui/issues/10
2021-10-20 14:10:19 +02:00
Simon Hausmann
dec6c6ca51
Work around crash in Qt mac style when drawing scrollbars with invalid size
...
Fixes #595
2021-10-19 12:36:26 +02:00
Olivier Goffart
520db86495
Don't set no-frame explicitly to false.
...
False is already the default. No need to create a binding for it.
2021-10-18 13:41:05 +02:00
Olivier Goffart
6c677d13ac
Document the new lenght
properties on arrays
...
CC #580
2021-10-18 10:29:50 +02:00
James Blacklock
b409ee8cbe
add license header to test case
2021-10-18 10:21:06 +02:00