Skip to content

Latest commit

 

History

History
132 lines (100 loc) · 5.51 KB

CHANGELOG.md

File metadata and controls

132 lines (100 loc) · 5.51 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.16.0] - 2023-21-11

Added

  • Add an example for Gtk::ListView using Gio::ListModel.

Changed

[0.15.0] - 2023-07-16

Added

  • Add an example for Gtk::SearchBar.

Fixed

  • Add missing modal attribute to Gtk::MessageDialog sugar methods.

Changed

[0.14.0] - 2023-06-16

Added

  • Added simple particles engine example using GSK API (#51).
  • Added Gdk::Display.default!, same as Gdk::Display.default.not_nil! (#53).

Fixed

  • Do not try to unref destroyed windows at finalize (#52).

Changed

[0.13.0] - 2023-04-16

Added

  • Add Gtk::Widget#children helper method, thanks @hugopl.

Fixed

  • Fix crash related to order of initialization of widget templates, thanks @BlobCodes (#34)
  • Let gh-pages branch be orphan, so the repository doesn't store a ton of useless history for API docs, thanks @GeopJr (#38).
  • Update Ubuntu install instructions, thanks @aramvisser (#45).
  • Do not always require children parameter on Gtk::UiTemplate annotation, thanks @hugopl (#33).
  • Add support for UI templates from resource files, thanks @hugopl (#36).
  • Fix compilation with Harfbuzz 0.7, thanks @hugopl (#43)

Changed

  • Harfbuzz, Gio and Pango bindings were moved to different shards, GTK4 shard now depend on them, thanks @hugopl (#46).

[0.12.0] - 2022-09-06

Added

  • Added overload Gtk::Snapshot#translate(x : Float32, y : Float32).
  • Added overload Gtk::Snapshot#append_color(color : Gdk::RGBA, x : Float32, y : Float32, width : Float32, height : Float32).
  • Added overload Gtk::Snapshot#push_repeat(bounds_x : Float32, bounds_y : Float32, bounds_width : Float32, bounds_height : Float32, child_bounds_x : Float32, child_bounds_y : Float32, child_bounds_width : Float32, child_bounds_height : Float32)
  • Added overload Gtk::Snapshot#save that receives a block and calls Gtk::Snapshot#restore at the end.

Fixed

  • Don't crash when instantiating Pango::FontMetrics.
  • Make possible to use Pango::AttrList and Pango::Attributes.

Changed

[0.11.1] - 2022-07-04

Fixed

  • Fix compilation with HarfBuzz 4.4.1.

[0.11.0] - 2022-07-01

Changed

Added

  • Added Gtk::Stack#has_child?(Gtk::Widget).
  • Added source_dir parameter to register_resource, thanks @GeopJr.
  • Added Pango::Layout#set_text(String), Pango::Layout#set_text(Bytes) and Pango::Layout#set_text(Bytes, Int32).
  • API documentation is now auto-updated, thanks @1player.

[0.10.0] - 2022-06-04

Changed

  • Using GI-Crystal v0.12.x, See GI-Crystal changelog for more info.
  • Call abort when Gtk::Widget#template_child can't find the widget.

Added

  • Added Gtk::TreeSelection#select_row(Int32) sugar, to select a row.

[0.9.0] - 2022-05-15

Changed

Added

  • Allow use of child objects defined in XML widget templates! See examples/widget_template.cr.

[0.8.0] - 2022-05-03

Changed

Added

  • Added initial support for XML widget templates! See examples/widget_template.cr.

[0.7.0] - 2022-04-17

Changed

  • Using GI-Crystal v0.8.x, See GI-Crystal changelog for more info.
  • Correctly insert PROGRAM_NAME into args sent to Gio::Application#run(args : Enumarable?).
  • Added Gio::Application#run with no parameters, equivalent of run(ARGV) but more efficient.
  • To run a Gio::Application that doesn't parse any arguments, use run(nil).

[0.6.0] - 2022-04-14

Changed

Fixed

  • Gdk::ModifierType don't crash when GTK insert reserved bits on it.

[0.5.0] - 2022-04-03

Changed

[0.4.0] - 2022-03-02

Changed

[0.3.0] - 2022-01-29

Changed

[0.2.0] - 2022-01-23

Changed

[0.1.0] - 2022-01-09

Changed

  • First Release.