|
From: Kouhei S. <ko...@co...> - 2014-03-09 09:47:51
|
須藤です。
Ruby-GNOME2プロジェクトはRuby-GNOME2 2.2.0をリリースしました!
今回のリリースではRuby/GIO2がRuby/GObjectIntrospectionベース
になりました。これで、すぐにGIOの新機能を使えるようになります。
一部、APIの互換性がなくなっています。
例えば、
Gio::InetAddress.new_from_string("127.0.0.1")
というAPIがなくなって、代わりに
Gio::InetAddress.new("127.0.0.1")
とする必要があります。APIの変更はよりRubyらしいAPIにするため
のもので、ほとんどが意図的ですが、自動生成されたAPIを全部チェッ
クしたわけではないので、もしかしたら意図せずAPIが変わってい
るものがあるかもしれません。
今回のリリースで変わってしまったRuby/GIO2のAPIのうち、Rubyっ
ぽくないやつは意図していないやつなので教えてもらえるとうれし
いです!
今後の展望はこんな感じです。
* Ruby/GDK3をRuby/GObjectIntrospectionベースに移行。
* Ruby/GTK3をRuby/GObjectIntrospectionベースに移行。
* Ruby/GtkSourceView3をRuby/GObjectIntrospectionベースに移行。
* Ruby/VTE3をRuby/GObjectIntrospectionベースに移行。
* Windows用のgemで64bit環境もサポート。
どんどんRuby/GIベースにしたいっていうことですね。
Windowsの64bit用gemは、Debian GNU/Linux sidで32bit用のWineと
64bit用のWineが共存できるようになって、環境が揃った感がある
ので、チャレンジしたいなぁという感じです。
今回のリリースでもたくさんの人の協力がありました。ここしばら
く、畑ケさんと横山さんもコミットしてくれるのでとても助かって
います。ありがとうございます!
== インストール方法
% gem install gtk2
% gem install gtk3
== Ruby-GNOME2 2.2.0: 2014-03-09
以下、英語のままですみません。。。
=== 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
|