21th of February 2022 to 27th of February 2022

News

Slint has documented all the licenses used in the code base using SPDX markup. We use the REUSE tool made by the FSFe and are now fully compliant and carry the badge .

We had the honor to contribute to the imakefoss Twitter account last week and took the chance to provide some insights into how we work. Now we're back on our slint_ui Twitter.

This week we continued work on the MCU support. We drafted enhancements to the software rendering for partial updates, as well as support for text layout. This work is happening in separate development branches in GitHub.

Slint UI Library

New Features

  • Produce better error message when using a unknown style ( d64dfa)

Fixes

  • Mark the y properties of elements within a ListView as "set" also for parent component (55fb9c)

    The previous code did not set it as set for the parent components causing the properties to be marked as const while they shouldn't

    Fixes #983

  • Send less key events from the GL backend (d44348)

    When "combining" information from winit's ReceiveCharacter and KeyboardInput events, then do not create a second KeyPress event when the KeyboardInput contained a control character.

    This makes us not send duplicate events for Tab, but leaves the handling for e.g. Ctrl-C unchanged.

  • Fix animation in the flickable (efd6c6)

    This is a regression since the introduction of iteration_count which defaults to 0 for animation started programmatically

    Fix #951

Janitor work

  • Bump fontdue dependency (e15c8f)

    After https://github.com/mooman219/fontdue/pull/103 was merged and released with 0.7.1, we are now back to only one copy of ttf-parser.

  • Upgrade qttypes (6ecd9b)

    It now expose the flag via env variable, and allow to report the reason why Qt was not found

  • Upgrade Catch2 (ea2e91)
  • Bump femtovg, fontdb, usvg and resvg dependencies (b48210)

    This re-aligns the ttf-parser and rustybuzz dependencies in the GL backend. There's still one other version of ttf-parser pulled into the compiler due to fontdue, but that's minor.

More janitorial changes: e30e18, 1a9ec9, 3fc129, 27a8c3, 07da5c

Other Crates and Libraries

Contributions to other crates and libraries made by Slint developers:

qmetaobject-rs

We made a release of qmetaobject-rs. This is the crates one should use to use QML from Rust. We still maintain this because one of the crate: qttypes, is used to make the Qt backend for Slint.

femtovg

  • Add support for importing OpenGL textures into the Canvas rendering (#79)
  • Reduce memory consumption of GL textures (5511ca)

Statistics

83 patches were committed by 7 authors.

← Next : 28th of February 2022 to 6th of March 2022 | Previous : 7th of February 2022 to 20th of February 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