Skip to content

Releases: pekim/gobbi

v0.1.1

30 Nov 10:36
Compare
Choose a tag to compare
  • Fix a regression (#12) introduced in v0.1.0. The support for connecting signals defined in a builder definition unfortunately included use of an internal code generation function. That function had an indirect dependency on github.com/dave/jennifer, which is only intended for use during code generation. The use of the internal function has been removed. d55870c

  • Add bindings for Webkit2. 6581bbb

v0.1.0

07 Nov 08:53
Compare
Choose a tag to compare
  • Add support for connecting signals defined in a builder definition. 5fa97f1
    There is documentation showing how to use this.

  • Include the target object (such as *gtk.Widget or *gtk.Button) as the first parameter of signal callback functions. 0eec544

    For example, this

    da := gtk.DrawingAreaNew()
    da.Widget().ConnectDraw(func(cr *cairo.Context) bool {
    	// draw something in the context ...
    	return false
    })

    becomes

    da := gtk.DrawingAreaNew()
    da.Widget().ConnectDraw(func(widget *gtk.Widget, cr *cairo.Context) bool {
    	// draw something in the context ...
    	return false
    })

    This better matches the C api, and can be convenient when connecting signals in builder defintions.
    This is a breaking API change.

v0.0.12

11 Oct 18:01
Compare
Choose a tag to compare
  • Add support for gdk.Event. c626093

v0.0.11

27 Sep 19:08
Compare
Choose a tag to compare
  • Make gtk.TreeIter usable for iteration. d705fdc

v0.0.10

31 May 05:47
Compare
Choose a tag to compare
  • Add support for the GtkSourceView library.
  • Add support for functions with bitfield and enum types as output parameters.

v0.0.9

11 May 10:09
Compare
Choose a tag to compare
  • Generate only a single file for each library version. This makes the first build using gobbi about two to three times as fast.
  • Many minor improvements to documentation.

v0.0.8

31 Mar 09:23
Compare
Choose a tag to compare
  • Remove unnecessary dependency on glib 2.32 or later by glib.IdleAddOnce.

v0.0.7

13 Jan 12:06
Compare
Choose a tag to compare
  • Support signals that have enum or bitfield parameters. b6021d1
  • Support connecting to a notify signal for a single property. notify-signal-for-a-single-property 15244e1
  • Remove functions that accept or return Go uintptr type. While this is strictly speaking a breaking API change, such functions were probably not usable in the first place. 9106c9c
  • Add an example that shows a widget with custom drawing. custom-drawing/main.go
  • Support cairo.
    • cairo - Add manually created bindings for most functions.
    • pangocairo - Generate types and functions.

v0.0.6

31 Dec 07:54
Compare
Choose a tag to compare
  • Support signals introduced in a later version than their record or class. 8e2172c
  • Add the convenience glib.IdleAddOnce function. d9b4611
  • Generate functions that return an array of strings. a75ce7d
  • Conditionally include the gio network header when a gio tag for 2.36 or later is used. 256761b

v0.0.5

28 Dec 09:41
Compare
Choose a tag to compare
  • More types and functions are generated.
    • functions with string format parameters d268565
    • Variant type and its methods b1c37a0
    • VariantType type and its methods 2d127ce
    • IOChannel type and its methods d78e875
    • Type alias d7ce240
    • Rectangle/Allocation type and its methods 4322d2a
    • Atom type and its methods f6718b9
    • FontMetrics type and its methods 5e7ea92
  • Generate constants for more integer types. aef82e7
    This is a breaking change, as the integer type for many constants has changed.
  • New documentation pages.