slint/internal/compiler
Simon Hausmann 96c80a2dd1
Fix crash when using an int model in a repeater with a negative value (#2063)
Make sure that we return an unsigned for row_count() in C++ and Rust by ensuring an unsigned int model at creation time.

For the interpreter this "worked" by chance as casting a negative floating
number to usize automatically caps at zero, and all values are stored as f64. For safety this patch
applies the same fix though, to be on the safe side.
2023-01-14 21:20:14 +01:00
..
generator Fix crash when using an int model in a repeater with a negative value (#2063) 2023-01-14 21:20:14 +01:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Implement calling public functions from native code 2022-12-22 04:28:32 -08:00
parser Enable the new syntax by default 2023-01-07 14:18:10 +01:00
parser-test-macro Bump version number to 0.3.4 2022-12-16 09:36:15 +00:00
passes Compiler: use the empty type more often instead of the Rectangle 2023-01-10 22:23:53 +01:00
tests Enable the new syntax by default 2023-01-07 14:18:10 +01:00
widgets Add StandardTableView widget (#2032) 2023-01-12 19:41:12 +01:00
build.rs switch to yeslogic-fontconfig-sys from servo-fontconfig 2022-10-05 15:21:54 +02:00
builtin_macros.rs Introduce a rem unit in the type system 2022-11-24 11:33:38 +01:00
builtins.slint Add StandardTableView widget (#2032) 2023-01-12 19:41:12 +01:00
Cargo.toml Update resvg dependencies 2022-12-18 08:49:19 -08:00
diagnostics.rs Enable the new syntax by default 2023-01-07 14:18:10 +01:00
embedded_resources.rs C++: Generate image texture data for software renderer 2022-12-09 09:25:48 +01:00
expression_tree.rs Fix conversions of array literal containing struct with array literal 2023-01-02 23:53:22 +01:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Refactoring: split ElementType away from the types used as property type 2022-10-26 14:50:44 +02:00
langtype.rs WIP: pure qualifier for callback and functions 2022-12-22 00:26:27 -08:00
layout.rs Compiler: use the empty type more often instead of the Rectangle 2023-01-10 22:23:53 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Add support for re-exporting modules 2022-12-09 11:05:08 +01: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 Enable the new syntax by default 2023-01-07 14:18:10 +01:00
lookup.rs Error when mixing purity in callback aliases 2022-12-22 00:26:27 -08:00
namedreference.rs Builtin elements: use the input output syntax 2022-11-01 12:51:45 +01:00
object_tree.rs WIP: pure qualifier for callback and functions 2022-12-22 00:26:27 -08:00
parser.rs syntax_updater: also parse slint,no-preview code block in md files 2023-01-07 14:18:10 +01:00
passes.rs Updater: annotate pure to all function and callback that returns something 2022-12-22 00:26:27 -08:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs Limit re-exporting of types 2022-12-09 11:05:08 +01:00
typeregister.rs WIP: pure qualifier for callback and functions 2022-12-22 00:26:27 -08: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.