slint/internal/compiler
Olivier Goffart 863a6fdebb Fix panic when inlining 0 children in a Row
The first inlining pass should inline any element that has children.
Row is going to be optimized out before the second inlining pass.
In that pass, we shouldn't care if there is no children while inlining
in a `@children`

Fixes #7284
2025-01-07 18:40:38 +01:00
..
generator Fix Focus in PopupWindow 2024-12-09 15:58:16 +01:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr llr: Slint global lowering so it doesn't panic with cross-reference 2024-12-03 15:52:48 +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 API review of the slint interpreter Compiler api 2024-07-05 17:20:08 +02:00
passes Fix panic when inlining 0 children in a Row 2025-01-07 18:40:38 +01:00
tests Parser: skip UTF-8 BOM 2025-01-07 12:34:08 +01:00
widgets Set accessible-action-default on tabs 2025-01-06 09:30:11 +01:00
build.rs Make i-slint-compiler widget library inclusion Bazel sandbox friendly 2025-01-04 12:48:10 +01:00
builtin_macros.rs Fix min/max/clamp in presence of percentages 2024-12-16 18:44:55 +01:00
builtins.slint Implement full-screen property for slint Window item 2024-12-16 09:52:40 +01:00
Cargo.toml Remove thiserror dependency 2025-01-06 17:25:08 +01:00
diagnostics.rs LSP: record dependencies and invalid all dependents when a dependencies changes 2024-11-14 14:35:22 +01:00
embedded_resources.rs Signed DistanceField font rendering in swrenderer 2024-10-23 09:12:30 +02:00
expression_tree.rs compiler: Warn user when immediately converting gradient macro to color (#6956) 2024-12-02 13:05:38 +01:00
fileaccess.rs Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
generator.rs bundled translation: Better error reporting 2024-11-19 21:34:42 +01:00
langtype.rs compiler: Put the argument names in the Type 2024-11-21 09:53:17 +01:00
layout.rs Compiler: Change a new error from 1.9 to a warning 2024-12-06 23:04:26 +01:00
lexer.rs Parser: skip UTF-8 BOM 2025-01-07 12:34:08 +01:00
lib.rs LSP: record dependencies and invalid all dependents when a dependencies changes 2024-11-14 14:35:22 +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 compiler: Put the argument names in the Type 2024-11-21 09:53:17 +01:00
lookup.rs Remove LayoutSpec and undeprecate StyleMetrics.layout-* properties (#7069) 2024-12-16 14:52:28 +01:00
namedreference.rs Reduce SmolStr <-> &str conversions and copies (#6688) 2024-11-19 10:07:16 +01:00
object_tree.rs Add a warning when a component/type name overwrite another 2025-01-03 09:29:27 +01:00
parser.rs lsp: Rename structs and enums 2025-01-07 16:18:46 +01:00
passes.rs Fix purity check for focus() on custom component 2024-12-03 15:52:33 +01:00
pathutils.rs Use SmolStr for parts of pathutils to remove temporary allocations 2024-10-17 18:04:58 +02:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
typeloader.rs Fix typo 2025-01-03 17:04:27 +01:00
typeregister.rs Add a warning when a component/type name overwrite another 2025-01-03 09:29:27 +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.