Olivier Goffart

Results 105 issues of Olivier Goffart

Given an enum with `#[repr(u8)]`, for example https://github.com/mozilla/cbindgen/blob/52a65e5be3d8c6a2648fbe3bc6a9001a96f0756c/tests/rust/enum.rs#L54-L59 When generating the code for C++, it will generate an anonymous struct https://github.com/mozilla/cbindgen/blob/52a65e5be3d8c6a2648fbe3bc6a9001a96f0756c/tests/expectations/enum.cpp#L114-L116 But this is not valid C++ and that doesn't...

Something like (in slint) ``` import { MyNamespace::MyStruct as MyStruct } form "../include/some_file.h"; import { crate::foo::bar::SomeOtherStruct as SomeStruct } from "../some/module/foo.rs"; ``` The slint compiler would use the syn crate...

enhancement
roadmap
a:language-slint

We need to support user changing translations through the interface, as well as translation on platform that do not have gettext (MCU) The idea would be somehow to have API...

enhancement
a:tool classes & property system
api

It is often requested to have default values for struct fields It could look like this: ``` struct Player { score: int = -1, name: string = "John Smith", }...

rfc
a:language-slint

Many users can get confused when looking old documentation, and not realize it is an outaded docs. (example #5019) We should inject a banner somehow in the HTML of these...

a:documentation
enhancement

Pressing the up or down key (on the keyboard) should increase or decrease the value of the SpinBox. Currently does nothing.

enhancement
a:widgets

When building with slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer, we get misleading compilation error when the default font don't exist. To reproduce, edit the carousel_demo.slint and change the default font binding: ```slint default-font-family: "NOT EXIST";...

a:text

There is no example on how to use these model classes in the C++ docs. Some code snippet should be added.

a:documentation

When compiling with `slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer`, we need a way to specify with font to embed, which glyph ranges, which sizes. Currently there is some code that tries to auto-detect the sizes,...

enhancement
a:text