17th of January 2022 to 23rd of January 2022

SixtyFPS UI Library

We released version 0.1.6 last week! 🎉 See the release blog for details.

In preparation for the release we concentrated on testing and polishing the release, as well as some bug fixing.

Other hot topics this week were finishing of the Low Level Representation (LLR) change we have done last week, by porting the C++ code generator over to the new infrastructure. It's now shared with the Rust code generator.

Documentation

  • Add the named CSS colors to the docs (4f5df1)
  • Document the values in the Keys namespace (ad20d4)
  • Fix links to C++ types in the C++ type mapping documentation (5ae41f)

    closes #852

Fixes

  • Only consider that the height of a Text depends of its width if wrap is set. (#855, 22bb1f)

    Don't detect a binding loop between the height and the width of a Text if the wrap property is not set.

  • qt backend: provide a warning message when we fail to load an image (0a50dd)

    This helps to diagnose when an image format plugin is missing in Qt.

  • Fluent style: uniformize the height of widgets (1e9e25)

    Make sure they all have the minimum height based on what is currently the hardcoded value of the button. Also include the border top and bottom padding in the layout in case the font is really big

  • C++: fix crash when closing window (1db346)

    the m_window needs to be destroyed after the destructor of the repeater

  • Fixes loop detection involving sub components and two ways binding (a8bc25)

    The original binding analysis code was considering that all the sub components were inlined. But when this is not the case, we need to re-analyze each sub component within their parent.

    We also need to take care of reverse aliases

    Will cause a .60 compile time binding loop error instead of a runtime recursion panic in code like issue #772

  • Verify the existence of imported custom fonts (fa1ac9)

    ... and produce diagnostics.

    That way in later phases we don't need to check again.

    As an unfortunately side-effect, we need to skip one of the examples in the language reference from the doc test, as the compilation fails because the font does not exist.

Janitor work

Double-check licensing of code and resources used in SixtyFPS.

Other janitorial changes include: 6b50ea, a91e29, abdcc7, 5bbc25

Statistics

125 patches were committed by 5 authors.

← Next : 24th of January 2022 to 30th of January 2022 | Previous : 10th of January 2022 to 16th of January 2022


Slint is a declarative GUI toolkit to build native user interfaces for desktop and embedded applications written in Rust, C++, or JavaScript. Find more information at https://slint.dev/ or check out the source code at https://github.com/slint-ui/slint