slint/internal/compiler
Simon Hausmann c16253d29f Use Property<LogicalLength> instead of Property<Coord>
This removes the special code for the generated property getters and
ensures type safety in the run-time library for property value setting.

In the Rust generated code we continue to do arithmetic on the scalar
values, that means we immediately extract the scalar, do arithmetic and
rely on the compiler to only allow compatible units.

Danger zone alert: In the interpreter Value::Number can now be converted
to LogicalLength as-is.
2022-10-24 12:49:37 +02:00
..
generator Use Property<LogicalLength> instead of Property<Coord> 2022-10-24 12:49:37 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Rename stark-style to dark-color-scheme 2022-10-19 15:23:41 +02:00
parser Gate the new syntax with an environment variable 2022-10-20 08:02:26 +02:00
parser-test-macro Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
passes Change type of Window background from color to brush (#1755) 2022-10-21 16:17:22 +02:00
tests New syntax: New lookup rules for unqualified identifier 2022-10-20 16:40:29 +02:00
widgets Change type of Window background from color to brush (#1755) 2022-10-21 16:17:22 +02:00
build.rs switch to yeslogic-fontconfig-sys from servo-fontconfig 2022-10-05 15:21:54 +02: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 Change type of Window background from color to brush (#1755) 2022-10-21 16:17:22 +02:00
Cargo.toml switch to yeslogic-fontconfig-sys from servo-fontconfig 2022-10-05 15:21:54 +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 Check access rights when accessing properties within expression 2022-10-20 08:02:26 +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 lsp: Group and sort properties in the property extension call 2022-10-21 12:50:42 +02:00
layout.rs Start working on input/output properties 2022-10-20 08:02:26 +02: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 New syntax: New lookup rules for unqualified identifier 2022-10-20 16:40:29 +02:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs LSP: fix property call on invalid base or non-main component 2022-10-21 12:50:42 +02:00
parser.rs Gate the new syntax with an environment variable 2022-10-20 08:02:26 +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 lsp: Group and sort properties in the property extension call 2022-10-21 12:50:42 +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.