Releases: NuiCpp/Nui
v1.2.0 More WebApi Classes And Some Fixes
What's Changed
- Cleaned up and improved val conversion. by @5cript in #141
- Add decay to combinator and cleaned up attribute factories. by @5cript in #142
- Fixed missing decay in convertFromVal optional check. by @5cript in #143
- Added error log for exceptions in frontend rpc. by @5cript in #144
- More WebAPI Implementations in the form of wrappers. by @5cript in #145
This adds:- Event
- UiEvent
- KeyboardEvent
- MouseEvent
- ResizeObserver
- ResizeObserverEntry
- AbortController
- AbortSignal
- DomRect
- DomRectReadOnly
- DataTransferItemList
- DataTransfer
- DragEvent
- FileList
- File
#include <nui/frontend/api/mouse_event.hpp>
div {
// event is constructed for this call, so taking by reference has no benefit:
onClick = [this](Nui::WebApi::MouseEvent event) {
// bla...
},
"mousedown"_event = [this](Nui::WebApi::MouseEvent event) {
// bla...
},
}()Full Changelog: v1.1.0...v1.2.0
v1.1.0 Replace deprecated codecvt
Replaces std::wstring_convert etc with uftcpp library, since these will be removed by C++26
v1.0.3 Update fmt to avoid build issue with libc++-21
What's Changed
Full Changelog: v1.0.2...v1.0.3
v1.0.2 Fix build with boost 1.89
Fixed build with boost version 1.8.9
v1.0.1 Fix builds with CMake 4.0
CMake 4.0 deprecates CMake version 3.5 or lower.
2 Dependencies had this problem portable-file-dialogs and libcpppre.
The former was allowed to continue to build, libcpppre has been replaced with another library living in the NuiCpp Organization.
libcpppre was only used for effectively 1 line of code.
The makeshift function traits impl in Nui has also been removed by the tested, more encompassing alternative.
This also includes a small build time optimization that makes it so that the emscripten target is not configured on every build, when it was configured already. The CONFIGURE_ALWAYS flag as a fallback to get the old behavior in case something unforseen happens by this change / some inproper CMake is used in the frontend/emscripten target.
Updated Emscripten Dropped Ubuntu 20
Updated emscripten to 4.0.4, removed some no longer necessary fixup tools running on windows, because it now works out of the box.
Dropped support for Ubuntu 20
v0.18.5 Added missing header
libc++ reduced transitive includes in C++23.
Added missing header.
v0.18.4 Compatibility with Boost 1.87.0
Merge pull request #130 from NuiCpp/feat/boost-1_87-updates Updated roar revision.
v0.18.3 Update Dependencies
Update underlying dependencies to work with newer boost versions.