Skip to content

Releases: matyalatte/tuw

v0.8.0

10 Nov 00:37
ffbad17
Compare
Choose a tag to compare

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

12 Oct 13:30
edff353
Compare
Choose a tag to compare

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

v0.7.1

14 Sep 14:56
f6652f8
Compare
Choose a tag to compare

Changelog

  • Added support for JSON with Comments format. (#42)
  • Added "codepage" to support UTF-8 outputs on Windows. (#43)
  • Added support for colorized outputs on Linux. (#44)
  • Fixed a bug where there was no limit on the buffer size of the console window on Linux.
  • Optimized some functions to reduce the binary size.

Notes

v0.7.0

21 Jul 06:43
f7ec04b
Compare
Choose a tag to compare

New Features

Warning

Regex validation is still an experimental feature. It is highly recommended to test if your regex pattern works as you expected or not.

Other updates

  • Disallowed opening of help URLs containing linefeeds. (097e6b3)
  • Made minor code improvements.

Notes

v0.6.5

23 Jun 12:45
5805547
Compare
Choose a tag to compare

Changelog

  • Fixed a bug that empty strings were removed from args on Windows (#31)
  • Fixed a bug that Tuw was not able to get long executable paths (that have more than 260 characters) on Windows. (#32)
  • Fixed a bug that Tuw was not able to get executable paths on OpenBSD. (#32)
  • Refactored codes to reduce potential bugs. (#33)
  • Added support for Solaris/illumos.
  • Added support for MinGW-w64.

Notes

v0.6.4

27 Apr 12:02
00b9aaa
Compare
Choose a tag to compare

Changelog

  • Fixed a bug that the execution button says Processing... after getting errors. (#28)
  • Added UCRT build for Windows10 or later. (#29)

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.zip is much smaller than the standard version, but it only works on Windows10 or later.

v0.6.3

03 Mar 04:19
dfccb84
Compare
Choose a tag to compare

Changelog

  • Supported Unix-like systems (FreeBSD, Haiku, etc).
  • Added URL validation for safety.
    (You can not open help URLs contain some special characters like whitespaces.)
  • Fixed tiny bugs on debug builds.

Notes

  • Linux builds only support distributions using glibc.
    Build the executable by yourself if you want to use it on unsupported distros.

v0.6.2

11 Feb 03:11
764cb44
Compare
Choose a tag to compare

Changelog

  • Added safe mode.
  • Fixed typos.
  • Fixed a bug that the menu can be empty on macOS.

Notes

  • Linux builds only support distributions using glibc.
    Build the executable by yourself if you want to use it on unsupported distros.

v0.6.1

03 Jan 04:35
18cc14b
Compare
Choose a tag to compare

New features

Bug fixes

  • Fixed an error when opening URLs with debug builds.
  • Fixed a crash when using multiprocessing on Windows.
  • Fixed a bug that drag-drop events were ignored on newer versions of GTK.
  • Fixed a bug that tuw didn't check the type of the "default" values for combo boxies.

Docs updates

"placeholder" and "combo" were supported as alternate spellings in old versions. I decided to use them as the standard ones.

  • Replaced "empty_message" with "placeholder" in docs.
  • Replaced "choice" with "combo" in docs.

You don't need to edit your old json files. "empty_message" and "choice" work in the same way as the old versions.

Notes

  • Linux builds only support distributions using glibc.
    Build the executable by yourself if you want to use it on unsupported distros.

v0.6.0

09 Oct 15:37
5d6543c
Compare
Choose a tag to compare

There is no change in usage. But the exe is much smaller than v0.5.1. And the license is MIT!

Changelog

  • Switched GUI library from wxWidgets to libui.
  • Changed license from GPL to MIT.
  • Changed project name from Simple Command Runner to Tuw (stands for "tiny UI wrapper")
  • Fixed a bug that old components won't be freed when putting new components.
  • Supported ARM64 devices.

Notes

  • Linux builds only support distributions using glibc.
    Build the executable by yourself if you want to use it on unsupported distros.