2011-01-31 Kouhei Sutou * Rakefile: create default gtkrc to use "MS-Windows" GTK+ theme. Reported by ashbb. Thanks!!! 2011-01-30 Kouhei Sutou * Rakefile, ext/gtk2/extconf.rb: share depended packages vendor/local/. 2011-01-22 Masaaki Aoyagi * Rakefile: change to use gnome2-raketask.rb. 2010-10-26 Kouhei Sutou * Rakefile: "=" -> ">=" for depended atk version. 2010-10-17 Kouhei Sutou * ext/gtk2/rbgdkcairo.c: move GDK and cairo related code from Ruby/GdkPixbuf2. Patch by Andrea Dallera. Thanks!!! * ext/gtk2/rbgtkitemfactory.c (ifact_initialize): Use NUM2ULONG() instead of NUM2UINT() because GType is unsigned long. "[ruby-gnome2-devel-en] Problem with rbgtkitemfactory.c on 64bit platforms" Reported by Steve Wills. Thanks!!! 2010-10-12 Kouhei Sutou * ext/gtk2/rbgtkitemfactory.c (ifact_initialize): fix wrong GType conversion type. "[ruby-gnome2-devel-en] Problem with rbgtkitemfactory.c on 64bit platforms" Reported by Grant McLean and Steve Wills. Thanks!!! * ext/gtk2/extconf.rb: cleanup. * ext/gtk2/extconf.rb: keep backward compatibility around GDK key symbols introduced at GTK+ 2.20. "[ruby-gnome2-devel-en] Constants names change in Gdk::KeyVal" Patch by Vincent Carmona. Thanks!!! 2010-10-08 Guillaume Cottenceau * fix some uses of rb_str_new* and StringValuePtr to use encoding-aware Strings 2010-10-08 Guillaume Cottenceau * RVAL2CSTR2 is deprecated, replace with RVAL2CSTR_ACCEPT_NIL * CSTR2RVAL2 is deprecated, replace with CSTR2RVAL_FREE 2010-10-07 Guillaume Cottenceau * ext/gtk2/rbgtkfilechooser.c: move functions to handle filename String to/from rg2 manipulations to glib2, to use them in any rg2 submodules 2010-10-04 Guillaume Cottenceau * ext/gtk2/rbgtkfilechooser.c: correctly handle filenames to/from rg2 with ruby 1.9 String supporting encodings (in particular, they are not necessarily specified in UTF-8) 2010-09-29 Kouhei Sutou * Rakefile: fix dependencies. 2010-09-25 Kouhei Sutou * ext/gtk2/extconf.rb: ensure adding built source to targets. 2010-09-24 Kouhei Sutou * Rakefile: add missing gtk2/base.rb. Reported by S.Kitagawa. Thanks!!! 2010-09-23 Kouhei Sutou * Rakefile: don't add .zip into gem. * lib/gtk2/base.rb: support bundled Windows DLL. * test/test_gtk_builder.rb (TestGtkBuilder#test_objects): use builder_name instead of name. * test/run-test.rb: fix require order. * test/run-test.rb: fix extension library path. * Rakefile (#guess_version): add missing atk dependency. * ./: make buildable with rake-compiler. 2010-09-22 Kouhei Sutou * src/lib/: -> lib/. 2010-05-09 Kouhei Sutou * extconf.rb: add missing have_library("X11"). * extconf.rb: remove needless add_depended_package. 2010-05-04 Kouhei Sutou * src/rbgtkbuildable.c: use #builder_name/#set_builder_name instead of #name/#set_name because they are hidden by Gtk::Widget. 2010-04-17 Kouhei Sutou * src/rbgdkpixbuf.c (pixbuf_render_to_drawable): remove an unused variable. * src/rbgtkrecentinfo.c (ri_get_application_info): fix double free bug. 2010-04-09 Kouhei Sutou * src/rbgtktreepath.c, test/test_gtk_tree_path.rb: add Gtk::TreePath#==. Suggested by Takeuchi Yusuke. Thanks!!! * src/rbgtktreepath.c, test/test_gtk_tree_path.rb: fix wrong Ruby <-> C conversion of Gtk::TreePath#<=>. Reported by Takeuchi Yusuke. Thanks!!! 2010-02-28 Kouhei Sutou * src/rbgdkpixbuf.c: fix wrong number of arguments. 2010-02-12 Kouhei Sutou * src/rbgtkclipboard.c (clipboard_text_received_func): set UTF-8 encoding to text passed from clipbord. Suggested by Rg Rg. Thanks!!! 2010-02-02 Hiroyuki Ito * src/rbgtkstock.c (Init_gtk_stock): add items available with GTK+ 2.14 and 2.16. 2010-01-16 Hiroyuki Ito * src/rbgdkwindow.c (gdkwin_invalidate): accept nil as 'area' argument. 2009-12-15 Kouhei Sutou * src/rbgtkmenuitem.c: accept nil as label. Reported by Kazuhiro NISHIYAMA. Thanks!!! * test/test_gtk_menu_item.rb: add. 2009-10-04 Kouhei Sutou * src/rbgdkwindow.c: enable GdkWindow's cursor property again because GTK+ 2.18.1 fixed it. We marks GTK+ 2.18.0 as unsupported GTK+ version. Reported by Guillaume Cottenceau. Thanks!!! 2009-09-27 Kouhei Sutou * src/rbgdkwindow.c: ignore GdkWindow's cursor property because it is registered as gpointer. We can't handle Gdk::Cursor without type information. We should define Gdk::Window#cursor instead of auto-property reader for it. [#2865895] Reported by Guillaume Cottenceau. Thanks!!! Reported by Mamoru Tasaka. Thanks!!! 2009-09-22 Kouhei Sutou * src/rbgtkwidget.c: fix a typo: Gtk::Widget#set_scroll_adjustments -> Gtk::Widget#set_scroll_adjustment. [#2679744] Reported by Kentaro Fukuchi. Thanks!!! 2009-07-01 Kouhei Sutou * src/depend: add missing headers. Patch by Mamoru Tasaka. Thanks!!! 2009-05-31 Kouhei Sutou * src/depend: use RUBYARCHDIR. Patch by OBATA Akio. Thanks!!! * src/lib/gtk2/base.rb: remove cairo loading because Ruby/Pango has tried it. 2009-05-27 Detlef Reichl * src/rbgtkmain.c (gtk_m_init): use $0 instead of rb_argv0. 2009-05-27 Pascal Terjan * test/test_gdk_display.rb (test_broadcast_startup_message): As explained by Kouhei, Gdk::Display#broadcast_startup_message is not yet implemented (see GNOME bug #528020), so omit the test for now. 2009-02-23 Kouhei Sutou * src/rbgtkmain.c (gtk_m_init): use rb_argv0 instead of rb_progname. 2008-12-12 Kouhei Sutou * extconf.rb: fix dependency check order to support build on other directory. [#2420281] Reported by troels knak-nielsen. Thanks!!! 2008-12-06 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_set_colormap, gdkdraw_get_colormap): guard colormap from GC. 2008-11-21 Kouhei Sutou * src/rbgtkselectiondata.c (rbgtk_atom2selectiondata): accept length for string type selection. Bug #2318481: gtkselectiondata_set Drag and Drop API problem Reported by dave foster. Thanks!!! 2008-11-19 Kouhei Sutou * test/test_gdk_display.rb (TestGdkDisplay#test_broadcast_startup_message): Gdk::Display#broadcast_startup_message can't be implemented in GTK+ 2.14 API. :< * test/test_gc.rb (TestGC#test_inheritance_and_gc): moved from Ruby/GLib. 2008-11-09 Kouhei Sutou * src/rbgtkfilechooser.c (Init_gtk_file_chooser): fix ifdef guard target. 2008-11-07 Kouhei Sutou * src/rbgtkuimanager.c (rbuimanager_mark): mark unmarked object. 2008-11-03 Kouhei Sutou * src/: split GDK related headers. 2008-11-01 Kouhei Sutou * src/global.h: fix #ifdef condition. * src/rbgtk.h: remove a needless header. * src/: use RARRAY_PTR() and RARRAY_LEN(). * test/test_gtk_widget.rb (TestGtkWidget#test_modify_color_component_with_nil_color): add. * src/rbgtk.h (RVAL2GDKCOLOR, GDKCOLOR2RVAL): move to ... * src/rbgtkconversions.h: ... here. * src/rbgtkwidget.c: use RVAL2GTKSTATETYPE(). * src/rbgtkconversions.h: add conversions: - RVAL2GTKSTATETYPE - GTKRCFLAGS2RVAL - RVAL2GTKRCFLAGS * src/rbgtkrcstyle.c, test/test_gtk_rc_style.rb: fix type conversion. Bug #2195432: Gtk::RCStyle.set_color_flags wrong conversion Reported by Jesse van den Kieboom. Thanks!!! 2008-10-25 Kouhei Sutou * test/test_gtk_unix_print.rb (TestGtkUnixPrint#test_classes): assert_const_not_defined -> assert_not_const_defined. 2008-10-23 Kouhei Sutou * test/test_gtk_unix_print.rb, test/test_gdk_gc.rb: use assert_const_defined and assert_const_not_defined. 2008-10-22 Guillaume Cottenceau * test/test_gdk_gc.rb: add a basic Gdk::GC autotest 2008-10-18 Kouhei Sutou * src/rbgtkaction.c, src/rbgtkactiongroup.c, src/rbgtkcontainer.c, src/rbgtkuimanager.c: fix GC problems. Reported by Andrew S. Townley. Thanks!!! 2008-10-04 Kouhei Sutou * src/rbgtkfilechooser.c: check GTK_FILE_SYSTEM_ERROR availability. Reported by Philipp Götzinger. Thanks!!! 2008-10-03 Kouhei Sutou * src/makeinits.rb: fix a bug that init function is deleted. Reported by kimura wataru. Thanks!!! 2008-10-01 Kouhei Sutou * src/makeinits.rb: call Init_gtk_gdk_draw() before Init_gtk_gdk_gc(). [#2113491] Reported by Ricky Zheng. Thanks!!! 2008-09-30 Kouhei Sutou * gtk/src/rbgtkconversions.h: add. * gtk/src/depend: install rbgtkconversions.h. * gtk/src/: use conversion macros defined in rbgtkconversions.h. Patch by Guillaume Cottenceau. Thanks!!! 2008-09-13 Kouhei Sutou * extconf.rb: use check_cairo. 2008-09-07 Kouhei Sutou * test/test_gtk_icon_theme.rb: use "MimeTypes" not "Apps". 2008-08-24 Kouhei Sutou * sample/misc/aboutdialog.rb, sample/misc/aboutdialog2.rb: use Gtk::AboutDialog#prgoram_name= not Gtk::AboutDialog#name= because Gtk::AboutDialog is deprecated. Pointed out by Mathieu Blondel. Thanks!!! 2008-08-10 Kouhei Sutou * src/rbgdkwindowattr.c (attr_initialize), src/rbgtkwidget.c (widget_set_window): add missing type declarations. [#2043970] Reported by Neil Roberts. Thanks!!! * test/test_gdk_window_attribute.rb, test/test_gtk_widget.rb: add. 2008-08-09 Kouhei Sutou * sample/gtk-demo/printing.rb: add. 2008-07-24 Kouhei Sutou * extconf.rb, src/rbgtkfilechooser.c: check GTK_FILE_SYSTEM_ERROR availability. [#2025651] Reported by Cesare Tirabassi. Thanks!!! 2008-07-09 Kouhei Sutou * test/test_gtk_image.rb (TestGtkImage#test_stock): add. 2008-06-20 Kouhei Sutou * test/test_gc.rb (TestGC#test_closure): add. 2008-06-14 Kouhei Sutou * test/run-test.rb: use glib/test/glib-test-init.rb. 2008-06-11 Kouhei Sutou * extconf.rb: include gtk/gtk.h or X11/Xlib.h in have_func test. 2008-05-23 Kouhei Sutou * test/run-test.rb: use which not --version to detect make. 2008-05-20 Kouhei Sutou * src/rbgtkmain.c: don't use rb_argv variable name for ruby 1.9.x. Patch by Joao Pedrosa. Thanks!!! 2008-05-15 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_cairo_create): add status check. * extconf.rb: check st.h and ruby/st.h. * src/global.h: include st.h. * src/rbgtkliststore.c, src/rbgdkdisplay.c: remove #include st.h. 2008-05-14 Kouhei Sutou * src/rbgtkliststore.c, test/test_gtk_list_store.rb: Gtk::ListStore#set_values accept Hash as input. * test/test_gtk_list_store.rb: clean-up. * test/test_gtk_list_store.rb: fix style. 2008-05-13 Kouhei Sutou * test/test_gdk_selection_data.rb (TestSelectionData#test_type_integer): ignore actual length. (Gdk::Property should return it?) * test/test_gtk_list_store.rb: rename from test/test_gtk_liststore.rb. 2008-05-13 Hirofumi Nakagawa * src/rbgtkliststore.c: Fixed Gtk::ListStore#set_values() add a test for Gtk::ListStore#set_values() 2008-05-12 Hirofumi Nakagawa * src/rbgtkliststore.c: added Gtk::ListStore#set_valuesv() 2008-05-08 Kouhei Sutou * test/run-test.rb: add load path to Ruby/GdkPixbuf2. 2008-04-26 Kouhei Sutou * test/test_gtk_icon_theme.rb (TestGtkThemeChooseIcon#test_icons): add a test for Gtk::IconTheme#icons. * src/rbgtkicontheme.c (it_list_icons): use GLIST2ARY_STR_FREE(). * src/rbgtkicontheme.c: implement Gtk::IconTheme.choose_icon and Gtk::IconTheme.contents defined in GTK+ 2.12. * test/test_gtk_icon_theme.rb: add. 2008-04-25 Kouhei Sutou * src/rbgtkentry.c: implement Gtk::Entry#cursor_hadjustment and Gtk::Entry#cursor_hadjustment= defined in GTK+ 2.12. * test/test_gtk_entry.rb: add. * test/gtk-test-utils.rb (GtkTestUtils#only_gtk_version): make micro version optional. 2008-04-24 Kouhei Sutou * sample/misc/assistant.rb: cleanup. 2008-04-20 Kouhei Sutou * test/gtk-test-utils.rb: remove assert_boolean because TestUnitExt provides it. 2008-04-15 Kouhei Sutou * src/rbgtkbuilder.c: GSLIST2ARY_WITH_FREE -> GSLIST2ARY_FREE. * test/test_gtk_builder.rb: use only_gtk_version. * test/test_gtk_about_dialog.rb: add. 2008-04-14 Kouhei Sutou * src/rbgdkdisplay.c: implement gdk_x11_display_get_startup_notification_id() defined in 2.12. * test/test_gdk_display.rb (TestGdkDisplay#test_startup_notification_id): add. * src/rbgdkwindow.c: implement gdk_window_set_startup_id() defined in 2.12. * test/test_gdk_window.rb (TestGdkWindow#test_set_startup_id): add. * src/rbgdkwindow.c: implement gdk_window_set_opacity() defined in 2.12. * test/test_gdk_window.rb (TestGdkWindow#test_set_opacity): add. * src/rbgdkpango.c (Init_gtk_gdk_pango): destroy temporary object. * src/: use RVAL2GDKCOLOR/GDKCOLOR2RVAL. * src/rbgtk.h: add RVAL2GDKCOLOR/GDKCOLOR2RVAL. * src/rbgdkpango.c: implement gdk_pango_attr_emboss_color_new() defined in 2.12. * test/test_gdk_pango.rb: add. * src/rbgdk.c: implement gdk_notify_startup_complete_with_id() defined in 2.12. * test/test_gdk.rb: add. * src/rbgdkkeymap.c: implement gdk_keymap_have_bidi_layouts() defined in 2.12. * test/test_gdk_keymap.rb: add. * src/rbgdkevent.c: implement gdk_event_request_motions() defined in 2.12. * test/test_gdk_event.rb: add. 2008-04-13 Kouhei Sutou * extconf.rb: fix rcairo's source path. * src/rbgtkbuildable.c: add. * test/test_gtk_buildable.rb: add. * test/run-test.rb: use GtkTestUtils. * test/gtk-test-utils.rb: add. 2008-04-11 Kouhei Sutou * sample/gtk-demo/builder.rb, sample/gtk-demo/demo.ui: add an example for Gtk::Builder. 2008-04-10 Kouhei Sutou * src/rbgtkbuilder.c, src/lib/gtk2/base.rb, test/test_gtk_builder.rb: support Gtk::Builder. 2008-04-09 Guillaume Cottenceau * src/rbgdkwindow.c: add new 2.12 symbols. 2008-04-09 Kouhei Sutou * test/test_gdk_window.rb: add. * test/test_gdk_display.rb: add tests for Gdk::Display#supports_shapes? and Gdk::Display#supports_input_shapes?. * sample/misc/composited-windows.rb: - use Gdk.cairo_available?. - use do ... end instead of {...}. - use 2 spaces for indentation. * test/test_gdk_color.rb: add. * test/test_gdk_display.rb: add. 2008-04-09 Guillaume Cottenceau * sample/misc/composited-windows.rb: add. * src/rbgdkdisplay.c: use standard naming. * src/rbgdkcolor.c: bind new 2.12 symbol: gdk_color_to_string. * src/rbgdkdisplay.c: bind new 2.12 symbol: gdk_display_supports_composite. 2008-04-08 Kouhei Sutou * src/rbgdkdisplay.c, src/rbgdkcolor.c: - use ANSI style function definition. - add spaces to between GTK_CHECK_VERSION arguments. 2008-04-07 Hirofumi Nakagawa * src/rbgtkentrycompletion.c: added Gtk::EntryCompletion#completion_prefix. 2008-04-03 Kouhei Sutou * extconf.rb: define HAVE_GTK_UNIX_PRINT only when gtk+-unix-print-2.0 package is available. * src/rbgtkpagesetupunixdialog.c, src/rbgtkprinter.c, src/rbgtkprintjob.c, src/rbgtkprintunixdialog.c: use HAVE_GTK_UNIX_PRINT to determine availability. * test/test_gtk_unix_print.rb: add. 2008-04-01 Kouhei Sutou * src/rbgtkiconview.c (iview_get_path_at_pos): added missing argument types. Bug #1930481. Reported by nobody. Thanks!!! 2008-04-01 Hirofumi Nakagawa * src/rbgtkwidget.c: removed needless functions gtk_widget_{get,set}_tooltip_{markup,text}. The tooltip is property so there is no need to implement binding method. * src/rbgtkaction.c: added Gtk::Action#create_menu. 2008-03-31 Kouhei Sutou * src/rbgtkwidget.c: cleanup newly written codes. * src/rbgtkwidget.c: fixed naming conversion. 2008-03-31 Guillaume Cottenceau * src/rbgtktextmark.c, src/rbgdkdisplay.c, src/rbgtkrecentaction.c, src/rbgtkscalebutton.c, src/rbgtkstock.c, src/rbgtktextbuffer.c, src/rbgtktextmark.c, src/rbgtktooltip.c, src/rbgtktreeview.c, src/rbgtktreeviewcolumn.c, src/rbgtkvolumebutton.c, src/rbgtkwidget.c: check for 2.12 version, not 2.11 2008-03-20 Kouhei Sutou * src/rbgtkwindow.c: removed needless alias icon=. 2008-03-11 Kouhei Sutou * test/: added. * src/rbgtkselectiondata.c: fixed a wrong type conversion bug. Reported by Masayuki Yamaguchi. Thanks!!! 2008-03-04 Kouhei Sutou * src/rbgtkmain.c: don't use rb_argv. 2008-01-13 Kouhei Sutou * src/rbgdkwindow.c: added Gdk::Window#set_user_time. Suggested by Aliaksey Kandratsenka. Thanks!!! 2008-01-03 Kouhei Sutou * src/depend: don't use ftools. Reported by Carlo E. Prelz. Thanks!!! 2007-12-28 Kouhei Sutou * src/rbgtkaboutdialog.c: used GINT_TO_POINTER() to cast boolean value to gpointer. * src/: - used rb_errinfo(). - used RSTRING_LEN() and RSTRING_PTR(). - added const. * extconf.rb: checked rb_errinfo() availability. * src/rbgtkrecentfilter.c: used rb_errinfo(). * src/rbgtk.c: removed needless #include "st.h". 2007-11-27 Kouhei Sutou * src/rbgtkmessagedialog.c (mdiag_initialize): fixed message format bug. Reported by Chris Rohlf. Thanks! 2007-11-18 Masao Mutoh * src/rbgtk.c: Removed USE_POLL macro to work Win32 again. 2007-11-17 Kouhei Sutou * sample/gtk-demo/images.rb: followed more original style. * src/rbgtkmain.c: followed the Ruby/GLib polling method changes. - removed needless empty timeout. - removed the current thread holding. 2007-11-04 Kouhei Sutou * src/rbgtkmain.c (gtk_m_init): defined Gtk::InitError and used this for error on Gtk.init. 2007-09-08 Kouhei Sutou * src/rbgtkwindow.c (gwin_get_frame_dimensions): removed needless condition checks. (gwin_get_size): ditto. 2007-08-31 Kazuhiro NISHIYAMA * extconf.rb: removed a duplicated line. 2007-08-17 Kouhei Sutou * src/rbgtkaboutdialog.c (aboutdialog_s_show_about_dialog): suppressed a warning. 2007-08-13 Kouhei Sutou * src/rbgdkcairo.c (Gdk.cairo_available?): moved from ... * src/lib/gtk2/base.rb: ... here. 2007-08-06 Mathieu Blondel * sample/misc/print.rb: A sample for Gtk::Print*. 2007-07-15 Masahiro Sakai * src/rbgdkatom.c: remove Gdk::Atom.intern_static_string. It's useless for ruby programs since there are no `static string'. 2007-07-14 Detlef Reichl * extconf.rb: Accept the srcdir includes spaces. 2007-07-13 Guillaume Cottenceau * src/rbgtktextmark.c: use new 2.12 symbol: gtk_text_mark_new 2007-07-13 Guillaume Cottenceau * src/rbgdk.c, src/rbgdkatom.c, src/rbgdkcolormap.c, src/rbgdkdragcontext.c, src/rbgdkdraw.c, src/rbgdkevent.c, src/rbgdkgc.c, src/rbgdkpango.c, src/rbgdkproperty.c, src/rbgdkregion.c, src/rbgdkrgb.c, src/rbgdkselection.c, src/rbgdkwindow.c, src/rbgdkwindowattr.c, src/rbgtkaccelgroup.c, src/rbgtkaccelmap.c, src/rbgtkaction.c, src/rbgtkactiongroup.c, src/rbgtkaspectframe.c, src/rbgtkbbox.c, src/rbgtkbox.c, src/rbgtkbutton.c, src/rbgtkcelllayout.c, src/rbgtkcellrenderer.c, src/rbgtkcellview.c, src/rbgtkcheckbutton.c, src/rbgtkcheckmenuitem.c, src/rbgtkcombo.c, src/rbgtkcombobox.c, src/rbgtkcontainer.c, src/rbgtkdialog.c, src/rbgtkdrag.c, src/rbgtkeditable.c, src/rbgtkentrycompletion.c, src/rbgtkexpander.c, src/rbgtkfilechooser.c, src/rbgtkfixed.c, src/rbgtkhbox.c, src/rbgtkiconinfo.c, src/rbgtkiconsource.c, src/rbgtkiconview.c, src/rbgtkimagemenuitem.c, src/rbgtkimcontext.c, src/rbgtklabel.c, src/rbgtkmain.c, src/rbgtkmenu.c, src/rbgtkmenuitem.c, src/rbgtkmenushell.c, src/rbgtknotebook.c, src/rbgtkpaned.c, src/rbgtkpapersize.c, src/rbgtkprintsettings.c, src/rbgtkradiobutton.c, src/rbgtkradiomenuitem.c, src/rbgtkrc.c, src/rbgtkselectiondata.c, src/rbgtksettings.c, src/rbgtkstatusbar.c, src/rbgtkstyle.c, src/rbgtktable.c, src/rbgtktargetlist.c, src/rbgtktextappearance.c, src/rbgtktextattributes.c, src/rbgtktextbuffer.c, src/rbgtktextiter.c, src/rbgtktextmark.c, src/rbgtktexttagtable.c, src/rbgtktextview.c, src/rbgtktoggleaction.c, src/rbgtktogglebutton.c, src/rbgtktoggletoolbutton.c, src/rbgtktoolbar.c, src/rbgtktoolitem.c, src/rbgtktreemodelfilter.c, src/rbgtktreeselection.c, src/rbgtktreesortable.c, src/rbgtktreeview.c, src/rbgtktreeviewcolumn.c, src/rbgtkuimanager.c, src/rbgtkvbox.c, src/rbgtkwidget.c, src/rbgtkwindow.c: replace RTEST uses by RVAL2CBOOL 2007-07-13 Guillaume Cottenceau * src/rbgtktextmark.c: we usually use a _SELF macro for that case 2007-07-13 Guillaume Cottenceau * src/rbgdk.c, src/rbgdkatom.c, src/rbgdkcolor.c, src/rbgdkcursor.c, src/rbgdkdisplay.c, src/rbgdkdragcontext.c, src/rbgdkevent.c, src/rbgdkkeyval.c, src/rbgdkregion.c, src/rbgdkselection.c, src/rbgdkwindow.c, src/rbgtkaccelerator.c, src/rbgtkaccelgroup.c, src/rbgtkaccelmap.c, src/rbgtkbindingset.c, src/rbgtkcellrenderer.c, src/rbgtkclipboard.c, src/rbgtkcolorsel.c, src/rbgtkeditable.c, src/rbgtkfixed.c, src/rbgtkfontselectiondialog.c, src/rbgtkhandlebox.c, src/rbgtkiconsource.c, src/rbgtkimcontext.c, src/rbgtkliststore.c, src/rbgtkmain.c, src/rbgtkmenu.c, src/rbgtkmenuitem.c, src/rbgtknotebook.c, src/rbgtkobject.c, src/rbgtkpaned.c, src/rbgtkrc.c, src/rbgtkselection.c, src/rbgtkstatusbar.c, src/rbgtkstyle.c, src/rbgtktextbuffer.c, src/rbgtktextchild.c, src/rbgtktextiter.c, src/rbgtktextmark.c, src/rbgtktexttag.c, src/rbgtktextview.c, src/rbgtktogglebutton.c, src/rbgtktoolbar.c, src/rbgtktreeiter.c, src/rbgtktreepath.c, src/rbgtktreeselection.c, src/rbgtktreeview.c, src/rbgtktreeviewcolumn.c, src/rbgtkwindow.c: "? Qtrue : QFalse" => CBOOL2RVAL cleanup 2007-07-12 Guillaume Cottenceau * sample/misc/uimanager.rb, src/rbgtkrecentaction.c: use new symbols in 2.12: gtk_recent_action_new and friends 2007-07-12 Guillaume Cottenceau * src/rbgtkscalebutton.c: noticed I'd better use glib memory allocation mechanism 2007-07-12 Guillaume Cottenceau * sample/misc/scalebutton.rb: add very simple Gtk::ScaleButton example 2007-07-12 Guillaume Cottenceau * src/rbgtktextbuffer.c: new symbol in gtk 2.12: add gtk_text_buffer_add_mark 2007-07-10 Guillaume Cottenceau * src/rbgtkradiobutton.c, src/rbgtktoolbar.c: kou says we should use NIL_P(foo) not foo == Qnil 2007-07-10 Guillaume Cottenceau * sample/misc/tooltips.rb: demonstrate the new tooltip API of Gtk+ 2.12 2007-07-10 Kouhei Sutou * src/rbgtktooltip.c: used C style comments not C++ style. 2007-07-10 Guillaume Cottenceau * src/rbgtktreestore.c: it's using variable arguments list, make it callable that way :) 2007-07-09 Guillaume Cottenceau * src/rbgtktooltip.c: stock ids manipulated as ruby symbols 2007-07-09 Guillaume Cottenceau * src/rbgtktooltip.c: new in gtk 2.11 2007-07-09 Guillaume Cottenceau * sample/gtk-demo/main.rb: stop with a useful error message when subscripts not found 2007-07-09 Kouhei Sutou * src/rbgtkactiongroup.c (actiongroup_remove_action, actiongroup_add_action): added a G_CHILD_ADD() and G_CHILD_REMOVE() pair. Reported by akira yamada. Thanks!!! 2007-07-09 Guillaume Cottenceau * src/rbgtkwidget.c: GOBJ2RVAL (actually rbgobj_ruby_object_from_instance2) already properly returns Qnil if argument is NULL 2007-07-09 Guillaume Cottenceau * src/rbgtkwidget.c: use CBOOL2RVAL 2007-07-08 Masahiro Sakai * src/*: use rb_block_proc() directly instead of using G_BLOCK_PROC(). 2007-07-06 Masahiro Sakai * src/rbgtk.h: fix prototype of rbgtk_register_treeiter_set_value_func() to match with its implementation. Repored by Guillaume Cottenceau. [ruby-gnome2-devel-en] HEAD doesn't build 2007-07-05 Guillaume Cottenceau * src/rbgdkdisplay.c: use new 2.12 symbol: gtk_tooltip_trigger_tooltip_query 2007-07-04 Masahiro Sakai * src/rbgtk.c: use rbglib_poll() if possible, regardless of ruby version. (ruby 1.5.4 is no longer considered.) 2007-07-04 Guillaume Cottenceau * src/rbgtktreeview.c: use new 2.12 symbols: gtk_tree_view_convert_bin_window_to_tree_coords, gtk_tree_view_convert_bin_window_to_widget_coords, gtk_tree_view_convert_tree_to_bin_window_coords, gtk_tree_view_convert_tree_to_widget_coords, gtk_tree_view_convert_widget_to_bin_window_coords, gtk_tree_view_convert_widget_to_tree_coords 2007-07-04 Guillaume Cottenceau * src/rbgtktreeviewcolumn.c: use new 2.12 symbol: gtk_tree_view_column_get_tree_view 2007-07-04 Guillaume Cottenceau * src/rbgtkwidget.c: remove unneeded new symbols (these are properties) 2007-07-03 Guillaume Cottenceau * src/rbgtkstock.c: fix more order 2007-07-03 Guillaume Cottenceau * src/rbgtkstock.c: use new 2.12 symbol: GTK_STOCK_DISCARD 2007-07-03 Guillaume Cottenceau * src/rbgtkstock.c: fix order, add missing DIRECTORY 2007-07-03 Guillaume Cottenceau * src/rbgtkscalebutton.c: use new 2.12 symbols: gtk_scale_button_new, gtk_scale_button_get_adjustment, gtk_scale_button_get_value, gtk_scale_button_set_adjustment, gtk_scale_button_set_value 2007-07-03 Guillaume Cottenceau * src/rbgtkvolumebutton.c: hide for older gtk 2007-07-03 Guillaume Cottenceau * src/rbgtkvolumebutton.c: add new 2.12 symbol: gtk_volume_button_new 2007-07-03 Guillaume Cottenceau * src/rbgtkwidget.c: use new 2.12 symbols: gtk_widget_error_bell, gtk_widget_get_tooltip_markup, gtk_widget_get_tooltip_text, gtk_widget_get_tooltip_window, gtk_widget_keynav_failed, gtk_widget_modify_cursor, gtk_widget_set_tooltip_markup, gtk_widget_set_tooltip_text, gtk_widget_set_tooltip_window, gtk_widget_trigger_tooltip_query 2007-06-02 Kouhei Sutou * src/rbgdk.c (Gdk.windowing_quartz?, Gdk.windowing_directfb?): added. 2007-05-27 Kouhei Sutou * src/rbgdkcairo.c (Init_gtk_gdk_cairo): use set_source_gdk_color not set_source_color. rcairo 1.5.0 uses the name. * src/lib/gtk2/base.rb: kept backward compatibility. 2007-05-16 Masao Mutoh * src/rbgtkaboutdialog.c (aboutdialog_s_show_about_dialog): Fix a bug to access wrap_license by Kazuhiro NISHIYAMA. 2007-04-22 Masao Mutoh * src/rbgtkwindow.c: Fixed Gtk::Window#icon= accept an path for icon. Reported by Detlef Reichl. 2007-03-22 Kouhei Sutou * src/rbgtkfilesel.c (fsel_get_selections), src/rbgtkrc.c (rc_get_default_files): suppressed warnings. 2007-02-28 Masao Mutoh * src/rbgtkdrag.c: Fixed wrong API names (Gtk::Drag.(set|get)_track_motion to Gtk::Drag.dest_(set|get)_track_motion) 2007-02-09 Kouhei Sutou * src/rbgtkdrag.c: fixed Ruby to C conversion bugs. Thanks to Nobody/Anonymous! Bug #1625880. 2007-02-03 Masao Mutoh * src/rbgtkcellrendereraccel.c: Fixed wrong constant definition. 2007-02-01 Masao Mutoh * src/rbgtkbbox.c: Add Gtk::ButtonBox#get_child_secondary. * src/rbgtkbindingset.c: Add Gtk::BindingSet#entry_remove, #entry_skip. 2007-01-30 Masao Mutoh * src/rbgtkassistant.c: Add Gtk::Assistant#set_current_page. 2007-01-06 Juergen Mangler * sample/misc/alpha-demo.rb: added. Original: - http://plan99.net/~mike/blog/2006/06/05/alpha-blended-windows-in-python/ - http://david.navi.cx/blog/?p=91 2007-01-02 Dirk von Schmieden * src/rbgdkdragcontext.c: Fix type conversions. Bug #1625880. 2006-12-30 Masao Mutoh * src/rbgtk.c: Fixed an warning to initialize Gtk::Window. reported by Tilman Sauerbeck. 2006-12-27 Masao Mutoh * src/rbgtkfilechooserdialog.c, src/rbgdkevent.c: Fix compiling warning. 2006-12-26 Masao Mutoh * extconf.rb: Work MinGW again. * src/rbgtkpagesetupunixdialog.c, rbgtkprinter.c, rbgtkprintjob.c rbgtkprintunixdialog.c: Fixed a compiling error on MinGW. 2006-12-26 Kouhei Sutou * src/rbgtktextiter.c (get_pixbuf): fixed a typo. Bug #1620759. 2006-12-22 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_set_colormap): fixed a typo. Bug #1620156. 2006-12-17 Kouhei Sutou * src/rbgdkcairo.c (gdkdraw_cairo_set_source_pixbuf): - made x and y are optional. - moved to Ruby/GdkPixbuf2. 2006-12-05 Kouhei Sutou * src/rbgtktreeview.c (Init_gtk_treeview): added GTK_CHECK_VERSION(2,10,0) for GtkTreeViewGridLines. 2006-11-28 Masao Mutoh * src/rbgtkrecentchoosermenu.c: Added Gtk::RecentChooserMenu for GTK+-2.10. 2006-11-26 Masao Mutoh * src/rbgdkwindow.c: Added Gdk::Window#input_shape_combine_(mask|region), #set_child_input_shapes, #merge_child_input_shapes, #type_hint for GTK+-2.10. 2006-11-25 Masao Mutoh * src/rbgdkscreen.c: Added Gdk::Screen#font_options, #set_font_options, #active_window, #window_stack, composited? * src/rbgdkdisplay.c: Added Gdk::Display#supports_(shapes|input_shapes) for GTK+-2.10. * src/rbgdkcairo.c: Added Gdk::Cairo#set_source_pixmap for GTK+-2.10. * src/rbgdkatom.c: Added Gdk::Atom.intern_static_string for GTK+-2.10. 2006-11-25 Kouhei Sutou * src/rbgtkpagesetupunixdialog.c: use GTK_CHECK_VERSION(2,10,0) instead of HAVE_GTK_GTKPAGESETUPUNIXDIALOG_H. Reported by Dobai-Pataky_Balint. (I'm sorry for using 'a') Thanks! 2006-11-24 Masao Mutoh * src/rbgtktreeview.c: Added Gtk::TreeView#search_entry, #set_search_entry, #set_search_position_func for GTK+-2.10. 2006-11-23 Masao Mutoh * src/rbgtktreeview.c: Added Gtk::TreeView::GridLines for GTK+-2.10. * src/rbgtktreestore.c: Improved message. * src/rbgtktextbuffer.c: Added Gtk::TextBuffer serialize/deserialize functions for GTK+-2.10. * sample/misc/test-assistant.rb: Rename to assistant.rb. * sample/misc/textbuffer_serialize.rb: Added a sample for Gtk::TextBuffer serialization.. 2006-11-18 Masao Mutoh * src/rbgtktargetlist.c: Added Gtk::TargetList#add_rich_text_targets for GTK+-2.10. * src/rbgtkselection.c: Gtk::Selection.include_(image|text|uri|rich_text)? for GTK+-2.10. * src/rbgtkstyle.c: Added Gtk::Style#lookup_color for GTK*-2.10. * src/rbgtkstatusicon.c: Added Gtk::StatusIcon for GTK+-2.10. * sample/misc/statusicon.rb: Add a sample for Gtk::StatusIcon. 2006-11-17 Masao Mutoh * src/rbgtk.c: Avoid Gtk::MenuShell from GC. 2006-11-16 Masao Mutoh * src/rbgtkprintoperation.c: Fixed a segfault of Gtk::PrintOperation.run_page_setup_dialog. Reported by Dobai-Pataky Balint. 2006-11-13 Masao Mutoh * src/rbgtkpagesetup.c: Fixed a segfault. Reported by Dobai-Pataky Balint. Code cleanup. 2006-11-13 Kouhei Sutou * src/rbgtkscrolledwindow.c: added GTK+-2.10 check. * src/rbgtkrange.c: ditto. 2006-11-12 Masao Mutoh * src/rbgtksizegroup.c: Added Gtk::SizeGroup#widgets for GTK+-2.10. * src/rbgtkselectiondata.c: Added Gtk::SelectionData#targets_include_(uri|rich_text) for GTK+-2.10. * src/rbgtkscrolledwindow.c: Added Gtk::ScrolledWindow#(set|unset)_placement, #placement for GTK+-2.10. Code cleanup. * sample/misc/recentchooserdialog.rb: Added for GTK+-2.10. * src/rbgtkrecentinfo.c: Added Gtk::RecentInfo for GTK+-2.10. * src/rbgtkrecentmanager.c: Added Gtk::RecentManager for GTK+-2.10. 2006-11-11 Masao Mutoh * src/rbgtkrecentdata.c: Added Gtk::RecentData for GTK+-2.10. * src/rbgtkrecentfilter.c: Added Gtk::RecentFilter for GTK+-2.10. * src/rbgtkrecentfilterinfo.c: Added Gtk::RecentFilterInfo for GTK+-2.10. * src/rbgtkrecentchooserwidget.c: Added Gtk::RecentChooserWidget for GTK+-2.10. * src/rbgtkrecentchooserdialog.c: Added Gtk::RecentChooserDialog for GTK+-2.10. * src/rbgtk.h: Support Gtk::Recent*. 2006-11-04 Masao Mutoh * src/rbgtkrange.c: Add Gtk::Range::SensitivityType for GTK+-2.10. 2006-11-04 Masao Mutoh * src/rbgtkprintoperationpreview.c: Gtk::PrintOperationPreview#render_page, #end_preview returns self instead of nil. * src/rbgtkradioaction.c: Apply GTK+-2.10. * src/rbgtkprintunixdialog.c: Gtk::PrintUnixDialog#add_custom_tab returns self instead of nil. Code cleanup. Define Gtk::PrintUnixDialog#Capabilities * src/rbgtkprintsettings.c: Gtk::PrintSettings#each returns self instead of nil. Add constants. []=(v) returns v, set() returns self. * src/rbgtkprintoperation.c: Gtk::PrintOperation#cancel returns self. Move Gtk::Print.run_page_setup_dialog to Gtk::PrintOperation. Changes the behaviour of Gtk::PrintOperation#run. Define enums as constants. * src/rbgtkprinter.c: Gtk::Printer#each returns self instead of nil. * src/rbgtkprintjob.c: Code cleanup. * src/rbgtkprintcontext.c: Gtk::PrinterContext#set_cairo_context returns self instead of nil. 2006-11-02 Masao Mutoh * src/rbgtkprinter.c: Gtk::Printer includes Comparable. Defines Gtk::PrintBackendCups, Gtk::PrintBackendFile, Gtk::PrintBackendLpr. Gtk::Printer#compare raises TypeError if a parameter is wrong type. * src/lib/gtk2/base.rb: Add Gtk::Printer.printers. * extconf.rb: Code clean up. 2006-10-24 Masao Mutoh * src/rbgtkpapersize.c: Rename Gtk::PaperSize#default_(top|bottom|left|right)_margin to Gtk::PaperSize#get_default_(top|bottom|left|right)_margin. Rename Gtk::PaperSize#width, #height to #get_width, #get_height. * src/rbgtkpagesetupunixdialog.c: Code cleanup. 2006-10-22 Masao Mutoh * src/rbgtkpagesetup.c: Rename Gtk::PageSetup#(top|bottom|left|right)_margin to Gtk::PageSetup#get_(top|bottom|left|right)_margin to follow Ruby-GNOME2 naming rules. * src/rbgtknotebook.c: Added Gtk::Notebook#(get|set)_tab_reorderable, #(get|set)_tab_detachable, #set_window_creation_hook for GTK+-2.10.0. * src/rbgtklinkbutton.c: Added. * sample/misc/linkbutton.rb: Added. * sample/misc/window.rb: Improved. * src/rbgtkentry.c: Added Gtk::Entry#layout_index_to_text_index, #text_index_to_layout_index. * src/rbgtkdrag.c: Added Gtk::Drag.set_track_motion, get_track_motion for GTK+-2.10. * src/rbgtkcombobox.c, rbgtkbutton.c, rbgtkfilechooserbutton.c, rbgtklabel.c, rbgtkmessagedialog.c: Add comments for GTK+-2.10. 2006-10-21 Masao Mutoh * src/rbgtkclipboard.c: Added Gtk::Clipboard#request_rich_text, #wait_for_rich_text, #waitis_rich_text_avialable? for GTK+-2.10. * src/global.c: Removed(wasn't used). * gtk20/*, gtk22/*: Removed. Now Ruby/GTK2 doesn't support GTK+-2.2 or older. * extconf.rb, src/init.c, rbgtk.h, rbgtktreerowreference.c, rbgtkclipboard.c: ditto. * src/rbgtkcellrendereraccel.c: Added. * src/rbgtkcellrendererspin.c: Fixed copyright. 2006-10-17 Masao Mutoh * src/rbgtkassistant.c: Gtk::Assistant#set_current_page returns self. Added G_DEF_SETTERS. 2006-10-15 Masao Mutoh * src/rbgtktreestore.c: Merge Gtk::TreeView#insert_with_values to #insert. 2006-10-14 Kouhei Sutou * src/rbgdkevent.c (ATTR_GOBJ): fixed a reference count related bug of Gdk::EventXXX#set_YYY. Bug #1548806. Reported by Markus Koller. * src/rbgdkpixbuf.c (pixbuf_s_from_drawable): fixed a memory leak. Reported by Andy Chantrill. 2006-10-12 Kouhei Sutou * src/rbgtkselectiondata.c (gtkselectiondata_get_uris): fixed invalid memory free. Bug #1575545. 2006-09-24 Kouhei Sutou * src/rbgtktextbuffer.c: fixed a typo. * src/rbgtktreestore.c: removed a needless check. bug #1557225 2006-08-11 Sjoerd Simons * src/rbgtkuimanager.c: Add G_CHILD_ADD and G_CHILD_REMOVE to respectively Gtk::UIManager#insert_action_group and Gtk::UIManager#remove_action_group. Without these the action_group can be garbage collected while it can still be used for callbacks (which causes a nice segv). 2006-08-09 Sjoerd Simons * src/rbgtkscrolledwindow.c: Added G_CHILD_ADD to Gtk::ScrolledWindow#add_with_viewport 2006-08-09 Sjoerd Simons * src/rbgtktable.c: Also do G_CHILD_ADD when using .attach_defaults 2006-08-06 Kouhei Sutou * src/rbgtkprintunixdialog.c: removed duplicated definition of Gtk::PrintCapabilities. Reported by Tilman Sauerbeck. 2006-07-17 Masao Mutoh * src/rbgtkmain.c: Fixed a problem with calling the script with arguments. Reported by Guillaume Cottenceau, Kouhei Sutou. 2006-07-10 Kouhei Sutou * extconf.rb: detected whether GtkPrintJob is available or not. * src/rbgtkprintjob.c: implemented GtkPrintJob and GtkPrintCapabilities. * extconf.rb: detected whether GtkPrinter is available or not. * src/rbgtkprinter.c: implemented GtkPrinter and GtkPrintBackend. 2006-07-10 Pascal Terjan * src/rbgtktreestore.c: Added Gtk::TreeStore#insert_with_values 2006-07-10 Kouhei Sutou * src/rbgtkprintsettings.c, src/rbgtkpagesetup.c (RVAL2SIZE): fixed wrong conversion. * src/rbgtk.h (GTK_PAPER_SIZE): removed needless macro. * src/rbgtkpapersize.c: implemented GtkPaperSize. 2006-07-09 Kouhei Sutou * src/rbgtkprintsettings.c (ps_copy): use GOBJ2RVALU. moved GTK_PAPER_SIZE to ... * src/rbgtk.h: ... here. * src/rbgtkpagesetup.c: implemented GtkPageSetup. * src/rbgtkprintcontext.c (pc_create_pango_context, pc_create_pango_layout): fixed memory leaks. * src/rbgtkwidget.c (widget_render_icon) (widget_create_pango_layout, widget_create_pango_context): fixed memory leaks. * src/rbgtkprintcontext.c: implemented GtkPrintContext. * src/rbgtkprintunixdialog.c: set_* method returns self. * src/rbgtkprintsettings.c: ditto. * src/rbgtkpagesetupunixdialog.c: ditto. * src/rbgtkprintoperationpreview.c: implemented GtkPrintOperationPreview. * src/rbgtkprintoperation.c: implemented GtkPrintError. * src/rbgtkprintunixdialog.c: implemented GtkPrintCapabilities. * src/rbgtkprintsettings.c: implemented GtkPrintSettings, GtkPageOrientation, GtkPrintDuplex, GtkPrintQuality, GtkPrintPages and GtkPageSet. 2006-07-08 Kouhei Sutou * src/rbgtkprintoperation.c: implemented GtkPrintOperation, GtkPrintStatus, GtkPrintOperationResult and GtkPrintOperationAction. 2006-07-08 Pascal Terjan * src/rbgtkwindow.c: Added Gtk::Window#group 2006-07-08 Kouhei Sutou * src/rbgtkpagesetupunixdialog.c: implemented GtkPageSetupUnixDialog bindings. * extconf.rb: detected whether GtkPageSetupUnixDialog is available or not. * src/rbgtkprintunixdialog.c: implemented GtkPrintUnixDialog bindings. * extconf.rb: detected whether GtkPrintUnixDialog is available or not. 2006-07-01 Kouhei Sutou * src/rbgtklabel.c: removed debug codes. 2006-07-01 Masao Mutoh * src/rbgtkmain.c: Show error messages when initializing GTK+. bug #1328554. 2006-06-30 Masao Mutoh * src/rbgtk.c: Move poll funcs to glib/src/rbglib_mainloop.c. And fixed the bug #1385468. 2006-06-18 Masao Mutoh * src/lib/gtk2/base.rb: Added header part. 2006-06-17 Masao Mutoh * src/lib/gtk2.rb, src/lib/gtk2/base.rb: samples/*.rb: Gtk.init is called at gtk2.rb now. So you don't need to call Gtk.init by yourself. If you need not to call Gtk.init, require 'gtk2/base' instead. * src/rbgtkmain.c: Callback functions protect exceptions. If an exception is raised, applications are exited with error messages. * src/rbgtkwindow.c: Gtk::Window#toplevels, #default_icon_list, #icon_list: Fixed memory leaks. Pointed out by Masahiro Sakai. * src/rbgtkwidget.c: Gtk::Widget#accel_closures: ditto. * src/rbgtktreeviewcolumn.c: Gtk::TreeViewColumn#cell_renderers: ditto. * src/rbgtktreeview.c: Gtk::TreeView#columns: ditto. * src/rbgtktextchild.c: Gtk::TextChildAnchor#widgets: ditto. * src/rbgtkcontainer.c: Gtk::Container#children, #focus_chain: ditto. * src/rbgtkactiongroup.c: Gtk::ActionGroup#actions: ditto. * src/rbgtktextiter.c: Gtk::TextIter#marks, #toggled_tags, #tags: ditto. * src/rbgdkdisplaymanager.c Gdk::DisplayManager#displays: ditto. * src/rbgtkradiomenuitem.c: Gtk::RadioMenuItem#set_group: Code cleanup. * src/rbgtkfilechooser.c: Gtk::FileChooser: Code cleanup. 2006-05-28 Masao Mutoh * src/rbgtkliststore.c: Gtk::ListStore#iter_is_valid accept nil(returns false) * src/rbgtktreestore.c: Gtk::TreeStore#iter_is_valid accept nil(returns false) 2006-05-31 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_cairo_create): fixed a memory leak bug. 2006-05-29 Masahiro Sakai * src/rbgtkcontainer.c: Make cont_mark and cont_mark_callback to be static function. 2006-05-28 Masahiro Sakai * src/rbgtkwindow.c: Mark all top level windows to protect them from Ruby's GC. 2006-05-27 Masahiro Sakai * src/rbgtkcontainer.c: Register mark procedure which marks each child widget. So that each child widget is protected from GC whenever the parent container is alive. 2006-05-26 Masahiro Sakai * src/rbgdktimecoord.c (timecoord_initialize, timecoord_set_axes): Fix the format string of rb_raise to match with actual arguments. 2006-05-25 Kouhei Sutou * src/rbgtkmain.c (Gtk.idle_add, Gtk.timeout_add, Gtk.quit_add): Remove callback reference when callback isn't needless. 2006-05-17 Kouhei Sutou * src/rbgtkmenuitem.c: Added G_CHILD_{ADD,REMOVE} to Gtk::MenuItem#set_submenu and Gtk::MenuItem#remove_menu. 2006-05-08 Masao Mutoh * src/rbgtkdialog.c: Added Gtk::Dialog#get_response as an alias of Gtk::Dialog#get_response_for_widget. * src/rbgtkcurve.c: Added Gtk::Curve#gamma=. * src/rbgtkclipboard.c: Gtk::Clipboard#set_can_store accept nil as an argument. * src/rbgtkwindow.c: Gtk::Window#active_(focus|default) was wrong name. So they've been deprecated and added Gtk::Window#activate_(focus|default) instead. 2006-05-04 Masao Mutoh * sample/misc/fileselection.rb, itemfactory.rb, itemfactory2.rb: Show "Deprecated" message first. * sample/misc/cairo-pong.rb: Fixed warning when calling @drawing_area.queue_draw after @drawing_area is broken. 2006-04-26 Kouhei Sutou * src/rbgtk.c: Added reference to Gtk::Window until the widget is destroyed. This change is for backward compatibility and usability. 2006-04-15 Kouhei Sutou * src/rbgtkmenushell.c: Added G_CHILD_ADD. * src/rbgtknotebook.c: ditto. * src/rbgtktable.c: ditto. 2006-04-08 Mario Steele * sample/gtk-demo/images.rb: Read the image with "rb" mode not "r". 2006-03-18 Kouhei Sutou * src/rbgtkaccelgroup.c: Follow new GRClosure API. Call g_rclosure_attach. 2006-02-07 Kouhei Sutou * src/rbgtkwidget.c (widget_render_icon): the third argument 'detail' is optional and accepts nil. 2006-01-31 Tilman Sauerbeck * src/rbgtkwidget.c: Fixed a wrong parameter of Gtk::Widget#set_colormap. 2006-01-28 Masao Mutoh * src/rbgtkwidget.c: Added Gtk::Widget#set_widget by Daniel Chokola. Added Gtk::Widget#set_requisition. 2006-01-27 Geoff Youngs * src/rbgdkproperty.c: Fix to be able to use _NET_WM_PID property. * sample/misc/ipc.rb: Added. 2006-01-27 Tilman Sauerbeck * src/rbgdkpixbuf.c: Fixed wrong argument of Gdk::Pixbuf#render_pixmap_and_mask. 2006-01-20 Kouhei Sutou * src/rbgtk.c: Restore default poll function when ruby exits. 2006-01-19 Kouhei Sutou * src/rbgtk.c: Fixed a bug that Gtk.events_ending? always returns true. * src/rbgtkmain.c: ditto. 2005-12-01 Kouhei Sutou * sample/gtk-demo/hypertext.rb: Fixed a return key handling bug. 2005-11-29 Masao Mutoh * src/rbgtkitemfactory.c: Fixed a bug of Gtk::ItemFactory.popup. Reported by Grant McLean. 2005-11-14 Masao Mutoh * sample/misc/tree_combo.rb: Added. 2005-11-12 Masao Mutoh * src/rbgdkpango.c: Fix a typo of Pango::Context#colormap=. 2005-11-08 Kouhei Sutou * src/rbgtktextbuffer.c (txt_get_text, txt_get_slice): Fix typo. 2005-11-06 Masao Mutoh * src/rbgtkcellview.c, rbgtktreeviewcolumn.c: Apply G_CHILD_*. 2005-11-05 Masao Mutoh * src/rbgtkiconview.c,rbgtktreerowreference.c, rbgtktreemodelfilter.c, rbgtktreemodel.c, rbgtktreestore.c, rbgtkliststore.c, rbgtktextiter.c, rbgtktextappearance.c: Apply G_CHILD_*. 2005-11-04 Masao Mutoh * src/rbgtktextbuffer.c, rbgtktextview.c: Apply G_CHILD_*. * src/rbgtktexttagtable.c: Add an alias Gtk::TextTagTable#[] of Gtk::TextTagTable#lookup. 2005-11-03 Masao Mutoh * src/rbgtk.c: rb_thread_wait_for waits 10ms instead of 100ms to avoid to lose any signals for Win32. Report by MIYAMUKO Katsuyuki. * src/rbgtkcontainer.c, rbgtkbox.c: Apply G_CHILD_*. 2005-10-27 Masao Mutoh * sample/misc/iconview.rb: Added. 2005-10-21 Kouhei Sutou * sample/misc/mouse-gesture.rb: Added new sample for implementing mouse gesture. * sample/misc/drag-move.rb: Added new sample for moving widget by drag. 2005-10-16 Masao Mutoh * sample/gtk-demo/cairo-image.rb, cairo-clip-image.rb, main.rb: Works on Win32. * README: Added cairo/rcairo information. * src/rbgtkiconview.c: Renameed Gtk::IconView#get_dest_item_at_pos -> #get_dest_item, #get_item_at_pos -> #get_item. 2005-10-15 Masao Mutoh * src/rbgdkevent.c: Fixed a compiling error on GTK+-2.0. * src/lib/gtk2.rb: Added Gdk.cairo_available? * sample/gtk-demo/common.rb: Follow above change. 2005-10-14 Kouhei Sutou * sample/gtk-demo/common.rb: Ctrl+q quit the sample window. 2005-10-13 Kouhei Sutou * sample/gtk-demo/main.rb: - Sort sub tree items. - Surround tree with scrolled window. * sample/gtk-demo/cairo-gradient.rb: Use Cairo::GradientPattern#add_color_stop_rgb too. * sample/misc/cairo-pong.rb: Added cairo sample from gtkcairo sample. 2005-10-12 Kouhei Sutou * sample/gtk-demo/: Added cairo samples. * sample/misc/rgtk+cairo.rb: Use set_source_rgba instead of set_source_rgb. Because set_source_rgb is deprecated. * sample/gtk-demo/main.rb: - Ctrl+q quit the program. - Added nil check. 2005-10-10 Kouhei Sutou * src/rbgdkcairo.c: - Added 'gdk_' prefix. - Added status check. 2005-10-07 Masao Mutoh * src/rbgtktextbuffer.c: Gtk::TextBuffer#selection_bounds returns start/end iters even if the selection has zero length. Bug #[1314405]. * extconf.rb: Fix to compilation error on Win32 and Ruby/Cairo. 2005-10-04 Masao Mutoh * extconf.rb: Support Ruby/Cairo on Win32. Use CAIRO_PATH variable. 2005-09-29 Masao Mutoh * src/rbgtkconst.c: Added Gtk::BUILD_VERSION. 2005-09-26 Kouhei Sutou * src/rbgdkcairo.c: support Gdk-Cairo interface. checked by Guillaume Cottenceau . * src/rbgdkdraw.c: ditto. * src/lib/gtk2.rb: ditto. 2005-09-24 Guillaume Cottenceau * rbgdkscreen.c: 2.8: add Gdk::Screen#rgba_colormap and Gdk::Screen#rgba_visual * rbgdkwindow.c: 2.8: add Gdk::Window#move_region and Gdk::Window#urgency_hint=. X11 only, Gdk::Window#move_to_current_desktop. * rbgdkdisplay.c: 2.8: for X11 only, add Gdk::Display#user_time and Gdk::Display#set_cursor_theme. 2005-09-20 Guillaume Cottenceau * src/rbgdkevent.c: 2.8: add Gdk::EventGrabBroken * src/rbgdkcursor.c: 2.8: add Gdk::Cursor.new(display, name) (wraps gdk_cursor_new_from_name), add Gdk::Cursor#image * src/rbgdkdisplay.c: 2.8: add Gdk::Display#warp_pointer 2005-09-19 Masao Mutoh * src/rbgtkiconview.c: Gtk::IconView#set_cursor accept nil as 2nd parameter. Gtk::IconView#set_drag_dest_item accept nil as 1st parameter. Gtk::IconView#get_dest_item_at_pos returns nil if no item exist at the specified position, otherwise returns [path, pos]. 2005-09-18 Masao Mutoh * src/rbgtkiconview.c: Make aliases: Gtk::IconView#get_item_at_pos => #get_item, #get_dest_item_at_pos => #get_dest_item, #get_path_at_pos => get_path. Gtk::IconView#get_item_at_pos returns nil if no item exist at the specified position, otherwise returns [path, cell]. * src/rbgtkmenubar.c: Gtk::MenuBar::PackDirection names in Gtk::MenuBar renamed. (e.g. Gtk::MenuBar::LTR -> Gtk::MenuBar::PACK_DIRECTION_LTR). * src/rbgtktreeview.c: Gtk::TreeView#visible_range returns [start_path, end_path] or nil(when it's invalid), not [valid, start_path, end_path]. Make aliases: Gtk::TreeView#get_path_at_pos => #get_path, #get_dest_row_at_pos => #get_dest_row. 2005-09-15 22:47 Guillaume Cottenceau * src/rbgtkiconview.c: 2.8: Added remaining new symbols e.g. Gtk::IconView#set_cursor, Gtk::IconView#set_drag_dest_item, Gtk::IconView#set_reorderable, Gtk::IconView#unset_model_drag_dest, and Gtk::IconView#unset_model_drag_source 2005-09-15 20:23 Guillaume Cottenceau * src/: rbgtkdialog.c, rbgtkiconview.c: fix my previous commits introducing broken conventions for get_ methods 2005-09-14 Kouhei Sutou * src/rbgtktreeviewcolumn.c (Init_gtk_treeviewcolumn): Fix wrong number of argument. 2005-09-13 Masao Mutoh * src/rbgtkdialog.c: Reverted previous version. Shouldn't destroy in a block. 2005-09-12 23:02 Guillaume Cottenceau * src/rbgtkiconview.c: 2.8: wrap Gtk::IconView#get_drag_dest_item, Gtk::IconView#get_item_at_pos, Gtk::IconView#get_visible_range; Gtk::IconView#reorderable= and Gtk::IconView#reorderable? defined as properties 2005-09-12 Masao Mutoh * src/rbgtkdialog.c: Gtk::Dialog.run{} destroy the dialog if a block is given. Pointed out by Paul van Tilburg. * src/rbgdkevent.c: Gdk::Event*.new which can accept an event_type can omit the parameter. Gdk::EventScroll, Gdk::EventMotion, Gdk::EventExpose, Gdk::EventVisibility, Gdk::EventFocusChange, Gdk::EventConfigure, Gdk::EventProperty, Gdk::EventClient, Gdk::EventNoExpose, Gdk::EventWindowState, Gdk::EventSetting, Gdk::EventOwnerChange. Pointed out by Paul van Tilburg. * src/rbgtkfilechooser.c: Checks gtk+ version for GtkFileChooserConfirmation. * src/rbgtkuimanager.c: [] added as an alias of Gtk::UIManager#get_widget. Pointed out by Paul van Tilburg. Gtk::UIManager#get_widget raises an ArgumentError when the widget isn't found. Pointed out by Paul van Tilburg. * sample/misc/uimanager.rb, uimanager2.rb: ditto. 2005-09-06 Kouhei Sutou * src/rbgdkgc.c (gdkgc_copy): Require destination object. 2005-09-11 22:57 Guillaume Cottenceau * src/rbgtkiconview.c: 2.8: wrap GtkIconViewDropPosition, Gtk::IconView#create_drag_icon, Gtk::IconView#enable_model_drag_dest, Gtk::IconView#enable_model_drag_source, Gtk::IconView#get_cursor, Gtk::IconView#get_dest_item_at_pos (more missing) 2005-09-11 21:48 Guillaume Cottenceau * sample/gtk-demo/iconview.rb: fix swapping of COL_IS_DIR and COL_PIXBUF when setting data, fix ordering when setting data to not abort on failed comparison because COL_DISPLAY_NAME would be nil 2005-09-11 19:18 Guillaume Cottenceau * src/rbgtkfilechooser.c: 2.8: Gtk::FileChooser#do_overwrite_confirmation= and Gtk::FileChooser#do_overwrite_confirmation? defined as properties; Gtk::FileChooser::Confirmation is new 2005-09-11 17:40 Guillaume Cottenceau * src/rbgtkentrycompletion.c: 2.8: Gtk::EntryCompletion#popup_set_width?, Gtk::EntryCompletion#popup_single_match?, Gtk::EntryCompletion#popup_set_width=, Gtk::EntryCompletion#popup_single_match= defined as properties 2005-09-11 17:12 Guillaume Cottenceau * src/rbgtkdrag.c: 2.8: Added Gtk::Drag#icon_name= and Gtk::Drag#source_icon_name= 2005-09-11 15:24 Guillaume Cottenceau * src/rbgtkdialog.c: 2.8: Added Gtk::Dialog#get_response_for_widget 2005-09-06 22:06 Guillaume Cottenceau * src/rbgtkaction.c: 2.8: Added Gtk::Action#accel_closure 2005-09-01 23:27 Guillaume Cottenceau * src/rbgtkaboutdialog.c: 2.8: Gtk::AboutDialog#wrap_license? and Gtk::AboutDialog#wrap_license= unneeded because they are defined as properties 2005-08-30 23:10 Guillaume Cottenceau * src/rbgtktreeviewcolumn.c: 2.8: Added Gtk::TreeViewColumn#queue_resize. 2005-08-30 22:51 Guillaume Cottenceau * src/rbgtktreerowreference.c: 2.8: Added Gtk::TreeRowReference#model. 2005-08-30 22:31 Guillaume Cottenceau * src/rbgtktoolbutton.c: 2.8: Added Gtk::ToolButton#icon_name= and Gtk::ToolButton#icon_name unneeded thanks to properties 2005-08-30 22:22 Guillaume Cottenceau * src/rbgtktextiter.c: 2.8: Added Gtk::TextIter#backward_visible_line, Gtk::TextIter#backward_visible_lines, Gtk::TextIter#forward_visible_line, and Gtk::TextIter#forward_visible_lines 2005-08-30 21:34 Guillaume Cottenceau * src/rbgtkstock.c: 2.8: Added Gtk::Stock::FULLSCREEN, Gtk::Stock::INFO, Gtk::Stock::LEAVE_FULLSCREEN, Gtk::Stock.set_translate_func. 2005-08-30 21:19 Guillaume Cottenceau * src/rbgtksizegroup.c: 2.8: Gtk::SizeGroup#ignore_hidden= and Gtk::SizeGroup#ignore_hidden? unneeded, they are properties 2005-08-29 23:02 Guillaume Cottenceau * src/rbgtkscrolledwindow.c: 2.8: Added Gtk::ScrolledWindow#hscrollbar, Gtk::ScrolledWindow#vscrollbar. 2005-08-29 22:48 Guillaume Cottenceau * src/rbgtkmenubar.c: 2.8: Added Gtk::MenuBar::PackDirection. (Gtk::MenuBar#pack_direction= and Gtk::MenuBar#pack_direction unneeded because of :pack-direction property, Gtk::MenuBar#child_pack_direction= and Gtk::MenuBar#child_pack_direction unneeded because of :child-pack-direction property) 2005-08-28 22:42 Guillaume Cottenceau * src/rbgtktreeview.c: 2.8: Added Gtk::TreeView#visible_range 2005-08-28 22:31 Guillaume Cottenceau * src/rbgtkmenushell.c: 2.8: Gtk::MenuShell#take_focus? and Gtk::MenuShell#take_focus= unneeded, defined as properties 2005-08-28 22:03 Guillaume Cottenceau * src/rbgtkwindow.c: 2.8: Gtk::Window#present can accept timestamp as a parameter. (Gtk::Window#urgency_hint? and Gtk::Window#urgency_hint= unneeded because of :urgency-hint property) 2005-08-28 20:38 Guillaume Cottenceau * src/rbgtkimage.c: Propagate Masao's fix in initialize which is needed in set too: fix a problem when first parameter is a String and second parameter is a Gtk::IconSize, not nil. 2005-08-28 20:33 Guillaume Cottenceau * src/rbgtkimage.c: 2.8: Added Gtk::Image#clear. 2005-08-24 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_draw_trapezoids): Fix wrong argument check. * src/rbgdkdisplay.c: Add getters. 2005-08-20 Masao Mutoh * src/rbgtkimage.c (image_initialize): Fix a problem when first parameter is a String and Second paramter is a Gtk::IconSize, not nil. * src/rbgdkdisplay.c (gdkdisplay_s_open): Fix a problem if gdk_display_open returns NULL. Reported by Guillaume Cottenceau. 2005-08-18 Masao Mutoh * src/rbgdkdisplay.c: Fix segfault when Gdk::Display#close is called. Reported by Bram Senders. And raise a RuntimeError when Gdk::Display#open is failed. Gdk::Display#default: ditto. 2005-07-30 Masao Mutoh * src/rbgdkatom.c: Fix compiling warnings on amd64. * sample/testgtk/spinbutton.rb: Fix a typo. * sample/misc/itemfactory2.rb: Fix warnings. * src/rbgtkitemfactory.c: Fix segfault on amd64. * sample/gtk-demo/changedisplay.rb: Fix a out-of-scope warning. * sample/misc/treeview.rb, treemodelfilter.rb: Quit program when destroy event is occured. * src/rbgtkdrag.c (gtkdrag_source_set): Fix type declaration. * src/rbgtksizegroup.c (sizegrp_initialize): ditto. 2005-07-30 Kouhei Sutou * src/rbgtkwidget.c (widget_set_flags, widget_unset_flags): Fix type declaration. 2005-07-28 Masao Mutoh * sample/gtk-demo/clipboard.rb, changedisplay.rb: Work only GTK+-2.2.x or later. * sample/gtk-demo/main.rb: Support ruby-1.6.x again. 2005-07-23 Masao Mutoh * src/rbgdkrgb.c, rbgdkpixmap.c, rbgdkselection.c, rbgtkselectiondata.c, rbgtkcontainer.c, rbgdkproperty.c, rbgtkwidget.c, rbgdkgc.c: Fix compiling warning. 2005-07-22 Masao Mutoh * sample/testgtk/sample.rb, wmhints.rb, toolbar.rb, tooltips.rb, testgtk.rb, statusbar.rb: Code clean up. Apply Gtk::Window.new(title). * tree_minus.xbm, tree_minus.xpm, tree_plus.xbm, tree_plus.xpm, line-arrow.xbm, line-wrap.xbm, circles.xpm: Removed. 2005-07-20 Masao Mutoh * sample/testgtk/shapedwindow.rb, scrolledwindow.rb, savedposition.rb: Code clean up. Apply Gtk::Window.new(title). 2005-07-19 Masao Mutoh * sample/testgtk/gammacurve.rb, filesel.rb, entry.rb, sample.rb, shapedwindow.rb, colorselect.rb, testgtk.rb, rulers.rb, reparent.rb, range.rb,radiobutton.rb, checkbutton.rb, progressbar.rb, pixmap.rb, notebook.rb, menu.rb, button.rb: Code clean up. Apply Gtk::Window.new(title). * src/rbgtkdialog.c: Fixed wrong argument number of Gtk::Dialog.new. * sample/testgtk/colorpreview.rb, cursors.rb, dnd.rb, handlebox.rb, liststore.rb, mainloop.rb, panes.rb, graypreview.rb, idle.rb, scroll.rb, treestore.rb: Removed. 2005-07-15 Masao Mutoh * sample/misc/xbm_cursor.rb, window.rb, uimanager.rb, uimanager2.rb, toolbar.rb, togglebutton.rb, to_drawable.rb, threads.rb, style_property.rb, stock.rb, radiobutton.rb, pointer_grab.rb, pangorenderer.rb, menu.rb: Code clean up. Apply Gtk::Window.new(title). * sample/misc/t-gtkplug.rb, t-gtksocket.rb, to_drawable.rb: Works again. Code clean up. Apply Gtk::Window.new(title). * src/rbgdkpixbuf.c: Fix a warning message of Gdk::Pixbuf#render_to_drawable. 2005-07-14 Masao Mutoh * sample/misc/bindings.rb, calender.rb, checkbutton.rb, colorselection.rb, combo_check.rb, dialog2.rb, dnd.rb, dndtreeview.rb, drawing.rb, entry.rb, entrycompletion.rb, expander.rb, filechooser.rb, frame.rb, gdkscreen.rb, image.rb, itemfactroy.rb, itemfactroy2.rb, keyboard_grab.rb, label.rb, buttonbox.rb: Code clean up. Apply Gtk::Window.new(title). 2005-07-12 Masao Mutoh * src/rbgtkwindow.c: Gtk::Window.new accept "title" as the 1st argument. e.g.) Gtk::Window.new("Title"). * sample/misc/button.rb: Apply Gtk::Window.new(title) and code clean up. 2005-07-07 Kouhei Sutou * src/rbgtkstyle.c (style_set_white): Fix typo. black -> white 2005-07-06 Kouhei Sutou * src/rbgdkdraw.c (gdkdraw_layout_line, gdkdraw_layout): Accept nil as fg and bg. 2005-05-28 Masao Mutoh * src/rbgdkpango.c: Fix a bug of Gdk::PangoAttrEmbossed#value * src/rbgtkdialog.c: Fix a bug when Gtk::Dialog.new is given 3 parameters. 2005-05-08 Masao Mutoh * src/rbgdkpango.c: Added Gdk::PangoAttrEmbossed#value. 2005-05-07 Masao Mutoh * src/rbgdk.c: Gdk.sm_client_id= accept nil. Gdk functions returns self if it doesn't have return value. * src/rbgdkdisplay.c: Added Gdk::Display#double_click_time=, #double_click_distance=. * src/rbgdkgc.c: Added Gdk::GC#screen. Remove Gdk::GC::ValueMask which doesn't use anywhere. Fix wrong return value of Gdk::GC#line_attributes. 2005-05-06 Masao Mutoh * src/rbgtktoolbutton.c: Gtk::ToolButton.new accept nil for icon_widget/label. * src/rbgtkmenutoolbutton.c: Gtk::MenuToolButton.new accept nil for icon_widget/label. 2005-05-05 Masao Mutoh * src/rbgtkcellview.c: Gtk::CellView#model= allows nil. Gtk::CellView#displayed_row= allows nil. 2005-04-15 Pascal Terjan * src/rbgdktimecoord.c: Fixed a warning of Gdk::TimeCoord#set_axes. * src/rbgdkwindow.c: Fixed a warning of Gdk::Window#set_cursor 2005-04-15 Masao Mutoh * src/rbgtktreemodel.c: Added Gtk::TreeModel#iter_is_valid? Bugs item #1180406 by pdewacht. 2005-03-25 Masao Mutoh * src/rbgtkrc.c: Fix memory leaks of Gtk::RC.theme_dir, .module_dir, .find_module_in_path. Gtk::RC.get_style_by_paths accept nil as the 4th parameter and fix when it returns NULL. 2005-03-22 Mirko Maischberger * sample/misc/*.rb: sh-bang (!#) normalization. * sample/testgtk/testgtk.rb: sh-bang (!#) normalization. Reported by Mezz 2005-03-23 Masao Mutoh * sample/misc/colorselection.rb: Added. * src/rbgtkcolorsel.c: Added Gtk::ColorSelection.set_change_palette_hook. Requested by Paul van Tilburg. Gtk::ColorSelection.palette_to_string accept an Array as the 1st argument. 2005-03-20 KATO Kazuyoshi * sample/gtk-demo/hypertext.rb: Added. * sample/gtk-demo/main.rb: Use Sans-Serif and Monospace font. * sample/gtk-demo/main.rb (Demo::Main::load_file): Remove depend field in title. 2005-03-12 Masao Mutoh * src/rbgtk.c: Use g_main_context_set_poll_func instead of g_main_set_poll_func. * src/rbgtkicontheme.c: Fix a memory leak of Gtk::IconTheme#icons. 2005-03-12 Hiroyuki Ikezoe * src/rbgtkactiongroup.c: Gtk::ActionGroup#set_translate_domain accept nil as domain. 2005-03-06 Masao Mutoh * src/rbgtkliststore.c: Fix a warning. * src/rbgtkaccelgroup.c: Fix compiling problem on GTK+-2.0.x. * README: Revised. 2005-03-05 Masao Mutoh * src/rbgdkx11.c: Added. * src/rbgtktextbuffer.c: Gtk::TextBuffer#create_tag accept nil as a tag_name. * src/rbgdkthreads.c: Check g_thread_supported() before calling g_thead_init(). * sample/gtk-demo/background.jpg: Added. * sample/gtk-demo/rotated_text.rb: Added. * sample/gtk-demo/appwindow.rb: Work under GTK+-2.0.x. * src/rbgdkthreads.c:: Fixed a warning. 2005-02-27 Mirko Maischberger * src/init.c: removed g_thread_init and gdk_threads_init from Gtk.init * src/rbgdkthreads.c: Added Gdk::Threads.init * src/rbgtk.c: removed the unnecessary include file "sys/select.h" * src/rbgtkmain.c: (empty_timeout_func): added an empty g_timeout to force a timeout for the rb_threads_select inside the custom g_poll function. This way the UI gets chances to be updated even if modified from a different ruby-thread. * samples/misc/threads.rb: some aesthetic makeup 2005-02-26 KATO Kazuyoshi * sample/gtk-demo/main.rb (Demo::Main::generate_index): Added backward compatibillity with old versions of GTK+. * sample/gtk-demo/iconview.rb, entry_completion.rb, expander.rb: Follow sample/gtk-demo/main.rb changes and code cleanup. 2005-02-25 Laurent Sansonetti * src/rbgtkactiongroup.c: Fixed a GC problem in actiongroup_add_radio_actions (). 2005-02-17 Masao Mutoh * src/rbgdkscreen.c, rbgtkaccelgroup.c: Fix compilation problems on MSVC++. 2005-02-13 KATO Kazuyoshi * sample/gtk-demo/appwindow.rb, buttom_box.rb, changedisplay.rb, colorsel.rb, dialog.rb, drawingarea.rb, iconview.rb, images.rb, item_factory.rb, menus.rb, panes.rb, pixbufs.rb, sizegroup.rb, stock_browser.rb: Change comment style to follow sample/gtk-demo/main.rb changes. * sample/gtk-demo/clipboard.rb, menus.rb, panes.rb: ditto. 2005-02-13 Masao Mutoh * src/rbgdkpangorenderer.c: Added Pango::Renderer.default. * sample/misc/pangorenderer.rb: Check Ruby/GTK version. 2005-02-10 Masao Mutoh * src/rbgtkradioaction.c: Added Gtk::RadioAction#group, #set_group. 2005-02-08 Masao Mutoh * src/rbgdkwindow.c: Added Gdk::Window#configure_finished, #enable_synchronized_configure, #set_focus_on_map for GTK+-2.6. * src/rbgdkdraw.c: Added Gdk::Drawable#draw_trapezoids, #draw_glyphs_transformed for GTK+-2.6. 2005-02-07 KATO Kazuyoshi * sample/gtk-demo/main.rb (Demo::Main): Generate demos index from script files. * sample/gtk-demo/editable_cells.rb, list_store.rb, textview.rb, tree_store.rb: Change comment style to follow sample/gtk-demo/main.rb changes. 2005-02-03 Masao Mutoh * src/rbgtkentrycompletion.c: Fixed a problem of property setter. Reported by Joao Pedrosa. * sample/gtk-demo/entry_completion.rb: ditto. 2005-02-02 Joao Pedrosa * sample/gtk-demo/drawingarea.rb: Fixed a bug. 2005-02-01 Masao Mutoh * src/rbgdkevent.c: Added Gdk::EventOwnerChange for GTK+-2.6. * src/rbgdkdisplay.c: Added Gdk::Display#(supports|request)_selection_notification?, #supports_clipboard_persistence?, #store_clipboard for GTK+-2.6. 2005-01-31 KATO Kazuyoshi * sample/gtk-demo/main.rb: Follow GTK+-2.6 gtk-demo. * sample/gtk-demo/common.rb (Demo::self.find_file): Add to search /usr/local/share/gtk-2.0/demo. * sample/gtk-demo/clipboard.rb: Added. * sample/gtk-demo/entry_completion.rb: Added. * sample/gtk-demo/expander.rb: Added. 2005-01-31 Masao Mutoh * src/rbgdkpangorenderer.c: Fix compiling error on MS VC++. 2005-01-30 Masao Mutoh * src/rbgtkliststore.c: Fix segfault in Gtk::ListStore#insert. Reported by Joao Pedrosa. * sample/misc/pangorenderer.rb: Added. * src/rbgdkpango.c: Fix wrong argument of Gdk::Pango.context. * extconf.rb: Follow mkmf-gnome2.rb changes. 2005-01-29 Masao Mutoh * src/rbgdkregion.c, rbgdkwindow.c, rbgtkaboutdialog.c, rbgtkactiongroup.c, rbgtkcelllayout.c, rbgtkclipboard.c, rbgtkcombobox.c, rbgtkentrycompletion.c, rbgtkfilefilter.c, rbgtkiconview.c, rbgtkmain.c, rbgtkmenu.c, rbgtknotebook.c, rbgtksettings.c, rbgtktreemodel.c, rbgtktreemodelfilter.c, rbgtktreeview.c, rbgtktreeviewcolumn.c, rbgtkwidget.c, gtk2.def: Fix compiling errors on MS VC++. 2005-01-28 Masao Mutoh * src/rbgdkpangorenderer.c: Added for GTK+-2.6. * src/rbgtkliststore.c: Support gtk_list_store_insert_with_valuesv as Gtk::ListStore#insert for GTK+-2.6. * src/rbgtkwindow.c: Added Gtk::Window.set_default_icon_name for GTK+-2.6. * src/rbgtktoggleaction.c: Gtk::ToggleAction.new accept stock_id as Symbol. * src/rbgtkmessagedialog.c: Added Gtk::MessageDialog#set_secondary_(text|markup) for GTK+-2.6. * src/rbgtkseperatortoolitem.c: Rename to rbgtkseparatortoolitem.c. 2005-01-25 Masao Mutoh * src/rbgtkdialog.c: Added Gtk::Dialog.alternative_dialog_button_order?, #set_alternative_button_order for GTK+-2.6.x. * src/rbgtkclipboard.c: Added Gtk::Clipboard#set_image, #request_image, #wait_for_image, #wait_is_image_available?, #wait_is_target_available? #set_can_store, #store for GTK+-2.6.x. 2005-01-24 Masao Mutoh * src/rbgtkicontheme.c: Added Gtk::IconTheme#get_icon_sizes for GTK+-2.6.x. * src/rbgtkselectiondata.c: Rename Gtk::Selection#targets_include_text? to #targets_include_text. Gtk::SelectionData#pixbuf, #set_pixbuf, #uris, #set_uris, #target_include_image for GTK+-2.6.x. * src/rbgtktargetlist.c: Added Gtk::TargetList#add_(text|image|uri)_targets for GTK+-2.6.x. 2005-01-20 Masao Mutoh * src/rbgtkcombo.c: Fix a memory leak reported by DaVinci. 2005-01-13 Masao Mutoh * src/rbgtkcombobox.c: Added Gtk::ComboBox#active_text, #popup_accessible, #set_row_separator_func, #set_focus_on_click. 2005-01-12 Masao Mutoh * src/rbgtkdrag.c: Added Gtk::Drag.(dest|source)_add_(text|image|uri)_targets for GTK+-2.6.x. * src/rbgtktoolitem.c: Added Gtk::ToolItem#rebuild_menu for GTK+-2.6.x. * src/rbgtkactiongroup.c: Added Gtk::ActionGroup#translate_string for GTK+-2.6.x. * src/rbgtkaction.c: Improved to support GTK+-2.6.x. Gtk::Action#sensitive => #sensitive?. Gtk::Action#visible => #visible?. Added Gtk::Action#is_visible?, #is_sensitive?. (Note)Those are special methods wraped gtk_action_is_(sensitive|visible). Gtk::Action#(sensitve|visible)? wrap Properties. Gtk::Action#set_(sensitive|visible) wrap gtk_action_set_(sensitive|visible). If you need to set "sensitive", "visible" properties. You need to use GLib::Object#set_property(). 2005-01-11 Masao Mutoh * src/rbgtkfilefilter.c: Added Gtk::FileFilter#add_pixbuf_formats for GTK+-2.6.x. * src/rbgtkfilechooser.c: Support GTK+-2.6.x. * src/rbgtkmenu.c: Added Gtk::Menu.get_for_attach_widget for GTK+-2.6.x. * src/rbgtkcellrenderer.c: Added Gtk::CellRenderer#stop_edting. Gtk::CellRenderer#editing_canceled has been deprecated for GTK+-2.6.x. * src/rbgtkaboutdialog.c: Append G_RELATIVE to #set_(email|url)_hook. * src/rbgtkiconview.c: ditto. * src/rbgtktreeview.c: Added Gtk::TreeView#set_row_separator_func for GTK+-2.6.x. * src/rbgtktextview.c: Added Gtk::TextView#get_iter_at_position for GTK+-2.6.x. * src/rbgtktextbuffer.c: Added Gtk::TextBuffer#backspace for GTK+-2.6.x. * src/rbgtkentrycompletion.c: Added Gtk::EntryCompletion#insert_prefix for GTK+-2.6.x. 2005-01-10 Masao Mutoh * src/rbgtkstock.c: Added GTK+-2.6.x items. * src/rbgtkimage.c, rbgtklabel.c, rbgtkprogressbar.c: Support GTK+-2.6.x. 2005-01-09 Masao Mutoh * sample/misc/aboutdialog.rb, aboutdialog2.rb: Added. * src/rbgtkaboutdialog.c: Added for GTK+-2.6.x. 2005-01-04 Masao Mutoh * sample/misc/color_font_button.rb, misc_button.rb: Rename color_font_button.rb to misc_button.rb. Added sample for Gtk::FileChooserButton. * src/rbgtkfilechooserbutton.c: Added for GTK+-2.6.x. * src/rbgtkmenutoolbutton.c: Added for GTK+-2.6.x. * src/rbgtkcellview.c: Added for GTK+-2.6.x. * src/rbgtktoggletoolbutton.c: Accept symbol as stock_id of Gtk::ToggleToolButton.new. * src/rbgtkradiotoolbutton.c, rbgtktoolbutton.c: Ditto. * src/rbgtkcellrenderercombo.c: Added for GTK+-2.6.x. * src/rbgtkiconview.c: Added for GTK+-2.6.x. * sample/gtk-demo/iconview.rb: Added for Gtk::IconView. * sample/gtk-demo/main.rb, gnome-fs-directory.png, gnome-fs-regular.png: Ditto. * sample/gtk-demo/*.rb: Added some informations at the headers. 2004-12-31 Ferenc Engard * sample/gtk-demo/dialog.rb: Fix a bug. 2004-12-28 Masao Mutoh * sample/misc/tree_progress.rb: Improved. * src/rbgtkcellrendererprogress.c: Improved. 2004-12-28 Darren Willis * src/rbgtkcellrendererprogress.c: Added for GTK+-2.6.x. * sample/misc/tree_progress.rb: Added. A sample script for Gtk::CellRendererProgress. 2004-12-13 Masao Mutoh * src/rbgtkconst.c: Added Gtk::ScrollStep for GTK+-2.4.x. * src/rbgtkmain.c: Added Gtk.check_version?. * src/rbgtkcelllayout.c: When Gtk::CellLayout#set_cell_data_func is not given a block, it may be removed the data_func. 2004-11-14 Masao Mutoh * src/rbgdkscreen.c, rbgtkscale.c: Fix warning for GTK+-2.2.x. * src/rbgtkclipboard.c: Fix warning for GTK+-2.0.x. 2004-11-06 Geoff Youngs * src/rbgtktoolbutton.c: Gtk::ToolButton.new Use Symbols instead of Strings for stock-id (as elsewhere) * src/rbgtkselectiondata.c: rbgtk_atom2selectiondata() Calculate length properly (take format size into account) * src/rbgtkdrag.c: Gtk::Drag.dest_set() Allow nil as well as empty target list (ie. accept any rather than accept none) * src/rbgtkallocation.c: Gtk::Allocation Make object non-copyable (ie. modify original values in struct) * src/rbgdkrgb.c: Gdk::RGB#find_color Fix passing of colormap to gdk_rgb_find_color() 2004-11-02 Masao Mutoh * src/rbgtkactiongroup.c: Accept nil correctly in Gtk::ActionGroup#add_action. 2004-10-28 Masao Mutoh * src/rbgtkselectiondata.c: Fix a warning. * src/rbgtkaction.c: Gtk::Action.new can omit 3rd, 4th parameters. 2004-10-27 Masao Mutoh * src/rbgtkuimanager.c: Initialize GError first. 2004-10-21 Masao Mutoh * src/rbgtktextiter.c: Gtk::TextIter#[forward|backward]_search works on GTK+-2.4.x. Bug #1050440. 2004-10-19 Masao Mutoh * src/rbgtktreeiter.c: Gtk::TreeIter#[] checks the iter is valid or not for GTK+-2.2.x. 2004-10-17 Vincent Isambart * extconf.rb: Replaced "$objs <<" with add_obj. 2004-09-23 Masao Mutoh * src/lib/gtk2.rb: Improved log handling. Define Gtk::LOG_DOMAIN, Gdk::LOG_DOMAIN. Rename GLib::Log.set_error_domain to GLib::Log.set_log_domain. 2004-08-30 Masao Mutoh * src/rbgtkfilechooser.c: Added Gtk::FileChooserEmbed. 2004-08-30 Geoff Youngs * src/rbgtktreeiter.c: Fix memory leaks of Gtk::TreeIter#path. 2004-08-22 Masao Mutoh * src/rbgtkicontheme.c,src/rbgtkfilechooser.c, src/rbgdkscreen.c, src/rbgtkcontainer.c: Improved error handing. Follow Ruby/GLib changes. * README: Fix dependencies(add Ruby/ATK). 2004-08-19 Laurent Sansonetti * src/rbgtkactiongroup.c (#add_actions, #add_toggle_actions, #add_radio_actions): Fixed 3 memory leaks. 2004-08-15 Masao Mutoh * sample/testgtk/testgtk.rb: Fix to show version information. 2004-08-10 Masao Mutoh * sample/misc/gtk-demo/apple-red.png, gnome-*.png: Added. * src/rbgdkpango.c: Fix compiling errors on GTK+-2.0.x. * src/rbgdkproperty.c: ditto. Reported by Noritsugu Nakamura. 2004-08-08 Masao Mutoh * src/rbgtktreeview.c: Fix some methods of Gtk::TreeView to accept nil. 2004-08-07 Masao Mutoh * src/rbgdk.c: Fix a warning on Win32. * src/rbgtkcontainer.c: Added Gtk::Container#each_forall. 2004-08-06 Masao Mutoh * src/rbgtktoolitem.c: 3rd argument of Gtk::ToolItem#set_tooltip becomes omittable. 2004-08-04 Masao Mutoh * src/rbgtkliststore.c: Fix a bug of Gtk::ListStore#restore. Reported by David Espada. * src/rbgtktreestore.c: ditto. 2004-08-03 Geoff Youngs * src/rbgtkradiobutton.c: Gtk::RadioButton.new(other_button) to create empty radio button in same group as other_button. 2004-08-02 Masao Mutoh * src/rbgdkscreen.c: Fixed bugs for Gdk::Screen#spawn_on_screen, #spawn_on_screen_with_pipes. 2004-08-01 Vincent Isambart * src/rbgdkwindow.c: Added check for GTK-2.4 for Gdk::Window#set_accept_focus. * src/rbgtkaccelgroup.c: Added check for GTK-2.4 for Gtk::AccelGroup#activate. 2004-08-01 Masao Mutoh * src/rbgdkdisplay.c: Added Gdk::Display#grab, #ungrab, #register_standard_event_type from "X Window System Interaction". * src/rbgdkscreen.c: Added Gdk::Screen#xnumber, #supports_net_wm_hint?, #window_manager_name, #screen_number from "X Window System Interaction". Added Gdk::Screen#spawn_on_screen, #spawn_on_screen_with_pipes, #spawn_command_line_on_screen for GTK+-2.4. * src/rbgdkwindow.c: Added Gdk::Window.lookup, #server_time from "X Window System Interaction". * src/rbgdkpango.c: Gdk::Pango.get accept Gdk::Screen for GTK+-2.2. * src/rbgdkproperty.c: Gdk::Property.text_property_to_(text|utf8)_list, .string_to_compound_text, .utf8_to_compound_text accept Gdk::Display as an argument for GTK+-2.2. 2004-07-31 Masao Mutoh * src/rbgdkwindow.c: Added Gdk::Window#fullscreen, #unfullscreen for GTK+-2.2. Added Gdk::Window#set_keep_(above|below), #set_accept_focus, #group for GTK+-2.4. * src/rbgdkcursor.c: Support Gdk::Cursor.new(display, cursor_type) for GTK+-2.2. Support Gdk::Cursor.new(display, pixbuf, x, y) for GTK+-2.4. Added Gdk::Cursor#display for GTK+-2.4. * src/rbgdkvisual.c: Added Gdk::Visual#screen for GTK+-2.2. * src/rbgdkcolormap.c: Added Gdk::Colormap#screen for GTK+-2.2. * src/rbgdkdraw.c: Added Gdk::Drawable#copy_to_image for GTK+-2.4. * src/rbgdkdisplay.c: Added Gdk::Display#flush, #set_double_click_distance, #supports_cursor_(color|alpha)?, #(default|maximal)_cursor_size, #default_group for GTK+-2.4. * src/rbgtkaccelgroup.c: Added Gtk::AccelGroup#activate. * src/rbgtkalignment.c: Added Gtk::Alignment#padding, #set_padding for GTK+-2.4. * src/rbgtkcalendar.c: Added Gtk::Calendar#display_options, #set_display_options for GTK+-2.4. * src/rbgtktooltips.c: Added Gtk::Tooltips.get_info for GTK+-2.4. * src/rbgtkwidget.c: Added Gtk::Widget#get_clipboard, #display, #root_window, #screen, #has_screen? for GTK+-2.2. Added Gtk::Widget#queue_resize_no_redraw, #can_activate_accel?, #set_no_show_all, #no_show_all?, #mnemonic_labels, #add_mnemonic_label, #remove_mnemonic_label for GTK+-2.4. * sample/misc/uimanager.rb, uimanager2.rb, uimanager2.xml: Check version of GTK+ and run GTK+-2.4 later only. 2004-07-30 Masao Mutoh * src/rbgtkactiongroup.c: Added for GTK+-2.4. * sample/misc/uimanager.rb, uimanager2.rb, uimanager2.xml: Added. * src/rbgtkstyle.c: Fix a memleak of Gtk::Style#set_bg_pixmap. 2004-07-26 Masao Mutoh * src/rbgtkuimanager.c: Added for GTK+-2.4. * src/rbgtkiconinfo.c: Fix a memory leak. 2004-07-24 Masao Mutoh * src/rbgtkscale.c: Added Gtk::Scale#layout, #layout_offsets for GTK+-2.4. 2004-06-28 Masao Mutoh * src/rbgtkdrag.c: Fix a bug of Gtk::Drag.dest_find_target. 2004-06-20 Masao Mutoh * src/rbgtkmenu.c, rbgtkmenushell.c, rbgtkmessagedialog.c: Fix a compilation error for GTK+-2.2 or earilier. Reported by Ryan Platte. 2004-06-16 Laurent Sansonetti * src/rbgdk.c: * src/rbgdkatom.c: * src/rbgtkcontainer.c: * src/rbgtkeditable.c: * src/rbgtkitemfactory.c: * src/rbgtkstock.c: * src/rbgtktextiter.c: * src/rbgtktextmark.c: * src/rbgtkwidget.c: Introduced CSTR2RVAL () and CSTR2RVAL2 () in some places that were still using rb_str_new2 (). 2004-06-08 Masao Mutoh * src/rbgtkradiotoolbutton.c: Added. * src/rbgtktoolbar.c: Added Gtk::Toolbar#item_index, #n_item, #drop_index, #set_drop_highlight_item, #relief_style for GTK+-2.4. * src/rbgtkmenushell.c: Added Gtk::MenuShell#select_first for GTK+-2.2. Added Gtk::MenuShell#cancel for GTK+-2.4. * src/rbgtkmenu.c: Added Gtk::Menu#set_screen for GTK+-2.2. Added Gtk::Menu#attach, Gtk::Menu#set_monitor for Gtk+-2.4. * src/rbgtktreemodelfilter.c, sample/misc/treemodelfilter.rb: Added for GTK+-2.4. 2004-06-04 Masao Mutoh * src/rbgtkcellrenderer.c: Added Gtk::CellRenderer#editing_canceled for GTK+-2.4. * src/rbgtktreepath.c: Added Gtk::TreePath.new(index1, index2, ...) for GTK+-2.4. * src/rbgtktextbuffer.c: Added Gtk::TextBuffer#select_range for GTK+-2.4. 2004-06-03 Laurent Sansonetti * src/rbgtkdrag.c (Gtk::Drag.begin): Fixed a bug when decoding the first parameter. 2004-06-03 Masao Mutoh * src/rbgtktextiter.c: Added Gtk::TextIter# forward_visible_word_ends, #backward_visible_word_starts, #forward_visible_word_end, #backword_visible_word_start, #forward_visible_cursor_position, #backward_visible_cursor_position, #forward_visible_cursor_positions, #backward_visible_cursor_positions. 2004-06-02 Masao Mutoh * src/rbgtkwindow.c: Added Gtk::Window#set_destroy_with_parent. #set_default_icon, #set_icon, #set_auto_startup_notification. for GTK+-2.2. * src/rbgtkselection.c: Gtk::Selection.owner_set accept Gdk::Display for GTK+-2.2. * src/rbgtkstyle.c: Added Gtk::Style.draw_insertion_cursor for GTK+-2.4. 2004-06-01 Masao Mutoh * src/rbgtktoolbutton.c, rbgtktoolitem.c, rbgtktoggletoolbutton.c, rbgtkseperatortoolitem.c: Added for GTK+-2.4. 2004-05-31 Masao Mutoh * src/rbgtkfilechooser.c: Fix definitions of Gtk::FileChooser::Action. * sample/misc/filechooser.rb: ditto. * sample/misc/combobox.rb, expander.rb, color_font_button.rb: Added for GTK+-2.4. * src/rbgtkcombobox.c, rbgtkcomboboxentry.c, rbgtkexpander.c, rbgtkcolorbutton.c, rbgtkfontbutton.c, rbgtkfilechooserwidget.c, rbgtkaction.c, rbgtktoggleaction.c, rbgtkradioaction.c: Added for GTK+-2.4. * src/rbgtkoptionmenu.c, rbgtkcombo.c: Deprecated(GTK_DISABLE_DEPRECATED). 2004-05-29 Masao Mutoh * src/rbgtkcelllayout.c: Added for GTK+-2.4. * src/rbgdkdevice.c, rbgdkinput.c: Move Gdk::Input.set_extension_events to Gdk::Device. * src/rbgtkcontainer.c: Gtk::Container#set_focus_(h|v)adjustment accept nil. * src/rbgdkselection.c: Fix a memory leak. 2004-05-26 Kazuhiro NISHIYAMA * src/rbgtkentry.c: Fix compilation error of Gtk::Entry.c 2004-05-25 Masao Mutoh * src/rbgtkstock.c: Fix compilation error of GTK_STOCK_HARDDISK/NETWORK. Reported by John Platte. * src/rbgtkmessagedialog.c: Added Gtk::MessageDialog#set_markup for GTK+-2.4. * src/rbgtkbutton.c: Added Gtk::Button#set_alignment, #alignment for GTK+-2.4. * src/rbgtkborder.c: Added. * sample/misc/entry.rb, settings.rb: Modified. * sample/misc/entrycompletion.rb: Added. * src/rbgtkentrycompletion.c: Added. * src/rbgtkentry.c: Added Gtk::Entry#set_completion, #completion. 2004-05-24 Masao Mutoh * src/rbgtkclipboard.c: Added Gtk::Clipboard#request_targets, #wait_for_targets for GTK+-2.4. * src/rbgtkdrag.c: Add Gtk::Drag.source_(set|get)_target_list for GTK+-2.4. 2004-05-23 Masao Mutoh * src/rbgtkfilechooser.c: Add Gtk::FileChooserNotExistentError, Gtk::FileChooserBadFileNameError for error handling. * src/rbgtkiconinfo.c: Added. * src/rbgtkicontheme.c: Added. 2004-05-21 Masao Mutoh * src/rbgtkdialog.c: Gtk::Dialog#run accept a block. Suggested by Dario Linsky. sample/misc/dialog2.rb: Follow above changes. 2004-05-18 Masao Mutoh * src/rbgtkrc.c: Add Gtk::RC.reset_styles for GTK+-2.4. * src/rbgtkstock.c: Add missing constants and support GTK+-2.4. * src/rbgtkaccelmap.c: Define as a class since GTK+-2.4 otherwise as a module. Add Gtk::AccelMap.get, .lock_path, .unlock_path. * src/rbgtkaccelkey.c: Add Gtk::AccelKey#set_key, #set_mods, #set_flags. 2004-05-16 Masao Mutoh * src/rbgtkmain.c: Add Gtk.set_locale, Gtk.disable_setlocale. * sample/misc/filechooser.rb: Added (Original code from Seiya Nishizawa). * src/rbgtk.h, gtk2.def: Add rbgtk_dialog_add_buttons_internal as an external function. * src/rbgtkdialog.c: ditto. * src/rbgtkfilechooser.c, rbgtkfilefilter.c, rbgtkfilechooserdialog.c: Modified. 2004-05-16 Seiya Nishizawa * src/rbgtkfilechooser.c, rbgtkfilefilter.c, rbgtkfilechooserdialog.c: Added. 2004-05-14 Masao Mutoh * src/rbgdkkeymap.c: Add Gdk::Keymap.for_display. * src/rbgdkevent.c: Gdk::EventClient#send_clientmessage_toall returns self. Rename Gdk::SettingAction to Gdk::EventSetting::Action. 2004-05-13 Masao Mutoh * src/rbgtkcontainer.c: Gtk::Container#focus_hadjustment/vadjustment return nil when NULL is returned. * src/rbgdkevent.c: Rename from Gdk::EventCrossing::CrossingMode to Gdk::EventCrossing::Mode 2004-05-01 Masao Mutoh * src/rbgtktextview.c: Fix a bug of Gtk::TextView#move_child. Reported by Emmanuel Touzery. 2004-04-30 Masao Mutoh * src/rbgtktextview.c: Fix a bug of Gtk::TextView#add_child_in_window. Reported by Emmanuel Touzery. 2004-04-29 Masao Mutoh * extconf.rb: Use $cleanfiles instead of $discleanfiles to remove rbgdkkeysyms.h, rbgtkinits.c. 2004-03-25 Masao Mutoh * src/rbgtkstyle.c: Fix a bug of Gtk::Style#paint_layout. Reported by rds. * src/rbgtkwidget.c: Fix a bug of Gtk::Widget#state, #saved_state. 2004-03-24 Masao Mutoh * src/rbgtkstyle.c: Accept nil for an argument of Gtk::Style#paint_xxx. * src/rbgdkscreen.c: Fix a bug of Gdk::Screen#get_setting. * src/rbgdkevent.c: Fix a bug of Gdk::Event.setting_get. * sample/misc/gdkscreen.rb: Added. * src/rbgtksettings.c: Fix memory leaks. * src/rbgtktreemodel.c: Fix a memory leak of Gtk::TreeModel#get_value. * src/rbgtktreeiter.c: ditto (Gtk::TreeIter#[], #==). 2004-03-14 Masao Mutoh * extconf.rb: Remove src/rbgtkinits.c, rbgdkkeysyms.h when run "make distclean". * src/rbgtkwindow.c: Add Gtk::Window#fullscreen, #unfullscreen. 2004-03-10 Masao Mutoh * src/init.c: Fix a problem on MinGW. 2004-03-09 Masao Mutoh * src/rbgtkcombo.c: Fix a bug(Sorry, I added some debug code...). 2004-03-07 Masao Mutoh * sample/misc/bindings.rb: Modified. 2004-03-06 Masao Mutoh * src/rbgtktextbuffer.c: Gtk::TextBuffer#insert_with_tags, #insert_pixbuf, #insert_child_anchor: Show warning when -d mode only. * src/rbgtk.h: Synchronize version number to Ruby/GLib. * src/init.c: Code cleanup. * REAMDE, sample/misc/label.rb, sample/misc/toolbar.rb, sample/testgtk/notebook.rb, src/init.c, src/rbgdkdisplay.c, src/rbgdkdraw.c, src/rbgdkevent.c, src/rbgdkkeymap.c, src/rbgdkpixmap.c, src/rbgdkscreen.c, src/rbgdkselection.c, src/rbgdkwindow.c, src/rbgtk.h, src/rbgtkallocation.c, src/rbgtkcombo.c, src/rbgtkcontainer.c, src/rbgtkobject.c, src/rbgtksettings.c, src/rbgtkspinbutton.c, src/rbgdkgc.c, src/rbgtktextattributes.c, src/rbgtktextbuffer.c, src/rbgtktreeiter.c, src/rbgtktreepath.c, src/rbgtktreeview.c, src/rbgtktreeviewcolumn.c, src/rbgtkwidget.c: Update Copyright. 2004-03-05 Masao Mutoh * src/rbgtkcontainer.c: Fix a memleaks for Gtk::Container#child_properties. * src/rbgdkevent.c: Removed Gdk::EventKey#string, #length. 2004-03-05 Masahiro Sakai * src/rbgdkdraw.c, src/rbgdkgc.c, src/rbgdkpixmap.c, src/rbgdkwindow.c: Fix #elif conditions. 2004-03-03 Masao Mutoh * src/rbgdkselection.c, rbgtkwidget.c: Fix warnings for GTK+-2.0.x. 2004-03-02 Masao Mutoh * sample/gtk-demo/stock_browser.rb, list_store.rb, tree_store.rb: Some modified. 2004-03-01 Masao Mutoh * src/rbgtktreeviewcolumn.c: Fix a segfault of Gtk::TreeViewColumn#set_cell_data_func. Reported by Joao Pedrosa. * src/rbgtktreeview.c: Ditto. * src/init.c: Remove comment for threading support. 2004-02-29 Masao Mutoh * src/rbgtk.h: Increment version number. * src/rbgdkwindow.c: Fix an argument numbers. Reported by Michel Metzger. 2004-02-27 Masao Mutoh * src/rbgdkscreen.c: Change Gdk::Screen#setting to #get_setting. * src/rbgdkevent.c: Move Gdk::Event.get_graphics_expose to Gdk::EventExpose.get_graphics_expose. Gdk::Event#put returns self. Move Gdk::Event#window, #window= to Gdk::EventAny. Add G_DEF_SETTERS to each classes. Add Gdk::Event::PRIORITY_REDRAW. * src/rbgdkwindow.c: Move Gdk::Window#toplevels to Gdk::Window.toplevels and fix a memory leak. Fix two bugs of Gdk::Window.at_pointer and #pointer. Gdk::Window#pointer changes ret-value([x, y, mod] to [win, x, y, mod]). 2004-02-23 Masao Mutoh * src/rbgdkkeymap.c, rbgdkgc.c, rbgdkpixmap.c, rbgdkdraw.c, rbgdkwindow.c rbgdkscreen.c, rbgdkdisplay.c: Support G_DEF_CLASS3. Real-classes are defined when private _get_type() is called. 2004-02-22 Masao Mutoh * src/rbgdkwindow.c: Gdk::Window#set_geometry_hints accept nil as geometry. Fix a memory leak of Gdk::Window#children. Add Gdk::Window#set_skip_taskbar_hint, #set_skip_pager_hint. Gdk::Window#pointer returns nil when the window contains the pointer isn't known to GDK. 2004-02-19 Masao Mutoh * src/rbgdkwindow.c: Gdk::Window#set_static_gravities raise RuntimeError when it couldn't turn on static gravity. * src/makedefconst.rb: Removed. It's never been used. 2004-02-15 Masao Mutoh * src/rbgdkproperty.c: Fix a warning. 2004-02-14 Vincent Isambart * src/makedefconst.rb, extconf.rb: replaced PLATFORM with RUBY_PLATFORM. 2004-02-12 Masao Mutoh * src/rbgtktextappearance.c: Add Gtk::TextAppearance.new. * src/rbgdkdisplay.c: Fix argument errors of Gdk::Display#put_event, #set_double_click_time. Bugs item [892303]. * sample/gtk-demo/main.rb: Don't show a warning message when "Tree View" is choosed reported by gariele renzi. * src/rbgdkwindow.c: Fixed Gdk::Window#(set_)decorations, #(set_)functions, #(set_)events reported by gabriele renzi. * sample/testgtk/notebook.rb: Fixed bugs reported by gabriele renzi. * sample/misc/label.rb: Fix a warning repoted by gabriele renzi. * sample/misc/toolbar.rb: Fix a typo reported by gabriele renzi. * src/rbgtktextappearance.c: Add Gtk::TextAppearance. * src/rbgtktextattributes.c: Add all accessors. * src/gtk2.def, rbgtk.h: Add rbgtk_text_appearance_get_type. 2004-02-11 Dafydd Harries * src/rbgtkcontainer.c: Add Gtk::Container#<< as an alias of #add. * src/rbgtktreepath.c, src/rbgtktreeiter.c: Add Gtk::TreePath#to_s, Gtk::TreeIter#to_s as aliases of #to_str. 2004-02-03 Masao Mutoh * src/rbgtktextattributes.c: Remove Gtk::TextAttributes#copy (Use Gtk::Boxed#copy instead). 2004-02-01 Masao Mutoh * src/rbgtksettings.c: Add Gtk::Setting.rc_property_parse_*. * sample/misc/settings.rb: Added. 2004-01-30 Masao Mutoh * src/rbgtkcontainer.c: Change arguments of Gtk::Container.install_child_property. * sample/misc/properties.rb: ditto. 2004-01-29 Masao Mutoh * src/rbgtkcontainer.c: Add Gtk::Container.install_child_property. * sample/misc/properties.rb: Added. * src/lib/gtk2.rb: Require Atk module. 2004-01-26 Masao Mutoh * sample/misc/style_property.r[bc]: Added. * src/rbgtkwidget.c: gtk_widget_class_install_style_property_parser() was implemented as Gtk::Widget.install_style_property(){...}. 2004-01-25 Masao Mutoh * src/rbgtkwidget.c: Fix Gtk::Widget.style_properties. 2004-01-22 Masao Mutoh * src/rbgtkwidget.c: Add Gtk::Widget.install_style_property, .style_property. 2004-01-13 Masao Mutoh * src/rbgtkallocation.c: Add Gtk::Allocation#to_rect. * src/rbgtktextbuffer.c: Gtk::TextBuffer#insert_with_tags, #insert_pixbuf, #insert_child_anchor are deprecated. Use Gtk::TextBuffer#insert instead. * sample/gtk-demo/textview.rb: Apply above changes. 2003-01-10 Masao Mutoh * src/rbgtkspinbutton.c: Fix a bug of Gtk::SpinButton#range. Pointed out by Thomas Hunger. 2003-12-27 Masao Mutoh * src/rbgtktextiter.c: Gtk::TextIter#char returns String. 2003-12-23 Masao Mutoh * src/rbgtktreeviewcolumn.c: Fix a segfault in Gtk::TreeViewColumn#set_cell_data_func. 2003-12-21 Kenichi Komiya * src/rbgtkbindingset.c: Fix a segfault. * src/rbgtktexttagtable.c, rbgtktexttag.c, rbgdkcolormap.c: Use G_INITIALIZE instead of RBGTK_INITIALIZE, because they are not Gtk::Object. 2003-12-20 Kenichi Komiya * src/rbgtkbindingset.c: Add Gtk::BindingSet#add_signal. Fix some bugs. * src/rbgtkobject.c: Add Gtk::Object.binding_set. * sample/misc/bindings.rb: Added. 2003-12-19 Masao Mutoh * src/rbgtkobject.c (Init_gtk_object): Remove Gtk::Object#activate_binding. 2003-12-04 Masao Mutoh * src/rbgtksizegroup.c: Apply Enums, properties. Reported by Jan Weil. 2003-11-27 Masao Mutoh * src/rbgdkwindow.c: Gdk::Window#set_cursor accept nil. 2003-11-24 Masao Mutoh * src/rbgdk.c: Fix compilation error for GTK+-2.0. * sample/gtk-demo/README, ruby-gnome2-logo.png: Added. * sample/gtk-demo/pixbufs.rb: Follow API change of Gdk::RGB.draw_rgb_image. * src/rbgdk.c, rbgdkdragcontext.c: Fix compilation error for GTK+-2.0. 2003-11-22 Masao Mutoh * src/rbgtk.h: Move version info from rbgtkconst.c. 2003-11-21 Matthew Berg * src/rbgtktreemodelsort.c: Add Gtk::TreeModelSort#iter_is_valid?. 2003-11-21 Masao Mutoh * src/rbgdkscreen.c: Remove invalid macros. * src/rbgtkconst.c: Update version information. 2003-11-21 Masahiro Sakai * src/*.c: use "#if GTK_CHECK_VERSION(2,2,0)" instead of "#if GTK_MINOR_VERSION >= 2" for conditional compiling. 2003-11-21 Matthew Berg * src/rbgtktreeselection.c: Gtk::TreeSelection#selected_rows, #count_selected_rows, #unselect_range. * src/rbgtktreeiter.c: Add Gtk::TreeIter#to_str * src/rbgtktreeview.c: Add Gtk::TreeView#set_cursor_on_cell. * src/rbgtktreeviewcolumn.c: Add Gtk::TreeViewColumn#focus_cell. 2003-11-20 Masao Mutoh * src/rbgdkevent.c: Fix compilation problems for GTK+-2.0.x. 2003-11-18 Masahiro Sakai * src/rbgtktextbuffer.c (txt_get_text, txt_get_slice): fix memory leaks. Thanks to Hideyasu Yamashita. 2003-11-13 Masao Mutoh * src/rbgtkliststore.c: Add Gtk::ListStore#iter_is_valid?, #reorder, #swap, #move_before, #move_after. * src/rbgtktreestore.c: Add Gtk::TreeStore#iter_is_valid?, #reorder, #swap, #move_before, #move_after. 2003-11-13 Masahiro Sakai * src/src/rbgtkstyle.c (style_set_font_desc): Fix to release old value and copy new value, to avoid segmentation fault. 2003-11-09 Masao Mutoh * src/rbgdkwindow.c: Fix a bug of Gdk::Window#pointer * src/rbgtkconst.c: Update version number. 2003-11-07 Masao Mutoh * src/rbgtkwidget.c: Fix a bug for Gtk::Widget#style_get_property. Add Gtk::Widget.style_properties. 2003-11-03 Masao Mutoh * src/rbgdk.c: Add Gdk.display_arg_name, .set_locale, .set_sm_client_id, .notify_startup_complete, .program_class, .set_program_class, .display, .error_trap_push, .error_trap_pop. * src/rbgdktimecoord.c: Added. * src/rbgtk.h: Add GDK_TYPE_TIME_COORD. * src/rbgdkdevice.c: Added. 2003-11-02 Masao Mutoh * src/rbgdkdragcontext.c: Rename Gdk::DragContext.protocol to Gdk::DragContext.get_protocol. Rename Gdk::DragContext#motion to Gdk::DragContext#drag_motion. Add Gdk::DragContext.begin. Support GTK+-2.2 methods. * src/rbgdkselection.c: Support GTK+-2.2 methods. * src/rbgdkpixbuf.c: Add Gdk::Pixbuf#render_threshold_alpha, Gdk::Pixbuf.from_image. * src/rbgdkrgb.c: Unified Gdk::RGB.draw_rgb_image and .draw_rgb_image_dithalign. Rename Gdk::RGB.cmap to Gdk::RGB.colormap. Add Gdk::RGB.draw_indexed_image, .find_color, .set_install, .set_min_colors, .ditherable?, set_verbose. * src/rbgdkgc.c: Add Gdk::GC#foreground, #background, #function, #fill, #tile, #stipple, #ts_origin, #clip_origin, #clip_mask, #subwindow_mode, #exposures?, #line_attributes. Rename Gdk::GC#set_subwindow to Gdk::GC#set_subwindow_mode. * src/rbgtktreeiter.c: Fix a segfault in Gtk::TreeIter#next!. Pointed out by Matthew Berg. 2003-11-01 Laurent Sansonetti * sample/misc/stock.rb: Follow Gtk::Image changes (was broken). 2003-11-01 Matthew Berg * src/rbgtkmenu.c: Fix a crash in Gtk::Menu#popup. 2003-10-28 Matthew Berg * src/rbgtktreerowreference.c: Fix a segfault of Gtk::TreeRowReference.path 2003-10-23 Masahiro Sakai * src/rbgtktreepath.c (treepath_to_string): fix memory leak. * src/rbgdkevent.c: fix DEFINE_ACCESSOR() macro to use G_STRINGIFY(). 2003-10-21 Masao Mutoh * src/rbgdkpixbuf.c: Add Gdk::Pixbuf.from_drawable. * src/rbgdkdraw.c: Add Gdk::Drawable#draw_pixbuf. * src/rbgdkevent.c: Imprement all setter methods. 2003-10-19 Masao Mutoh * src/rbgdkevent.c: Add Gdk::EventButton#device, #axes Gdk::EventScroll#device, #x_root, #y_root Gdk::EventMotion#device, #axes, Gdk::EventExpose#region Gdk::EventProximity#device Unify Gdk::EventClient#data_(byte|short|long) to Gdk::EventClient#data. 2003-10-18 Masao Mutoh * src/rbgdkevent.c: Add Gdk::EventKey#hardware_keycode, #group. Gdk::Event.get_axis, .coords, .root_coords, .handler_set, .show_events?, .set_show_events, #set_screen, #screen, .setting_get, .add_client_message_filter, .new, Gdk::EventButton#device, #axes, Gdk::EventScroll#device, #x_root, #y_root, Gdk::EventMotion#device, #axes, Gdk::EventExpose#region, Gdk::EventProximity#device 2003-10-17 Masao Mutoh * src/rbgdkkeymap.c: Added. * src/rbgdkgeometry.c: Gdk::Geometry#set requires win_gravity as last parameter. Add Gdk::Geometry#win_gravity, #set_win_gravity. 2003-10-15 Masao Mutoh * src/rbgdkproperty.c: Add a file. Move Gdk::Property from Gdk::Window. Add Gdk::Property.text_proerty_to_text_list, .text_property_to_utf8_list, .string_to_compound_text, .utf8_to_string_target, .utf8_to_compound_text. * src/rbgdkwindow.c: Move gdk_property_* to rbgdkproperty.c. 2003-10-14 KATO Kazuyoshi * sample/gtk-demo/changedisplay.rb: Added. * sample/gtk-demo/pixbufs.rb: Added. * sample/gtk-demo/stock_browser.rb: Code cleanup. * sample/gtk-demo/main.rb: Make italic text in active item. Define RubyTokenizer. Code cleanup. * sample/gtk-demo/common.rb: Delete debug message. * src/rbgdkwindow.c: Fix Gdk::Window#user_data. 2003-10-14 Masao Mutoh * src/rbgdkevent.c: Fix a segfault when GLib::Object#signal_emit is called. * sample/testgtk/rulers.rb: Ditto. 2003-10-13 Masao Mutoh * src/rbgdk.c: Fix a segfault for Gdk.pointer_grab. Reported by KATO Kazuyoshi. 2003-10-09 Masao Mutoh * src/rbgtktextbuffer.c: Add Gtk::TextBuffer#text, #slice. * src/rbgdkwindow.c: Add Gdk::Window#set_icon_list, #set_modal_hint, #set_type_hint, #frame_extents, #decorations. 2003-10-10 Martin Povolny * src/rbgtktreeview.c: Add Gtk::TreeView#expand_to_path 2003-10-08 Masao Mutoh * src/rbgdkwindow.c: Add Gdk::Window#get_update_area, #freeze_updates, #thaw_updates, #process_updates, #internal_paint_info, #set_user_data, #shape_combine_region, #user_data, #set_geometry_hints. Gdk::Window.process_all_updates, .set_debug_updates, Rename Gdk::Window.foreign to .foreign_new. 2003-10-07 Masao Mutoh * src/gtk2.def: Add gdk_windowattr_get_type. * src/rbgdkkeyval.c: Add Gdk::Keyval.convert_case. * src/rbgdkwindowattr.c: Added. * src/rbgtknotebook.c: Add Gtk::Notebook#n_pages. Gtk::Notebook#page= works with negative value. 2003-10-06 Masao Mutoh * src/rbgdkspan.c: Removed. Use [x, y, width] instead. * src/rbgtk.h: Revmoe GDK_TYPE_SPAN. * src/rbgdkregion.c: Remove Gdk::Region#eql?, #&, #-, #|. Merge Gdk::Region#union_with_rect and #union. Gdk::Region#offset, #shrink returns self. Fix segfault for Gdk::Region#rectangles. Gdk::Region#spans_intersect_each() accept [x, y, width] not Gdk::Span. 2003-10-05 Masao Mutoh * src/rbgtkwidget.c: Rename Gtk::Widget#list_accel_closures to #accel_closures. * src/rbgdkvisual.c: Renam Gdk::Visual.list_visuals to .visuals * src/rbgtkstock.c: Rename Gtk::Stock.list_ids to .ids. 2003-10-04 Masao Mutoh * src/rbgtkmenu.c: Gtk::menu#popup should set push_in as 3rd parameter. 2003-10-03 Masao Mutoh * src/rbgdkdisplaymanager.c: Remove Gdk::DisplayManager#get_default_display. Use Gdk::DisplayManager#default_display instead. Remove implementation of Gdk::DisplayManager#default_display, #set_default_display, because they are defined as properties. Rename Gdk::DisplayManager#list_displays to Gdk::DisplayManager#displays. Add Gdk::DisplayManager#core_pointer. * src/rbgdkscreen.c: Add Gdk::Screen#default_colormap, #set_default_colormap, #system_colormap, #system_visual, #rgb_colormap, #rgb_visual, #root_window, #display, #visuals, #toplevel_windows, #display_name, #broadcast_client_message. Unify Gdk::Screen#monitor_at_point and #montior_at_window to #get_monitor. * src/rbgdkdisplay.c: Add Gdk::Display#event, #peek_event, #put_event, #set_double_click_time, #core_pointer. Remove Gdk::Display#screen. Use Gdk::Display#get_screen or #[] instead. Rename Gdk::Display.new to Gdk::Display.open and accept block. * src/rbgdkcolormap.c: Add Gdk::Colormap#free_color, #query_color, #visual. 2003-10-02 Masao Mutoh * src/rbgdkimage.c: Add Gdk::Image#colormap, #colormap=, set_colormap, Gdk::Image#image_type, #visual, #depth , #bits_per_pixel. Raise error when the image couldn't be created in Gdk::Image.new. 2003-09-29 Masao Mutoh * src/rbgdkatom.c: Remove Gdk::Atom#===, Gdk::Atom#eql? * src/rbgdkpango.c: Rename Gdk::Pango::AttrEmbossed to Gdk::PangoAttrEmbossed, Gdk::Pango::AttrStipple to Gdk::PangoAttrStipple. 2003-09-26 Masao Mutoh * src/rbgdkkeyval.c: Add Gdk::Keyval.to_unicode, .from_unicode. * src/rbgdkatom.c: Add Gdk::Atom.new, GDK_NONE. * src/rbgtkdrag.c (Init_gtk_drag): Gtk::Drag.find_target -> Gtk::Drag.dest_find_target. Accept nil for 3rd parameter. Gtk::Drag.get_target_list -> Gtk::Drag.dest_get_target_list. Fix a segfault when returned NULL. Gtk::Drag.set_target_list -> Gtk::Drag.dest_set_target_list. Fix a segfault when returned NULL. * src/rbgtkselectiondata.c: Remove Gtk::SelectionData.text=. Gtk::SelectionData.set_text returns true or false. Fix memory reaks of Gtk::SelectionData.text, Gtk::SelectionData.targets. 2003-09-23 Masao Mutoh * src/rbgtknotebook.c: Imprement Gtk::Notebook#set_page explicitly. Because "page" property doesn't accept negative value. 2003-09-09 Masao Mutoh * src/rbgtkclipboard.c: Rename Gtk::Clipboard.new to Gtk::Clipboard.get. Gtk::Clipboard#set_with_data to Gtk::Clipboard#set. Remove Gtk::Clipboard#owner. * src/rbgtktreeiter.c: Gtk::TreeIter#[key]=val returns val. 2003-09-08 Masao Mutoh * src/rbgtkaccelgroup.c, rbgtkaccelmap.c: Fix a compatibility for Gtk::AccelGroup, Gtk::AccelMap. 2003-09-07 Masao Mutoh * sample/gtk-demo/tree_store.rb: Fix handling of block argument for ruby-1.8. * sample/gtk-demo/editable_cells.rb: Fix segfault of removing items action. 2003-09-06 Masao Mutoh * src/rbgtklabel.c: Add Gtk::Label#markup=. Gtk::Label#text=(str) returns str. * src/rbgdkdisplaymanager.c: GTK+-2.2.0 or later only. 2003-09-03 Masahiro Sakai * sample/gtk-demo/main.rb (Demo::Main#create_tree): fix handling of block argument to work with latest ruby-1.8. 2003-09-01 Masao Mutoh * src/rbgtkdialog.c, rbgtkmessagedialog.c, rbgtkwindow.c, rbgtkimage.c, rbgtkspinbutton.c, rbgtktreemodel.c, rbgtktreeselection.c, rbgtktreeview.c, rbgtktreesortable.c, rbgtkcellrenderer.c, rbgtktoolbar.c, rbgtknotebook.c, rbgtktable.c, rbgtkscrolledwindow.c, rbgtkarrow.c, rbgtkcalendar.c, rbgtkbox.c, rbgtkwidget.c, rbgdkdragcontext.c: Apply enum/flags changes. * sample/misc/cursor.rb, rbgtkaccelkey.c: Follow enum/flags changes. * src/rbgtktreeiter.c (Init_gtk_treeiter): Define Gtk::TreeIter#[], #[]=. * sample/misc/treeview.rb, listview.rb: Use Gtk::TreeIter#[], #[]=. 2003-08-31 Masao Mutoh * src/rbgtkiconsize.c: Add Gtk::IconSize.lookup_for_settings. * src/rbgdkinput.c: Add "condition" as a block parameter of Gdk::Input.add. * src/rbgdkdragcontext.c: Fix wrong parameter of Gdk::DragContext.protocol, Gdk::DragContext#find_window. * src/rbgdkevent.c: Add some methods. * src/rbgdkevent.c, rbgdkdragcontext.c, rbgdkinput.c, rbgtkmain.c, rbgtkaccelgroup.c, rbgtkaccelgroup.c, rbgtkaccelmap.c, rbgtkdrag.c, rbgtkiconsource.c, rbgtkiconset.c, rbgtkiconsize.c, rbgtkbindingset.c, rbgtkstyle.c: Apply enum/flags changes. 2003-08-30 Masahiro Sakai * extconf.rb: remove nasty hack by using Dir.entries. 2003-08-30 Masao Mutoh * src/rbgdk.c, rbgdkcursor.c, rbgdkregion.c, rbgdkgc.c, rbgdkrgb.c, rbgdkimage.c, rbgdkpixbuf.c, rbgdkvisual.c: Apply enum/flags changes. * src/makecursors.rb: Removed. 2003-08-28 Martin Povolny * src/rbgtktreeview.c: fix non-functional treeview_get_path_at_pos 2003-08-28 Masao Mutoh * extconf.rb: Exit with 1 when the package is not found. 2003-08-22 Masahiro Sakai * src/rbgtktreeview.c (treeview_insert_column): suppres warning. * src/rbgdkgc.c (gdkgc_set_dashes): fix to use RARRAY not RSTRING. 2003-08-21 Masahiro Sakai * src/*.c: define enum/flags classes. 2003-08-20 Masahiro Sakai * extconf.rb: check Xlib features only if gdk target is x11. * src/rbgdk.c: new module function Gdk.target which returns gdk target as a string. * src/rbgdkevent.c: use G_DEF_CONSTANTS() for GDK_TYPE_SCROLL_DIRECTION, GDK_TYPE_VISIBILITY_STATE, GDK_TYPE_CROSSING_MODE, GDK_TYPE_NOTIFY_TYPE, GDK_TYPE_PROPERTY_STATE and GDK_TYPE_WINDOW_STATE. 2003-08-19 KATO Kazuyoshi * src/rbgdkdisplaymanager.c: Added. * src/rbgtklabel.c: Implement Gtk::Label#text=. * sample/gtk-demo/common.rb: Follow Demo::Main changes. * sample/gtk-demo/main.rb: Fix and destroy closed window. 2003-08-17 KATO Kazuyoshi * sample/gtk-demo/stock_browser.rb: Added. * sample/gtk-demo/main.rb: When ARGV passed, Show only class/file which read from ARGV. * sample/gtk-demo/common.rb: Code cleanup. 2003-08-17 Martin Povolny * src/rbgdkatom.c: Fix memory leak in gdkatom_name reported by Jan Becvar . 2003-08-09 Masao Mutoh * src/rbgtkconst.c: Update version number. * src/depend: Use old style. * extconf.rb, src/rbgdk.c: Fix compile error for Win32. 2003-08-06 Masahiro Sakai * src/rbgtktextbuffer.c (txt_insert_child_anchor): pass correct anchor to gtk_text_buffer_insert_child_anchor(). 2003-08-01 Masao Mutoh * src/rbgtktreemodel.c: Add Gtk::TreeModel#iter_first. 2003-07-31 Masao Mutoh * src/rbgtkmessagedialog.c: Fix constants. * sample/gtk-demo/textview.rb: Fix warnings for ruby-1.8.x. 2003-07-29 Masao Mutoh * src/rbgtkdrag.c: Gtk::Drag.begin, .get_target_list, .set_target_list. * src/rbgtktextview.c: Gtk::TextView#scroll_to_iter return true or false. 2003-07-29 Geoff Youngs * src/rbgdkevent.c: Use G_RENAME_CONSTANTS for [23]BUTTON_PRESS 2003-07-29 Masao Mutoh * src/rbgdk.c: Add Gdk.set_x_error_handler, Gdk.set_x_io_error_handler. Suggested by Tom Felker. * extconf.rb: Check "X11/Xlib.h" 2003-07-24 Masao Mutoh * src/rbgdkdisplay.c: Gdk::Display.new doesn't call gdk_display_get_default. 2003-07-23 Masao Mutoh * src/rbgtktreeviewcolumn.c: Fix G_DEF_CONSTANTS. Reported by Geoff Youngs. 2003-07-22 Masao Mutoh * src/rbgtkiconsize.c: Fix G_DEF_CONSTANTS. 2003-07-21 Masao Mutoh * src/rbgtktexttag.c: Add Gtk::TextTag#event. 2003-07-20 Masao Mutoh * src/rbgtktreeview.c: Enhanced Gtk::TreeView#insert_column. * src/rbgtktreeviewcolumn.c: Gtk::TreeViewColumn#add_attribute accept Symbol as a attribute. Add Gtk::TreeViewColumn#set_attributes. Remove Gtk::TreeViewColumn#cell_data_func=. 2003-07-20 Masahiro Sakai * src/*.c: use G_DEF_CONSTANTS() for defining enum/flags constants. 2003-07-18 Masahiro Sakai * src/rbgtkclipboard.c (clipboard_set_text): * src/rbgtkimcontext.c (imcontext_set_surrounding): * src/rbgtkselectiondata.c (gtkselectiondata_set_text): * src/rbgtktextbuffer.c (txt_set_text, txt_insert, txt_insert_at_cursor, txt_insert_interactive, txt_insert_interactive_at_cursor, txt_insert_with_tags): should call StringValue() before using RSTRING(). * src/rbgtkeditable.c (src/rbgtkeditable.c): use StringValue(new_text) instead of Check_Type(new_text, T_STRING). 2003-07-15 Masao Mutoh * src/rbgtkselectiondata.c: Add Gtk::SelectionData#display. * src/rbgtkliststore.c: Gtk::ListStore#remove return true or false correctly in GTK+-2.2. * src/rbgtktreeview.c: Add Gtk::TreeView#set_column_drag_function, #map_expanded_rows, #set_search_equal_func. * src/rbgtkclipboard.c: Fix segfault for Gtk::Clipboard#set_with_data * src/rbgtktreeselection.c: Add Gtk::TreeSelection#set_select_function. * src/rbgtktreepath.c: Remove Gtk::TreePath#to_s. 2003-07-14 Masahiro Sakai * src/rbgtkmain.c: fix segmentation fault caused by passing invalid VALUE to rb_define_const(). * src/depend: use $(srcdir) to allow building in different directory. 2003-07-12 Masao Mutoh * src/rbgtktreedragsource.c, rbgtktreedragdest.c: Added. * src/rbgtktreesortable.c: Add Gtk::TreeSortable::DEFAULT_SORT_COLUMN_ID. Remove Gtk::TreeSortable#sort_func= which requires block. * src/rbgtktreestore.c: Gtk::TreeStore#remove return true or false correctly in GTK+-2.2. * src/rbgtktreemodel.c: Fix block argument for signals. 2003-07-05 Masao Mutoh * src/rbgtkinvisible.c: Implement GTK+-2.2 methods. * src/rbgtkitemfactory.c: Remove Gtk::ItemFactory.add_foreign() as deprecated. Clean up of Gtk::ItemFactory#create_items. Fix error for Gtk::ItemFactory#construct. * src/rbgdkscreen.c: Remove Gdk::Screen#initialize. 2003-07-03 Masao Mutoh * src/rbgdkscreen.c, rbgdkdisplay.c: Fix to call Init_* twice. 2003-06-27 Geoff Youngs * src/rbgdk.c: Gdk::pointer_grab, Gdk::keyboard_grab fixes. Add Gdk.windowing_(x11|win32|fb)? * src/rbgdkdisplay.c, src/rbgdkscreen.c: Added. * src/rbgdkdraw.c: Add Gdk::Drawable#xid for X11 only. Add Gdk::Drawable#screen, #display since GTK+-2.2. * src/rbgtktreemodel.c: Change to using rb_yield() in Gtk::TreeStore#each. * src/rbgdkevent.c: Fix for Gdk::EventProperty#atom to return Gdk::Atom instead of integer value. 2003-06-27 Masao Mutoh * src/init.c: Remove gtk_setlocale() as it'll call in glib2. 2003-06-26 Masao Mutoh * src/*.c: Use G_BLOCK_PROC instead of rb_f_lambda(). This change is for ruby-1.8.x. 2003-06-22 Masao Mutoh * src/init.c, src/rbgtkmain.c: Call setlocale(LC_NUMERIC, "C") for some locales which doesn't use "." as decimal-point. Pointed out by Joao Pedrosa. * src/rbgtkbindingset.c: Added. * src/rbgtkobject.c: Add Gtk::Object#bindings_activate(from Bindings). * src/rbgtkeditable.c: Change return value of Gtk::Editable#selection_bounds same as Gtk::Label#selection_bounds. * src/rbgtktreemodel.c: Fix Gtk::TreeModel#each. Pointed out by Joao Pedrosa. * src/rbgtkmain.c: Add Gtk.default_language, .main_iteration_do, .current, .main_do_event, .input_add, .quit_add, .quit_remove, .key_snooper_install, .key_snooper_remove, .current_event_time, .current_event_state, .get_event_widget, .propagate_event. * init.c, src20/gtk20.c, src22/gtk22.c, src/rbgtkclipboard.c: Add Gtk::Clipboard#display, #wait_for_contents. 2003-06-21 Masao Mutoh * src/rbgtknotebook.c: Code cleanup. Remove Gtk::Notebook#popup_disable/enable. Use Gtk::Notebook#enable_popup= instead. Add constants for GtkNotebookTab. Improve Gtk::Notebook#append/prepend_page_menu. Change parameter order of Gtk::Notebook#insert_page, #insert_page_menu. 2003-06-16 Masao Mutoh * src/rbgtkmenu.c: Remove Gtk::Menu#set_path. Use Gtk::Menu#set_accel_path instead. 2003-06-07 Geoff Youngs * src/rbgdkwindow.c: Gdk::Window.foreign() added * src/rbgdktextview.c: Fixed Gtk::TextView#get_window() 2003-06-06 Masao Mutoh * src/rbgtkstyle.c: Gtk::Style#paint_* accept nil for Gdk::Rectangle. Gtk::Style#lookup_icon_set accept symbol. 2003-06-05 Masao Mutoh * src/rbgtkfilesel.c: Fix segfault of Gtk::FileSelection#fileop_dialog. 2003-06-01 Masao Mutoh * src/rbgtkmenu.c: parameter of Gtk::Menu#popup was changed. Gtk::Menu#reorder_child, #reposition, #set_accel_group, #accel_group, #set_accel_path, #tearoff_state?, #set_path, #attach_to_widget. * src/rbgtkcolorsel.c: Add Gtk::ColorSelection.palette_to_string, .palette_from_string. 2003-05-27 Masao Mutoh * src/depend: Add a file. * extconf.rb: Follow mkmf-gnome2.rb position changes. * src/rbgtk.h: Remove a line for including rbglib.h. (because it is included by rbgobject.h) * sample/misc/t-gtksocket.rb: Follow Gtk::Socket changes. * src/rbgtktoolbar.c: Rename Gtk::Toolbar#unset_iconsize to #unset_icon_size. * src/rbgtkplug.c: Gtk::Plug#construct return self. * src/rbgtksocket.c: Removed Gtk::Socket#xwindow. 2003-05-25 Masao Mutoh * src/rbgtkliststore.c: Bugfix for SEGV when Gtk::ListStore#set_value is called. * src/rbgtktreestore.c: ditto(Gtk::TreeStore#set_value). * sample/testgtk/rulers.rb, progressbar.rb: Follow Gtk::ProgressBar changes. 2003-05-24 Masao Mutoh * src/rbgtkselectiondata.c: Removed Gtk::SelectionData.remove_all. Use Gtk::Selection.remove_all instead. * src/rbgtktargetlist.c: Added. * src/rbgtkselection.c: Add Gtk::Selection.add_targets. * src/rbgtkconst.c: Update version information. * src/rbgtkmain.c: Add Gtk.check_version. * src/rbgtkaccessible.c: Added. * src/rbgtkstyle.c: Add Gtk::Style#text_aa, #set_text_aa, #font_desc, #set_font_desc, #xthickness, #set_xthickness, #ythickness, #set_ythickness, #set_fg_gc, #set_bg_gc, #set_light_gc, #set_dark_gc, #set_mid_gc, #set_text_gc, #set_base_gc, #set_text_aa_gc, #set_black_gc, #set_white_gc, #set_bg_pixmap, #paint_*, #lookup_icon_set, #render_icon, #apply_default_background * src/rbgtkcelleditable.c: Gtk::CellEditable.start_editing accept nil. 2003-05-23 Masao Mutoh * src/rbgtktoolbar.c: Fixed incorrect calls of G_RELATIVE. * src/rbgtkwindow.c: Add Gtk::Window#set_frame_dimensions, #set_has_frame, #set_mnemonic_modifier, #add_mnemonic, #remove_mnemonic, #mnemonic_activate, #begin_resize_drag, #move_drag, #has_frame? #icon_list, #mnemonic_modifier, #parse_geometry, #reshow_with_initial_size #set_icon_list. .toplevels, .default_icon_list, .set_default_icon_list * src/rbgtkwidget.c: Add Gtk::Widget#flags, #set_flags, #unset_flags. 2003-05-22 Masao Mutoh * src/rbgtktoolbar.c: Fixed an incorrect call of G_RELATIVE. 2003-05-21 Masao Mutoh * src/rbgtkrc.c: Use rb_const_defined_at() instead of rbgobj_exist_class(). Pointed out by Masahiro Sakai. * src/rbgtkitemfactory.c: Gtk::ItemFactory#get_item/widget return Qnil when the functions return NULL. 2003-05-19 Masao Mutoh * src/rbgtkrcstyle.c: Added. * src/rbgtkrc.c: Add Gtk::RC.get_style_by_paths, .reparse_all_for_settings, .add_default_file, .default_files, .set_default_files, .find_module_in_path, .module_dir, .im_module_path, .im_module_file, .theme_dir * src/rbgtkrc.c: Add GtkRcFlags, GtkRcTokenType. 2003-05-18 Masao Mutoh * src/rbgtksettings.c: Added. 2003-05-17 Masao Mutoh * src/rbgtkwidget.c: Remove *_event methods. Use GLib::Instantiatable#signal_emit. Remove Gtk::Widget::NO_PARENT because it is deprecated constants. Fix return values of "size-request", "size-allocate" signals. 2003-05-13 Masao Mutoh * src/rbgtkwidget.c: Remove Gtk::Widget#set_requisition, DEFINE_EVENT_FUNC returns self. 2003-05-10 Masao Mutoh * src/rbgtkwidget.c: Rename Gtk::Widget#mnemonic_activate? -> #mnemonic_activate, Gtk::Widget#child_focus? -> #child_focus 2003-05-09 Masao Mutoh * src/rbgdkinput.c: Add constants of GdkExtensionMode. Add Gdk::Input.set_extension_events. * src/rbgtkwidget.c: Remove Gtk::Requisiton. Use [width, height] instead. ditto for Gtk::Widget#size_request, #child_requisition. Add Gtk::Widget#get_size_request. Rename Gtk::Widget#activate? to #activate, #ancestor to #get_ancestor. Bugfix for bad parameter numbers of Gtk::Widget#intersect. Return true not self for Gtk::Widget#hide_on_delete. * src/rbgtkrequisition: Removed. * src/rbgtkallocation.c, src/rbgtk.h, src/rbgtkwidget.c: Improve Gtk::Allocation. * src/rbgtkimcontext.c: Fix a warning. 2003-05-06 Masao Mutoh * src/rbgtkimcontext.c: Add Gtk::IMContext. * src/rbgtkimcontextsimple.c: Add Gtk::IMContextSimple. * src/rbgtkimmulticontext.c: Add Gtk::IMMulticontext. * src/rbgtktreemodelsort.c: Add Gtk::TreeModelSort. 2003-05-04 Masao Mutoh * sample/*/*.rb: Fix follow changes below. 2003-05-03 Masao Mutoh * src/rbgtktable.c: Rename Gtk::Table#set_row_spacing, #row_spacing=, #row_spacing, #set_column_spacing, #column_spacing=, #column_spacing #default_col_spacing to Gtk::Table#set_row_spacings, #row_spacings=, #row_spacings, #set_column_spacings, #column_spacings=, #column_spacings, default_column_spacing Add Gtk::Tabel#set_row_spacing(row), #set_column_spacing(col). * src/rbgtkprogressbar.c: Remove methods for deprecated properties. * src/rbgtkcontainer.c: Add Gtk::Container.child_property, .child_properties, Gtk::Container#child_type, Gtk::Container#child_get_property, Gtk::Container#child_set_property. * src/rbgtkcontainer.c, rbgtk.h: Add rbgtkcontainer_register_child_property_setter/getter. 2003-04-26 Masao Mutoh * src/rbgtkobject.c: Remove Gtk::Object#user_data, #user_data=, #set_user_data. 2003-04-24 Masao Mutoh * src/rbgtktreesortable.c: Small fix for xemacs 2003-04-24 Masao Mutoh * src/rbgtkaccelgroup.c: Gtk::AccelGroup#connect accept block instead of GLib::Closure. Fix for Gtk::AccelGroup#from_accel_closure. Gtk::AccelGroup#lock accept a block. * src/rbgtkcontainer.c: Add Gtk::Container#resize_container?, #check_resize, #set_reallocate_redraws, #focus_vadjustment, #focus_hadjustment, #resize_children, #propagate_expose, #focus_chain, #set_focus_chain, #unset_focus_chain. Gtk::Container#add() accept properties as 2nd parameter. 2003-04-21 Masao Mutoh * src/rbgtkframe.c: Remove Gtk::Frame#shadow, #set_shadow, #shadow= as deprecated properties. * src/rbgtkhandlebox.c: Remove Gtk::HandleBox#shadow, #set_shadow, #shadow= as deprecated properties. 2003-04-13 Masahiro Sakai * src/rbgtktextbuffer.c (txt_delete_mark, txt_move_mark, txt_insert_with_tags, txt_apply_tag, txt_remove_tag): Don't compare RVAL2GTYPE(tag) with G_TYPE_STRING. Because any object with #to_str should be accepted. 2003-04-11 Masahiro Sakai * sample/testgtk/testgtk.rb: cleanup 2003-04-09 Masao Mutoh * src/rbgtkmain.c: Gtk.grab_add, Gtk.grab_remove return nil. 2003-04-07 Masahiro Sakai * src/rbgtktreeiter.c (treeiter_set_value): Use gtk_tree_model_get_column_type() instead of RVAL2GTYPE(). And call g_value_unset(). * src/rbgtkliststore.c (lstore_set_value): ditto * src/rbgtktreestore.c (tstore_set_value): ditto 2003-04-06 Stephen Lewis * src/rbgtktreeiter.c: Bugfix for Gtk::TreeIter#parent. 2003-04-05 Masao Mutoh * src/rbgtktextbuffer.c: Make arguments of Gtk::TextBuffer#get_slice, #get_text omittable. 2003-04-02 Masao Mutoh * sample/misc/*.rb: Improve some samples. 2003-03-26 Nikolai :: lone-star :: Weibull * src/rbgtktreesortable.c: Added. 2003-03-23 Masao Mutoh * sample/gtk-demo/appwindow.rb: Fix a bug for creating Toolbar. * src/rbgdkpixmap.c: Fix warning. 2003-03-21 Masao Mutoh * sample/gtk-demo/*.rb: Modified comments. 2003-03-21 Geoff Youngs * src/rbgtkdrag.c (): NUM2INT() can fail a bounds check for the time value, NUM2ULONG() avoids this. 2003-03-21 Masao Mutoh * sample/gtk-demo/treeview.rb: Modified. 2003-03-21 Kazuo Saito * sample/gtk-demo/textview.rb: Add a file. * src/rbgtktreeiter.c: Fix for given NULL process in Gtk::TextIter#pixbuf, #child_anchor. 2003-03-21 Masao Mutoh * src/rbgtkconst.c: Update version info. * src/rbgtktreeiter.c: Improve Gtk::TreeIter#==. 2003-03-19 Masahiro Sakai * src/init.c (Init_gtk2): Use rb_rescue2() instead of rb_protect() for avoiding ruby bug!? * src/rbgdkevent.c: change Gdk::Event to a subtype of GLib::Boxed. * src/global.c (ary2glist, ary2gslist): remove functions that are no longer used. * src/rbgdkregion.c (gdkregion_span_func): change to static function. * src/gtk2.def: Add a file 2003-03-17 Geoff Youngs * src/rbgtktreeiter.c (treeiter_eql): moved declaration of GtkTreeModels to start of function for not depending on C99. 2003-03-14 Masahiro Sakai * src/rbgtk.h: remove code for GDK_ROOT_WINDOW. Because GDK_ROOT_WINDOW is no longer used. * src/global.h, src/init.c: move declarations of Init_gtk_gdk(), Init_gtk_gtk() and Init_gtk_inits() from src/global.h to src/init.c. * src/rbgtk.h, src/global.h: move treeiter_set_value_table declaration from src/rbgtk.h to src/global.h. * src/rbgtktreerowreference.c, src/rbgtkclipboard.c: don't initialize if rbgtk_tree_row_reference_get_type or rbgtk_clipboard_get_type is not set. * src/init.c: rb_protect() when requiring gtk22.so or gtk20.so. * src/rbgtktreeiter.c: Gtk::TreeIter#== should accept not only Gtk::TreeIter instance, but arbitary objects. 2003-03-11 Masahiro Sakai * extconf.rb: remove unused variables: gdkx, rubylibdir, sitelibdir. * extconf.rb: stop cheking _gtk_accel_group_attach() which is no longer used. 2003-03-10 Masao Mutoh * src/rbgtktreeiter.c: Add Gtk::TreeIter#==. 2003-03-09 Masao Mutoh * sample/misc/threads.rb: Add a file. 2003-03-08 Masao Mutoh * src/rbgdkthreads.c: Add a file. * src/init.c: Support multi-threading. 2003-03-07 Masao Mutoh * src/rbgdkthreads.c: Add a file. 2003-03-07 Masahiro Sakai * extconf.rb: append "-DRUBY_GTK2_COMPILATION" to $defs. * src/rbgtk.h: define RUBY_GTK2_VAR macro for exporting variables on some win32 platform. 2003-03-06 Masao Mutoh * src/rbgtkcombo.c: Remove Gtk::Combo#list, #button, #popup, #popwin, #set_item_string. Gtk::Combo.new accept an argument as string array. 2003-03-02 KATO Kazuyoshi * sample/gtk-demo/tree_store.rb: File added. * sample/gtk-demo/editable_cells.rb: Finished porting. * src/rbgtktreepath.c: Implement Gtk::TreePath#indices. * src/rbgtktreeview.c: Implement gtk_tree_view_insert_column_with_attributes style to Gtk::TreeView#insert. 2003-02-25 KATO Kazuyoshi * sample/gtk-demo: File added. 2003-02-23 Masao Mutoh * sample/misc/toolbar.rb, sample/testgtk/toolbar.rb: Follow Gtk::Toolbar changes. * src/rbgtkfontselection.c: Undefine Gtk::FontSelection#font as obsolete. 2003-02-23 KATO Kazuyoshi * src/rbgdkwindow.c: Add Gdk::Window#invalidate. * src/rbgtkseparatormenuitem.c: Bugfix for bad parameter value of Gtk::SeparatorMenuItem. 2003-02-17 Masahiro Sakai * src/rbgtk.h, src/global.h: Move id_relative_callbacks and id_call from src/rbgtk.h to src/global.h * src/rbgdkrgb.c: Change mGdkRgb to local variable. * src/rbgtkaccelgroupentry.c: Remove GTK_TYPE_ACCEL_GROUP_ENTRY. Because it is aleady defined in rbgtk.h * src/rbgtkaccelmap.c (accel_map_foreach_func): Change to static function. * src/rbgtkbox.c (box_query_child_packing, box_set_child_packing): ditto * src/rbgtkclipboard.c (clipboard_text_received_func): ditto 2003-02-16 Masahiro Sakai * src/rbgdkregion.c (gdkregion_spans_intersect_foreach): Remove unnecessary G_RELATIVE() call. * src/rbgtkaccelgroup.c (gaccelgrp_connect, gaccelgrp_find): ditto * src/rbgtkaccelmap.c (accel_map_foreach, accel_map_foreach_unfilterd): ditto * src/rbgtktextiter.c (forward_find_char, backward_find_char): ditto * src/rbgtktexttagtable.c (txt_tt_foreach): ditto * src/rbgtktreemodel.c (treemodel_foreach): ditto * src/rbgtktreeselection.c (treeselection_selected_foreach): ditto 2003-02-15 KATO Kazuyoshi * src/rbgtkitemfactory.c: Change callback parameter(add 2nd parameter as widget). 2003-02-15 Masao Mutoh * src/rbgtktoolbar.c: Remove Gtk::Toolbar#insert_item/widget/element, Gtk::Toolbar#prepend_item/widget/element, Gtk::Toolbar#append_item/widget/element. Use Gtk::Toolbar#insert, prepend, append instead. 2003-02-15 Masahiro Sakai * src/rbgtk.c: Remove dependence on id_relatives. 2003-02-13 Masahiro Sakai * extconf.rb: Use ../mkmf-gnome2.rb 2003-02-11 Masahiro Sakai * extconf.rb: Fix for building in different directory. 2003-02-10 Masao Mutoh * src/sample/misc/xbm_cursor.rb: Use Gdk::Pixmap instead of Gdk::Bitmap. 2003-02-09 Masao Mutoh * src/rbgdkgc.c: Support GTK+-2.2.x. (Call rbgobj_add_abstract_but_create_instance_class() because GdkGC changes as Abstract class in GTK+-2.2.x ... why?). 2003-02-05 Masao Mutoh * src/rbgtkwidget.c: Add Gtk::Widget#saved_state, #visible?, #focus?, #region_intersect, #send_expose, #style_get_property, #accessible, #child_focus, #child_notify, #freeze_child_notify, #child_visible?, #settings. Remove Gtk::Widget#set_app_paintable, #app_paintable?, composite_child? because they are defined as property variables. Gtk::Widget#event returns true or false not Integer. * src/rbgtkobject.c: Add Gtk::Object#type_name. 2003-02-02 Masao Mutoh * src/rbgtkaccelgroup.c: Remove Gtk::AccelGroup#connect_by_path. Use Gtk::AccelGroup#connect instead. Gtk::AccelGroup#connect need GLib::Closure instead of Proc object. Add Gtk::AccelGroup.from_accel_closure, Gtk::AccelGroup#disconnect. 2003-02-02 Geoff Youngs * src/rbgdkgc.c: Fix Gdk::GC#set_clip_rectangle passed the wrong type to RVAL2BOXED. 2003-02-02 Masao Mutoh * src/rbgtkwidget.c: The argument of Gtk::Widget#create_pango_layout is now omittable. * src/rbgtkconstant.c: Update version information. * All files: Update copyright. 2003-01-31 Masao Mutoh * sample/misc/dndtreeview.rb: Add a sample. * sample/misc/dnd.rb: Modified. * src/rbgtkselectiondata.c: Fix problem to create object. 2003-01-26 Masao Mutoh * src/rbgdkpixmap.c: Gdk::Pixmap#colormap_create_from_xpm_d, colormap_create_from_xpm: Accept nil to 1st argument. 2003-01-23 Masao Mutoh * src/rbgtkselectiondata.c: Gtk::SelectionData#set's size is now omittable. * src/global.c: Removed. * rbgtkradiomenuitem.c: Move ary2gslist from global.c. * src/rbgdkwindow.c, rbgdkatom.c, rbgtk.h: rb2gdk_atom() in rbgdkwindow.c -> get_gdkatom() in rbgdkatom.c. Add RVAL2ATOM to rbgtk.h. * src/rbgtkclipboard.c, rbgdkselection.c, rbgtkdrag.c: Apply RVAL2ATOM. 2003-01-19 Masao Mutoh * src/rbgtkdrag.c: Unify Gtk::Drag#set_icon_widget and #set_icon_pixmap to #set_icon. Fix method name of set_default_icon to set_icon_default. Gtk::Drag#source_set_icon accept Gdk::Pixmap, Gdk::Pixbuf and Gtk::Stock constants. Add Gtk::Drag#threshold?. * src/*.c, sample/*/*.rb: Update Copyright. * sample/misc/dnd.rb: Some fixes. But this hasn't work yet. 2003-01-19 Geoff Youngs * src/rbgtkdrag.c: Add Gtk::Drag.set_icon_pixbuf. * src/rbgdkwindow.c: Change arguments of Gdk::Window#property_(change|get|. * Gdk::Window#property_(get|change|delete): Accept strings as the atom value. * Fix a bug of Gdk::Window#property_get. 2003-01-18 KUBO Takehiro * extconf.rb: make Makefiles for gtk20.so and gtk22.so. * src/init.c: load gtk20.so or gtk22.so according to Gtk version. * src/rbgtk.h: add prototypes. rename GTK_TYPE_CLIPBOARD to RBGTK_TYPE_CLIPBOARD. rename GTK_TYPE_TREE_ROW_REFERENCE to RBGTK_TYPE_TREE_ROW_REFERENCE. define RVAL2CLIPBOARD and RVAL2TREEROWREFERENCE. * src/rbgtkclipboard.c: delete functions which depend on Gtk2.0. * src/rbgtktreerowreference.c: delete functions which depend on Gtk2.0. use RBGTK_TYPE_TREE_ROW_REFERENCE instead of RBGTK_TYPE_TREE_ROW_REFERENCE (suggested by Masao Mutoh). * src/rbgtktextbuffer.c: delete definition of RVAL2CLIPBOARD. * src20/rbgtk20.c: add a file which depends on Gtk2.0. * src22/rbgtk22.c: add a file which depends on Gtk2.2. 2003-01-13 Masao Mutoh * src/rbgdkdraw.c: Implement Gdk::Drawable#visual, #set_colormap, #colormap, #clip_region, #visible_region, #draw_glyphs, #draw_layout_line, #draw_layout, #get_image. * src/rbgdkgc.c: Gdk::GC#set_rgb_(fg|bg)_color, #set_colormap, #colormap, #offset. * src/rbgdkregion.c: Gdk::Region#new accept array of Gdk::Point or Gdk::Rectangle, nil. Add Gdk::Region#rectangles, #spans_intersect_each. * src/rbgdkspan.c: Add a file. * src/rbgdkrectangle.c: Add Gdk::Rectangle#intersect(&), #union(|). * sample/misc/gc.rb: Add a file. 2003-01-11 Masao Mutoh * src/rbgdkpango.c: Add Gdk::Pango::AttrStipple#value. Change parent of Gdk::Pango::AttrEmbossed to Pango::AttrBool. 2003-01-09 Masao Mutoh * src/rbgtkcalendar.c: Fix return value for Gtk::Calender#(un)mark_day. * src/rbgdkpango.c: Add a file. 2003-01-04 Masao Mutoh * src/lib/gtk2.rb: Require pango. * README: Add Ruby/Pango information. 2002-12-30 Masao Mutoh * sample/misc/to_drawable.rb: Add a file(from Ruby/GdkPixbuf). * src/rbgdkpixbuf.c: Add a file. This defines Gdk::Pixbuf methods of GDK side. * README, COPYING.LIB: Change license term from "the GNU LIBRARY General Public License version 2." to "the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.". 2002-12-28 Masao Mutoh * src/rbgtktexttagtable.c: Fix a segfault when TextTagTable#lookup crashes is called with bad tag name. Bugs item #659231 by Maicon Rodrigues. 2002-12-28 Kazuo Saito * src/rbgtk.h: Fix a bad definition of treeiter_set_value_table. 2002-12-27 Masao Mutoh * src/rbgtkaccelerator.c: Fix typo. 2002-12-25 Masao Mutoh * src/rbgtkconst.c: Increment the version information. * src/rbgtkviewport.c: Change behavior of Gtk::Viewport.new to have to set hadj, vadj. * src/rbgdkevent.c: Don't copy a created object in make_gdkevent. * src/rbgtkadjustment.c: Add Gtk::Adjustment#set_step_increment, #set_page_increment. * sample/testgtk/treestore.rb: Fix warning when run ruby with -d option. 2002-12-23 Masao Mutoh * src/rbgtktreepath.c: Add Gtk::TreePath#to_s as alias of Gtk::TreePath#to_str. 2002-12-22 Masao Mutoh * sample/testgtk/testgtk.rb: Fix to call Gtk::main_quit twice. * src/rbgtkmain.c: Improve behavior of Gtk::main_quit. * sample/testgtk/notebook.rb: Bugfix to use Gtk::Notebook#current_page => Gtk::Notebook#page. * sample/testgtk/wmhints.rb: Change Gdk::Bitmap to Gdk::Pixmap. * src/rbgdkpixmap.c: Remove Gdk::Bitmap. Use Gdk::Pixmap(depth = 1) instead. * src/rbgtktextview.c: Fix typo of TextView#place_cursor_onscreen, Bugs item #657117 by Maicon Rodrigues. 2002-12-19 Masao Mutoh * sample/misc/treeview.rb: Add a file. 2002-12-18 Masao Mutoh * src/rbgtkdialog.c: Implement gtk_dialog_new_with_buttons in Gtk::Dialog#intialize, Gtk::Dialog#add_buttons. * sample/misc/dialog.rb, dialog2.rb: Add files. 2002-12-17 Masao Mutoh * src/rbgtkdialog.c: Gtk::Dialog#add_button accept Gtk::Stock. * src/rbgtkconst.c: Remove GtkCurveType(It was moved to Gtk::Curve). 2002-12-14 OGASAWARA, Takeshi * src/rbgtksizegroup.c: Add a file. 2002-12-13 Hiroshi IGARASHI * src/lib/gtk2.rb: move from lib/gtk2.rb and should be installed by src/Makefile. 2002-12-13 OGASAWARA, Takeshi * src/rbgtkaccelgroup.c : Fix return value of #lock and #unlock. * src/rbgtkinvisible.c : Add a file. * src/rbgtkaccelmap.c : Add a file. * src/rbgtkaccelgroupentry.c : Fix #accel_path to avoid passing NULL to CSTR2RVAL. 2002-12-10 Masahiro Sakai * src/rbgtkmain.c (Gtk.init): Use gtk_init_check() instead of gtk_init(). Preserve sighandlers. 2002-12-10 OGASAWARA, Takeshi * src/rbgtkaccelkey.c: Fix filename in header. * src/rbgtkaccelkey.c: Add a file. * src/rbgtkaccelgroupentry.c: Add a file. * src/rbgtkaccelgroup.c: Add Gtk::AccelGroup#from_object, #connect, #connect_by_path, #disconnect_key, #query, #find. * src/rbgtkaccellabel.c: Fix filename in header. * src/rbgtk.h: Add GTK_TYPE_ACCEL_KEY, GTK_TYPE_ACCEL_GROUP_ENTRY. 2002-12-10 Masao Mutoh * src/rbgtkimage.c: Gtk::Image#stock return Symbol instead of String. 2002-12-09 Hiroshi IGARASHI * src/rbgtkmain.c (gtk_m_main, gtk_m_main_quit): Thread#join by Gtk.main thread isn't needed. 2002-12-08 Masao Mutoh * src/rbgtkitemfactory.c: Improve Gtk::ItemFactory#create_item/s. Add Gtk::ItemFactory#popup. * sample/misc/itemfactory.rb, itemfactory2.rb: Add samples. 2002-12-07 Hiroshi IGARASHI * src/rbgtkmain.c (gtk_m_main, gtk_m_main_quit): Gtk.main_quit should awake the thread stopped in Gtk.main. 2002-12-06 Masao Mutoh * src/rbgtkaccelerator.c: Add file. Implement Gtk::Accelerator. * src/rbgtknotebook.c: Remove Gtk::Notebook#set_current_page, #current_page as they are same as set_page, page. * src/rbgtktreeviewcolumn.c: Add Gtk::TreeViewColumn#set_cell_data_func. * src/rbgtkwidget.c: Fix to use Symbol to stock_id in Gtk::Widget#render_icon. * src/rbgtkitemfactory.c: Add Gtk::ItemFactory::IMAGE_ITEM, ::STOCK_ITEM. 2002-12-02 OGASAWARA, Takeshi * src/rbgtkiconfactory.c: Add a file. * src/rbgtkiconset.c: Add a file. * src/rbgtkiconsource.c: Add a file. * src/rbgtkiconsize.c: Add a file. * src/rbgtktextbuffer.c: Fix a small bug. 2002-12-02 Masao Mutoh * sample/misc/stock.rb, sample/testgtk/savedposition.rb: Follow Gtk::Label changes. * src/rbgtklabel.c: Support mnemonic label in Gtk::Label#initialize, #set_text. Add Gtk::Label#set_markup, #layout_offsets, #select_region, #layout, selection_bounds * src/rbgtktooltips.c: Add Gtk::Tooltips.get_data(). * sample/misc/label.rb: Add a file. 2002-12-01 Masao Mutoh * src/rbgtkimagemenuitem.c: Support mnemonic label, stockitem in #initialize. * src/rbgtkmenuitem.c, rbgtkradiomenuitem.c, rbgtkcheckmenuitem.c: Support mnemonic label in #initialize. * src/rbgtkmenuitem.c: Add Gtk::MenuItem#set_accel_path, #remove_submenu, #toggle_size_request. * sample/misc/cursor.rb: Code clean up. * sample/misc/button2.rb: Add a file. * sample/misc/togglebutton.rb, checkbutton.rb, radiobutton.rb: Add sample for mnemonic label and stock item. * src/rbgtkbutton.c, rbgtktogglebutton.c, rbgtkcheckbutton.c, rbgtkradiobutton.c: Support mnemonic label or stock item in #initialize. * extconf.rb: Fix compile error about rbgdkcursor.h. Bugs item #643915 by Thorsten Roggendorf , 2002-11-29 OGASAWARA, Takeshi * src/rbgtktextbuffer.c: Add Gtk::TextBuffer#insert_pixbuf, #insert_child_anchor, #create_child_anchor, #add_selection_clipboard, #remove_selection_clipboard, #cut_clipboard, #copy_clipboard, #paste_clipboard, #get_iter_at_child_anchor. * src/rbgtk.h: Add GTK_TYPE_CLIPBOARD. * src/rbgtktextattributes.c: Add file. * src/rbgtkclipboard.c: Add file. 2002-11-28 Masao Mutoh * src/rbgdkkeysyms/*: Abolished. Create rbgdkkeysyms.h instead. * extconf.rb: Follow above changes. * makegdkkeysyms.h: Append constants of Key symbols to Gdk::Keyval. * src/rbgdkkeyval.c: Include rbgdkkeysyms.h. 2002-11-23 Masao Mutoh * src/rbgdkkeyval.c: Rename Gdk::Keyval.name to Gdk::Keyval.to_name. * src/sample/misc/stock.rb: Add header. * src/rbgdkkeyval.c: Fix a small bug. * src/rbgtkselection.c: Rename method names(remove prefix selection_). 2002-11-23 OGASAWARA, Takeshi * src/rbgtktextbuffer.c : Add Gtk::TextBuffer#insert_interactive, #insert_interactive_at_cursor, insert_range, insert_range_interactive, #delete_interactive, #get_text, #get_slice, #create_mark, #delete_mark, #get_mark, #place_cursor, #selection_bounds. * src/rbgtktextiter.c : Add Gtk::TextIter#editable?, #can_insert?, #attributes, #forward_to_end, #forward_to_tag_toggle, #backward_to_tag_toggle, #forward_find_char, #backward_find_char. The parenthesis mismatch of RVAL2TAG is fixed. 2002-11-22 Masao Mutoh * src/rbgtkimage.c: Gtk::Image#initialize, #set support Gtk::IconSet, Gtk::PixbufAnimation, Gtk::Stock. * src/sample/misc/stock.rb: Add a file. 2002-11-20 Masao Mutoh * extconf.rb: Remove checking either gdk2 is installed or not. 2002-11-19 OGASAWARA, Takeshi * src/rbgtktextbuffer.c: Add Gtk::TextBuffer#get_iter_at_line_offset, #get_iter_at_line_index, #get_iter_at_offset, #get_iter_at_line, #bounds, #get_iter_at_mark. Collect Gtk::TextBuffer#move_mark_by_name into move_mark, #insert_with_tags_by_name into insert_with_tags, #apply_tag_by_name into apply_tag, #remove_tag_by_name into remove_tag. * src/rbgtktextiter.c: Add Gtk::TextIter#forward_search, #backward_search, #==. 2002-11-16 OGASAWARA, Takeshi * src/rbgtktextbuffer.c: Add Gtk::TextBuffer#apply_tag, #remove_tag, #apply_tag_by_name, #remove_tag_by_name, #remove_all_tags, #start_iter. Code cleanup. 2002-11-16 Masao Mutoh * sample/testgtk/liststore.rb, treestore.rb: Add file(but not work yet). 2002-11-16 KUBO Takehiro * src/rbgtkstock.c: Add a file. 2002-11-15 Masao Mutoh * src/rbgtkseparatormenuitem.c, rbgtkimagemenuitem.c, sample/misc/test.xpm: Readd files(I have forgotten them) 2002-11-15 OGASAWARA, Takeshi * src/rbgtktexttagtable.c: Add file. * src/rbgtktextbuffer.c: Readd Gtk::TextBuffer#create_tag. * src/rbgtktexttag.c: Add constants for GtkWrapMode. 2002-11-14 Masao Mutoh * sample/testgtk/progressbar.rb: Follow Ruby/GTK2. 2002-11-13 Masao Mutoh * sample/misc/fileselection.rb: Fix a bug when button is clicked. * sample/misc/listview.rb: Follow Ruby/GTK changes. * ToDo, BUGS, gtk-config.cygwin: Removed. * src/rbgtkwidget.c: Rename Gtk::Widget#activate to #activate? #mnemonic_activate to #mnemonic_activate? * src/rbgtktreepath.c: Fix return value of Gtk::TreePath#next. Rename #next to #next?, #prev to #prev?, #up to #up!, #down to #down! * src/rbgtktextmark.c: Rename Gtk::TextMark#visible to #visible?, #deleted to #deleted?, #left_gravity to #left_gravity?. * src/rbgtktextiter.c: Bugfix of Gtk::TextIter#has_tag?. Rename #begins_tag to #begins_tag?, #ends_tag? to #ends_tag?, #toggles_tag to #toggles_tag?. 2002-11-13 Masao Mutoh * src/rbgtktextbuffer.c: Rename Gtk::TextBuffer#modified to #modified?. * src/rbgtkselectiondata.c: Gtk::SelectionData#targets_include_text to #targets_include_text? * src/rbgtkmain.c: Rename Gtk.events_pending to Gtk.events_pending?, Gtk.main_iteration? to Gtk.main_iteration. * src/rbgdkevent.c: Gdk::EventAny#send_event to #send_event? Gdk::EventCrossing#focus to #focus?, Gdk::EventFocus#in to #in? * src/rbgtktoolbar.c: Fix redundant check. Pointed out by Nikolai Weibull . * sample/textgtk/*.rb: Revise header comment. * sample/testgtk/spinbutton.rb: Fix some bugs. * src/rbgtktextbuffer.c: Remove Gtk::TextBuffer#get_insert temporarily because method name is so bad. Rename #get_end_iter to #end_iter. Fix typo(#cher_count to #char_count). Comment out #create_tag because this implementation is incompletely. 2002-11-12 Masahiro Sakai * src/rbgtktextbuffer.c: Apply patch from OGASAWARA Takeshi -- implement #get_end_iter, #move_mark_by_name, #move_mark, #create_tag, #insert_with_tags, #insert_with_tags_by_name. Thanks! 2002-11-12 Masao Mutoh * sample/testgtk/tooltips.rb, wmhints.rb, toolbar.rb, togglebutton.rb, testgtk.rb, statusbar.rb, spinbutton.rb, shapedwindow.rb, scrolledwindow.rb, savedposition.rb, rulers.rb, sample.rb, reparent.rb, range.rb, radiobutton.rb, progressbar.rb: * sample/testgtk/text.rb: Removed. * src/rbgdk.c: arg3, arg4 of Gdk.pointer_grab accept nil. * src/rbgtkwidget.c: Improve Gtk::Widget#window. * src/rbgdkwindow.c: Add Gdk::Window#default_root_window. * src/rbgdkevent.c: Fix some event definitions. * src/rbgtkwidget.c: Readd *_event methods. * src/rbgtktree*.c: change Gtk::TreeIter. Now Gtk::TreeIter instance methods don't need Gtk::TreeModel. * src/rbgtkprogressbar.c: Remove Gtk::ProgreeBar#update. 2002-11-10 Masao Mutoh * src/rbgtktreemodel.c: Remove Gtk::TreeModel#get_current_item. * sample/testgtk/notebook.rb: Apply Ruby/GTK2. * src/rbgtkimage.c: Add Gtk::Image#set. * src/rbgtknotebook.c: Follow GLib changes. Add Gtk::Notebook#set_tab_pos, #set_show_tabs, #set_show_border, #set_scrollable, #set_tab_border, #popup_enable, #popup_disable, #current_page, #n_pages, #scrollable?, #show_border?, #show_tabs?, #set_current_page. * COPYING, NEWS: Remove file. * README: Revised. 2002-11-09 Masao Mutoh * src/rbgdkfont.c: Remove file. 2002-11-08 Masao Mutoh * src/rbgdkconst.c, src/rbgdkinput.c: Move GdkInputCondition to src/rbgdkinput.c. * src/rbgdkinput.c: Add a file. * src/rbgtkmain.c, rbgdkinput.c: Move Gtk.input_add/remove to Gdk::Input.add/remove. * src/rbgtkmain.c: Rename Gtk.get_current_event to Gtk.current_event, Gtk.main_iteration to Gtk.main_iteration?. Remove Gtk.signal_lookup, .signal_name. 2002-11-08 Masahiro Sakai * src/rbgtkmain.c: use `EXTERN' instead of plain `extern' for rb_progname and rb_argv. This is necessary for windows. 2002-11-06 Masao Mutoh * src/rbgtknotebook.c: Add Gtk::NotebookPage. * src/rbgtktreeiter.c: Remove Gtk::TreeIter#get_current_item. * sample/testgtk/testgtk.rb: Add Gtk.init. 2002-11-05 Masao Mutoh * src/rbgtkmain.c, init.c: define Gtk.init. This mean all scripts have to call Gtk.init themselves in Ruby/GTK2. * src/sample/misc/*.rb: Follow this changes. 2002-11-05 Masao Mutoh * src/rbgtkprogressbar.c: Fix parameter number of Gtk::ProgreeBar#initialize. * sample/testgtk/testgtk.rb, sample.rb, pixmap.rb, testgtkrc, menu.rb, layout.rb, labels.rb, gammacurve.rb, fontselection.rb, filesel.rb, entry.rb, dialog.rb, colorselect.rb, button.rb, checkbutton.rb, buttonbox.rb, README: Follow Ruby/GTK2. Remove ctree.rb, clist.rb, tree.rb, list.rb. * src/rbgtklayout.c: Change parameter omitable of Gtk::Layout#initiazlie. * src/rbgtkfontselectiondialog.c: Fix parameter number of Gtk::FontSelectionDialog#initialize. 2002-11-04 Hiroshi IGARASHI * src/rbgtkliststore.c src/rbgtktreeiter.c src/rbgtktreemodel.c src/rbgtktreeselection.c src/rbgtktreestore.c: fix debug code. 2002-11-04 Hiroshi IGARASHI * src/rbgtktreeviewcolumn.c, rbgtktextview.c, rbgtkmenushell.c: Fix constant definitions. 2002-11-04 Masao Mutoh * sample/*.rb: Move to sample/misc/*.rb. * sample/test/*.rb: Rename to sample/misc/*.rb. * src/rbgtkwindow.c: Remove Gtk::Window#set_policy. * src/rbgtktoolbar.c: Code cleanup. Change parameter of some methods to be omitable. Remove Gtk::Toolbar#set_style. * src/rbgtktooltips.c: Fix to return self Gtk::Tooltips#force_window. * src/rbgtkobject.c: Code cleanup. * src/rbgtktreeiter.c: Rename Gtk:TreeIter#children to #first_child, #current_item to #get_current_item. Add Gtk::TreeIter#set_value. * src/rbgtktreemodel.c: Add Gtk::TreeModel#get_current_item, #get_value. * src/rbgtktoolbar.c: Fix parameter number of Gtk::Tooltips#initialize. 2002-11-02 Masao Mutoh * src/rbgtktreemodel.c, src/rbgtktreeiter.c: Move some methods to Gtk::TreeIter. 2002-11-01 Masao Mutoh * sample/texthook.rb, text.rb, testim.rb: Removed. * sample/calendar.rb, cursor.rb, drawing.rb, xbm_cursor.rb, t-gtksocket.rb, t-gtkplug.rb: Follow Ruby/GTK2. * src/rbgdkwindow.c, src/rbgdk.c: Move Gdk::Window#pointer_grab/ungrab to Gdk.pointer_grab/ungrab, Gdk::Window#keyboard_grab/ungrab to Gdk.keyboard_grab/ungrab, * src/rbgdk.c: Gdk.pointer_grabbed? -> Gdk.pointer_is_grabbed?. * src/rbgdkevent.c: Gdk::EventMotion#is_hint -> hint?. * src/rbgtkwidget.c: Fix parameter number of Gtk::Widget#queue_draw_area. * src/rbgtkselection.c: Add file. * src/rbgtktextiter.c: Rename is_foo? to foo?. * src/rbgtkstatusbar.c: Rename set_resize_grip to set_has_resize_grip, resize_grip? to has_resize_grip? 2002-10-30 KUBO Takehiro * src/rbgtkentry.c: Fix small bug of Gtk::Entry#initialize. 2002-10-30 Masao Mutoh * src/rbgtkitemfactory.c: Change parameter order of Gtk::ItemFactory#create_item, #create_items. * src/rbgtkwidget.c, src/rbgtkdrag.c: Move Dnd methods to rbgtkdrag.c. * src/rbgtkwidget.c: Remove property methods/obsolete methods. Add Gtk::Widget#set_accel_path, #set_parent_window #parent_window, #set_direction, #direction, .set_default_direction, .default_direction, #modifier_style, #modify_fg/bg/text/base/font, #create_pango_context, #pango_layout, #render_icon, .push/pop_composite_child, #set_double_buffered, #set_redraw_on_allocate, #mnemonic_activate. Add constants(GtkWidgetHelpType, GtkTextDirection). * src/rbgtkwindow.c: Add Gtk::Window::POS_CENTER_ALWAYS, Gtk::Window::POS_CENTER_ON_PARENT. * src/rbgtkselectiondata.c: Remove Gtk::SelectionData#copy. Add Gtk::SelectionData#set_text, #text, #targets_include_text, #remove_all. * src/rbgdkrectangle.c: Fix gdkrect_initialize didn't return Qnil. 2002-10-27 Masao Mutoh * src/rbgtkconstants.c, src/rbgtkwindow.c: Move GtkWindowPosition, GtkWindowType to rbgtkwindow.c. * src/rbgtkconstants.c, src/rbgtkbbox.c: Move GtkButtonBoxStyle to rbgtkbbox.c. * src/rbgtkeditable.c: Apply G_DEF_SETTERS. * src/rbgtkeditable.c, src/rbgtk.[ch]: Remove mGtkEditable. * src/rbgtkconst.c: Implement all general constants. Remove GtkMatchType, GtkPreviewType. * src/rbgtkwindowgroup.c: Code clean up. * src/rbgtktreeselection.c: Rename Gtk::TreeSelection#iter_selected? to #iter_is_selected? #path_selected? to path_is_selected? * src/rbgtktextmark.c: Apply G_DEF_SETTERS. * src/rbgtkstyle.c: Remove obsolete methods. Add Gtk::Style#attached? * src/rbgtkrc.c: Remove Gtk::RC.add_widget_name_style, Gtk::RC.add_widget_class_style. * src/rbgtktreeviewcolumn.c: Rename Gtk::TreeViewColumn#cell_visible? to #cell_is_visible?, * src/rbgtktooltips.c: Remove Gtk::ToolTips#set_delay. Add Gtk::ToolTips#force_window. 2002-10-26 Masao Mutoh * src/rbgtkcellrenderertext.c: Remove property methods. * src/rbgtkcellrenderertoggle.c: Remove property methods. * src/makeinits.rb: Fix error when obsoleted class was not found. * src/rbgtkprogressbar.c: Remove property/obsoleted methods. Add Gtk::ProgeressBar#pulse. * src/rbgtkprogress.c: Remove all methods as they are all obsoleted. * src/rbgtkoldeditable.c, src/rbgtkclist.c, src/rbgtkctree.c, src/rbgtktext.c, src/rbgtkpreview.c: Remove files. * src/rbgtkvscale.c: Gtk::VScale.new accept range. * src/rbgtkhscale.c: Gtk::HScale.new accept range. * rbgtkscale.c: Remove property methods. * rbgtkruler.c: Code clean up. Add Gtk::Ruler#metric, Gtk::Ruler#range. * rbgtkspinbutton.c: Remove property methods. Add Gtk::SpinButton#configure, #value_as_int, #update, #increments, #range. * rbgtkentry.c: Gtk::Entry.new accept no parameter any longer. Remove proprety methods. Remove Gtk::Entry#append_text, #prepend_text. Add Gtk::Entry#layout, #layout_offsets. * rbgtkcurve.c: Remove property methods. Rename constants. * rbgtkdrawingarea.c: Remove Gtk::DrawingArea#size. * rbgtkcalendar.c: Code clean up. Remove Gtk::Calendar#get_year/month/day. Rename #get_date to #date. * rbgtkconst.c: Remove GtkToolbarStyle. * rbgtktoolbar.c: Remove property methods.Code cleanup. Gtk::Toolbar.new accept no parameter any longer. Add Gtk::Toolbar#insert_stock. Add constants(GtkToolbarStyle). * rbgtktextview.c: Re-Implement Gtk::TextView. * rbgtktable.c: Remove property methods. Add Gtk::Table#default_row_spacing, #default_col_spacing, #attach_defaults, #resize. * rbgtksocket.c: Remove Gtk::Socket#steal, Code clean up. * rbgtknotebook.c: Remove property methods. Add Gtk::Notebook#get_menu_label_text, #get_tab_label_text, #tab_pos * rbgtkmenu.c: Remove Gtk::Menu#append, #prepend, #insert. Add Gtk::Menu#set_tearoff_state, #detach, attach_widget. * rbgtkmenubar.c: Remove Gtk::MenuBar#append, #prepend, #insert. * rbgtkmenushell.c: Remove property methods. Code clean up. Add Gtk::MenuShell#selet_item, #deselect, #activate_item. Add constants(GtkMenuDirectionType). * rbgtklayout.c: Remove property methods, Remove Gtk::Layout#thaw, #freeze. Add Gtk::Layout#size * rbgtkpaned.c: Remove property methods. Remove Gtk::Paned#set_cutter_size * rbgtkfixed.c: Add Gtk::Fixed#set_has_window, #has_window?. 2002-10-24 Masao Mutoh * src/rbgtkstatusbar.c: Code clean up. Add Gtk::StatusBar#resize_grip?, #set_resize_grip. * src/rbgtkcombo.c: Remove property methods. Code cleanup. * src/rbgtkvbbox.c: Remove Gtk::HBoxButton#set/get_spacing_default, set/get_layout_default. * src/rbgtkhbbox.c: Remove Gtk::HBoxButton#set/get_spacing_default, set/get_layout_default. * src/rbgtkbox.c: Remove property methods. Code clean up. Add Gtk::Box#pack_start/end_defaults. * src/rbgtkviewport.c, src/rbgtkscrolledwindow.c, src/rbgtkhandlebox.c, src/rbgtkplug.c: Remove property methods. Code clean up. * src/rbgtkmessagedialog.c: Implement Gtk::MessageDialog. * src/rbgtkfontselection.c: Remove property methods. * src/rbgtkfontselectiondialog.c: Code clean up. Remove property methods. Remove Gtk::FontSelectionDialog#font Gtk::FontSelectionDialog#initialize accept both no parameter and title. * src/rbgtkdialog.c: Implement Gtk::Dialog#run, #response, #add_button, #add_action_widget, #set_default_response, #set_response_sensitive. Implement constants(GtkDialogFlags, GtkResponseType). * src/rbgtkfilesel.c: Remove Gtk::FileSelection#action_area. Add Gtk::FileSelection#fileop_dialog, #selections. Gtk::FileSelection#initialize accept both no parameter and title. * src/rbgtkcolorselectiondialog.c: Separate from rbgtkcolorsel.c. Gtk::ColorSelectionDialog#initialize accept both no parameter and title. * src/rbgtkcolorsel.c: Remove Gtk::ColorSelection#set/get_color. Add Gtk:ColorSelection#set_previous_color, #previous_color, #previous_alpha, #set_previous_alpha, adjusting?. 2002-10-22 Masao Mutoh * src/rbgtkwindow.c: Implement Gtk::Window#active_focus, #active_default, #set_gravity, #gravity, #focus, #present, #iconify, #deiconify, #stick, #unstick, #maximize, #unmaximize, #set_decorated, #set_role, #set_type_hint, #decorated?, #default_size, #destroy_with_parent?, #frame_dimensions, #mnemonic_modifier, #position, #role, #size, #transient_for, #type_hint, #move, #resize. * src/rbgtkwindow.c, src/rbgtkmain.c: Move Gtk::Window#grab_add/remove to Gtk.grab_add/remove. * src/rbgtklist.c, src/rbgtktree.c, src/rbgtklistitem.c, src/rbgtktreeitem.c: Removed. * src/rbgtktearoffmenuitem.c: Code cleanup. * src/rbgtkseparatormenuitem.c: Implement Gtk::SeparatorMenuItem. * src/rbgtkimagemenuitem.c: Implement Gtk::ImageMenuItem. * src/rbgtkradiomenuitem.c: Remove property methods. Code cleanup. * src/rbgtkcheckmenuitem.c: Remove property methods. * src/rbgtkmenuitem.c: Change Gtk::MenuItem#right_justify to #set_right_justified. Add Gtk::MenuItem#right_justify?, #submenu, #toggle_size_allocate. * src/rbgtkoptionmenu.c: Remove property methods. Add Gtk::OptionMenu#history. * src/rbgtkradiobutton.c: Remove property methods. * src/rbgtkcheckbutton.c: Code clean up. * src/rbgtktogglebutton.c: Remove property methods. Remove Gtk::ToggleButton#set_state. * src/rbgtkbutton.c: Remove property methods. 2002-10-21 Masao Mutoh * src/rbgtkframe.c: Remove property methods. Add Gtk::Frame#label_align. * src/rbgtkbin.c: Replace Gtk::Bin#child. 2002-10-19 Masao Mutoh * src/rbgtkcontainer.c: Remove property methods. Remove Gtk::Container#foreach. * src/rbgtkimage.c: Replace file. Accept plural gtype in Gtk::Image#initialize. Remove Gtk::Image#get/set. Implement GtkImageType. * src/rbgtktipsquery.c: Removed. * src/rbgtkaccellabel.c: Remove property methods. Gtk::AccelLabel#get_accel_width -> #accel_width. * src/rbgtkobject.c: Remove Gtk::Object#gtk_type. Remove GtkArgFlags, GtkSignalRunType. * src/rbgtkaccelgroup.c: Remove Gtk::AccelGroup#attach, #dettach. Remove constants(Gtk::AccelGroup::ACCEL_VISIBLE/LOCKED/MASK). Use Gtk::ACCEL_* instead. Gtk::AccelGroup.activate return true/false not self. * src/rbgtkmisc.c: Remove property methods. Implement Gtk::Misc#padding, #alignment. * src/rbgtklabel.c: Remove property methods. * src/rbgtktreeview.c: Fix typos. Pointed out by Joshua Keith . 2002-10-18 Masao Mutoh * src/rbgdk.c, src/rbgdkwindow.c: Move Gdk::Window#pointer_is_grabbed? -> Gdk::pointer_grabbed?. * src/rbgdkwindow.c: Remove Gdk::Window#set_colormap, #set_hints, #get_size, #visual, #colormap, #window_type, #deskrelative_origin, #root_window, Remove Gdk::Window#foreign_new temporarily. This method will implement in Gdk::X. Add Gdk::Window#visible?, #viewable?, #state, #iconfify, #deiconify, #stick, #unstick, #maximize, #unmaximize, #scroll, #copy_area, #set_colormap. Change name of Gdk::Window#get_root_origin -> #root_origin, #get_geometry -> #geometry, #get_pointer -> #pointer, #get_events -> events, Change parameter of Gdk::Window#show, Combine Gdk::Window#clear_area, #clear_area_e. Some constants move from rbgdkconst.c. Apply G_DEF_SETTERS. * src/rbgdkselection.c: Add some constants. Code clean up. * src/rbgdkevent.c, src/rbgdk.c: Gdk::events_pending -> Gdk::Event::events_pending? * src/rbgdk.c: Code clean up. Add Gdk::set_double_click_time. * src/rbgdkatom.c, src/rbgdkconst.c, src/rbgdkfont.c: Move some constants. 2002-10-16 Masao Mutoh * src/rbgdkwindow.c: Remove Gdk::Window#set_hints. * src/rbgdkkeyval.c: Gdk::Keyval#to_name -> Gdk::Keyval#name. * src/rbgdkgc.c, src/rbgdkconst.c: Some constants were moved from rbgdkconst.c. Apply G_DEF_SETTERS. Some fixes. * src/rbgdkgeometry.c: Apply G_DEF_SETTERS. * src/rbgdkimage.c, src/rbgdkconst.c: Remove Gdk::Image.get, Gdk::Image.new_bitmap. Some constants were moved from rbgdkconst.c. * src/rbgdkrectangle.c: Apply G_DEF_SETTERS. * src/rbgdkregion.c, src/rbgdkconst.c: Some constants were moved from rbgdkconst.c. * src/rbgdkvisual.c, src/rbgdkconst.c: Some constants were moved from rbgdkconst.c. 2002-10-15 Masao Mutoh * src/rbgdkconst.c, src/rbgdkevent.c: Implement constants. Some constants were moved from rbgdkconst.c. * src/rbgdkrgb.c: Rename Gdk::Rgb to Gdk::RGB. * src/rbgdkdraw.c, src/rbgdkrgb.c: Move Gdk::Drawable#draw_*image to Gdk::RGB#draw_*_image. * src/rbgdkconst.c, src/rbgdkrgb.c: Move Gdk::RGB_DITHER_* to Gdk::RGB#DITHER_*. * src/rbgdkdraw.c: Implement Gdk::Drawable#draw_drawable. * src/rbgdkconst.c: Code clean up. * src/rbgdkdragcontext.c: Fix misused definition. * src/rbgdkcolor.c: Apply G_DEF_SETTERS. 2002-10-14 Masao Mutoh * doc/: Remove files. * src/rbgtktreeselection.c: Fix typo for Gtk::TreeSelection#iter_selected?. Apply G_DEF_SETTERS2. * src/rbgtktreeviewcolumn.c: Apply G_DEF_SETTERS2. Change parameter of Gtk::TextViewColumn.new. * src/rbgtktreemodel.c: Apply G_DEF_SETTERS2. * src/rbgtkliststore.c: Add file. * src/rbgtktreestore.c: Gtk::TreeStore#clear return self. * src/rbgtktextview.c: Modify file format. * src/rbgtktextbuffer.c: Implement Gtk::TextBuffer#insert, #insert_at_cursor. 2002-10-10 Masao Mutoh * src/rbgtktreeselection.c: Add Gtk::Selection#selected. 2002-10-09 Masao Mutoh * src/rbgtktreeviewcolumn.c: Gtk::TreeViewColumn.new - Accept Symbol for properties. * src/rbgtktreeselection.c: Add Gtk::Selection#selected_each. * src/rbgtktreemodel.c: Remove Gtk::TreeModel#iter_next? and Gtk::TreeModel#iter_children. Instead of these methods, I implemented Gtk::TreeModel#get_children. Fix return value of Gtk::TreeModel#iter_n_children. * src/rbgdkevent.c: Fix class name of Gdk::EventSelection from Gdk::Gdkeventselection. * src/rbgtkfontselection.c, src/rbgtkfontselectiondialog.c, src/rbgtkmain.c: Change G_CONST_RETURN to const. * extconf.rb: Re-add -Wall option to CFLAGS when compiler is gcc (I've forgotten it!). 2002-10-07 Masao Mutoh * src/rbgtktreeselection.c: Add a file. * src/rbgtkconst.c: Modify GtkSelectionMode. * src/rbgtktreeselection.c: Fix bad definition of the class. * src/rbgdkwindow.c: Gdk::Window#set_icon(). Accept nil. * src/rbgtktreemodel.c: Gtk::TreeModel#get_value(). Fix a segfault. 2002-10-06 Masao Mutoh * extconf.rb: Add -Wall option to CFLAGS when Compiler is gcc. * doc/rbbr_rb.rb, doc/rbdump.rb: Remove files. 2002-10-06 Masahiro Sakai * src/rbgtktextview.c: file added. 2002-10-06 Masao Mutoh * src/rbgtktreeviewcolumn.c: Fix return a segfault of tvc_get_spacing(). * doc/gtkbrows.rb, doc/rbbr_gtk.rb: Remove files. 2002-10-05 Masahiro Sakai * src/rbgtkradiomenuitem.c, src/rbgtktreemodel.c, src/rbgtktreerowreference.c, src/rbgtktreeviewcolumn.c: fix typos and trivial errors. * extconf.rb: improvement for building in different directory. (not completed) 2002-10-05 Masao Mutoh * src/rbgtktreeviewcolumn.c: Change arguments of Gtk::TreeViewColumn#initialize. * src/rbgtktreemodel.c: Add Gtk::TreeModel#iter_n_children. Fix arguments of #iter_next, #iter_nth_child. Change #iter_next -> iter_next?, #iter_has_child -> iter_has_child?. 2002-10-03 Masao Mutoh * src/rbgtkcelleditable.c, src/rbgtkcellrenderer.c, src/rbgtkcellrendererpixbuf.c, src/rbgtkcellrenderertext.c, src/rbgtkcellrenderertoggle.c, src/rbgtktreeiter.c, src/rbgtktreemodel.c, src/rbgtktreepath.c, src/rbgtktreerowreference.c, src/rbgtktreestore.c, src/rbgtktreeview.c, src/rbgtktreeviewcolumn.c: Add files. * src/rbgtk.h: Add GTK_TYPE_TREE_ROW_REFERENCE. 2002-10-02 Masahiro Sakai * src/rbgtktextiter.c: make Gtk::TextIter be boxed type. * doc/rbbr.rb: implement PropertyList and SignalList for displaying properties and signals respectively. 2002-10-01 Masao Mutoh * src/rbgtkradiomenuitem.c, src/rbgtkradiobutton.c, src/rbgtklist.c, src/global.c: Support rbgutil.[ch]. 2002-09-30 Masahiro Sakai * src/rbgtktext.c, src/rbgtkctree.c: fix typo GD_TYPE_COLOR -> GDK_TYPE_COLOR NI_P -> NIL_P 2002-09-29 Masao Mutoh * src/*.c: Change RVAL2BOXED(obj) to RVAL2BOXED(obj, gtype). 2002-09-21 KUBO Takehiro * src/rbgdkpixmap.c (gdkbmap_create_from_data, gdkpmap_create_from_data): accept nil for the argument of window. 2002-09-19 Masao Mutoh * src/rbgdkdraw.c: Remove Deprecated methods (Gdk::Drawable#draw_string, #draw_text, #draw_pixmap, #draw_bitmap). * src/rbgdkevent.c: Remove Gdk::Event#copy, Change Gdk::Event#get_time to #time. 2002-09-19 Masao Mutoh * extconf.rb: Bugfix: undefined symbol: Init_gtk_inits. Reported by Markus Jais 2002-09-18 Masao Mutoh * README.EXT(.ja): Remove file. * README: Modified. 2002-09-16 Masao Mutoh * src/rbgdkdnd.c: Rename to src/rbgdkdragcontext.c. 2002-09-16 Masao Mutoh * extconf.rb: Bugfix for using ruby-1.6.x. Reported by markus jais . * lib/gtkcompat.rb: Remove file temporarily. * src/rbgdkcursor.c: Remove LAST_CURSOR, CURSOR_IS_PIXMAP. Add Gdk::Cursor#pixmap? 2002-09-15 Masao Mutoh * README: Revise README. * extconf.rb: Add check Ruby/GLib2 was installed or not. Install lib/gtk2.rb automatically. 2002-09-15 Masao Mutoh * src/rbgtk.h: Remove CSTR2OBJ(). * src/*.c: CSTR2OBJ() -> CSTR2RVAL, STR2CSTR -> RVAL2CSTR. 2002-09-14 Masahiro Sakai * extconf.rb: use $libs instead of $LDFLAGS Append -fnative-struct to $CFLAGS when G_OS_WIN32 is defined 2002-09-13 Masao Mutoh * src/*.c: rename RBGOBJ_INITIALIZE to G_INITIALIZE. Add 'indent-tabs-mode: nil' to header. Support G_RELATIVE, G_RELATIVE2, G_REMOVE_RELATIVE. 2002-09-12 Masao Mutoh * src/global.c, src/rbgtk.h: Remove arg_to_value(). * src/rbgtkobject.c: Remove signal_comp(), signal_setup_args(), signal_sync_args(), signal_callback(), arg_set_value(). They move to glib/rbgobj_signal.c. * src/rbgtkwidget.c: Remove some comments. 2002-09-11 Masao Mutoh * src/makeinits.rb: Add file. create rbgtkinits.c. * src/*.[ch]: Remove calling Init_* (They are created by makeinits.rb). * src/rbgtkstyle.c: Readd Gtk::Style#style, Gtk::Style#set_style. 2002-09-10 Masao Mutoh * src/rbgtkwidget.c: Remove Gtk::Widget#.*_event. * src/rbgtk.h, rbgtkobject.c, rbgtkwidget.c, rbgtkmain.c, global.c: Apply RVAL2GEV, GEV2RVAL macros. * src/rbgtk.c: Code clean up. * src/rbgtkctree.c: Fix warning message of compiling time. 2002-09-09 Masao Mutoh * src/rbgtkctree.c: Bugfix for segmentation fault. * src/rbgdkevents.c: Code clean up. 2002-09-09 Masao Mutoh * src/rbgdkgeometry.c: Add file. It's my mistake. * src/rbgdk.c, src/rbgdkevent.c: Move *_gdkevent() to rbgdkevent.c. Remove declaration of gdkEvent*. 2002-09-07 Masao Mutoh * src/rbgtkrequision.c: Fix a param of G_DEF_CLASS from mGdk to mGtk. * src/rbgtkctree.c: Apply G_DEF_CLASS to Gtk::CTreeNode. * src/rbgdkgeometry.c: Separate from src/rbgdkwindow.c. * src/rbgdkgeometry.c, src/rbgtkwindow.c,src/rbgtk.h: make GDK_TYPE_GEOMETRY as boxed object and apply G_DEF_CLASS. * src/rbgtk.c, src/rbgtkprevinfo.c, src/rbgtkobject.c: Move Gtk::PreviewInfo to src/rbgtkprevinfo.c. Make Gtk::Preview as GTK_DISABLE_DEPRECATED. 2002-09-07 Masao Mutoh * src/rbgdkregion.c, src/rbgdkatom.c, src/rbgtk.h: make GDK_TYPE_REGION, GDK_TYPE_ATOM as boxed object and apply G_DEF_CLASS. * src/rbgtkrequisition.c: Apply G_DEF_CLASS. * src/rbgdk.c, src/rbgtk.h: remove make_tobj(), get_tobj(). 2002-08-30 Masahiro Sakai * extconf.rb, src/rbgtk.c: abolish NATIVE_WIN32, use G_OS_WIN32 instead * src/rbgtk.h: include appropriate header file for GDK_ROOT_WINDOW when gdk target is linux-fb or directfb * rbgdkwindow.c: don't define Gdk::Window.root_window if GDK_ROOT_WINDOW isn't defined. 2002-08-30 Masao Mutoh * src/rbgtkmenubar.c: Remove Gtk::MenuBar#set_shadow_type (pointed out by Masahiro Sakai ). 2002-08-29 Masao Mutoh * src/rbgdkdraw.c: Remove gdkSegment. Remove Gdk::Drawable#geometry, because it was only for Gdk::Window. Add Gdk::Drawable#size, #depth. * src/rbgdkpixmap.c: Bugfix for Gdk::Pixmap#create_* when tcolor is Qnil. * src/rbgdkimage.c: Apply G_DEF_CLASS. * src/rbgtkdata.c, src/rbgtkobject.c: Remove Gtk::Data. Remove file. * src/rbgtkadjustment.c, src/rbgtktooltips.c: Separate file from rbgtkdata.c. 2002-08-29 Masao Mutoh * src/rbgdkrectangle.c: Separate file from rbgdkregion.c. Apply G_DEF_CLASS. * src/rbgdkregion.c: Remove Gdk::Rectangle part. * src/rbgdkfont.c, src/rbgtkselectiondata.c: Apply G_DEF_CLASS. * src/rbgtk.h, src/rbgdkgc.c, src/rbgtkwidget.c, src/rbgtkobject.c: Apply BOXED2RVAL, RVAL2BOXED for rbgdkrectangle, rbgdkfont.c, rbgtkselectiondata.c. * src/rbgdk.h, src/rbgdkallocation.c: Inherited GdkRectangle and remove all methods(Because this is typedef of GdkRectangle). * src/rbgdkconstants.c,src/rbgdkselection.c: Move constans. 2002-08-29 Masao Mutoh * src/rbgdkcolor.c, src/rbgdkcursor.c: Inherited GLib::Boxed instead of using RB_DEF_CLASS. 2002-08-29 Masao Mutoh * src/rbgdkregion.c, src/rbgtk.h: Remove Gdk::Point. 2002-08-27 Masahiro Sakai * src/rbgtk.c: remove idle handler when ruby interpreter is terminated. 2002-08-27 Masao Mutoh * src/rbgtkmenubar.c: Implement Gtk::MenuBar#set_shadow_type(). 2002-08-25 Masahiro Sakai * src/rbgtktextiter.c, src/rbgtktextbuffer.c: add file. 2002-08-20 Masao Mutoh * src/rbgdkcolor.c: Support RB_DEF_CLASS system. Remove Gdk::ColorContext temporarily. Add Gdk::Color#==. * src/rbgdkcursor.c, rbgdk.c, rbgtk.h: Apply RB_DEF_CLASS system. * src/*.c: ditto. * sample/cursor.rb: Support Ruby/GTK2. 2002-08-20 Masahiro Sakai * src/rbgtkplug.c, src/rbgtksocket.c: fix typo and trivial errors. 2002-08-14 Masahiro Sakai * src/rbgdkevent.c, src/rbgtkctree.c: follow change of rbgobj_register_r2g_func() 2002-08-12 Masahiro Sakai * src/rbgtksocket.c: rename Gtk::Socket#xwindow to Gtk::Socket#id * src/rbgtksocket.c: implement Gtk::Socket#add_id to wrap gtk_socket_add_id() * src/rbgtkplug.c: implement Gtk::Plug#id to wrap gtk_plug_get_id() * src/rbgtkplug.c: Gtk::Plug#initialize allow omitting socket id 2002-08-10 Masahiro Sakai * extconf.rb: use 'pkg-config --variable=target' to know windowing API instead of checking 'gdk/gdkx.h' * src/rbgtk.[ch]: move id_relative_callbacks from glib * src/rbgtk.h: use GDK_WINDOWING_X11 and GDK_WINDOWING_WIN32 instead of HAVE_GDK_GDKX_H and G_OS_WIN32. * src/rbgtksocket.c: ditto * src/rbgtk.[ch]: make add_relative(), add_relative_removable(), remove_relative() be macros for corresponding glib2.so API. * src/rbgtk.h: remove RUBY_GTK_OBJ_KEY 2002-08-07 Masahiro Sakai * src/rbgtktextchild.c, src/rbgtktextmark.c, src/rbgtktexttag.c: add file 2002-08-06 Masahiro Sakai * src/rbgtkeditable.c: use G_DEF_INTERFACE * src/rbgtkentry.c, src/rbgtkoldeditable.c: not include Gtk::Editable explicitly. (now it is included automatically by glib2.so) 2002-08-06 Masahiro Sakai * extconf.rb, src/rbgtkplug.c, src/rbgtksocket: check whether functions are available or not. (for win32) * extconf.rb, src/rbgtkaccelgroup.c: check whether _gtk_accel_group_attach() and _gtk_accel_group_detach() are available or not. (for win32) * extconf.rb: use 'gtk+-2.0' instead of 'gtk+-x11-2.0' 2002-08-04 Masahiro Sakai * src/rbgtktree.c: suppress warnings * src/rbgtktext.c: use G_DEF_CLASS * src/rbgtklayout.c: remove unused global variable gLayout * src/rbgtkaccellabel.c: remove unused global variable gAccelLabel * src/rbgtkobject.c: make gObject be local variable 2002-08-02 Masahiro Sakai * src/*.c: remove definitions of signal names. Now they are defined automatically by glib2.so 2002-08-02 Masahiro Sakai * src/rbgdkpixmap.c, src/rbgtkobject.c, src/rbgtkwindowgroup.c: Remove rbgobj_register_class(). Use G_DEF_CLASS() instead. * src/*.c: Collect initialization calls (aka Init_hoge()) of descendants of Gtk::Object, and put them into Init_gtk_object(). 2002-08-01 Masahiro Sakai * src/rbgtk.c: restore definition of gAllocation and gRequisition. (tentative?) * sample/testgtk/labels.rb: convert encoding from euc-jp to utf-8 2002-07-31 Masao Mutoh * src/rbgtk.[ch]: Remove rbgtk_register_class(). * src/rbgtk.h: Remove RUBY_GTK_OBJ_KEY. * src/rbgtkallocation.c, src/rbgtkrequisition.c: Divide from rbgtk.c. * src/rbgtkitemfactroy.c: Remove Gtk::ItemFactory::Constants. * src/*.c: Apply G_DEF_CLASS(), G_DEF_CLASS2(), GTYPE2CLASS(). * src/rbgdkevent.c: Add Gdk::EventButton#button ,#state. * src/rbgdkwindow.c: Remove Gdk::WindowAttr temporarily. * src/rbgdkdraw.c: Remove Gdk::Segment temporarily. * src/rbgdkgc.c: Remove Gdk::GCValues temporarily. * src/rbgdk.c: Remove Gdk::Error temporarily. * src/rbgtknotebook.c: Remove Gtk::Notebook#cur_page, #page temporarily. 2002-07-30 Masahiro Sakai * src/rbgtkeditable.c: Gtk::Editable becomes a module * src/rbgtkoldeditable.c: Add file, Support Gtk::OldEditable 2002-07-28 Masahiro Sakai * src/rbgdkcolormap.c, src/rbgdkdnd.c, src/rbgdkdraw.c, src/rbgdkevent.c, src/rbgdkgc.c, src/rbgdkimage.c, src/rbgdkvisual.c, src/rbgdkwindow.c, src/rbgtkaccelgroup.c: make the following classes be subclasses of GLib::GObject. Gdk::Colormap, GdkDragContext, Gdk::Drawable, Gdk::GC, Gdk::Image, Gdk::Visual, Gdk::Window, Gtk::AccelGroup, * src/rbgtkpaned.c: fixed cinfo.gtype 2002-07-28 Masao Mutoh * src/rbgtknotebook.c: Remove Gtk::NotebookPage temporarily. * src/rbgtk.[ch]: Remove Gtk::Error, Gtk::RcStyle temporarily. 2002-07-27 Masahiro Sakai * src/rbgdkevent.c, src/rbgdkwindow.c, src/rbgtkplug.c, src/rbgtksocket.c: suppress warnings which related to the representation of GdkNativeWindow. 2002-07-26 Masahiro Sakai * src/rbgtkobject.c (gobj_destroy): follow Ruby/GLib's change of internal data structure. 2002-07-20 Guillaume Pierronnet * src/rbgtkpacker.c: Add file. Support Gtk::Packer. * src/rbgtk.c, rbgtk.h, rbgtkconst.c, rbgtkcontainer.c: Support Gtk::Packer. * src/rbgtkentry.c: Gtk::Entry.new() accept a "max_length" as optionnal argument. 2002-07-10 Alex Boussinet * src/rbgtksocket.c: Add Gtk::Socket#xwindow. * sample/t-gtkplug.rb, sample/t-gtksocket.rb: Add sample for Gtk::Socket, Gtk::Plug. 2002-07-07 Masao Mutoh * src/rbgdkim.c: Remove file. * src/rbgtk.h: Fix compile error for rbgdkfont.c(#ifdef GTK_DISABLE_DEPRECATED was wrong) * src/rbgdkcolormap.c: Remove Gdk::Colormap#alloc. 2002-07-07 Masao Mutoh * src/rbgdkvisual.c, src/rbgdkcolormap.c:File divide from rbgdkcolor.c. * src/rbgdkvisual.c, src/rbgdkcolormap.c, src/rbgdkdnd.c: Support GOBJ2RVAL/RVAL2GOBJ (Though Gdk::Visual, Gdk::Colormap, Gdk::DragContext is not descendant of Glib::GObject). * src/rbgdkrgb.c, src/rbgdkvisual.c, src/rbgdkdnd.c: Change get_hoge to hoge. * src/rbgdkcolormap.c, src/rbgdkdnd.c: Change "new" to "initialize" * src/rbgdkdnd.c: Remove Gdk::DragContext::Constants. * src/*.c: Change make_gdkvisual/cmap/dragcontext to GOBJ2RVAL(), get_gdkvisual/cmap/dragcontext, to RVAL2GOBJ() * src/rbgdkfont.c, src/rbgdkdraw.c, src/rbgdkgc.c, src/rbgdkim.c, src/rbgdkgc.c, src/rbgtk.h, src/rbgtk.c, src/rbgtkfontselection.c, src/rbgtkfontselectiondialog.c, src/rbgtkobject.c, src/rbgtktext.c: Add GTK_DISABLE_DEPRECATED macro. 2002-07-04 WATANABE Hirofumi * extconf.rb, src/rbgtk.h: Fix for Win32. 2002-07-02 Masao Mutoh * src/rbgdkwindow.c: Bugfix of Gdk::Window#property_change(), Gdk::Window#colormap(Reported by WATANABE Hirofumi). 2002-06-24 Masao Mutoh * src/rbgdkpixmap.c: Change RBGTK_INITIALIZE to RBGOBJ_INITIALIZE. * src/*.[ch]: Change make_gdkgc() to GOBJ2RVAL(), get_gdkgc() to RVAL2GOBJ(). 2002-06-23 Masao Mutoh * src/rbgtk.c, src/rbgtk.h: Change rbgtk_class_info to RGObjClassInfo. Remove gtk_type_hash * src/rbgtk.h: Remove unused extern definition(warn/mesg/print_handler) * src/*.[ch]: Change make_gstyle(), make_gtkaccelgrp(), make_gdkwindow(),make_gdkpixmap(), make_gdkbitmap(), new_gdkwindow(), new_gdkpixmap(), new_gdkbitmap()to GOBJ2RVAL, get_gstyle(), get_gtkaccelgrp(), get_gdkwindow(), get_gdkpixmap(), get_gdkbitmap() to RVAL2GOBJ(). * src/rbgtkaccelgroup.c, src/rbgtkstyle.c: Correspond to RGObjClassInfo. 2002-06-23 Masao Mutoh * src/rbgtk.c, src/rbgtk.h: Remove gobj_mark(),rbgtk_lookup_class(), rbgtk_lookup_class_by_gtype(), get_gtk_type(). * src/rbgtkobject.c: Remove force_get_gobject(),null(), clear_gobject(),id_gtkdata, id_relatives, id_relative_callbacks, id_class_info. * src/rbgtk.c: Rename set_gobject() to rbgtk_initialize_gtkobject(). and modified(by Masahiro Sakai ). * src/rbgtk.h: Add RBGTK_INITIALIZE(). * src/*.[ch]: Change set_widget(), set_gobject() to RBGTK_INITIALIZE(). Change get_gobject(), get_widget() to RVAL2GOBJ(). Change get_value_from_gobject() to GOBJ2RVAL(). * ChangeLog: Change Date format. 2002-06-22 Masao Mutoh * src/rbgdkwindowgroup.c: File Added. Support Gtk::WindowGroup * src/rbgtk.c, src/global.h: Support Gtk::WindowGroup 2002-06-22 Masao Mutoh * src/rbgdkwindow.c: Add Gdk::Window#copy_area, #register_dnd, #override_redirect, #shape_combine_mask, #set_child_shapes, #merge_child_shapes, #set_static_gravities, #set_hints, #set_title, #set_colormap, #position, #visual, #colormap, #window_type, #origin, #deskrelative_origin, #parent, #toplevel, #children, #set_transient_for, #set_role, #set_group, #toplevels 2002-06-22 Masahiro Sakai * src/*.c: abolish make_gobject(), make_gobject_auto_type() and make_gwidget(). use GOBJ2RVAL() instead. 2002-06-16 Masao Mutoh * README: Revise description of License obviously. 2002-06-13 Masao Mutoh * src/rbgdkwindow.c: Add Gdk::Window#propery_get, #propery_delete. But they are not implemented yet. 2002-06-11 Masao Mutoh * src/rbgdkwindow.c: code cleanup in gdkwin_prop_change(). 2002-06-10 Masahiro Sakai * lib/gtk2.rb: File added * src/rbgdkevent.c, src/rbgtk.c, src/rbgtk.h, src/rbgtkobject.c: Use glib extension library. 2002-06-09 Hiroshi Kuwagata * src/rbgdkatom.c,src/rbgdkconst.c,src/rbgdkevent.c,src/rbgdkwindow.c: Add Gdk::Window#property_change, Gdk::SELECTION_TYPE_* Change Gdk::EventSelction. 2002-05-30 Masahiro Sakai * src/*.c: Add rbgtk_register_class() call. * src/rbgtk.c (get_gtk_type): Get rid of hardcoding GTK_IS_*. 2002-05-29 Masao Mutoh * README: Modified. 2002-05-29 Minero Aoki * src/rbgtkclist.c: suppress warning with cast. * src/rbgtkctree.c: ditto. 2002-05-28 Masao Mutoh * src/rbgdkdraw.c: Add Gdk::Drawable#draw_rgb_image, #draw_rgb_image_dithalign, #draw_gray_image, draw_rgb_32_image. * src/rbgdkconst.c: Add GdkRgbDither constants. 2002-05-27 Masao Mutoh * src/rbgtkmenu.c: BugFix for Gtk::Menu#popup's segfault ([ruby-talk:40308] by mips ) ([ruby-talk:40314] by Guy Decoux ([ruby-talk:40381] by Nobuyoshi Nakada ) * src/rbgtkobject.c: BugFix for Gtk::Notebook#append_page/append_page_menu. (Ruby-GNOME Bug [534381]) 2002-05-26 Masao Mutoh * src/rbgtklayout.c: Fix Gtk::Layout#vadjustment to use layout_get_vadjustment, NOT layout_get_hadjustment (Ruby-GNOME patch [555101]) 2002-05-26 Masao Mutoh * extconf.rb: Support --with-pkg-config (like Ruby-GNOME patch [532458]) 2002-05-24 Masao Mutoh * extconf.rb: Same as Ruby-GNOME CVS. Code cleanup. 2002-05-24 Masahiro Sakai * src/init.c src/rbgdkimage.c src/rbgtk.c src/rbgtkcontainer.c src/rbgtkeditable.c src/rbgtkitem.c src/rbgtkitemfactory.c: Add GDK_ENABLE_BROKEN, GTK_ENABLE_BROKEN 2002-05-22 Masao Mutoh * sample/: Change require 'gtk' to 'gtk2' src/rbgtk.c src/rbgtkclist.c src/rbgtkctree.c src/rbgtklist.c src/rbgtklistitem.c src/rbgtkpixmap.c src/rbgtkprogress.c src/rbgtkstyle.c src/rbgtktext.c src/rbgtktipsquery.c src/rbgtktree.c src/rbgtktreeitem.c: Add Deprecated macro. 2002-05-20 Masao Mutoh * src/rbgtkitemfactory.c: Fix segmentation fault. 2002-05-19 Masahiro Sakai * First patch for GTK-2.0. 2002-03-24 Neil Conway * src/rbgtknotebook.c: Minor tweak -- use rb_define_alias(). 2002-03-19 Neil Conway * src/rbgtk.c, src/rbgtk.h: Rename RUBY_OBJ_KEY to RUBY_GTK_OBJ_KEY, as suggested by Mutoh Masao. 2002-03-19 Neil Conway * extconf.rb: No longer create a symlink to gtk.a during compilation. This was reported by Bil Kleb ; I'm not really sure what the reasoning behind the original behavior was... * src/rbgtkstyle.c: #set_font: If passed an invalid Gdk::Font, bail-out gracefully. * src/rbgdkfont.c: Code cleanup, fix indentation. (Woops, the CVS changelog for this file is wrong.) 2002-03-19 Neil Conway * src/rbgtk.c, src/rbgtk.h: Change ruby_object_key to be a #define, and move it to rbgtk.h -- thus, it can be accessed by other packages. 2002-03-17 Neil Conway * src/rbgtkstyle.c: Uncomment some methods, code cleanup. 2002-03-17 Neil Conway * src/rbgtkconst.c: Increment version number. 2002-03-17 Neil Conway * README: Minor improvements. 2002-03-15 Neil Conway * src/rbgtkitemfactory.c: Revert a braindead change to item_exec_callback_wrap() that broke Gtk::ItemFactory. Woops! * sample/item_factory.rb: File added. * src/rbgtk.c: Remove some unused code. 2002-03-05 Masao Mutoh * sample/dnd.rb: Code cleanup. * src/rbgdkdnd.c: Fix core dump. * src/rbgdk.c: Improve Gdk::Atom implementation, fix compiler warnings. 2002-03-02 Neil Conway * src/rbgdk.c: Partial fix for get_gdkatom() problems. 2002-03-02 Neil Conway * src/rbgtkstyle.c: Code cleanup (declare the types of a few function parameters). * src/rbgtkitemfactory.c: Code cleanup (fix compiler warnings, change some bracket syntax, remove an unnecessary callback param). * src/rbgtkwidget.c: Fix some bugs relating to DND. * src/rbgdkimage.c: Fix minor bug in #new_bitmap. * src/rbgtk.h: Minor tweak to get_gdkdraw(). * src/rbgdk.c: Fix indentation, tweak get_gdkdraw(). * src/rbgdkgc.c: Fix indentation & some compiler warnings. * src/rbgtkdrag.c: Fix a couple DND bugs. 2002-03-02 Masao Mutoh * src/rbgdkatom.c: Implement Gdk::Atom. * src/rbgdkselection.c: Implement Gdk::Selection * src/rbgtkdrag.c: Implement Gtk::Drag * src/rbgtkselectiondata.c: Implement Gtk::SelectionData * src/rbgdk.c, src/rbgdkdnd.c: Add support for Gdk::Atom, Gdk::Selection * src/rbgdkconst.c: Move some constants(GdkSelection, GdkTarget, GdkSelectionType) to gdkselection.c(as constants of Gdk::Atom). * src/global.h, src/rbgtk.c, src/rbgtk.h, src/rbgtkconst.c, src/rbgtkobject.c: Add Support for Gtk::Drag, Gtk::SelectionData * src/rbgtkwidget.c: Add Support for "Drag and Drop" and "Selection" * sample/dnd.rb: Add an example for the new DND support. 2002-02-14 Neil Conway * src/rbgdkcolor.c: Lots of code cleanup, minor performance optimizations. * src/rbgdkregion.c: Convert tabs to spaces, fix indentation. * src/rbgdkevent.c: Code cleanup. * src/rbgtkwidget.c: Code cleanup. 2002-02-14 Masao Mutoh * src/rbgdk.c: Change the make_xxx() to return Qnil if passed a NULL argument. This fixes a bunch of possible segfaults in one swell foop. 2002-02-11 Masao Mutoh * src/rbgtkfontselection.c, src/rbgtkfontselectiondialog.c: Fix segmentation fault in #set_filter, change #set_filter to allow nil parameters. 2002-02-05 Neil Conway * src/rbgtkctree.c: Major code cleanup. 2002-02-05 Neil Conway * src/rbgtksocket.c: Implement widget. * src/rbgtkplug.c: Implement widget. * src/rbgtk.c, src/rbgtk.h, src/global.h: Update for Gtk::Plug and Gtk::Socket. * src/rbgtkcontainer.c: Add support for Gtk::Socket. * src/rbgtkwindow.c: Add support for Gtk::Plug. 2002-02-04 Masao Mutoh * sample/xbm_cursor.rb: Add copyright. 2002-02-03 Neil Conway * src/rbrange.c: Fix #default_vtrough_click and #default_htrough_click. * src/rbgtkctree.c: Fixs for lots of compiler warnings. 2002-01-31 Neil Conway * src/rbgdkevent.c: Remove old pre-1.2.x code. 2002-01-31 Masao Mutoh * src/rbgdkconst.c: Add some constants related to Gdk, DND and DragContext. * src/rbgdkdnd.c: Create file. Implement Gdk::DragContext, Gdk::DragContext::Constants. * src/rbgdkevent.c: Implement Gdk::EventDND, Gdk::Event.peek, Gdk::Event.get, Gdk::Event#put, Gdk::Event#copy, Gdk::Event#get_time. Add some methods to Gdk::EventAny, Gdk::EventCrossing, Gdk::EventFocus. Re-Implement Gdk::EventClient. * src/rbgdk.c: Implement Gdk.events_pending, update for DragContext implementation. * src/rbgtk.h: Updates for new Gdk DND and DragContext changes. 2002-01-31 Neil Conway * src/rbgtkitemfactory.c: Remove unnecessary comment. 2002-01-25 Neil Conway * src/rbgtkwidget.c: Fix whitespace, code cleanup, implement #set_scroll_adjustments. 2002-01-17 Masao Mutoh * src/rbgtkcombo.c: Make some methods return 'self' instead of nil. * src/rbgtkcombo.c: Fix typo in #set_item_string. * sample/pointer_grab.rb, sample/keyboard_grab.rb, sample/cursor.rb: Add copyright, minor code cleanup. 2002-01-14 Neil Conway * src/rbgtkmain.c: Implement Gtk.signal_name. * src/rbgtkobject.c: Implement #disconnect, add stubs for #signal_emit and #signal_emit_by_name. 2002-01-08 Neil Conway * src/rbgtkitemfactory.c, src/rbgdk.c: Replace free() with g_free(). All GTK+ widgets allocate memory using g_malloc(), and it is proper style to free the resulting memory via g_free(). Currently free() also works, but it isn't guaranteed to (for example, g_malloc() could use an alternative pool of memory from system malloc() ). * src/rbgtkwidget.c: Implement #hide_on_delete, code cleanup, and replace free() with g_free(). * src/rbgtkconst.c: Add constants for GtkFontType and GtkFontFilterType. 2002-01-08 WATANABE Hirofumi * extconf.rb: Fix for Win32/mingw. 2001-12-18 Neil Conway * src/rbgtkconst.c: Update Ruby-GTK version to 0.27 -- I forgot to do this for the 0.26 release. 2001-12-14 Neil Conway * src/rbgtkclist.c, src/rbgtkcontainer.c, src/rbgtkmenu.c, src/rbgtkmenuitem.c, src/rbgtkpreview.c, src/rbgtkwidget.c, src/rbgtkwindow.c: Remove deprecated, commented-out code. This was specific to pre-1.2.x versions of GTK+. * src/rbgdkcursor.c: Remove some superflous comments. 2001-11-25 Neil Conway * src/rbgtkclist.c, src/rbgtkctree.c, src/rbgdkkeyval.c, src/rbgtkprogressbar.c: Use CSTR2OBJ macro. 2001-11-24 Neil Conway * MANIFEST-doc.in, MANIFEST-src.in, MANIFEST-sample.in, MANIFEST.in: Files removed. 2001-11-23 Neil Conway * src/rbgtktogglebutton.c: Code cleanup. * src/rbgtkframe.c, src/rbgtklabel.c: Make the argument to #initialize optional. This is similar to the C API (where you can pass NULL to create an empty label). * src/makecursors.awk, src/makedefconst.sh, src/makekeysyms.awk: Remove these files since they're no longer used. 2001-11-22 Masahiro Sakai * src/rbgtkwindow.c, src/rbgtknotebook.c: Fix Gtk::FontSelection to sub-class Gtk:Notebook instead of Object. 2001-11-18 Masao Mutoh * sample/cursor.rb, sample/keyboard_grab.rb, sample/pointer_grab.rb, sample/xbm_cursor.rb: Add four sample files. 2001-11-18 Neil Conway * src/rbgdk.c, src/rbgdkgc.c: Move Gdk::GC to a separate file. * src/rbgdk.c: Minor code cleanup. 2001-11-17 Neil Conway * src/rbgtkaccellabel.c: Implement new widget. 2001-11-17 Neil Conway * src/rbgtkwidget.c: Correct some formatting. 2001-11-17 Neil Conway * src/rbgdkfont.c: Fix 2 typos, remove bogus #text_length. 2001-11-17 Neil Conway * src/rbgdk.c, src/rbgdkim.c: Move some declarations from rbgdk.c to where they belong, in rbgdkim.c. 2001-11-17 Neil Conway * sample/testgtk/fontselection.rb: File added. This should have been in the CVS tree, but was only in my local tree. This makes testgtk.rb work again. 2001-11-16 Neil Conway * rbgdkfont.c: Major refactoring and cleanup. Also, implement #text_width, #text_height, #text_measure and #text_length. 2001-11-16 Neil Conway * rbgdk.c: Move the implementation of Gdk::Font to rbgdkfont.c. * rbgdkfont.c: File added. 2001-11-16 Masao Mutoh * rbgtkobject.c: Remove !=, that is used for comparison, not substitution. [ruby-dev:15102] * rbgdkwindow.c: Implement #set_cursor, #is_pointer_grabbed?, #keyboard_grab, #keyboard_ungrab. Improve #pointer_grab. * rbgdkconst.c: Implement Gdk::CURRENT_TIME, Gdk::NONE, and Gdk::PARENT_RELATIVE. * rbgdkcursor.c, makecursors.awk, makecursors.rb, rbgdk.c, rbgdk.h, rbgdkcursor.c: Implement Gdk::Cursor and Gdk::Cursor::Constants. 2001-11-16 Neil Conway * NEWS: Update for new release. 2001-11-16 Neil Conway * VERSION: Remove this (pointless) file. 2001-10-19 Neil Conway * src/rbgtkitemfactory.c: Implement Gtk::ItemFactory.parse_rc() and Gtk::ItemFactory.parse_rc_string(). 2001-10-19 Neil Conway * src/rbgtkitemfactory.c: Minor cleanups. * src/rbgtk.c, src/rbgtk.h: Add the Gtk::ItemFactory::Constants module. 2001-10-19 Masao Mutoh * src/rbgtkitemfactory.c: Minor cleanups. 2001-10-19 dellin * src/rbgtkitemfactory.c: fix item_exec_callback_wrap, create Gtk::ItemFactory::Constants and move constants from Gtk::ItemFactory, add ItemFactory#path_from_widget, #delete_item,#get_item 2001-10-19 Masao Mutoh * src/rbgtkitemfactory.c: fix GC problems in ItemFactory#create_item/s 2001-10-19 Neil Conway * src/init.c, src/rbgdkcolor.c, src/rbgdkdraw.c, src/rbgdkregion.c, src/rbgtk.c, src/rbgtkbin.c: Minor code cleanup. 2001-10-18 Neil Conway * src/rbgtkwindow.c: Fix minor code whoops (the type for a function parameter wasn't declared). 2001-10-18 Neil Conway * NEWS: File added. * src/rbgtkfontselection.c, src/rbgtkfontselectiondialog.c: Fix segfaults, improve coding style. * sample/texthook.rb: Update for the change to Gtk.signal_emit_stop 2001-10-18 Neil Conway * src/rbgtkmain.c: Implement Gtk.signal_lookup * src/rbgtkobject.c: Implement #gtk_type, make some methods into aliases. Implement #signal_n_emissions and #signal_n_emissions_by_name. 2001-10-17 Neil Conway * src/rbgtklabel.c: Make some function definitions into aliases. * src/rbgtktext.c: Add #set_line_wrap(), rename #set_adjustment to #set_adjustments. * src/rbgtk.c: Fix get_gtk_type() for Gtk::FontSelectionDialog. * src/rbgtkrc.c: Implement #reparse_all, rename some methods. * src/rbgdkkeyval.c: Rename #name to #to_name : this avoids a name conflict with Module#name. Fix a segfault in #to_name (when passed invalid input). Change singleton methods to module functions. * src/rbgtkobject.c: Rename #emit_stop to #emit_stop_by_name. Implement #emit_stop. 2001-10-16 Neil Conway * README.ja: File removed, once again. This file is simple enough that no Japanese translation is needed. 2001-10-16 Nobuyoshi Nakada * src/init.c: Make application name default to the name of the current Ruby script. * src/rbgtk.h: improve RGTEST same as ruby's RTEST(). 2001-10-15 Neil Conway * README.EXT: Fix typo (reported by MUTOH Masao ). * README.ja, README.EXT.ja: Files re-added. * ENVIRONMENT: File removed (seems pretty useless to me). * src/rbgdkimage.c, src/rbgdkkeyval.c: Add license info. 2001-10-14 Neil Conway * src/rbgtkcombo.c: Implement Gtk::Combo#set_use_arrows_always 2001-10-13 Neil Conway * src/rbgdk.c: Implement 4 Gdk singleton methods: beep(), flush(), screen_height_mm() and screen_width_mm(). * src/rbgdkimage.c: File created; moved the implementation of Gdk::Image from rbgdk.c to here. Clean up some of the Gdk::Image code as well. * src/rbgdkkeyval.c: File created; implement a module called Gdk::Keyval which contains wrappers for the gdk_keyval_* functions. [ruby-talk:22478] 2001-10-13 Masahiro Sakai * src/rbgtk.c: change function that stores reference of objects from gtk_object_set_user_data() to gtk_object_set_data() 2001-10-08 Neil Conway * src/rbgtkfilesel.c: Code cleanup. 2001-10-08 Neil Conway * src/rbgtkfilesel.c: Apply patch from Masao Mutoh -- remove #help_button because it doesn't exist in GTK+. Thanks! * src/rbgtktoolbar.c: Apply patch from Masao Mutoh -- fix typo, allow setting icons to nil. Thanks! * src/rbgtktoolbar.c: Apply (another!) patch from Masao Mutoh -- implement #append_element, #prepend_element, #insert_element. Thanks! * src/rbgtkradiomenuitem.c: Apply patch from dellin -- implement #set_group. * src/rbgtkfilesel.c: Apply patch from Masao Mutoh -- implement #complete, #history_pulldown, #fileop_c_dir, #fileop_del_file and #fileop_ren_file. 2001-10-08 Neil Conway * extconf.rb: Remove 'mkmf.log' on 'distclean'. * ChangeLog: Remove (thousands) of duplicate entries, update maintainer info, fix whitespace. * MANIFEST-doc.in: Update for removal of Japanese docs. 2001-10-05 Neil Conway * src/rbgtktable.c, src/rbgtkdata.c, src/rbgdkevent.c: Fix compiler warnings, minor cleanups. * src/rbgtkwidget.c: Quite a lot of cleanup. Make widget_active() return a boolean value, as it should. * src/rbgtkentry.c: Code cleanup. Remove set_position: this is defined in the super-class. * src/rbgtkeditable.c: Alias #set_position -> #position=. This whole mess (set_blah versus blah=) needs to be cleaned up. * src/rbgtkwidget.c: Add 2 methods: Gtk::Widget#reset_shapes and Gtk::Widget#set_composite_name. * src/rbgtk.c: Update get_gtk_type() for new widgets. 2001-10-05 Neil Conway * ToDo, sample/testgtk/testgtk.rb, sample/testgtk/filesel.rb, sample/testgtk/fontselection.rb, src/global.h, src/rbgtk.c, src/rbgtk.h, src/rbgtkfontselection.c, src/rbgtkfontselectiondialog.c, src/rbgtkwidget.c: Apply a large patch to implement Gtk::FontSelection, Gtk::FontSelectionDialog, add it to testgtk.rb and some cleanup. 2001-10-05 Neil Conway * src/global.c: Remove an obsolete comment. 2001-10-05 Neil Conway * src/global.c: Avoid needless downcast from 'long' to 'int' in ary2gslist() and ary2glist(). 2001-09-09 Hiroshi IGARASHI * src/init.c, src/rbgtk.c, src/rbgtkmain.c: define Gtk.log_{set,remove}_handler to wrap g_log_{set,remove}_handler(). 2001-07-21 Tobias Peters * src/rbgtk.h, src/rbgtk.c, src/rbgtkmain.c: add new API add_relative_removable() and remove_relative() to manage relativity more explicitly. 2001-05-24 Hiroshi IGARASHI * version 0.25 released. 2001-05-24 kadu * doc/rbbr.rb: attach a document viewer with refe, ri. 2001-05-22 Masao Mutoh * src/rbgtkitemfactory.h: define a missing constant of Gtk::ItemFactory. 2001-05-22 Masao Mutoh * src/rbgdk.c, src/rbgdkconst.c: define values of type GdkFunction. 2001-05-20 Masao Mutoh * src/rbgdk.c: Gdk::GC#set_dashes takes an Array argument instead of String. 2001-05-07 Masao Mutoh * src/rbgdkcolor.c: Gdk::Colormap#colors returns the proper value. 2001-04-22 Masao Mutoh * src/rbgdk.c: define methods of Gdk::Image. 2001-04-15 Masao Mutoh * src/rbgdkcolor.c: Gdk::Colormap#alloc_color returns the pixel value now. 2001-04-09 Masao Mutoh * src/rbgdkcolor.c: define Gdk::Colormap#colors, Gdk::Color#pixel. 2001-03-30 Masahiro Sakai * src/rbgtk.c (rbgtk_register_class): manage mappnig GtkType to ruby class object. * src/rbgtk.c (get_gtk_type): support additional registered classes. * src/rbgtk.c (rbgtk_lookup_class_by_gtype): implemented newly. 2001-03-28 Hiroshi IGARASHI * src/rbgtk.c (rbgtk_lookup_class): check whether the instance variable is defined. 2001-03-03 Hiroshi IGARASHI * src/rbgtk.h init.c rbgdk.c rbgtk.c rbgtkmain.c: raise exception when FATAL/ERROR logs are emitted from GDK/GTK. 2001-02-16 Hiroshi IGARASHI * version 0.24 released. 2001-01-19 Hiroshi IGARASHI * extconf.rb: fix dependencies for rbgdk.o, rbgdkconst.o. 2001-01-13 Hiroshi IGARASHI * src/rbgtk.h: declaration for function notimplemented() is disused and causes compile errors now. 2001-01-12 Hiroshi IGARASHI * src/rbgdk.c: define Gdk.screen_{width,height}. * src/rbgdkwindow.c: define Gdk::Window#set_override_redirect. * src/rbgtk.c (gallocation_to_a, grequisition_to_a): lack of use INT2FIX(). * src/rbgtkwidget.c: Gtk::Widget#size_request should return Gtk::Requisition instead of to taking it as argument. * src/rbgtkwidget.c: define Gtk::Widget#set_app_paintable. 2001-01-12 Hiroshi IGARASHI * doc/rbbr.rb: new simple class browser. 2001-01-11 Hiroshi IGARASHI * src/rbgdkwindow.c: fix Gdk::Window#get_geometry (accessed not-allocated memory area). 2001-01-10 Hiroshi IGARASHI * src/rbgtkitemfactory.c: add new file. * src/global.h, src/rbgtk.h, src/rbgtk.c, src/rbgtkobject.c: add stuff about Gtk::ItemFactory. 2001-01-10 Hiroshi IGARASHI * src/rbgtktoolbar.c: Gtk::Toolbar#{append,prepend,insert}_item should return a item created newly in the toolbar. 2001-01-10 Hiroshi IGARASHI * src/rbgtkclist.c: add missing methods in Gtk::CList. 2001-01-10 Hiroshi IGARASHI * src/rbgtkctree.c: fixed Gtk::CTree#set_indent to call a correct function. 2001-01-10 Hiroshi IGARASHI * src/rbgtkclist.c, rbgtkctree.c, src/rbgtkfilesel.c: fixed to use them. * src/rbgtk.h, src/rbgtk.c: added functions to manage class info. 2000-10-22 Hiroshi IGARASHI * src/rbgtkmain.c (exec_interval): proc was called twice. 2000-10-09 MOROHOSHI Akihiko * src/rbgtkclist.c (clist_marker_mark): improve GC marking. * src/rbgtkctree.c (ctree_marker_mark, ctree_node_mark_recursive): ditto. 2000-09-22 Hiroshi IGARASHI * extconf.rb: raise an exception if gdkcursors.h or gdkkeysyms.h are not found. 2000-09-05 Minero Aoki * src/rbgtkitem.c: Gtk::TreeItem#subtree, subtree=, expanded?, leaf? * src/rbgtk.c: gtk_object_list is a st_table. * src/global.h: now gtk_object_list is not extern. * src/rbgtkctree.c: uses get_value_from_gobject() instead of make_ctree_node(). checkes type of CTreeNode. define Gtk::CTree#[] 2000-09-05 Hiroshi IGARASHI * src/rbgdkwindow.c: define Gdk::Window#{show,hide}. 2000-09-05 Yasushi Shoji * src/rbgdk.c, src/rbgdkconst.c, src/rbgdkwindow.c, src/rbgtk.h, src/rbgtkwindow.c: define Gdk::Geometry and Gtk::Window#set_geometry_hints ([ruby-ext:01055]). 2000-09-05 Hiroshi IGARASHI * src/rbgtkfilesel.c: define Gtk::FileSelection#{dir_list,file_list}. 2000-09-02 Hiroshi IGARASHI * src/rbgdkevent.c: should map gdouble to Float on returning value. 2000-09-02 Hiroshi IGARASHI * src/rbgtkmain.c (gtk_m_events_pending, gtk_m_main_iteration): Gtk.events_pending, Gtk.main_iteration should return true/false. * src/rbgtkmain.c (gtk_m_get_current_event): define Gtk.get_current_event. 2000-06-25 Hiroshi IGARASHI * src/rbgdkcolor.c (gdkcolor_to_a, Init_gtk_gdk_color): define Gdk::Color#to_a giving array [red, green ,blue]. 2000-06-20 Hiroshi IGARASHI * extconf.rb: define distclean target in topdir Makefile. 2000-06-07 Masaki Fukushima * src/rbgtk.c: use g_main_set_poll_func() and rb_thread_select() to improve the response. This is applied only for ruby 1.5.4 and later. 2000-06-05 Hiroshi IGARASHI * extconf.rb: support target `site-install'. 2000-05-13 Hiroshi IGARASHI * src/rbgtk.c (Init_gtk_gtk): restore calling Init_gtk_accel_group(). 2000-05-11 Hiroshi IGARASHI * src/rbgdkcolor.c: define the missing methods in Gdk::Color. 2000-05-07 Hiroyuki ARAKI * src/rbgdkpixmap.c: define Gdk::Pixmap#colormap_create_from_xpm(?:_d)?. 2000-05-07 Hiroshi IGARASHI * doc/gtkbrows.rb: do not refer GdkImlib. 2000-05-06 Hiroyuki ARAKI * src/rbgdk.c: define some missing methods in Gdk::Font. 2000-04-22 Hiroshi IGARASHI * src/init.c (Init_gtk): call Init_gtk_xxx() after calling gtk_init(). 2000-04-22 Hiroshi IGARASHI * sample/testgtk/testgtk.rb: display version of Ruby/GTK. 2000-03-30 Hiroshi IGARASHI * src/rbgtkpaned.c (paned_child1, paned_child2): use get_value_from_gobject to return correct objects. 2000-03-30 Hiroshi IGARASHI * src/rbgtkconst.c, src/rbgtkclist.c (clist_row_is_visible): change correspondence between C and Ruby in type GtkVisibility. 2000-03-30 Yasushi Shoji * src/rbgtkwindow.c: define Gtk::Window#set_transient_for 2000-03-30 WATANABE Hirofumi * gtk-config.cygwin: gtk-config for cygwin. 2000-03-30 WATANABE Hirofumi * extconf.rb, src/rbgtk.c, src/rbgtk.h: modify to support cygwin. 2000-03-30 Hiroshi IGARASHI * src/rbgtkwindow.c, src/rbgtkstyle.c, src/rbgtktable.c, src/rbgtktext.c, src/rbgtktogglebutton.c, src/rbgtktoolbar.c, src/rbgtktree.c, src/rbgtkvbox.c, src/rbgtkwidget.c, src/rbgtkpaned.c, src/rbgtkpreview.c, src/rbgtkprogress.c, src/rbgtkscale.c, src/rbgtkspinbutton.c, src/rbgtkeditable.c, src/rbgtkentry.c, src/rbgtkhbox.c, src/rbgtklabel.c, src/rbgtkmain.c, src/rbgtknotebook.c, src/rbgtkclist.c, src/rbgtkcolorsel.c, src/rbgtkcombo.c, src/rbgtkctree.c, src/rbgdkcolor.c, src/rbgdkdraw.c, src/rbgdkwindow.c, src/rbgtkaspectframe.c, src/rbgtkbox.c, src/rbgtkcheckmenuitem.c: replace `RTEST' with `RGTEST'. 2000-03-30 Hiroshi IGARASHI * src/rbgtk.h: define a macro `RGTEST' returning gboolean value. 2000-03-30 Hiroshi IGARASHI * src/global.h: declare Init_gtk_style(). 2000-03-30 Hiroshi IGARASHI * src/rbgtk.c (Init_gtk_gtk): call Init_gtk_style(). 2000-03-30 Hiroshi IGARASHI * src/init.c: move declarations of Init_gtk_xxx to `global.h'. 2000-03-30 Hiroshi IGARASHI * src/global.h: declare functions Init_gtk_xxx. 2000-03-30 Hiroshi IGARASHI * extconf.rb: fix typos. 2000-03-30 Hiroshi IGARASHI * extconf.rb: add `rbgtk.h' to dependency. 2000-03-30 Hiroshi IGARASHI * src/global.h: this file contains private objects for ruby-gtk. 2000-03-30 Hiroshi IGARASHI * src/rbgtk.h: create a header file for public objects. 2000-03-29 Hiroshi IGARASHI * src/*.c: split files per class. 2000-03-29 Hiroshi IGARASHI * src/rbgdkimlib.c: gdkimlib is separated to other module. 2000-03-27 Hiroshi IGARASHI * sample/testgtk/statusbar.rb, sample/testgtk/clist.rb, sample/testgtk/ctree.rb: avoid syntax error. 2000-02-22 YASUI Kentarow * src/rbgtkclist.c: define method row_is_visible and modify moveto in class Gtk::CList. 2000-02-11 Hiroshi IGARASHI * version 0.23 released. 2000-02-11 Hiroshi IGARASHI * src/rbgdkrgb.c: rename Gdk::Rgb to Gdk::RGB and call gdk_rgb_init() before use functions gdk_rgb_xxx. 2000-02-10 Hiroshi IGARASHI * src/rbgtk.c (gobj_sig_handler_{block,unblock}): use NUM2INT() for API arguments. 2000-01-30 Hiroshi IGARASHI * sample/test/test7.rb, sample/test/test8.rb, sample/test/testb.rb, sample/test/testc.rb, sample/test/testd.rb, sample/test/teste.rb, sample/test/test.rb, sample/test/test1.rb, sample/test/test2.rb, sample/test/test4.rb, sample/test/test5.rb, sample/test/test6.rb, sample/testim.rb: use Gtk::Widget::CAN_* instead of Gtk::CAN_*. 2000-01-30 Hiroshi IGARASHI * src/rbgtkconst.c (Init_gtk_const): define constants Gtk::VERSION, Gtk::BINDING_VERSION. 2000-01-29 Hiroshi IGARASHI * sample/testgtk/reparent.rb, sample/testgtk/savedposition.rb, sample/testgtk/scrolledwindow.rb, sample/testgtk/statusbar.rb, sample/testgtk/text.rb, sample/testgtk/timeout.rb, sample/testgtk/togglebutton.rb, sample/testgtk/tooltips.rb, sample/testgtk/wmhints.rb, sample/testgtk/dnd.rb, sample/testgtk/idle.rb, sample/testgtk/list.rb, sample/testgtk/mainloop.rb, sample/testgtk/pixmap.rb, sample/testgtk/progressbar.rb, sample/testgtk/radiobutton.rb, sample/testgtk/range.rb: use Gtk::Widget::CAN_DEFAULT instead of Gtk::CAN_DEFAULT. 2000-01-29 Yasushi Shoji * src/rbgtk.c (signal_comp, signal_setup_args): allow signal name including "-". 2000-01-27 Yasushi Shoji * src/rbgtk.c, src/rbgtkcontainer.c, src/global.h: define Gtk::HandleBox. 2000-01-25 Hiroyuki ARAKI * src/rbgtkwindow.c: define Gtk::Window#{add,remove}_accel_group. 2000-01-25 Hiroyuki ARAKI * src/rbgtkwidget.c: define Gtk::Widget#{add_accelerator,remove_accelerator, remove_accelerators,accelerator_signal}. 2000-01-25 Hiroyuki ARAKI * src/global.h: support AccelGroup. 2000-01-25 Hiroshi IGARASHI * extconf.rb: don't use variable $?. 1999-12-30 Hiroshi IGARASHI * src/rbgtkconst.c: arrange constants definitions. 1999-12-30 Hiroshi IGARASHI * sample/testgtk/button.rb, sample/testgtk/checkbutton.rb, sample/testgtk/clist.rb, sample/testgtk/dialog.rb, sample/testgtk/entry.rb, sample/testgtk/menu.rb, sample/testgtk/notebook.rb, sample/testgtk/testgtk.rb: Gtk::CAN_DEFAULT is obsolete. 1999-12-30 Hiroshi IGARASHI * src/rbgtkwidget.c (Init_gtk_widget): define constants of Gtk::Widget. 1999-12-30 Hiroshi IGARASHI * src/rbgtkeditable.c (Init_gtk_spin_button): define constants of Gtk::SpinButton. 1999-12-30 Hiroshi IGARASHI * src/rbgtk.c (Init_gtk_object): define constants of Gtk::Object. 1999-12-30 Hiroshi IGARASHI * src/rbgdk.c (make_gdkevent): create Gdk::EventCrossing objects for event GDK_{ENTER,LEAVE}_NOTIFY. 1999-12-27 Masahiro Tomita * src/rbgtk.c: define methods Gtk::Object#signal_handler_{block,unblock}. 1999-12-27 Masahiro Tomita * src/rbgtk.c (signal_setup_args, signal_sync_args): add signals of Gtk::Editable. 1999-12-20 Hiroshi IGARASHI * src/rbgdkevent.c (Init_gtk_gdk_event): event class name begin with a capital letter. 1999-12-19 Yasushi Shoji * src/rbgdkcolor.c: define instance methods of Gdk::Visual. 1999-12-17 Hiroshi IGARASHI * src/rbgdkcolor.c, src/rbgdk.c: define constants and class methods in Gdk::Visual. 1999-12-17 Yasushi Shoji * src/rbgdkcolor.c: define Gdk::Colormap.new. 1999-12-17 Hiroshi IGARASHI * src/rbgtknotebook.c, src/rbgtkbutton.c, src/rbgtkbox.c, src/rbgdkimlib.c, src/rbgtktoolbar.c, src/rbgtkclist.c: use NUM2INT() instead of FIX2INT() for arguments. 1999-12-12 Yasushi Shoji * src/rbgtkcontainer.c: [ruby-ext:00626] rename Gtk::Paned#{handle,gutter}_size to Gtk::Paned#set_{handle,gutter}_size and define some aliases in Gtk::Paned. 1999-12-12 Yasushi Shoji * src/rbgtkclist.c: [ruby-ext:00694] add Gtk::CList#get_column_widget and fix typo. 1999-12-12 Minero Aoki * src/rbgtkctree.c: [ruby-ext:00699] modify reference management for row data in Gtk::CTree. 1999-12-09 Minero Aoki * src/rbgtkctree.c: [ruby-ext:00664] modify reference management for row data in Gtk::CTree. 1999-12-09 Hiroshi IGARASHI * src/rbgtk.c (get_gtk_type): support Gtk::Calendar. 1999-12-09 Daisuke Furukawa * extconf.rb: [ruby-ext:00669] skip command line arguments only beginning with "--". 1999-12-09 Yasushi Shoji * src/rbgtkcalendar.c: [ruby-ext:00681] use NUM2INT() instead of FIX2INT(). 1999-12-09 Yasushi Shoji * src/rbgtkcalendar.c: [ruby-ext:00607] use 1..12 as representation of month and add some methods in Gtk::Calendar. 1999-11-30 Hiroshi IGARASHI * src/rbgtk.c (gobj_clone): Gtk::Object#clone should raise a exception. 1999-11-30 Yasushi Shoji * src/rbgtkctree.c (ctree_node_mark): don't mark row.data if row.destroy != NULL. 1999-11-30 Yasushi Shoji * src/rbgtkmisc.c: define aliases for methods Gtk::Label#{jtype,jtype=}. 1999-11-30 Yasushi Shoji * src/rbgtktoolbar.c: define constants in Gtk::Toolbar. 1999-11-30 Yasushi Shoji * src/rbgtkbutton.c: take boolean value as the argument of Gtk::ToggleButton#set_mode. 1999-11-30 Yasushi Shoji * src/rbgtkcontainer.c: consider nil for 2nd,3rd arguments of Gtk::Menu#popup. 1999-11-29 Hiroshi IGARASHI * extconf.rb: add source src/rbgtkcalendar.c 1999-11-29 Yasushi Shoji * src/global.h, src/rbgtk.c, src/rbgtkcalendar.c: add some declaration and initialization for Gtk::Calendar. 1999-11-29 Yasushi Shoji * sample/calendar.rb: add a sample script for Gtk::Calendar. 1999-11-29 Hiroshi IGARASHI * src/rbgtkcontainer.c: fix the arity of Gtk::Menu#popup. 1999-11-29 Yasushi Shoji * src/rbgtkcalendar.c: add file to define Gtk::Calendar. 1999-11-28 yamazaki * src/rbgtkcontainer.c, src/rbgtknotebook.c: use get_value_from_gobject instead of make_gobject_auto_type. 1999-11-28 yamazaki * src/rbgtk.c (get_value_from_gobject): create ruby object if not exist. 1999-11-28 Hiroshi IGARASHI * src/rbgtk.c: modify the notation by Gtk::Object#inspect. 1999-11-28 Yasushi Shoji * src/rbgtknotebook.c: accept nil or omission for argument on methods Gtk::Notebook#{append,prepend,insert}_page* 1999-11-27 Hiroshi IGARASHI * sample/helloworld.rb (main): omit argument for Gtk::Window.new. 1999-11-27 Yasushi Shoji * src/rbgtkcontainer.c: fix the super class of Gtk::ScrolledWindow. 1999-11-27 Hiroshi IGARASHI * src/rbgtkcontainer.c: add some methods in Gtk::Tree. 1999-11-27 Yasushi Shoji * src/rbgtkwindow.c (gwin_initialize): accept omission of argument for Gtk::Window#initialize (assume Gtk::WINDOW_TOPLEVEL then). 1999-11-27 yamazaki * src/rbgdkcolor.c (gdkcolor_s_new): correct conversion from Ruby to C. 1999-11-27 Yasushi Shoji * src/rbgtkwidget.c (Init_gtk_widget): add missing signals in Gtk::Widget. 1999-10-30 Yasushi Shoji * sample/testgtk/statusbar.rb, sample/testgtk/testgtk.rb: enable "statusbar" sample in testgtk. 1999-10-30 Yasushi Shoji * src/rbgtkbox.c: define Gtk::Statusbar#messages. 1999-10-24 TAKAHASHI Hitoshi * src/rbgtkcontainer.c: add methods of Gtk::Paned. 1999-10-20 Hiroshi IGARASHI * version 0.22 released. 1999-10-19 Hiroshi IGARASHI * src/global.h: declare functions {make,gtk}_grcstyle. 1999-10-19 Hiroshi IGARASHI * src/rbgdk.c, src/rbgdkimlib.c, src/rbgtkctree.c: remove unused variables. 1999-10-19 Hiroshi IGARASHI * src/rbgtkwidget.c: define (not all) missing methods of Gtk::Widget. 1999-10-17 Minero Aoki * src/rbgtkclist.c (clist_set_hadjustment, clist_set_vadjustment): accept nil as argument. 1999-10-17 Hiroshi IGARASHI * src/rbgdk.c (make_gdkwindow, make_gdkpixmap, make_gdkbitmap): return Qnil for NULL. 1999-10-17 Hiroshi IGARASHI * sample/texthook.rb: fix to insert a character into the cursor position. 1999-10-16 Minero Aoki * src/rbgtklist.c: remove g_list_free which are unnecessary. 1999-10-16 Hiroshi IGARASHI * src/rbgtkeditable.c: define missing methods of Gtk::Editable. 1999-10-10 Hiroshi IGARASHI * src/rbgdk.c, src/rbgdkpixmap.c, src/global.h: improve reference management for GdkDrawables. 1999-10-09 Hiroshi IGARASHI * src/global.h, extconf.rb: remove disused rb13to12.[hc]. 1999-10-09 EGUCHI Osamu * src/rbgdkwindow.c, src/rbgdkimlib.c: fix method definitions. 1999-10-09 EGUCHI Osamu * src/rbgdk.c: methods for functions which return no value return self. 1999-10-03 Katsuyuki Komatsu * src/global.h: add extern declaration for set_gobject(). 1999-10-02 Katsuyuki Komatsu * extconf.rb, src/rbgdk.c, src/rbgdkim.c: support GTK+ without USE_XIM. 1999-09-26 Hiroshi IGARASHI * src/rbgtkcontainer.c (tree_set_view_lines): Gtk::Tree#set_view_lines takes boolean value as argument. 1999-09-23 Hiroshi IGARASHI * src/rbgdk.c: add methods of Gdk::GC. 1999-09-23 Hiroshi IGARASHI * src/rbgdkcolor.c (gdkcmap_alloc): Gdk::Colormap.alloc is obsoleted. 1999-09-23 Hiroshi IGARASHI * src/rbgdk.c (gdkgc_s_new, gdkimage_s_get): use get_gdkdrawable. 1999-09-23 Hiroshi IGARASHI * src/rbgdk.c: add method Gdk::Font::string_extents. 1999-09-23 Hiroshi IGARASHI * src/rbgdkregion.c: add constants Gdk::OVERLAP_RECTANGLE_{IN,OUT,PART}. 1999-09-13 Hiroshi IGARASHI * src/global.h, src/rbgdkregion.c: add class Gdk::Region. 1999-09-12 Hiroshi IGARASHI * extconf.rb: add new source files. 1999-09-12 Hiroshi IGARASHI * src/global.h, src/rbgtk.c: move declarations of functions Init_gtk_xxx from global.h. 1999-09-12 Hiroshi IGARASHI * src/rbgdk.c: split into some files. 1999-09-12 Hiroshi IGARASHI * src/rbgdkcolor.c, src/rbgdkconst.c, src/rbgdkdraw.c, src/rbgdkevent.c, src/rbgdkpixmap.c, src/rbgdkregion.c, src/rbgdkwindow.c: split from src/rbgdk.c. 1999-09-12 Hiroshi IGARASHI * src/global.h, src/rbgtk.c, src/rbgtkcontainer.c: fix typos (ViewPort -> Viewport). 1999-09-12 TAKAHASHI Hitoshi * src/rbgtkwindow.c: add some methods of Gtk::FileSelection. 1999-09-12 TAKAHASHI Hitoshi * sample/testgtk/filesel.rb, sample/testgtk/testgtk.rb: add sample "filesel". 1999-09-12 Masaki Fukushima * src/rbgtk.c (Init_gtk_gtk, idle): use gtk_idle_add() and rb_thread_wait_for() to avoid ruby I/O delay. 1999-09-08 Hiroshi IGARASHI * src/rbgdk.c (gdkwin_set_back_pixmap): Gdk::Window#set_back_pixmap takes true/false as 2nd argument. 1999-09-08 Hiroshi IGARASHI * src/rbgdk.c (gdkgc_s_new): Gdk::GC.new takes Gdk::Window as argument. 1999-09-08 Minoru Inachi * src/global.h: add class Gtk::Layout and module Gdk::Rgb. 1999-09-08 Minoru Inachi * src/init.c, src/rbgdkrgb.c: add module Gdk::Rgb. 1999-09-08 Minoru Inachi * src/rbgtk.c, src/rbgtklayout.c: add class Gtk::Layout. 1999-09-08 Minoru Inachi * src/rbgtkdata.c: avoid warnings and add method Gtk::Adjustment#adj_set_step_increment. 1999-09-08 Minoru Inachi * sample/testgtk/layout.rb, sample/testgtk/testgtk.rb: add layout sample. 1999-09-08 Minoru Inachi * extconf.rb: add src/rbgtklayout.c, src/rbgdkrgb.c 1999-09-06 TAKAHASHI Hitoshi * src/global.h, src/rbgdk.c: add classes Gdk::IM, Gdk::IM::IC, Gdk::IM::ICAttr and methods of Gdk::Point, Gdk::Rectangle. 1999-09-06 TAKAHASHI Hitoshi * sample/testim.rb, src/rbgdkim.c: add files. 1999-09-06 TAKAHASHI Hitoshi * extconf.rb: add src/rbgdkim.c. 1999-09-05 TAKAHASHI Hitoshi * src/rbgtkwidget.c (Init_gtk_widget): fix typos. 1999-08-31 Hiroshi IGARASHI * src/rbgdk.c (gdkgc_set_clip_mask): accpet nil argument as NULL. 1999-08-29 Hiroshi IGARASHI * src/rbgtkmisc.c (pixmap_initialize, pixmap_set): Gtk::Pixmap.new and Gtk::Pixmap#set take Gdk::Bitmap as second argument. 1999-08-29 WATANABE Hirofumi * src/makecursors.rb, src/makekeysyms.rb: rewrite in ruby style. 1999-08-28 Hiroshi IGARASHI * src/rbgdkimlib.c (im_get_pixmap): GdkImlib::Image#get_pixmap return Gdk::Pixmap and Gdk::Bitmap. 1999-08-27 Katsuyuki Komatsu * extconf.rb, src/makecursors.rb, src/makekeysyms.rb: use ruby instead of awk to generate header files. 1999-08-27 Hiroshi IGARASHI * src/rbgtk.c (get_object): raise TypeError for nil. 1999-08-27 Akira Yamada * extconf.rb: recognize options --enable-imlib and --disable-imlib. 1999-08-27 Yasuhiro Fukuma * extconf.rb: accept imlib-config as config command. 0.20 -> 0.21 - [ruby-list:16255] (by Minoru Inachi) - add class Gdk::ColorMap - arguments of methods Gdk::GC#{set_foreground,set_background} are passed as Gdk::Color - [ruby-ext:00387] (by Minero Aoki) - fix a bug of Gtk::Editable#get_chars for invalid range arguments. - (by Hiroshi IGARASHI) - add methods Gtk::Widget#path, #class_path - Gdk::Color.new(p, r, g, b) -> Gdk::Color.new(r, g, b) - (by Hiroshi IGARASHI) - modify rbgdkimlib.c to invoke GC based on amount of width x height of rendered images. - (by Hiroshi IGARASHI) - modify rbgtk.c to initialize instance variable `relatives' to avoid warning message when $DEBUG is true. - [ruby-ext:00376] (by Katsuyuki Komatsu) - modify extconf.rb for mswin32 Imlib support. - [ruby-ext:00374] (by WATANABE Hirofumi) - modify extconf.rb to find GDK header files correctly when $CFLAGS contains -DXXXX flags. - [ruby-ext:00369] (by NAKAMURA Hideki) - improve Garbage Collection for GdkImlib::Image - [ruby-ext:00368] (by Katsuyuki Komatsu) - remove extern VALUE rb_cData; from global.h - add EXTERN VALUE rb_argv, rb_argv0; into init.c - (by Hiroshi IGARASHI) - modify extconf.rb to obtain the path of ruby interpreter to run makedefconst.rb from make-variable RUBY. - [ruby-ext:00358] (by Minero Aoki) - add methods Gtk::CList#row_height, row_height= - [ruby-ext:00357] (by Minero Aoki) - add class Gtk::AccelGroup .new() .get_default() .activate( Gtk::Object obj, Integer key, Integer modyfier ) #attach( Gtk::Object obj ) #detach( Gtk::Object obj ) #add( Integer key, Integer modifier, Integer flag, Gtk::Object target, String signal ) #remove( Integer key, Integer modifier, Gtk::Object obj ) #activate( Integer key, Integer modifier ) #lock() #unlock() ::ACCEL_VISIBLE ::ACCEL_SIGNAL_VISIBLE ::ACCEL_LOCKED ::ACCEL_MASK - [ruby-ext:00342] (by TAKAHASHI Hitoshi) - fixed a bug in Gtk::Dialog#action_area - [ruby-ext:00339] (by TAKAHASHI Hitoshi) - add class Gtk::NotebookPage - add methods in Gtk::Notebook - add sample/testgtk/notebook.rb - [ruby-ext:00338] (by TAKAHASHI Hitoshi) - add class Gtk::Curve - add following methods. - Gdk::Window#get_root_origin - GammaCurve#curve - add sample/testgtk/{gammacurve,savedposition,range,reparent}.rb - (by Hiroshi IGRARASHI) - modify extconf.rb to compile without Imlib. - [ruby-list:15691] (by Hiroshi IGARASHI) - modify extconf.rb to compile without `ar' -s option. - [ruby-ext:00332] (by NAKAMURA Hideki) - append the module GdkImlib for Imlib support. - [ruby-ext:00333] (by Minoru Inachi) - add the class Gtk::Progress and make Gtk::ProgressBar the sub-class of Gtk::Progress - add methods in Gtk::ProgressBar 0.19 -> 0.20 - [ruby-ext:00315] (by TAKAHASHI Hitoshi) - add testgtk/rulers.rb - add methods Gtk::Widget#xxx_event - [ruby-ext:00326] (by WATANABE Hirofumi) In sample/testgtk/wmhints.rb, define a method Gdk::Bitmap#create_from_xbm for non-X environments. - [ruby-ext:00319][ruby-ext:00320] (by tommy@tmtm.org) add Gdk::Window#raise, Gtk::Widget#parent - [ruby-ext:00317] (by TAKAHASHI Hitoshi) add Gdk::Bitmap#create_from_xbm (GTK+ function correspond to this method is not exist.) - [ruby-ext:00312] (by Hiroshi Igarashi) move Gtk::CheckButton#set_active to Gtk::ToggleButton#set_active as GTK+ - [ruby-ext:00303] (by TAKAHASHI Hitoshi) - add sample/testgtk/{entry,shapedwindow,wmhints}.rb - add some methods to Gdk::Window - [ruby-ext:00295] (by Minoru Inachi) - add Gtk::CTree - add sample/testgtk/ctree.rb - [ruby-ext:00301] (by Minero Aoki) - add methods to Gtk::CList Gtk::CList#set_hadjustment set_vadjustment get_hadjustment get_vadjustment - [ruby-dev:7260][ruby-dev:7275] (by Masaki Suketa) support mswin32 + Windows native Gtk - [ruby-ext:00288] (by Minero Aoki) fix a bug in Gtk::Entry#get_text 0.18 -> 0.19 - change the maintainer with Hiroshi Igarashi. - replace shell scripts with ruby scripts for building. - makedefconst.sh -> makedefconst.rb - split rbgtk.c into rbgtk*.c to reduce re-compilation time. - modify to use Hash for gtk_object_list (which refers all ruby-gtk objects). - remove macro `rb_trap_exec' in rb13to12.h - [ruby-ext:00234] add methods. (by Toru Hoshina) - Gtk.main_iteration - Gtk.event_pending - [ruby-list:14874] fix a bug in sample/text.rb (by Jun Adachi) - add some methods. - Gdk::Color.new(p, r, g, b) - change superclass of Gtk::Button from Gtk::Container to Gtk::Bin - remove Gtk::Window#shape_combine_mask because this method is also implemented in Gtk::Widget - update sample/testgtk - enable text.rb - [ruby-ext:00242] (by Minoru Inachi) Many thanks! - add following methods to Gtk::Button set_relief(style) specify the relief style of button. get_relief return the relief style of button. - add following constants. Gtk::RELIEF_NORMAL RELIEF_HALF RELIEF_NONE - add following methods to Gtk::Box set_homogeneous(homogeneous) equalize sizes of children widgets. set_spacing(size) specify total amount of spaces between children widgets. reorder_child(child, pos) reorder the specified child widget. query_child_packing(child) return the information [ expand, fill, padding, pack_type ] about packing specified child widget. set_child_packing(child, expand, fill, padding, pack_type) set the information about packing specified child widget. - enable argument omissions in new methods of Gtk::VBox, Gtk::HBox default values are homogeneous=false, spacing=0 - change the constants names for Gtk::Box pack_type Gtk::GTK_PACK_START -> Gtk::PACK_START Gtk::GTK_PACK_END -> Gtk::PACK_END - add widget Gtk::TearoffMenuItem - add the following methods Gtk::Toolbar set_button_relief(style) set the relief style of buttons in Toolbar. get_button_relief return the relief style of buttons in Toolbar. set_space_style set the spacing style of buttons in Toolbar. - add the following constants for spacing style of Toolbar. Gtk::Toolbar::SPACE_EMPTY SPACE_LINE - add the following methods to Gtk::CheckMenuItem set_active(is_active) active=(is_active) set the status of the checkbutton. active? return the status of the checkbutton. - add the following methods to Gtk::CList set_column_visibility(column, visible) set visibility of a column. set_column_resizeable(column. resize) enable/disable column resize operations by mouse. set_column_auto_resize(column, resize) resize column automatically to its optimal width. set_column_max_width(column, width) set maximum width of specified column. set_column_min_width(column, width) set minimum width of specified column. set_cell_style(row, column, style) set styles of specified cell. get_cell_style(row, column) Return styles of specified cell. set_row_style(row, style) Set styles of specified row. get_row_style(row) Return styles of specified row. set_sort_column(column) sort_column=(column) Specify the column to sort by. sort_column Return the column to sort by. set_sort_type(type) sort_type=(type) Specify how to sort : ascending or descending. sort_type Return how to sort : ascending or descending. sort Sort the list with the current compare function. selection_each Iterator for each selected row to evaluate the block. A row number is passed as block argument. selection_mode= Set the CList's selection mode. selection_mode Return the CList's selection mode. focus_row Return the focused row. set_reorderable(reorderable) Enable clists reorder ability. prepend([text]) Insert [text, ...] before the first row. - modify Gtk::CList#append, insert not to cause error for nil element in passed array argumet. - modify Gtk::CList#insert to return the row number. - since Gtk::CList#remove conflict with Gtk::Continer#remove in name, rename it to Gtk::CList#remove_row as Gtk--. - add the following constants for sort type. Gtk::SORT_ASCENDING SORT_DESCENDING - fix `#ifdef 0' to `#if 0' in rbgtk.c - doc/gtkbrows.rb modify it to add clist simply without viewport. - doc/rbbr_gtk.rb modify it to call set_column_auto_resize for CList. - sample/testgtk/menu.rb modify it to insert TearoffMenuItem like the original testgtk. - sample/testgtk/toolbar.rb modify it to add buttons Borders/Borderless, Empty/Lines, and make the initial state Borderless like the original testgtk. - [ruby-ext:00242] (by Minoru Inachi) - add the following methods to Gtk::ColorSelectionDialog colorsel Return the Gtk::ColorSelection widget. ok_button Return the Ok Button widget. cancel_button Return the Cancel Button widget. help_button Return the Help Button widget. - in the method Gtk::ColorSelection#get_color, modify the conversion from data by gtk_color_selection_get_color to ruby data. - enable Gtk::ColorSelection#get_color, set_color to support opacity. - add the following methods to Gtk::Window set_position(pos) Set the display position of window. - [ruby-ext:00246] (by TAKAHASHI Hitoshi) Thanks! - add class Gtk::TipsQuery - bug fix in class Gtk::Tooltips - bug fix in arg_to_value() - add tooltips.rb in sample/testgtk - [ruby-ext:00251] (by TAKAHASHI Hitoshi) - add some methods to Gtk::Label - add labels.rb in sample/testgtk - [ruby-ext:00255] (by Minoru Inachi) - modify clist.rb in sample/testgtk - add dialog.rb in sample/testgtk - [ruby-ext:00276] (by Minoru Inachi) - modify buttonbox.rb in sample/testgtk 0.17 -> 0.18 - undefine `#ifdef THREAD' (by Masaki Fukushima) - [ruby-ext:00226] (by Hiroshi IGARASHI) - Gtk::Window#set_default_size - Gtk::Window#set_modal - Gtk::Text#set_word_wrap - Gtk::POLICY_NEVER - to fix some bugs. 0.16 -> 0.17 - support gtk+-1.2.x and ruby-1.3.x (^^v - remove functions changed in gtk+-1.2.x...I'll suppurt them by 1.2 style. - Drag and Drop - IMStyle - GtkAcceletorTable - [ruby-ext:00159] (by Kazunori NISHI) - change `sh' to `$(SHELL)' in extmake.rb - change `[a-z]*' to `[a-z][a-z]' in makedefconst.sh - change timeout 1ms to 100ms. (by Masaki Fukushima) it's temporary code...see KNOWNBUG.jp for more information. - include testgtk.rb (by Hiroshi Igarashi) - [ruby-ext:00177] (by Hiroshi Igarashi) - add some methods:) see ML message above. 0.15 -> 0.16 - add to search /usr/include/gdk for extmake.rb. (by akira yamada) - add SpinButton. (by takeshi@SoftAgency.co.jp) - add constants for some widget specific enums. - split rbgdkkeysyms.h. It takes less time for gcc-2.7.x to compile. - add English changelog; which you reading now:) I think it's bad to read...sorry my poor English. Any suggestions for making this document more pretty are always welcome. 0.14 -> 0.15 - debug timeout. (by Yukihiro Matsumoto) - add some events. - split source file. not well knowing K&R, there may be mistake... If you notice any mistakes, please inform me. - debug GdkImage, GdkVisual. 0.13 -> 0.14 - change name of some methods. earlier versions: - lost :-P -- (up to ver. 0.18) D.Kanda (from ver. 0.19 to 0.25) Hiroshi Igarashi (from ver. 0.26) Neil Conway