slint/internal/compiler
Olivier Goffart 11accc190a Fix panic when inlining into clip during the second phase of inlining
During the second phase, anything that involve @children should already
have been processed, so there shouldn't be anything left to inline.
But the children insertion point may be pointing to the wrong location
if some items were moved around (eg because of the `clip`).
So work it around by not accessing the children array at that indax that
might be out of range.

Fixes #7724
2025-02-24 19:15:39 +01:00
..
generator Fix build for C++ generated code for embedded textures 2025-02-24 17:02:10 +01:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr compiler: fix pretty print crash on wrong parent references 2025-02-21 11:16:00 +01:00
lookup Replace compiler dependency on css-color-parser crate 2024-07-29 13:13:53 +02:00
parser Improve a bit the error when the base of an element is missing 2025-01-06 10:47:05 +01:00
parser-test-macro A few more format arg inlining 2025-02-07 06:43:19 +01:00
passes Fix panic when inlining into clip during the second phase of inlining 2025-02-24 19:15:39 +01:00
tests Revert "compiler: inline components that are used only once" (#7697) 2025-02-21 19:11:11 +01:00
widgets menus: fluent style and refactoring (#7723) 2025-02-24 17:01:22 +01: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 Menu API changes 2025-02-21 16:03:47 +01:00
Cargo.toml Stabilize the sdf-fonts feature 2025-02-19 21:24:53 +01:00
diagnostics.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
embedded_resources.rs Signed DistanceField font rendering in swrenderer 2024-10-23 09:12:30 +02:00
expression_tree.rs compiler: Fix function constness marking 2025-02-21 11:16:00 +01:00
fileaccess.rs Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
generator.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
langtype.rs Auto-fixed clippy::needless_return 2025-02-07 09:46:49 +01:00
layout.rs Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
lexer.rs Auto-fixed clippy::needless_lifetimes 2025-02-07 09:20:49 +01:00
lib.rs Stabilize the sdf-fonts feature 2025-02-19 21:24:53 +01:00
literals.rs Use SmolStr in more places of the compiler infrastructure 2024-10-17 18:04:58 +02:00
llr.rs Bundle translations (#6661) 2024-10-29 15:07:15 +01:00
load_builtins.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
lookup.rs Auto-fixed clippy::needless_lifetimes 2025-02-07 09:20:49 +01:00
namedreference.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
object_tree.rs compiler: Use BTreeMap at a few more place to help with determinism of the output 2025-02-15 18:53:44 +01:00
parser.rs Auto-fixed clippy::needless_lifetimes 2025-02-07 09:20:49 +01:00
passes.rs compiler: inline functions if possible 2025-02-21 11:16:00 +01:00
pathutils.rs Auto-fixed clippy::needless_borrow 2025-02-07 09:02:45 +01:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
typeloader.rs Auto-fixed clippy::needless_borrow 2025-02-07 09:02:45 +01:00
typeregister.rs Add the accessible-read-only property 2025-02-19 09:16:41 +01: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.