= NEWS
== Ruby-GNOME2 2.2.3: 2014-10-26
It is a bug fix release.
It's recommended that you upgrade if your application uses thread and
runs on Ruby 2.1 or later.
=== Changes
==== All
* Improvements
* Supported auto native package install on SuSE.
==== Ruby/GLib2
* Fixes
* Fixed infinite loop bug on Ruby 2.1 or later.
[ruby-gnome2-devel-ja] [Reported by Toshi Hatsune]
==== Ruby/GDK3
* Fixes
* Added missing dependencies.
[GitHub#258] [Reported by Luis Daniel Gonzalez Orozco]
==== Ruby/CairoGObject
* Improvements
* Supported auto required native package install by Homebrew.
* Fixes
* Fixed wrong package name on Debian.
==== Ruby/VTE3
* Improvements
* Supported auto required native package install by Homebrew.
==== Ruby/Clutter
* Improvements
* Added Clutter.check_version?.
=== Thanks
* Luis Daniel Gonzalez Orozco
* Toshi Hatsune
== Ruby-GNOME2 2.2.2: 2014-10-12
It is a Windows package fix release.
== Ruby-GNOME2 2.2.1: 2014-10-12
It is a release that Ruby/GDK3 is migrated to
Ruby/GObjectIntrospection based bindings.
Some API changes in Ruby/GDK3 are expected but unexpected API
changes may exist. If you find API change, please report it. If the
API change provides non Rubyish API, it will be a bug.
Ruby/GooCanvas is removed because we can't maintain it.
=== Changes
==== Ruby/GLib2
* Improvements
* Added GObject#unref to free large object immediately.
* Fixes
* [windows] Added a missing exported symbol. ((({rbg_inspect})))
* Fixed a bug that signal handler doesn't work on Ruby 2.1.
[ruby-gnome2-devel-en] [Reported by Carlo E. Prelz]
* Fixed free function (free -> xfree).
==== Ruby/GObjectIntrospection
* Improvements
* Supported instantiating union.
* Accepted 5 or more the number of signals.
It may be increased for later GIO version.
[GitHub#229] [Reported by cosmo0920]
* Added "?" to boolean field value reader.
* Supported mapping function info to method.
* Don't handle MethodInfo as FunctionInfo.
* Accepted not GType struct as an input argument.
* Accepted getting a field value from not GType but
GType descendant sruct.
* Added Loader.register_constant_rename_map.
* Supported in GType array.
* Don't require needless array length argument.
* Supported finding suitable method that has optional argument.
* Fixes
* Fixed wrong argument index for Ruby objects.
* Fixed a bug that ArgInfo isn't passed.
==== Ruby/CairoGObject
* Improvements
* Suppressed a warning that instance variable gboxed not initialized.
==== Ruby/GIO2
* Improvements
* Supported GLib 2.42.0. Annotation for GObject Introspection is added
to g_pollable_input_stream_read_nonblocking() since GLib 2.42.0.
See also: https://bugzilla.gnome.org/show_bug.cgi?id=730493
* Supported GLib <= 2.36.0.
* Fixes
* Fixed a bug that .pc isn't installed. [Reported by OBATA Akio]
==== Ruby/GDK3
* Improvements
* Migrated to Ruby/GObjectIntrospection based bindings.
* Gdk::Keyval::GDK_KEY_x style is deprecated. Use
Gdk::Keyval::KEY_x style instead.
* Accepted Gdk::RGBA for Cairo::Context#set_source_rgba.
==== Ruby/GTK3
* Improvements
* Added Gtk::StackSwitcher.
* Supported interrupt in Gtk.main.
* Supported interrupt in Gtk::Dialog#run.
[Reported by Carlo E. Prelz]
* Added initialization with Gdk::RGBA value.
[GitHub#231] [Patch by Detlef Reichl]
* Added Gtk::Window#set_titlebar (enable the use of Gtk::HeaderBar).
[GitHub#236] [Patch by tescorg]
* Updated sample scripts.
[Patch by kitachro]
* Fixes
* Fixed memory leak of Gtk::Image.
[GitHub#252] [Reported by Michel Boaventura]
==== Ruby/GTK2
* Improvements
* Fixed wrong property value on ppc64 and s390x.
[GitHub#256] [Reported by mtasaka]
==== Ruby/GStreamer
* Improvements
* Added gstreamer.rb for Bundler's autoload.
[GitHub#232] [Reported by saepia]
* Added Caps.any and Caps.empty.
* Supported property for Gst::ChildProxy.
[GitHub#233] [Reported by saepia]
* Fixes
* Fixed a bug that Gst.init is failed.
[GitHub#232] [Reported by saepia]
==== Ruby/Poppler
* Improvements
* Install Poppler with --with-glib option for Homebrew.
[GitHub#237] [Reported by Colin Dean]
* Removed needless `--with-glib` option. Now, it is the default.
[rabbit-shocker/rabbit#24] [Reported by Kazuhiro NISHIYAMA]
==== Ruby/ClutterGStreamer
* Improvements
* Added clutter-gstreamer.rb to support Bundler's autoload.
==== Ruby/GooCanvas
* Removed.
=== Thanks
* OBATA Akio
* Carlo E. Prelz
* cosmo0920
* Detlef Reichl
* saepia
* tescorg
* Colin Dean
* Kazuhiro NISHIYAMA
* kitachro
* Michel Boaventura
* mtasaka
== Ruby-GNOME2 2.2.0: 2014-03-09
It is a release that Ruby/GIO2 is migrated to
Ruby/GObjectIntrospection based bindings.
Some API changes in Ruby/GIO2 are expected but unexpected API changes
may exist. If you find API change, please report it. If the API change
provides non Rubyish API, it will be a bug.
=== Changes
==== Ruby/GLib2
* Improvements
* Stopped to use deprecated API internally in G_REPLACE_SET_PROPERTY.
* Added RG_REPLACE_SET_PROPERTY.
* Reduced locking on object creation.
* Exported rbg_inspect().
* Created code level error.
* Raised code level error instead of domain level error.
* Fixes
* Fixed a bug that wrong error code may be used.
==== Ruby/GTK2
* Improvements
* Suppressed warnings on startup.
* Fixes
* [windows] Suppressed IME related warnings.
[Reported by OBATA Akio]
* [GitHub#222] Fixed a bug that Gdk::EventAny related methods
aren't used by other Gdk::Event classes.
[Reported by mtasaka]
==== Ruby/GDK3
* Improvements
* Added Gdk::Display#device_manager.
* Added Gdk::Window#display.
* Suppressed warnings on startup.
* Added Gdk::Event::PROPAGATE.
* Added Gdk::Event::STOP.
* Fixes
* [windows] Suppressed IME related warnings.
* Fixed a bug that Gdk::DeviceManager is wrong object.
* [GitHub#222] Fixed a bug that Gdk::EventAny related methods
aren't used by other Gdk::Event classes.
[Reported by mtasaka]
==== Ruby/GTK3
* Improvements
* Added Gtk::MenuButton.
* [GitHub#219] Added Gtk::LevelBar. [Patch by cosmo0920]
* Added Gtk::IconView.
* [GitHub#206] Added Gtk::HeaderBar. [Reported by dark-yux]
* [GitHub#223] Added Gtk::Stack. [Patch by cosmo0920]
* Suppressed warnings on startup.
* Added Gtk::Revealer.
* Updated sample scripts.
* [GitHub#227] Added Gtk::SearchBar. [patch by cosmo0920]
==== Ruby/GIO2
* Improvements
* Migrated to Ruby/GObjectIntrospection based bindings.
* [SF.net#187] Supported Gio::ContentType.guess.
[Reported by neversleep1911]
* Added Gio::Resources.lookup_data.
* Added Gio::Resources.open_stream.
* Added Gio::Resources.enumerate_children.
* Added Gio::Resources.get_info.
* Added Gio::Resources.register.
* Added Gio::Resources.unregister.
* Changes
* Removed Gio::Socket#create_source. Use
Gio::InputStream#create_source or
Gio::OutputStream#create_source instead.
* Removed Gio::InetAddress.new_from_string. Use
Gio::InetAddress.new instead.
* Removed Gio::InetAddress.new_any. Use
Gio::InetAddress.any instead.
* Removed Gio::InetAddress.new_l. Use
Gio::InetAddress.any instead.
* Fixes
* [SF.net#186] Fixed a bug that Gio::ContentType module functions
raises "no implicit conversion" error.
[Reported by neversleep1911]
==== Ruby/Pango
* Improvements
* [ruby-gnome2-devel-en] Re-supported build on CentOS 5.
[Reported by Grant Schoep]
==== Ruby/Poppler
* Improvements
* Suppressed a warning on startup.
==== Ruby/GtkSourceView2
* Improvements
* [GitHub#226] Suppressed warnings.
[Patch by cosmo0920]
* Fixes
* [GitHub#215] Fixed a return value for
GtkSource#get_mark_category_background.
[Reported by mtasaka]
==== Ruby/GObjectIntrospection
* Improvements
* [GitHub#216] Suppressed warnings on armv7hl.
[Reported by mtasaka]
* Supported freeing interface.
* Supported freeing struct.
* Supported String as void * value for value.
* Supported freeing array of int8.
* Supported freeing array of uint8.
* Supported defining errors.
* Improved guessing target method for overloaded method.
* Supported array length.
* Supported inout array.
* Converted GBytes to String instead of wrapped GBytes.
* Supported all exception types rather than GLib::Error.
* Changes
* Changed returned value of inout array to an array from an array
and array length.
* Fixes
* [GitHub#216] Fixed test failures on i686 environment.
[Reported by mtasaka]
==== Ruby/ClutterGTK
* Improvements
* Added duplicated Clutter.init check.
=== Thanks
* OBATA Akio
* mtasaka
* cosmo0920
* Grant Schoep
* dark-yux
* neversleep1911
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882