slint/internal/compiler
Olivier Goffart e7506e0d2a Dependency analysis: properly visit layout properties
in the funciton `visit_layout_items_dependencies` we were passing a
NamedReference for a property that could have been in the base
component type of an element, instead of in one of the element within
the current visited component. This would result in wrong computation
done later to find out the "element path" of the property.
We then need to tell the visitor that the named reference is in a sub
component. To do that, we need to visit a PropertyPath instead of just a
NamedReference

Issue 1659 was showing one of the symptoms of this, which was an assert.
But it could also result in wrong analysis (binding loop not detected
when it should or vice versa)

Fixes #1659
2022-09-19 18:38:29 +02:00
..
generator Replace the internal WindowHandleAccess trait with a helper function on WindowInner 2022-09-06 16:17:06 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Change slint enum values to be PascalCase in rust 2022-07-22 12:23:52 +02:00
parser LSP: Fix auto-completion of @-macros 2022-05-19 19:22:56 +02:00
parser-test-macro Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
passes Dependency analysis: properly visit layout properties 2022-09-19 18:38:29 +02:00
tests Polish of the rotation feature 2022-08-30 12:10:42 +02:00
widgets Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtin_macros.rs Make mod() a macro that can take generic types instead of just integer 2022-07-11 17:49:28 +02:00
builtins.slint Fix element rotation when the element is translated 2022-08-29 17:52:37 +02:00
Cargo.toml Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
diagnostics.rs LSP: fetch the file content from cache instead of from disk to compute the line number 2022-06-02 21:45:50 +02:00
embedded_resources.rs swrenderer: Optimize image drawing by using premultiplied colors 2022-06-14 11:23:02 +02:00
expression_tree.rs Make mod() a macro that can take generic types instead of just integer 2022-07-11 17:49:28 +02:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Change slint enum values to be PascalCase in rust 2022-07-22 12:23:52 +02:00
langtype.rs Change slint enum values to be PascalCase in rust 2022-07-22 12:23:52 +02:00
layout.rs C++: implement Window::on_close_requested 2022-03-17 14:49:12 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Move the mcu backend to become a board support helper crate for examples 2022-08-25 12:54:52 +02:00
literals.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
llr.rs Fix a bunch of documentation warnings 2022-04-26 12:47:34 +02:00
load_builtins.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lookup.rs Make mod() a macro that can take generic types instead of just integer 2022-07-11 17:49:28 +02:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
parser.rs Fix compiler warning about usage of deprecated method 2022-06-04 10:23:32 +02:00
passes.rs Polish of the rotation feature 2022-08-30 12:10:42 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs VSCode web extension: load files from the vscode API 2022-06-02 16:21:07 +02:00
typeregister.rs Revive support for rotation of elements 2022-08-11 10:34:41 +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.