Skip to content

Releases: hugopl/gi-crystal

v0.22.2

24 Mar 19:04
Compare
Choose a tag to compare

Fixed

  • Fix compilation with GLib 2.80.

Release v0.22.1.

15 Feb 19:55
Compare
Choose a tag to compare

Fixed

  • Remove more deprecation warnings from crystal 1.11 😅️.

v0.22.0

15 Feb 19:38
Compare
Choose a tag to compare

Fixed

  • Remove deprecation warnings from crystal 1.11.
  • Tell the compiler LibGio.g_application_run can raise exceptions, so you can catch them.

v0.21.0

10 Dec 18:32
Compare
Choose a tag to compare

Fixed

  • Use ::Bytes on array of UInt8 parameters and return values. (#140)

Added

  • Gio bindings are now included in GICrystal (#139).
  • Easier to require just GLib, GObject or Gio, use require "gi-crystal/glib",
    require "gi-crystal/gobject" or require "gi-crystal/gio"

v0.20.1

05 Dec 12:59
Compare
Choose a tag to compare

Fixed

  • Fixed a crash when trying to cast modules (#132)
  • Fix setter of GObject properties when using nulable types.

v0.20.0

21 Nov 21:33
Compare
Choose a tag to compare

Fixed

  • Fixed a crash when using casted objects that came to Crystal first as a GObject::Object.

v0.19.0

08 Oct 22:39
Compare
Choose a tag to compare

Changed

  • Use Crystal Char for gunichar.
  • Do not block the code generation if some TypeLib wasn't found, just warn instead.

v0.18.0

19 Sep 21:47
Compare
Choose a tag to compare

Fixed

  • Fix compilation with glibs2 2.78 and gobj introspection 1.78 (#125).
  • Increase reference of transfer full interface parameters (#122).
  • Check if object is null before increase its reference (#119).
  • Fix array of string properties (#118).

Changed

  • Remove hardcoded g_object_ref calls, binding authors now need to implement
    GICrystal.ref/GICrystal.unref for their special types (#123).

v0.17.0

14 Jul 18:16
Compare
Choose a tag to compare

Added

  • Annotate deprecated methods in bindings (#114).
  • Add #to_s, #== and .parse to GLib::Variant (#113).
  • Add GC resistant GObject subclasses 🎉️, thanks @BlobCodes (#107).
  • Allow enum and flags to be ignored in binding.yml (#101).
  • Print GI annotation info for vfunc, helping debugging.

Fixed

  • Bind false boolean constants to false (#111).
  • Ensure Bool return type on vfuncs that return booleans (#110).
  • Fix ownership transfer of vfunc return values (#102).
  • Fix compilation for vfuncs returning nullable objects or strings (#104).

Changed

  • Ignore deprecated GObject::ValueArray object. (#115)

v0.16.0

16 Jun 18:16
Compare
Choose a tag to compare

Added

  • Add test helper methods: ClosureDataManager.count, ClosureDataManager.info and ClosureDataManager.deregister_all (#92).
  • Added bindings for GLib.real_name (#93).
  • Added option to ignore constants in binding generation, thanks @charitybell (#95)

Fixed

  • Fix compilation with -Ddebugmemory for some struct bindings (#91).
  • Convert boolean return values in virtual functions (#96).

Changed

  • Removed a lot of constants from GLib and GObject bindings (#97).