You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(6) |
Sep
(16) |
Oct
(36) |
Nov
(85) |
Dec
(151) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(49) |
Feb
(51) |
Mar
(71) |
Apr
(87) |
May
(91) |
Jun
(93) |
Jul
(160) |
Aug
(229) |
Sep
(85) |
Oct
(89) |
Nov
(85) |
Dec
(98) |
2004 |
Jan
(40) |
Feb
(98) |
Mar
(149) |
Apr
(106) |
May
(153) |
Jun
(77) |
Jul
(85) |
Aug
(55) |
Sep
(50) |
Oct
(53) |
Nov
(83) |
Dec
(32) |
2005 |
Jan
(97) |
Feb
(124) |
Mar
(60) |
Apr
(79) |
May
(55) |
Jun
(62) |
Jul
(70) |
Aug
(130) |
Sep
(115) |
Oct
(32) |
Nov
(46) |
Dec
(54) |
2006 |
Jan
(114) |
Feb
(78) |
Mar
(37) |
Apr
(54) |
May
(82) |
Jun
(34) |
Jul
(54) |
Aug
(50) |
Sep
(26) |
Oct
(46) |
Nov
(105) |
Dec
(83) |
2007 |
Jan
(105) |
Feb
(64) |
Mar
(57) |
Apr
(20) |
May
(18) |
Jun
(80) |
Jul
(108) |
Aug
(26) |
Sep
(36) |
Oct
(49) |
Nov
(94) |
Dec
(46) |
2008 |
Jan
(24) |
Feb
(24) |
Mar
(200) |
Apr
(92) |
May
(112) |
Jun
(54) |
Jul
(41) |
Aug
(50) |
Sep
(66) |
Oct
(82) |
Nov
(15) |
Dec
(44) |
2009 |
Jan
(68) |
Feb
(34) |
Mar
(55) |
Apr
(50) |
May
(95) |
Jun
(33) |
Jul
(24) |
Aug
(40) |
Sep
(61) |
Oct
(33) |
Nov
(7) |
Dec
(61) |
2010 |
Jan
(18) |
Feb
(47) |
Mar
(24) |
Apr
(24) |
May
(42) |
Jun
(59) |
Jul
(28) |
Aug
(23) |
Sep
(55) |
Oct
(102) |
Nov
(33) |
Dec
(11) |
2011 |
Jan
(37) |
Feb
(115) |
Mar
(96) |
Apr
(37) |
May
(8) |
Jun
(13) |
Jul
(7) |
Aug
(61) |
Sep
(143) |
Oct
(78) |
Nov
(14) |
Dec
(33) |
2012 |
Jan
(49) |
Feb
(57) |
Mar
(62) |
Apr
(38) |
May
(26) |
Jun
(16) |
Jul
(12) |
Aug
(10) |
Sep
(8) |
Oct
(12) |
Nov
(38) |
Dec
(25) |
2013 |
Jan
(55) |
Feb
(53) |
Mar
(39) |
Apr
(37) |
May
(21) |
Jun
(4) |
Jul
(7) |
Aug
(8) |
Sep
(24) |
Oct
(17) |
Nov
(11) |
Dec
(81) |
2014 |
Jan
(22) |
Feb
(9) |
Mar
(29) |
Apr
(133) |
May
(12) |
Jun
(13) |
Jul
(5) |
Aug
(11) |
Sep
|
Oct
(10) |
Nov
(18) |
Dec
(1) |
2015 |
Jan
(18) |
Feb
(2) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(28) |
Oct
(15) |
Nov
(8) |
Dec
(7) |
2016 |
Jan
(19) |
Feb
|
Mar
|
Apr
(1) |
May
(10) |
Jun
(3) |
Jul
(19) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
(9) |
Dec
|
2017 |
Jan
|
Feb
(18) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(2) |
Dec
|
From: Kouhei S. <ko...@co...> - 2015-10-06 14:03:08
|
Hi, In <561...@gm...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sun, 04 Oct 2015 19:20:46 +0200, Detlef Reichl <det...@gm...> wrote: > Gtk::TreeView#insert_column only accepts two arguments, but with the old > implementation it also accepted additional attributes, which where > mapped to gtk_tree_view_insert_column_with_attributes, like > > renderer = Gtk::CellRendererPixbuf.new > view.insert_column -1, 'ColName', renderer, :pixbuf => 0 Thanks for your report. I've add the API. Thanks, -- kou |
From: Mamoru T. <mt...@fe...> - 2015-10-05 22:21:43
|
Detlef Reichl wrote on 10/06/2015 02:48 AM: > On 22.09.2015 08:55, Kouhei Sutou wrote: > > Hi, > >> If your program that uses Ruby/GTK3 doesn't work with 3.x, >> please report to us. It must be a Ruby/GTK3 bug. We'll fix >> the bug. > > the Ruby-GLib package uses the ruby_eval_string_from_file function, > which is not public API. In the debian packages of libruby2.1 and 2.2 it > is not included. > > Cheers, detlef > Also confirmed on Fedora 23, using ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux] $ ruby run-test.rb 2015-10-06 06:58:51 +0900 running test for /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/pango -------------------------------------------------------------------------------- /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require': /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/glib2/ext/glib2/glib2.so: undefined symbol: ruby_eval_string_from_file - /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/glib2/ext/glib2/glib2.so (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require' from /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/glib2/lib/glib2.rb:115:in `rescue in <top (required)>' from /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/glib2/lib/glib2.rb:111:in `<top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from /home/tasaka1/rpmbuild/TEMP/ruby-gnome2/git/ruby-gnome2/pango/lib/pango.rb:9:in `<top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from test/run-test.rb:26:in `<main>' This issue does not appear in 3.0.5, but does appear in 3.0.6, perhaps the relevant commit is https://github.com/ruby-gnome2/ruby-gnome2/commit/dba40aaa90f9835a7e3dad0dfdf9ef31e6f0b710 Regards, Mamoru |
From: Detlef R. <det...@gm...> - 2015-10-05 17:48:59
|
On 22.09.2015 08:55, Kouhei Sutou wrote: Hi, > If your program that uses Ruby/GTK3 doesn't work with 3.x, > please report to us. It must be a Ruby/GTK3 bug. We'll fix > the bug. the Ruby-GLib package uses the ruby_eval_string_from_file function, which is not public API. In the debian packages of libruby2.1 and 2.2 it is not included. Cheers, detlef |
From: Detlef R. <det...@gm...> - 2015-10-04 17:20:54
|
On 04.10.2015 15:46, Kouhei Sutou wrote: Hi, > Hi, > > In <561...@gm...> > "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sun, 04 Oct 2015 15:22:08 +0200, > Detlef Reichl <det...@gm...> wrote: > >> image = Gtk::Image.new :stock => Gtk::Stock::CLOSE, :size => :small_toolbar >> >> does not work, because :small_toolbar is an unknown enum to Gtk::IconSize > > Thanks for your report. I've fixed it at master. > > It's not included in 3.0.6... > Thank you for fixing it that fast. And here is the next one: Gtk::TreeView#insert_column only accepts two arguments, but with the old implementation it also accepted additional attributes, which where mapped to gtk_tree_view_insert_column_with_attributes, like renderer = Gtk::CellRendererPixbuf.new view.insert_column -1, 'ColName', renderer, :pixbuf => 0 Cheers, detlef > > Thanks, > -- > kou |
From: Kouhei S. <ko...@co...> - 2015-10-04 13:46:36
|
Hi, In <561...@gm...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sun, 04 Oct 2015 15:22:08 +0200, Detlef Reichl <det...@gm...> wrote: > image = Gtk::Image.new :stock => Gtk::Stock::CLOSE, :size => :small_toolbar > > does not work, because :small_toolbar is an unknown enum to Gtk::IconSize Thanks for your report. I've fixed it at master. It's not included in 3.0.6... Thanks, -- kou |
From: Kouhei S. <ko...@co...> - 2015-10-04 13:35:59
|
Hi, Ruby-GNOME2 project released Ruby-GNOME2 3.0.6: http://ruby-gnome2.osdn.jp/hiki.cgi?News_20151004_1 It's a bug fix release of 3.0.5. == How to install % gem install gtk3 You can also use it on Windows. Here are changes since 3.0.5: == Ruby-GNOME2 3.0.6: 2015-10-04 It is a bug fix release of 3.0.5. === Changes ==== Ruby/GLib2 * Improvements * Supported (({GLib.format_size})) on 32bit. [GitHub#565][Reported by Mamoru TASAKA] * Supported (({GLib.format_size_for_display})) on 32bit. [GitHub#565][Reported by Mamoru TASAKA] * Added (({GLib::Version.or_later?})). [GitHub#570][Patch by cedlemo] ==== Ruby/GObjectIntrospection * Improvements * Added (({GObjectIntrospection::Version.or_later?})). [GitHub#572][Patch by cedlemo] * Supported (({GSList})) for filename. [ruby-gnome2-devel-en][Reported by Stefan Salewski] ==== Ruby/GIO2 * Improvements * Added (({Gio::Version.or_later?})). [GitHub#571][Patch by cedlemo] * Made (({Gio::APplicationCommandLine#attributes})) Rubyish. ==== Ruby/Pango * Improvements * Added (({Pango::Version.or_later?})). [GitHub#576][Patch by cedlemo] ==== Ruby/GTK2 * Improvements * Added (({Gtk::Version.or_later?})). [GitHub#574][Patch by cedlemo] ==== Ruby/GTK3 * Improvements * Supported (({Gtk::CellLayout#set_cell_data_func})). [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Supported (({Gtk::Container#add})) with child properties. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Added (({Gtk::StockItem#[]})) for backward compatibility. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Added (({Gtk::IconSize::IconSize})) for backward compatibility. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Supported marking cell renderers in (({Gtk::CellLayout})) for GC. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Supported (({nil})) for (({Gtk::TreeIter#set_value})). * Supported marking columns in (({Gtk::TreeView})) for GC. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Updated tutorial samples. [GitHub#567][GitHub#568][GitHub#587][Patch by cedlemo] * Supported marking records in (({Gtk::TreeModel})) for GC. [ruby-gnome2-devel-en][Reported by Stefan Salewski] * Started updating gtk-demo with (({Gtk::Application})). [GitHub#583][GitHub#586][GitHub#588][Patch by cedlemo] * Supported option style API by (({Gtk::Builder#add})). * Supported (({:object_ids})) by (({Gtk::Builder#add})). [GitHub#585][Patch by cedlemo] * Added backward compatible API to (({Gtk.show_uri})). ==== Ruby/GStreamer * Improvements * Added (({Gst::Version.or_later?})). [GitHub#573][Patch by cedlemo] ==== Ruby/Poppler * Improvements * Added (({Poppler::Version.or_later?})). [GitHub#577][Patch by cedlemo] ==== Ruby/RSVG2 * Improvements * Added (({RSVG::Version.or_later?})). [GitHub#578][Patch by cedlemo] ==== Ruby/VTE3 * Improvements * Stopped to run tests for old VTE with new VTE. [GitHub#566][Reported by Mamoru TASAKA] ==== Ruby/WebKitGTK * Improvements * Added (({WebKitGtk::Version.or_later?})). === Thanks * Stefan Salewski * Mamoru TASAKA * cedlemo |
From: Detlef R. <det...@gm...> - 2015-10-04 13:35:12
|
On 22.09.2015 08:55, Kouhei Sutou wrote: > > If your program that uses Ruby/GTK3 doesn't work with 3.x, > please report to us. It must be a Ruby/GTK3 bug. We'll fix > the bug. Hi, image = Gtk::Image.new :stock => Gtk::Stock::CLOSE, :size => :small_toolbar does not work, because :small_toolbar is an unknown enum to Gtk::IconSize you have to call it with image = Gtk::Image.new :stock => Gtk::Stock::CLOSE, :size => :"small-toolbar" what is valid ruby, but ugly :-/ Note the dash as opposed to the underscore. For :large_toolbar it is the same. The other enums from https://developer.gnome.org/gtk3/stable/gtk3-Themeable-Stock-Images.html#GTK-ICON-SIZE-MENU:CAPS work like expected. Cheers, detlef |
From: Kouhei S. <ko...@co...> - 2015-09-28 13:13:05
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Mon, 28 Sep 2015 01:48:44 +0200, Stefan Salewski <ma...@ss...> wrote: > All works fine currently, I have tested for one hour without a crash. Good work! We'll release a new version soon. > From my understanding that results from the bindings only, not from my code. Yes. Thanks, -- kou |
From: Stefan S. <ma...@ss...> - 2015-09-27 23:57:55
|
On Sun, 2015-09-27 at 10:42 +0900, Kouhei Sutou wrote: > It's caused by your application. Add the following code: > > button.always_show_image = true Thanks for your hints. All works fine currently, I have tested for one hour without a crash. Good enough for github now I think, so I pushed the sources to https://github.com/StefanSalewski/Ruby-PET Message at startup is now /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb: line 537 GLib-GObject-WARNING **:The property GtkWidget:style is deprecated and shouldn't be used anymore. It will be removed in a future version. /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb: line 335 GLib-GObject-WARNING **:The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version. >From my understanding that results from the bindings only, not from my code. Best wishes, Stefan |
From: Kouhei S. <ko...@co...> - 2015-09-27 01:54:44
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sat, 26 Sep 2015 23:38:23 +0200, Stefan Salewski <ma...@ss...> wrote: > There seems to be one more minor problem: > /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb:551:in `invoke': > TODO: GIArgument(GSList)[filename] -> Ruby Thanks for your report. I've implemented the feature at master. > On question: When the function should return the filename, is then a dup necessary like > > names = dialog.filenames.dup You don't need to duplicate the return value. Thanks, -- kou |
From: Kouhei S. <ko...@co...> - 2015-09-27 01:42:32
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sat, 26 Sep 2015 20:42:01 +0200, Stefan Salewski <ma...@ss...> wrote: > I am not absolutely sure, but may these 4 remaining warnings be caused > not by my application, but by your ruby-gnome2 bingings itself? > GLib-GObject-WARNING **:The property GtkWidget:style is deprecated and shouldn't be used anymore. It will be removed in a future version. It's caused by GC mark function in bindings. > GLib-GObject-WARNING **:The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. It's caused by your application. Please confirm whether you use :stock_id in Gtk::Button.new or not. > GLib-GObject-WARNING **:The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. It's caused by your application. Add the following code: button.always_show_image = true See also: * https://developer.gnome.org/gtk3/stable/GtkButton.html#gtk-button-set-always-show-image * https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-button-images > GLib-GObject-WARNING **:The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version. It's caused by GC mark function in bindings. Thanks, -- kou |
From: Stefan S. <ma...@ss...> - 2015-09-26 21:47:10
|
On Tue, 2015-09-22 at 15:55 +0900, Kouhei Sutou wrote: > Hi, > > Ruby-GNOME2 project released Ruby-GNOME2 3.0.4: > http://ruby-gnome2.osdn.jp/hiki.cgi?News_20150922_1 > > It is the first release announce of 3.x series. There seems to be one more minor problem: I had def run_schematics_open_dialog dialog = Gtk::FileChooserDialog.new(:title => 'Open Files', :parent => self, :action => Gtk::FileChooserAction::OPEN, :buttons => COB) [['Schematics', '*.sch'], ['All Files', '*']].each{|n, p| filter = Gtk::FileFilter.new filter.name = n filter.add_pattern(p) dialog.add_filter(filter) } dialog.select_multiple = true names = nil #dialog.run do |response| #names = dialog.filenames.dup if response == Gtk::ResponseType::ACCEPT #end if dialog.run == Gtk::ResponseType::ACCEPT puts dialog.filenames.class puts dialog.filenames puts "filename = #{dialog.filename}" #puts "filenames = #{dialog.filenames}" puts "uri = #{dialog.uri}" end dialog.destroy names end with the "dialog.run do |response|" construct, which I took from an older example, maybe still GTK2. Now it does simple nothing, so I can not open files. In your package I found the "if dialog.run ==" code example. But it seems that the important point is, that dialog.filenames for multiple files simple do not work yet. I get /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb:551:in `invoke': TODO: GIArgument(GSList)[filename] -> Ruby So we can open only single files now. Not a problem for me, but maybe good to report. On question: When the function should return the filename, is then a dup necessary like names = dialog.filenames.dup Best regards, Stefan |
From: Stefan S. <ma...@ss...> - 2015-09-26 18:50:51
|
On Tue, 2015-09-22 at 15:55 +0900, Kouhei Sutou wrote: > Hi, > > Ruby-GNOME2 project released Ruby-GNOME2 3.0.4: > http://ruby-gnome2.osdn.jp/hiki.cgi?News_20150922_1 I have just fixed the deprecated warnings in my application. I am not absolutely sure, but may these 4 remaining warnings be caused not by my application, but by your ruby-gnome2 bingings itself? /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/callable-info.rb: line 46 GLib-GObject-WARNING **:The property GtkWidget:style is deprecated and shouldn't be used anymore. It will be removed in a future version. /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb: line 307 GLib-GObject-WARNING **:The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/loader.rb: line 307 GLib-GObject-WARNING **:The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. /home/stefan/.gem/ruby/2.2.0/gems/gobject-introspection-3.0.6/lib/gobject-introspection/collection-reader.rb: line 29 GLib-GObject-WARNING **:The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version. This is for GTK/GNOME 3.16 on Linux |
From: Stefan S. <ma...@ss...> - 2015-09-26 10:36:22
|
On Sat, 2015-09-26 at 16:34 +0900, Kouhei Sutou wrote: > I've fixed it at mater. Could you try master again? You can > get master by "git pull". > > I added custom mark feature to Gtk::TreeModel. Your program > puts Gdk::Pixbuf object to Gtk::ListStore in Color_View. It > shold be marked. Seems to work fine now! Only tested for a few minutes yet, and my Ruby is currently still compiled with -O0 cflags, but I think that should make no difference. Will do more testing in the next days. Thank you for your great work. |
From: Kouhei S. <ko...@co...> - 2015-09-26 07:40:43
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Sat, 26 Sep 2015 01:22:32 +0200, Stefan Salewski <ma...@ss...> wrote: > Gdk::Pixbuf.from_surface() method seems to be not available? It's available. Use Cairo::Surface#to_pixbuf. Thanks, -- kou |
From: Kouhei S. <ko...@co...> - 2015-09-26 07:34:52
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Thu, 24 Sep 2015 18:05:07 +0200, Stefan Salewski <ma...@ss...> wrote: > Here is the output, looks OK for me. > > http://ssalewski.de/tmp/features.txt Thanks. I also confirmed that you load correct libraries. I've fixed it at mater. Could you try master again? You can get master by "git pull". I added custom mark feature to Gtk::TreeModel. Your program puts Gdk::Pixbuf object to Gtk::ListStore in Color_View. It shold be marked. Thanks, -- kou |
From: Stefan S. <ma...@ss...> - 2015-09-25 23:31:39
|
On Fri, 2015-09-25 at 23:01 +0200, Stefan Salewski wrote: > No idea why currently. The pixbuf.fill should cause no harm, maybe > set_cell_data_func is wrong? Gdk::Pixbuf.new direct before cell.pixbuf.fill! seems to help. I am not really sure, tested only for a few minutes yet. cell.pixbuf = Gdk::Pixbuf.new(Gdk::Pixbuf::COLORSPACE_RGB, true, 8, 10, 10) # (colorspace, has_alpha, bits_per_sample, width, height) cell.pixbuf.fill!((iter[Col_R] * 255).round * 16777216 + (iter[Col_G] * 255).round * 65536 + (iter[Col_B] * 255).round * 256 + (iter[Col_A] * 255).round) Before that, I tried to use cairo instead of pixbuf.fill like s = Cairo::ImageSurface.new(Cairo::FORMAT_A1, 3, 3) cr = Cairo::Context.new(s) pixbuf = Gdk::Pixbuf.from_surface Gdk::Pixbuf.from_surface() method seems to be not available? |
From: Stefan S. <ma...@ss...> - 2015-09-25 21:09:59
|
On Thu, 2015-09-24 at 00:59 +0200, Stefan Salewski wrote: > [BUG] rb_gc_mark(): 0x000000032b6490 is T_NONE > > That is what I get again and again. Impossible to locate the error, > when I comment out some code, that error will arise at other places. > > GC.disable at the beginning of the code makes it working fine. I tried to do the git install of 3.06 with compiler option -O0 to ensure that compiler optimizations are not a reason for the bug. For that I had to build my Ruby with -O0 first, because rake seems to take cflags from Ruby install. With that I got a state where each startup of my app crashed with above gc error. That made debugging really easy, so I found out that this code piece in file pet_conf_ed.rb column.set_cell_data_func(renderer) do |tvc, cell, model, iter| cell.pixbuf.fill!((iter[Col_R] * 255).round * 16777216 + (iter[Col_G] * 255).round * 65536 + (iter[Col_B] * 255).round * 256 + (iter[Col_A] * 255).round) end is very important for the bugs. With cell.pixbuf.fill commented out, I got one bug in 10 minutes of testing, but with that line active I get a crash for each startup. No idea why currently. The pixbuf.fill should cause no harm, maybe set_cell_data_func is wrong? I also tried to recompile Ruby gc.c with debugging options enabled before, but the output did not gave me helpful info. |
From: Stefan S. <ma...@ss...> - 2015-09-24 16:13:48
|
On Fri, 2015-09-25 at 00:28 +0900, Kouhei Sutou wrote: > > Sorry, I have no idea where to put that, can not see SCTOP string > > somewhere. > > Ah, sorry. > I missed about it. > > It exists in "peted.rb". Sorry, stupid me. Here is the output, looks OK for me. http://ssalewski.de/tmp/features.txt This is for ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux] |
From: Kouhei S. <ko...@co...> - 2015-09-24 15:28:48
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Thu, 24 Sep 2015 17:09:45 +0200, Stefan Salewski <ma...@ss...> wrote: >> It seems that you still use old libraries. >> >> Please put "puts $LOADED_FEATURES" before "SCSTOP = true" >> like the following and show the output: >> >> puts $LOADED_FEATURES >> SCSTOP = true > > Sorry, I have no idea where to put that, can not see SCTOP string > somewhere. Ah, sorry. I missed about it. It exists in "peted.rb". Thanks, -- kou |
From: Stefan S. <ma...@ss...> - 2015-09-24 15:18:27
|
On Thu, 2015-09-24 at 22:37 +0900, Kouhei Sutou wrote: > It seems that you still use old libraries. > > Please put "puts $LOADED_FEATURES" before "SCSTOP = true" > like the following and show the output: > > puts $LOADED_FEATURES > SCSTOP = true Sorry, I have no idea where to put that, can not see SCTOP string somewhere. Have searched for old libraries, can find nothing. All Ruby Gnome related is in .gem directory of my home directory now. Maybe a problem is, that I have not done the git install as root? Do not think so, because generally it works. Doing all the commands git clone https://github.com/ruby-gnome2/ruby-gnome2.git % cd ruby-gnome2 % gem install rake rake-compiler mechanize pkg-config cairo % rake gem:build % rake gem:install as root may give me some trouble, because rake is still installed by gentoo package manager. Will try to remove that and install as root then. Some people advice to try compiler option -O0 when garbage collector problems occur. I guess my gcc 4.9.3 is using -O2. Can and should I change that for git rake install? |
From: Kouhei S. <ko...@co...> - 2015-09-24 13:38:09
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Thu, 24 Sep 2015 00:59:28 +0200, Stefan Salewski <ma...@ss...> wrote: > [BUG] rb_gc_mark(): 0x000000032b6490 is T_NONE > > That is what I get again and again. Impossible to locate the error, > when I comment out some code, that error will arise at other places. It seems that you still use old libraries. Please put "puts $LOADED_FEATURES" before "SCSTOP = true" like the following and show the output: puts $LOADED_FEATURES SCSTOP = true Thanks, -- kou |
From: Kouhei S. <ko...@co...> - 2015-09-24 13:26:33
|
Hi, In <144...@ss...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 3.0.4" on Wed, 23 Sep 2015 20:55:43 +0200, Stefan Salewski <ma...@ss...> wrote: > Here is the output of ./run-test.rb &> tests.txt If you want to run tests, use "rake test". Thanks, -- kou |
From: Stefan S. <ma...@ss...> - 2015-09-23 23:08:09
|
On Wed, 2015-09-23 at 20:55 +0200, Stefan Salewski wrote: > Unfortunately my program still crashes very often, and it seems to be > not a single location in the code, but multiple. I already discovered > one problem, the timing of expose and draw event, draw before first > expose could not work. But there seems to be more. While there was no > serious problem with GTK 3.14 and ruby-gnome2.2.5. [BUG] rb_gc_mark(): 0x000000032b6490 is T_NONE That is what I get again and again. Impossible to locate the error, when I comment out some code, that error will arise at other places. GC.disable at the beginning of the code makes it working fine. |
From: Stefan S. <ma...@ss...> - 2015-09-23 19:04:24
|
On Wed, 2015-09-23 at 18:30 +0200, Stefan Salewski wrote: > You told me to look for errors raised in callbacks in your first > post. > Will try that. Maybe I can locate the reasons for the crashes. Here is the output of ./run-test.rb &> tests.txt http://ssalewski.de/tmp/tests.txt I am not sure if that is ok, at least no crash. Unfortunately my program still crashes very often, and it seems to be not a single location in the code, but multiple. I already discovered one problem, the timing of expose and draw event, draw before first expose could not work. But there seems to be more. While there was no serious problem with GTK 3.14 and ruby-gnome2.2.5. |