slint/internal/compiler
Olivier Goffart db18f4e2e5 Change the new error that detects binding loop through the window into a warning
In 80de96488a (#3397) we introduced a new
error if we detect a binding loop from the Window geomerty to its layout.
But it looks like this causes a lot of error in existing project, so
make it a warning instead.

It will continue to be an error in the live preview as this will cause a
panic otherwise.

This commit also change the text of the error to include the actual
binding loop. I hope this makes it easier for users to see the loop and
help to fix it.
2025-06-02 19:01:47 +02:00
..
generator C++: add asserts that we are in the main thread 2025-05-28 11:29:48 +02:00
LICENSES
llr Add Platform.os as well as a rudimentary test 2025-05-06 13:06:27 +02:00
lookup
parser Transition: Introduce in-out to allow writing symmetry animation (#8509) 2025-05-26 09:17:22 +02:00
parser-test-macro A few more format arg inlining 2025-02-07 06:43:19 +01:00
passes Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
tests Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
widgets added mouse-drag property to ScrollView (#8512) 2025-05-26 22:22:57 +02:00
build.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
builtin_macros.rs Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
builtins.slint Add Platform.os as well as a rudimentary test 2025-05-06 13:06:27 +02:00
Cargo.toml Remormat all the toml file again to fix npm upload 2025-04-09 15:06:00 +02:00
diagnostics.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
embedded_resources.rs
expression_tree.rs Add Platform.os as well as a rudimentary test 2025-05-06 13:06:27 +02:00
fileaccess.rs
generator.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
langtype.rs compiler: Add a struct to hold a ChildrenInsertionPoint 2025-05-27 10:49:26 +02:00
layout.rs Fix layout property set in when deriving components 2025-04-23 09:23:07 +02:00
lexer.rs Auto-fixed clippy::needless_lifetimes 2025-02-07 09:20:49 +01:00
lib.rs Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
literals.rs
llr.rs Improve font embedding for MCUs when bundling translations (#7875) 2025-03-18 11:54:28 +01:00
load_builtins.rs Allow to have builtin item function to return a value 2025-03-31 14:06:24 +02:00
lookup.rs live-preview: Handle colors/brushes using palette names 2025-05-21 16:28:03 +02:00
namedreference.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
object_tree.rs compiler: Add a struct to hold a ChildrenInsertionPoint 2025-05-27 10:49:26 +02:00
parser.rs Transition: Introduce in-out to allow writing symmetry animation (#8509) 2025-05-26 09:17:22 +02:00
passes.rs Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
pathutils.rs Auto-fixed clippy::needless_borrow 2025-02-07 09:02:45 +01:00
README.md
translations.rs Improve font embedding for MCUs when bundling translations (#7875) 2025-03-18 11:54:28 +01:00
typeloader.rs syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
typeregister.rs Fix typos (#8421) 2025-05-12 13:03:59 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.