slint/internal/compiler
Olivier Goffart 4da79ac69a Fix layouting of huge ListView with millions of items
The problem is that the precision of f32 for coordinate wouldn't be
accurate enough with such big viewport to put the elements so that they
are next to eachother.
So put the elements relative to the Flickable instead of relative to the
created moving viewport Rectangle.

Fixes #3700

Note that the ListView still use f32 for the scrollbar value, meaning
that at some point, the wheel stops working as the wheel increment is
smaller than the f32 increment, and scrolling becomes somehow fuzzy.
But this only happens after one more billions pixels now, so one can
have more than 50 millions of elements without much problems
2025-01-20 17:41:38 +01:00
..
generator Rust: one more fix for computations on big numbers 2025-01-20 16:47:49 +01:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr String: Add .is-empty and .character-count properties 2025-01-14 19:29:05 +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 layouting of huge ListView with millions of items 2025-01-20 17:41:38 +01:00
tests Detect binding loops when it involve the condition of a if in a layout 2025-01-13 14:40:18 +01:00
widgets Work on the ContextMenu 2025-01-16 20:21:06 +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 typos 2025-01-13 08:35:20 +01:00
builtins.slint Work on the ContextMenu 2025-01-16 20:21:06 +01:00
Cargo.toml Update to Image 0.25 (#7365) 2025-01-14 16:31:05 +01:00
diagnostics.rs Remove some uses of once_cell 2025-01-14 14:18:24 +01:00
embedded_resources.rs Signed DistanceField font rendering in swrenderer 2024-10-23 09:12:30 +02:00
expression_tree.rs String: Add .is-empty and .character-count properties 2025-01-14 19:29:05 +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 LSP: don't auto-compete private properties 2025-01-14 11:26:57 +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 Fix typos 2025-01-13 08:35:20 +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 String: Add .is-empty and .character-count properties 2025-01-14 19:29:05 +01:00
namedreference.rs Reduce SmolStr <-> &str conversions and copies (#6688) 2024-11-19 10:07:16 +01:00
object_tree.rs Remove some uses of once_cell 2025-01-14 14:18:24 +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 MenuBar: C++/Rust native menubar implementation 2025-01-08 21:16:17 +01:00
typeregister.rs Work on the ContextMenu 2025-01-16 20:21:06 +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.