Commit cd6f2e2 reformated the .toml, but the 80 char width column is
judged too small to be practical
Add a .taplo.toml file
Also do not split feature array
Set all values that are changed compared to the initial
set of values right after loading a new component.
This also includes a small change to the printerdemo,
so that it exposes more data to the business logic,
so that we have something to demonstrate;-)
... using taplo with default settings
I tried this with 4 spaces indentation, but the patch is almost as
big as this one, so I went with default settings instead as that
is just easier:-)
We can't just do `s/#\[no_mangle]/#[unsafe(no_mangle)]/g`
because the version of cbingen we use doesn't understand the unsafe
attribute yet.
Part of #7998
Previously, the dark mode button was especially hard to hit on
embedded devices.
The TouchArea of the SideBarIcon used for this button was much smaller
than the others. By exposing a new property on the SideBarIcon:
icon-colorize, we can customize the colorize behaviour of the Image,
as well as the source. This allows us to re-use the internal Image for
the dark mode button. This allows us to use the default width, height
and x position of the icon. The touch areas of the sidebar buttons are
now uniform.
Zephyr have recently added this device tree entry to provide a common
interface for input handlers.
This means we can remove the overlay required for the i.MX RT1170
shield, and remove our modifications some of our modifications for the
native sim. It also means that we don't have to make device tree
modifications to support other boards in the future.
This gives us access to the new `zephyr,touch` device tree entry,
which will allow us to produce a more generic touch input handler.
INPUT_CALLBACK_DEFINE and the input callback now require `void *`
argument for user data. For now we leave this unused.
When this driver is using the DMA API, we cannot do partial updates.
Previously, this code would then perform a full-screen DMA transfer for
each region the renderer changes. Now we make modifications to the pixel
data of the dirty regions, if required, and then do one fill-scren DMA
transfer of the final render buffer.
Workaround for #6715
In the wasm interpreted, we use an `<img>` tag to load images, but that
cannot get the default svg size without an explicit width and height
(For me this was also reproducible on desktop, but oddly not for
Olivier)
Letters like é were stripped from the noto sans font used by the demo,
and with FemtoVG we assume that presense of a character in the common
script implies full coverage (to avoid having to check every character).
Fix this by fixing the font itself. We wouldn't want those letters to
come from DejaVu :)
Continue to run build-on-demand.mjs to permit a fallback to a
from-source build for users who run `npm install slint-ui` on a platform
where we don't provide binaries for (such as linux-armv7/64). However,
this is only done when run from the installed package, not from git.
From git, the prestart trick remains in use.