Commit graph

5126 commits

Author SHA1 Message Date
Simon Hausmann
e8302452b5 Make it possible to compile sharedvector and sharedstring with atomic-polyfill 2021-11-30 15:32:47 +01:00
Simon Hausmann
b52f41b51f Fix time for nightly snapshot
Since the mechanism seems to work, schnedule it for 4 in the morning (UTC).
That's a low change of interrupting day-to-day work.
2021-11-30 14:33:53 +01:00
Simon Hausmann
855ef6375e Minor no_std build fix
Use core::time::Duration instead of std::time
2021-11-30 12:57:45 +01:00
Simon Hausmann
b475125318 Try a publishing and scheduled snapshot at noon utc 2021-11-30 12:47:21 +01:00
Simon Hausmann
0cbfbcf541 Improve "docs" for the snapshot workflow option 2021-11-30 12:46:22 +01:00
Simon Hausmann
426576bc22 Prospective fix to make scheduled snapshots publish
Rename the publish boolean to a private one, so that we can accommodate for the
absence of the boolean in scheduled
builds.
2021-11-30 12:44:47 +01:00
Simon Hausmann
8f4b256da0 Fix components being inadvertendly shown when using Qt
Remove a spurious show() call, only an explicit show() should bring up the widget on the screen.
2021-11-30 12:31:51 +01:00
Simon Hausmann
1199821446 Try to build a snapshot periodically
Try at 10 and then if it works we can bump it
2021-11-30 09:58:25 +01:00
Olivier Goffart
5a5e87e3cb Even more fix to no_std thread_local 2021-11-30 09:52:14 +01:00
Olivier Goffart
9a7387e2a6 Another small fix for no_std 2021-11-30 09:38:33 +01:00
Olivier Goffart
4149563817 More fixes with no_std regarding statics and thread_locals 2021-11-30 09:33:39 +01:00
Olivier Goffart
e8271b8f1d Make corelib work without thread_local in no_std 2021-11-29 21:00:35 +01:00
Simon Hausmann
948f0a1f0b Document ctrl+x fix
cc #691
2021-11-29 17:37:27 +01:00
Simon Hausmann
8f4d5585ae Fix vrc build to target architecures that need polyfills for atomic ops 2021-11-29 17:28:16 +01:00
Simon Hausmann
dc2f4c0bb4 Add support for no_std to VRcMapped and VWeakMapped
Port away from owning_ref, which doesn't support no_std, use a raw pointer instead.
2021-11-29 17:28:16 +01:00
Simon Hausmann
6233cc64f2 Fix build with Qt 5
The QPalette workaround is only needed for Qt 6.
2021-11-29 17:18:23 +01:00
Simon Hausmann
e512feb952 Fix reacting to palette changes when using Qt
Due to a bug in Qt's implicit sharing in QPalette, the resolve mask of
QGuiApplicationPrivate::app_pal would get changed with an unrelated setColor
call and thus break color resolution from a new base palette when the theme changes.
2021-11-29 17:18:23 +01:00
Olivier Goffart
e4bd6bbfb8 Native style: respond to the StyleChange event
So that color scheme is updated when switching to the dark style, for example

Fixes #687
2021-11-29 17:18:23 +01:00
Olivier Goffart
a5ea6dd087 Models: re-implement the internal of model tracking
Don't rely on the weak-table that does not work with no_std,
instead, use the same data structure as for the property dependency
tracking
2021-11-29 17:15:56 +01:00
Olivier Goffart
d335ef01c6 Fix sixtyfps-corelib tests when they are run standalone 2021-11-29 17:15:56 +01:00
Olivier Goffart
d8e4c6a887 Properties: Refactor the Dependency tracking in a module
So it will be re-used by the models
2021-11-29 17:15:56 +01:00
RustemB
192af08a77 Added tests for cut 2021-11-29 16:29:07 +01:00
RustemB
baa5e53fe9 Cut text using Ctrl+x 2021-11-29 16:29:07 +01:00
Olivier Goffart
abb22db425 Updated Changelog 2021-11-26 15:16:49 +01:00
Olivier Goffart
c15a59892a C++: use the const version of begin and end from SharedVector::clear 2021-11-26 15:12:21 +01:00
Olivier Goffart
d9637816bb Fix memory leak in the C++ SharedVector
detaching in the destructor is not a good idea, make sure to use the const version
2021-11-26 15:02:46 +01:00
Simon Hausmann
cba553b9f7 Small grammar fixes 2021-11-26 13:46:20 +01:00
Olivier Goffart
d1883b53f3
Update install_qt.md 2021-11-26 13:21:58 +01:00
Simon Hausmann
c1cb648972 Polish the Qt setup docs
Clarify the setup for macOS and Windows, and refer to `bin` in the generic section for qmake.
2021-11-26 13:09:12 +01:00
Simon Hausmann
55e4068707 Fix typo 2021-11-26 13:02:30 +01:00
Olivier Goffart
844c5cf7ec Gate the Path item behind the 'std' feature 2021-11-25 16:53:07 +01:00
Olivier Goffart
5b4d6e8ece Disable the default-features of a bunch of crates 2021-11-25 12:02:16 +01:00
Olivier Goffart
763065fd0e Disable the std feature from strum
also use its derive feature
2021-11-25 12:02:16 +01:00
Olivier Goffart
80c0602277 WIP: start making the corelib crate a no_std crate
Does not compile yet with no_std because of the lack of
alternative for thread_local
2021-11-25 12:02:16 +01:00
Olivier Goffart
41e180f184 Make vtable no_std 2021-11-25 12:02:16 +01:00
Olivier Goffart
06f37b40cf Update ChangeLog of helper crates 2021-11-24 16:21:04 +01:00
ogoffart
3278b39549 Bump version number to 0.1.6 2021-11-24 14:19:09 +00:00
Olivier Goffart
a3df480650 Revert "Adjust the URL in the documentation to the released version"
This reverts commit 2904b7ad6d.

The release was done
2021-11-24 15:18:23 +01:00
Olivier Goffart
2904b7ad6d Adjust the URL in the documentation to the released version 2021-11-24 14:13:30 +01:00
Olivier Goffart
abed31454c Update version number in docs in preparation for the release 2021-11-24 14:10:16 +01:00
Simon Hausmann
78753cd3aa Include the architecture in the file name for non-Windows
On windows that's already included, but on Linux it should also be
there.
2021-11-24 13:45:52 +01:00
Olivier Goffart
64ecdab936 qt_viewer example: set a proper title to the main window 2021-11-24 13:40:50 +01:00
Olivier Goffart
ce1cd095ac C++: fix compilation of example when the Qt feature is disabled 2021-11-24 13:32:39 +01:00
Simon Hausmann
42477db3e3 In the C++ prerequisites, link to the cmake website
It's easier that way :-)
2021-11-24 13:02:08 +01:00
Simon Hausmann
a244e16829 Add visiblity to the C++ binary packages
* Rename the package to `SixtyFPS-cpp-*` to make it easier to see that these are for C++
* Refer to the download and extraction process in the two C++ "READMEs"
* Set the home page url in the cmake project() command, from where cpack will pick it up for inclusion in the installer.

cc #631
2021-11-24 12:53:43 +01:00
Simon Hausmann
2f6e5dcce3 Mention where to get the lsp binary in the lsp README 2021-11-24 12:53:43 +01:00
Olivier Goffart
531dd96a9b Fix warning about not existing image when using the interpreter
Can be reproduced by running the todo example with the fluent style and the GL bakend

The default image should be None, not an empty path
2021-11-24 11:28:04 +01:00
Olivier Goffart
06d1293afe Fix another regression in layout due to non inlining
override_from_parent.60 was panicking when compiling rust
because some expression had NamedReference that were relative to another
sub component.

Added a test as well for the case of multiple indirection (SubComp4)
that was also broken
2021-11-24 10:21:00 +01:00
Olivier Goffart
84e394a006 Fix regression when overriding the with of a Component that specifies limits
We were comparing the priorities of different component, which does
not make sense

This is a regression found with the crater run
2021-11-24 10:21:00 +01:00
Simon Hausmann
2c4cebd384 Prepare the changelog for the next release 2021-11-24 09:06:17 +01:00