Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.58 KB

CHANGELOG.md

File metadata and controls

79 lines (58 loc) · 2.58 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.4.0]

Added

  • Added system menu items Menu::append_<xxx>_item() (quit/preferences/about).
  • Added Window::set_resizeable() and Window::resizeable().
  • Added Window::set_position(), Window::position() and event callback.
  • Added Window::set_content_size(), Window::content_size() and event callback.
  • Added Checkbox::set_text() and Checkbox::text().
  • Added EventQueueWithData::queue_main() to run code on the main thread. UI::queue_main() is unsuitable due to UI being !Send.

Fixed

  • Fixed clang build on Windows.
  • Fixed window focus after pop-up dialogs. Workaround to be removed some day.

[0.3.0]

Changed

  • Updated build dependencies. Users of up-to-date libraries will have less to download. Some of the dependencies now require an edition 2021 compatible Rust toolchain however - which have trouble running on Windows 7.

[0.2.0]

Added

  • libui::layout! macro for easier UI description.
  • libui::menu! macro for main menu creation.
  • MultilineEntry::new_nonwrapping() constructor.

Changed

  • No API changes.

Deprecated

  • No API deprecations.

Removed

  • No API removals.

Fixed

  • Windows: Combobox inside TabGroup now render properly.
  • Windows: Reduced flicker during resize.
  • MenuItem::on_clicked() no longer requires an UI handle.

Security

  • No security changes.

[0.1.0]

This is the initial version of the library, based on iui. The following changes refer to this version.

Added

  • Added the SearchEntry control
  • Added the ColorButton control
  • Added the DateTimePicker control
  • Added the FontButton control
  • Added the Table control
  • Added the Form control
  • Added the EditableCombobox control
  • New features for Combobox
  • Readonly property for the MultilineEntry
  • Folder dialogs

Changed

  • Removed the UI token from most functions to simplify the API, at the cost of loosing the static library initialization check and lifetime guarantee. Make sure the UI library handle is kept till the end manually instead.

Deprecated

  • No API deprecations.

Removed

  • Removed the dependency on the failure crate, using the std::error::Error trait instead.

Fixed

  • Fixed a memory leak in the file dialog functions.

Security

  • No security changes.