26th of June to 2nd of July 2023

Slint Library

New Features

  • Interpreter: Add support for save/load of enums (#3012)

    Thank you to Guiguiprim for this pull request!

  • Add clear-selection() to all our input fields (#3013)

Tooling

  • LSP: load files relative to CARGO_MANIFEST_DIR in slint! macro (#2988)

Changes to the .slint Language

    Documentation

    • Document coordinate system expectations for borrowed textures (#2984)
    • Document default values for types (#2993)
    • Improve winit's backend documentation (#3006)
    • Fixed grammar and spelling of development.md (#3021)

      Thank you to it-a-me for this pull request!

    • Remove translations from the recipes, now that its supported natively (#3025)

    Fixes

    • Fix getting type of more complex expressions in model (#2990)
    • Fix select-all in the interpreter (#2998)
    • Skia: align gradient rendering with software renderer and Qt (#2999)
    • TextEdit: Discard the preedit when focus change or other text is enter (#3000)

      CC #1925

    • C++: Add slint::Window::scale_factor() getter (#3004)
    • C++: Use a static_assert to detect Slint version mismatch (#3009)
    • Fix support normalized ranges for Slider with Qt style (#3010)
    • Fix default geometry of items with inject_element_as_repeated_element (#3028)

      Fixes #3027

    • Improve robustness of Skia OpenGL renderer in case of GL context loss (#3022)
    • Fix crash when evaluating two_lay_link too early (#3026)

    Janitor Work

    • micro-optimization: ItemRc::component() returns a ref instead of cloning (#3016)

      Thank you to Guiguiprim for this pull request!

    • Make Clippy happier (#2975, #3017)

      Thank you to Guiguiprim for this pull request!

    • Commit the Cargo.lock (#2981)
    • Docs: don't commit the generated enums.md to the repo (#3018)

    PRs: #2983, #2991, #3008

    Statistics

    40 patches committed in 26 pull requests by 5 authors.

    ← Next : 3rd to 9th of July 2023 | Previous : 19th to 25th of June 2023


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