slint/internal/compiler/passes
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
..
embed_glyphs Fix glyph embedding on Linux 2022-02-23 12:13:10 +01:00
apply_default_properties_from_style.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
binding_analysis.rs Dependency analysis: properly visit layout properties 2022-09-19 18:38:29 +02:00
check_aliases.rs Keep the same priority for property changed by states with or without default value 2022-07-08 19:05:54 +02:00
check_expressions.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
check_public_api.rs Mark public properties as set 2022-02-16 18:46:37 +01:00
check_rotation.rs Polish of the rotation feature 2022-08-30 12:10:42 +02:00
clip.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
collect_custom_fonts.rs Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
collect_globals.rs janitor: Remove unnecessary references 2022-05-22 11:59:00 +02:00
collect_structs.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
collect_subcomponents.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
compile_paths.rs Upgrade to lyon 1.0 2022-07-22 19:27:49 +02:00
const_propagation.rs Don't optimize const state property 2022-06-27 16:25:57 +02:00
deduplicate_property_read.rs deduplicate_property_read: bail out if there is a write 2022-05-31 14:55:09 +02:00
default_geometry.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
embed_glyphs.rs Fix wasm build 2022-06-16 15:21:01 +02:00
embed_images.rs swrenderer: Optimize image drawing by using premultiplied colors 2022-06-14 11:23:02 +02:00
ensure_window.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
flickable.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
focus_item.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
generate_item_indices.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
infer_aliases_types.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
inlining.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
lower_accessibility.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
lower_layout.rs Upgrade to lyon 1.0 2022-07-22 19:27:49 +02:00
lower_popups.rs Fix a bunch more issue with PopupWindow 2022-04-01 14:06:38 +02:00
lower_property_to_element.rs Polish of the rotation feature 2022-08-30 12:10:42 +02:00
lower_shadows.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lower_states.rs Workaround for issue #1461 2022-08-17 07:49:05 +02:00
lower_tabwidget.rs Add a warning when setting a two way binding for which the rhs does not declare a default value 2022-07-08 19:05:54 +02:00
materialize_fake_properties.rs Fix priority of aliases when default value are involved 2022-05-09 09:30:01 +02:00
move_declarations.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
optimize_useless_rectangles.rs Fix compiler panic when optimizing child of layout 2022-05-13 16:05:15 +02:00
remove_aliases.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
remove_unused_properties.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
repeater_component.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
resolve_native_classes.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
resolving.rs Fix gradient interpolation 2022-05-21 12:00:20 +02:00
unique_id.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
visible.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
z_order.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00