v1.1.1
This release continues our commitment to rapid bugfixing. We have also been implementing many automatic tests to ensure reliable software. We are pleased to share that many bugs are being caught by internal tests, before they can even be reported by users. On the flip side, the reporting from our users has been awesome! Thank you to everyone who contributes to improving these tools! (New fixes are, of course, made available every 24hrs in our nightly builds.)
But all that work hasn't stopped us from slipping in some small quality-of-life improvements. :) See below.
Added
- Toggle visibility of generated files (
*_gen.c,*_gen.h) via the filter button in the File Navigator; visible by default. (#304) - Collapse-all button in the File Navigator to collapse all expanded folders in the file tree.
- Preliminary support for locally-installed Emscripten instead of using a container/Podman/Docker.
- File navigator context menu action to reveal files/folders in the host OS file manager (Finder/File Explorer/File Manager).
Changed
- Improved LVGL linking for target builds when using
CMake:- Projects now automatically link with LVGL when the
lvgltarget is detected at configure time - The
lvgltarget can be provided through multiple methods:add_subdirectory(lvgl)- when LVGL is a subdirectory of your projectFetchContent- when LVGL is fetched as a dependencyfind_package(lvgl)- when LVGL is installed system-wide or via a package manager
- Simply include your LVGL UI project with
add_subdirectory(YOUR_LVGL_UI_PROJECT_FOLDER)after thelvgltarget is available
- Projects now automatically link with LVGL when the
- Allow switching between Design and Code mode on any screens and components.
- Do not generate C variables for unused objects.
- Selector with pipe (|) symbol also triggers completion.
- Open project file browser defaults to last opened path.
- File navigator: Add Template button tooltip is context-specific (e.g. "Add New Component", "Add New Widget", "Add New Screen") depending on the folder.
- Change external file paste dialog box text. (#322)
Fixed
- Sync with widget_xml_parser.c for the generated header files. (#72)
- Incorrect paths in generated component library includes on Windows. (#324)
- Incorrect Windows external-command invocation which prevented local Emscripten from being used on certain machines.
- LVGL assertion failures would hang the CLI indefinitely while running tests.
- VS Code Preview would not work.
- CLI tests always failed on Windows due to pathing issues. ([#314]#314))
- File navigator: Corrected caret rotation for closed directories
- Font conversion broken in the CLI, on all OSes, since v1.1.0. (#318)
- No min_value and max_value suggestion for constants'
<int>and<prop>image typed default value suggestion with images. - Prevent automatic jump back to parent when adding children in Design mode
- Incorrect Font and Subject input field type detection in Properties panel (Design mode)
- Long input field labels can mess up the layout in the Properties panel in Design mode
- Screens in subfolders had subfolder name prepended to screen name. (#320)
- Stabilize single and all test runners.
- Fitting preview to screen on every XML edit.
- Online Preview: Redirect to /ui only when template project is added, no slash escaping in URL.
- Superfluous popups asking user to pick a license.
- At XML completion use parent extends for allowed children.
- Inspector can be enabled by pressing Alt, independent of the current focus.
- Test image difference images scale to container width.
- In Design Navigator keep same parent selected after dropping inside another element.
- CLI ignoring the
--ignore-fontsand--ignore-imagesoptions. NOTE: Using these options can generate C code that will not compile, as font/image resources are not included in the build. These are intended to be used when quickly sanity-checking exported C code for widgets/components. (#323) - Assets synchronization now runs in both Design and Code modes for the active project.
- Assets synchronization now applies
<images sync="true">fromglobals.xmlon each sync run and triggers immediately whenglobals.xmlchanges. - Image sync now reconciles by image
src_path(canonicalized path), preserving manually renamed imagenamevalues inglobals.xml. - Image sync no longer leaves an extra blank line in
<images>after removing image entries.