Skip to content

v0.13.0

Compare
Choose a tag to compare
@hugopl hugopl released this 30 Jun 19:55

Added

  • Property constructors can be called in constructor super calls from user classes, e.g. super(property: value).
  • Show if return value is nullable in generated code, helping debug.
  • Implement virtual functions and allow including interfaces, thanks @BlobCodes (#26).
  • Implement unsafe virtual functions, thanks @BlobCodes (#41).
  • Implement user-transparent GObject enums, thanks @BlobCodes

Changed

  • Use GC.malloc_atomic to allocate wrappers to reduce GC work, thanks @BlobCodes (#18).
  • Move struct wrappers data inside struct, reducing 1 malloc call, thanks @BlobCodes (#19).
  • Translate GError in return values or signal parameters to exception objects. (#25)
  • Raise a compile error when using GObject::ParamSpec.g_type. (#24)
  • Print info about ClosureDataManager when compiling using -Ddebugmemory.
  • GObject::GeneratedWrapper annotation is now GICrystal::GeneratedWrapper.

Fixed

  • Don't use invalid characters when registering GObject types, thanks @BlobCodes (#30)
  • Allow binding objects with functions named initialize/finalize, thanks @BlobCodes (#42)