slint/internal/compiler
Tobias Hunger d0fc025bc8 live preview: Do not drop on elements that can not have children
Slpit up `lookup_type_for_child_elemnt` (in the compiler) into the
part that looks at the element itself only (called `accepts_child_element`)
and the part that looks at the child.

When deciding whether we can drop something into another element in
the live preview, we know the child type is going to be OK, even when
the `TypeRegister` does not contain it yet (as it is not imported yet).
2024-03-06 12:15:10 +01:00
..
generator Fix animation when started from a different item tree 2024-03-05 12:27:11 +01:00
LICENSES Update license symlinks 2023-08-16 11:46:15 +02:00
llr Fix animation when started from a different item tree 2024-03-05 12:27:11 +01:00
parser Parse 9slice in @image-url 2024-02-13 14:46:27 +01:00
parser-test-macro Fix rust nightly warnings about unused import in tests 2024-02-28 11:19:26 +01:00
passes compiler: Return the TypeLoader from compile_syntax_node 2024-02-29 19:35:52 +01:00
tests compiler: Return the TypeLoader from compile_syntax_node 2024-02-29 19:35:52 +01:00
widgets Cupertino: added pressed state to tab, fix animation (#4751) 2024-03-05 14:40:18 +01:00
build.rs Janitor: Optimize usage of is_dir/is_file 2023-12-27 10:36:25 +01:00
builtin_macros.rs Add clamp function to slint language 2023-11-22 12:27:54 +01:00
builtins.slint Added flicked-Callback on Flickable 2024-02-26 12:17:31 +01:00
Cargo.toml Janitor: update strum dependency 2024-02-01 17:12:33 +01:00
diagnostics.rs lsp: Handle selections and highlighting in the LSP 2023-12-20 19:28:35 +01:00
embedded_resources.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
expression_tree.rs @image-url: Semantic analysis of the 9slice 2024-02-13 14:46:27 +01:00
fileaccess.rs i-slint-compiler: Add some tests for fileaccess 2023-10-25 14:25:53 +02:00
generator.rs Component container subcomponent (#4355) 2024-01-17 11:26:08 +01:00
langtype.rs live preview: Do not drop on elements that can not have children 2024-03-06 12:15:10 +01:00
layout.rs Rust codegen: fix compile if slint names matches internal names 2024-01-24 22:47:58 +01:00
lexer.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
lib.rs Update internal/compiler/lib.rs 2024-03-01 12:59:08 +01:00
literals.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
llr.rs janitor: Go over our spell checking setup 2023-10-16 09:01:51 +02:00
load_builtins.rs compiler: Store an optional version number with the document 2023-12-18 14:21:50 +01:00
lookup.rs Compiler: Error when assigning to compile time properties 2023-12-12 21:51:56 +01:00
namedreference.rs Fix property wrongly considered as const if it is modified through an alias 2024-01-02 17:36:22 +01:00
object_tree.rs Compiler: fix lookup of the model not seeing that the element is being repeated 2024-02-26 12:16:51 +01:00
parser.rs janitor: Fix warnings in nightly about redandant use 2024-02-19 17:05:21 +01:00
passes.rs interpreter: Make sure the root document is in the TypeLoader 2024-03-01 12:59:08 +01:00
pathutils.rs Fix (native) preview not taking account change in other files than the main file 2024-01-25 14:44:30 +01:00
README.md reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00
typeloader.rs interpreter: Make sure the root document is in the TypeLoader 2024-03-01 12:59:08 +01:00
typeregister.rs Add set-selection-offsets function to TextInput, TextEdit, and LineEdit (#4197) 2024-01-06 11:12:53 +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.