Releases: matyalatte/tuw
Releases · matyalatte/tuw
v0.11.0
Changelog
"id" is now required (#131)
As announced in #96, all components (except "static_text") now require "id". You will get errors when there are undefined ids in the command or when there are components which have no id.
Colored emojis for static controls on Windows (#136)
Static controls (most component labels) now render colored emojis on Windows 8.1 or later.
Other changes
v0.10.2
v0.10.1
v0.10.0
Changelog
Improved JSON Parser (#108)
- Replaced rapidjson with a custom JSON module, which reduced binary size (about 16% for Windows10 build.)
- Tuw now shows error messages with line and column of a JSON file.
e.g."id" should be a string (line: 4, column: 5) - Revised some error messages.
Bug Fixes
- Fixed a Windows-specific issue where
mergeandsplitcommands were not able to show UTF8 strings. (#106) - Fixed an issue where the default value of
incfor float pickers was wrong. (#104) - Fixed an assertion error on debug build. (#100)
Other Changes
v0.9.2
Changelog
- Improved the performance of redirection (#91)
(Fixed a Windows-specific issue where stdout redirection was unexpectedly slow.) - Fixed a Linux-specific issue where the console window looked like freezing while running commands. (#89)
- The Linux build now supports more ANSI codes and carriage returns. (#88)
- The Linux build now uses
gioto open URLs ifxdg-openfailed. (#93) - Example JSON files now use
idoption. (#94)
v0.9.1
Changelog
- Added support for using
gui_definition.tuwas the default JSON path. (#76) - Fixed an issue where tuw could not locate JSON files when launching it from outside of its directory. (#79)
- Fixed a Windows-specific issue where the message box failed to display redirected non-ascii characters correctly. (#80)
- Fixed a Windows-specific issue where tuw failed to open file paths containing non-ascii characters. (#81)
- Fixed a Linux-specific issue where the main window appeared behind the console window. (#77)
v0.9.0
Changelog
New Feature: Open JSON Files (*.tuw) with Tuw
- Tuw now takes the first argument as a JSON path. (#67)
You can launch GUIs just by clicking on JSON files. See the documentation for the details.
Other Changes
- Tuw now uses the default CWD to resolve paths in command-line utilities. (#67)
(Old versions used executable's directory as CWD.) - Fixed an error when launching tuw as a macOS application. (#68)
- Disabled best-fit mapping on Windows to avoid potential issues. (#71)
- Disabled c++ stack unwinding on Linux and macOS. (#72)
- Uploaded source files with subprojects to the release page. (#69)
Known Issues
- v0.9.0 can't find
gui_definition.jsonwhen launching Tuw from another directory. (#78)
v0.8.1
Changelog
- Fixed a memory leak on Linux. (#59)
- Removed
std::exceptionfrom Linux and macOS builds. (#63)
(A subproject still uses STL for Windows build.) - Linux and macOS packages now use
.tar.xzas a compression format. (#62) - Added arm64-only build (
*-macOS-arm64.tar.xz) to the release packages for macOS. (#64)
v0.8.0
New syntax features
There are some new rules to simplify JSON files. The minimal JSON that works with v0.8.0 is {"command":"echo Hello","components":[]}.
- Array brackets can now be omitted when the array has only one item. (#51)
- GUI elements (e.g.
"command") can now be defined in root object when the"gui"array has only one item. (#52) - GUI labels became optional, and
"window_name"can now be default values of GUI labels. (#54)
Other changes
- Tuw now redirects stderr into the console window. (#57)
- Replaced std::string with a custom string class to reduce the binary size. (#56)
- Renamed Windows10 build (
*-Windows-x64-ucrt.zip) to*-Windows10-x64.zip. (#50)
Known Issues
- Linux build has a memory leak. (#60)
v0.7.2
Changelog
- Added
"optional"to ignore some options when a text box is empty. (#48) - Added
"prefix"and"suffix"options to append strings to user inputs. (#48) - Removed unused functions and symbols from release builds.
- Re-enabled exception handlings for the std library.
- Optimized some functions for binary size.
Notes
- Linux builds only support distributions using glibc.
Build the executable by yourself if you want to use it on unsupported distros. Tuw-*-Windows-x64-ucrt.zipis much smaller than the standard version, but it only works on Windows10 or later.- Tuw supports more unix-like systems (BSD, Haiku, illumos, etc.)
Building Workflow for Other Platforms - matyalatte/tuw