Skip to content

RmlUi 4.2

Compare
Choose a tag to compare
@mikke89 mikke89 released this 23 Aug 22:05

It's time for a new release! This time we have collected a sizable amount of smaller quality-of-life improvements and several bugfixes. As always, thanks a lot to all the contributors to the project! This one contains quite a lot of PRs from many different users, and that makes me happy.

Improvements

  • Add Rml::Debugger::Shutdown. This allows the debugger to be restarted on another host context. #200 #201 (thanks @Lyatus)
  • Improve color blending and animations. #203 #208 (thanks @jac8888)
  • Improve error messages on missing font face.
  • Export Rml::Assert() in release mode. #209 (thanks @kinbei)
  • Add .clang-format. #223

Elements

  • Fix a crash in some situations where the input.range element could result in infinite recursion. #202
  • The input.text element will no longer copy to clipboard when the selection is empty.
  • Checkboxes (input.checkbox) no longer require a value attribute to properly function. #214 (thanks @ZombieRaccoon)
  • Fix handle element resizing incorrectly when the size target has box-sizing: border-box. #215 (thanks @nimble0)
  • Improve warnings when using unsupported positioning and floating modes on tables. #221

Samples

  • Fix shortcut keys on X11 and macOS. #210.
  • Fix full reloading shortcut (Ctrl+R) in visual tests suite.

Other fixes

  • Fix minor layout issue in inline-blocks. #199 (thanks @svenvvv)
  • Fix an issue in data bindings where text expressions initialized with an empty string would not be evaluated correctly. #213
  • Fix an issue in the FreeType font engine where .woff files would cause a crash on shutdown. #217
  • Fix inline styles not always being applied on a cloned element. #218
  • Fix render interface destructor calling virtual functions in some circumstances. #222

Breaking changes

  • Removed built-in conversion functions between UTF-8 and UTF-16 character encodings.
  • Slightly modified the lifetime requirements for the render interface for special use cases, see requirements here. Will warn in debug mode on wrong use. #222

Special thanks to @ZombieRaccoon for creating a Conan recipe for RmlUi and keeping it up to date on ConanCenter. RmlUi has also been added to vcpkg as of RmlUi 4.1. These dependency managers should make it a lot more convenient to consume RmlUi in your projects, more details can be found in the documentation.

The documentation has also been updated with a search feature. Hopefully this will help you find the things you are looking for, let me know if there are any issues. I would also like to give a gentle reminder that documentation pull requests are very much welcome. There's a handy "edit" button on pages so you can edit and submit a PR directly on GitHub, don't be afraid to use it for even the smallest things, thanks!

A special thanks goes to @barotto and @ZombieRaccoon for general improvements to the documentation.