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...> - 2014-07-19 11:56:42
|
Hi, In <CAET2rA_1yTGMxMKUPYBnFstETR06BMqBQPKpuLD=cMN...@ma...> "Re: [ruby-gnome2-devel-en] [ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sat, 19 Jul 2014 20:32:20 +0900, Masafumi Yokoyama <my...@gm...> wrote: > 2014-06-29 23:30 GMT+09:00 Kouhei Sutou <ko...@co...>: >>> https://github.com/github/markup/pull/153 >> >> I did it and rejected. :< > > I think we should use a supported language > (https://github.com/github/markup#markups) for readability. I'll > convert the README to Markdown. OK! Thanks, -- kou |
From: Masafumi Y. <my...@gm...> - 2014-07-19 11:32:28
|
Hi, 2014-06-29 23:30 GMT+09:00 Kouhei Sutou <ko...@co...>: >> https://github.com/github/markup/pull/153 > > I did it and rejected. :< I think we should use a supported language (https://github.com/github/markup#markups) for readability. I'll convert the README to Markdown. -- myokoym |
From: Detlef R. <det...@gm...> - 2014-06-29 17:12:29
|
Am 29.06.2014 16:29, schrieb Kouhei Sutou: Hi, > I have no objection for migrating to YARD. It is better that > we have a tool that imports documentations from GTK+ to YARD. > Most of Ruby-GNOME2 documentations are based on > documentations of GTK+. > > Moreover, it is better that we can generate documentations > for GObject Introspection bindings such as Ruby/GIO2 > automatically. .gir files provided by GObject Introspection > have documentations. > I will give a automatically doc generation a try. Lets see, how far I will get ;-) Cheers, detlef |
From: Kouhei S. <ko...@co...> - 2014-06-29 14:30:09
|
Hi, In <CAET2rA9xCYnghv7c4QDY=PFR...@ma...> "Re: [ruby-gnome2-devel-en] [ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sun, 29 Jun 2014 17:59:19 +0900, Masafumi Yokoyama <my...@gm...> wrote: > I just found it... > > https://github.com/github/markup/pull/153 I did it and rejected. :< Thanks, -- kou |
From: Kouhei S. <ko...@co...> - 2014-06-29 14:29:12
|
Hi, In <53A...@gm...> "Re: [ruby-gnome2-devel-en] [ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sun, 29 Jun 2014 10:23:32 +0200, Detlef Reichl <det...@gm...> wrote: > Am 29.06.2014 05:43, schrieb Kouhei Sutou: >> It is a broken markup in RD. Should we migrated to Markdown >> from RD? > do you mean it only for README file or for all docs? For the other docs > I am in favor to switch to YARD, because with YARD we get the types of > the parameters of methods and of the return values in a simple to pares > format. This is very useful for tools which analyses code written with > ruby-gtk. I meant only for README files. I have no objection for migrating to YARD. It is better that we have a tool that imports documentations from GTK+ to YARD. Most of Ruby-GNOME2 documentations are based on documentations of GTK+. Moreover, it is better that we can generate documentations for GObject Introspection bindings such as Ruby/GIO2 automatically. .gir files provided by GObject Introspection have documentations. Thanks, -- kou |
From: Masafumi Y. <my...@gm...> - 2014-06-29 08:59:27
|
I just found it... https://github.com/github/markup/pull/153 2014-06-29 17:52 GMT+09:00 Masafumi Yokoyama <my...@gm...>: >>> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) >> >> It is a broken markup in RD. Should we migrated to Mardown >> from RD? >> >> (I like RD but GitHub don't like RD. :<) > > I hope RD is supported on GitHub, too. I'll try to send a pull request > to github/markup (*1). I'm planning to use RDtool (*2) for parser. > > (*1) https://github.com/github/markup > (*2) https://github.com/uwabami/rdtool > > > 2014-06-29 12:43 GMT+09:00 Kouhei Sutou <ko...@co...>: >>> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) >> >> It is a broken markup in RD. Should we migrated to Mardown >> from RD? >> >> (I like RD but GitHub don't like RD. :<) >> >> In <d47...@je...> >> "[ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sat, 28 Jun 2014 02:33:30 +0900, >> Masafumi Yokoyama <nu...@co...> wrote: >> >>> Masafumi Yokoyama 2014-06-28 02:33:30 +0900 (Sat, 28 Jun 2014) >>> >>> New Revision: d479f901f1c9151a09491a4a8200ddba9cf547fb >>> https://github.com/ruby-gnome2/ruby-gnome2/commit/d479f901f1c9151a09491a4a8200ddba9cf547fb >>> >>> Message: >>> Fix broken links on GitHub >>> >>> Modified files: >>> README >>> >>> Modified: README (+3 -3) >>> =================================================================== >>> --- README 2014-06-28 02:18:56 +0900 (e4c8158) >>> +++ README 2014-06-28 02:33:30 +0900 (b198d96) >>> @@ -187,10 +187,10 @@ current dependencies are: >>> == Bugs >>> >>> Please report bugs either in our bug tracker >>> -((<URL:http://sourceforge.net/tracker/?group_id=53614&atid=470969>)) >>> +((<URL: http://sourceforge.net/tracker/?group_id=53614&atid=470969 >)) >>> >>> or on the ruby-gnome2-devel-en / ruby-gnome2-devel-ja mailing list >>> -((<URL:http://sourceforge.net/mail/?group_id=53614>)) >>> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) >>> >>> == Copying >>> >>> @@ -202,4 +202,4 @@ the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. >>> >>> == Project Website >>> >>> -((<URL:http://ruby-gnome2.sourceforge.jp/>)) >>> +((<URL: http://ruby-gnome2.sourceforge.jp/ >)) >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> ruby-gnome2-devel-en mailing list >> rub...@li... >> https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |
From: Masafumi Y. <my...@gm...> - 2014-06-29 08:53:05
|
>> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) > > It is a broken markup in RD. Should we migrated to Mardown > from RD? > > (I like RD but GitHub don't like RD. :<) I hope RD is supported on GitHub, too. I'll try to send a pull request to github/markup (*1). I'm planning to use RDtool (*2) for parser. (*1) https://github.com/github/markup (*2) https://github.com/uwabami/rdtool 2014-06-29 12:43 GMT+09:00 Kouhei Sutou <ko...@co...>: >> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) > > It is a broken markup in RD. Should we migrated to Mardown > from RD? > > (I like RD but GitHub don't like RD. :<) > > In <d47...@je...> > "[ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sat, 28 Jun 2014 02:33:30 +0900, > Masafumi Yokoyama <nu...@co...> wrote: > >> Masafumi Yokoyama 2014-06-28 02:33:30 +0900 (Sat, 28 Jun 2014) >> >> New Revision: d479f901f1c9151a09491a4a8200ddba9cf547fb >> https://github.com/ruby-gnome2/ruby-gnome2/commit/d479f901f1c9151a09491a4a8200ddba9cf547fb >> >> Message: >> Fix broken links on GitHub >> >> Modified files: >> README >> >> Modified: README (+3 -3) >> =================================================================== >> --- README 2014-06-28 02:18:56 +0900 (e4c8158) >> +++ README 2014-06-28 02:33:30 +0900 (b198d96) >> @@ -187,10 +187,10 @@ current dependencies are: >> == Bugs >> >> Please report bugs either in our bug tracker >> -((<URL:http://sourceforge.net/tracker/?group_id=53614&atid=470969>)) >> +((<URL: http://sourceforge.net/tracker/?group_id=53614&atid=470969 >)) >> >> or on the ruby-gnome2-devel-en / ruby-gnome2-devel-ja mailing list >> -((<URL:http://sourceforge.net/mail/?group_id=53614>)) >> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) >> >> == Copying >> >> @@ -202,4 +202,4 @@ the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. >> >> == Project Website >> >> -((<URL:http://ruby-gnome2.sourceforge.jp/>)) >> +((<URL: http://ruby-gnome2.sourceforge.jp/ >)) > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |
From: Detlef R. <det...@gm...> - 2014-06-29 08:38:40
|
Am 29.06.2014 05:43, schrieb Kouhei Sutou: > It is a broken markup in RD. Should we migrated to Mardown > from RD? > > Hi, do you mean it only for README file or for all docs? For the other docs I am in favor to switch to YARD, because with YARD we get the types of the parameters of methods and of the return values in a simple to pares format. This is very useful for tools which analyses code written with ruby-gtk. Cheers, detlef |
From: Kouhei S. <ko...@co...> - 2014-06-29 04:02:31
|
> +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) It is a broken markup in RD. Should we migrated to Mardown from RD? (I like RD but GitHub don't like RD. :<) In <d47...@je...> "[ruby-gnome2-cvs] ruby-gnome2/ruby-gnome2@d479f90 [master] Fix broken links on GitHub" on Sat, 28 Jun 2014 02:33:30 +0900, Masafumi Yokoyama <nu...@co...> wrote: > Masafumi Yokoyama 2014-06-28 02:33:30 +0900 (Sat, 28 Jun 2014) > > New Revision: d479f901f1c9151a09491a4a8200ddba9cf547fb > https://github.com/ruby-gnome2/ruby-gnome2/commit/d479f901f1c9151a09491a4a8200ddba9cf547fb > > Message: > Fix broken links on GitHub > > Modified files: > README > > Modified: README (+3 -3) > =================================================================== > --- README 2014-06-28 02:18:56 +0900 (e4c8158) > +++ README 2014-06-28 02:33:30 +0900 (b198d96) > @@ -187,10 +187,10 @@ current dependencies are: > == Bugs > > Please report bugs either in our bug tracker > -((<URL:http://sourceforge.net/tracker/?group_id=53614&atid=470969>)) > +((<URL: http://sourceforge.net/tracker/?group_id=53614&atid=470969 >)) > > or on the ruby-gnome2-devel-en / ruby-gnome2-devel-ja mailing list > -((<URL:http://sourceforge.net/mail/?group_id=53614>)) > +((<URL: http://sourceforge.net/mail/?group_id=53614 >)) > > == Copying > > @@ -202,4 +202,4 @@ the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. > > == Project Website > > -((<URL:http://ruby-gnome2.sourceforge.jp/>)) > +((<URL: http://ruby-gnome2.sourceforge.jp/ >)) |
From: <ma...@sa...> - 2014-06-11 18:39:28
|
I have been trying to run rake gem without success. It crashes on one of requires that comes with rake-compiler gem. I spend hours digging in the code because gem is installed and the same requires called from irb work perfectly. As far as I remember I found out that this happens due to the way how rake tasks spawn subcommands (probably env is lost). Maybe it's because I am using rvm but I had no problems with any other piece of software. I had no time to do further investigation and switched to Vala. M. Am 03.06.2014 20:43, schrieb ma...@sa...: > Hi, > > for some reason I would like to maintain my own fork of Ruby/GStreamer. > > I don't need any other lib. > > I've cloned the ruby-gnome2 repository, and typed the following > > ruby extconf.rb glib2 gobject-introspection gio2 gstreamer > make > > and the compilation succeeded. > > How can I turn the outcome into gem, similar to official "gstreamer" gem? Hi, you can build the gems in the following way: cd gobject-introspection rake gem # builds the gem in pkg cd pkg gem install -l *.gem # install the gem as root cd ../../gstreamer rake gem cd pkg gem install -l *.gem # as root Cheers, detlef ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ ruby-gnome2-devel-en mailing list rub...@li... https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |
From: Detlef R. <det...@gm...> - 2014-06-11 15:06:10
|
Am 03.06.2014 20:43, schrieb ma...@sa...: > Hi, > > for some reason I would like to maintain my own fork of Ruby/GStreamer. > > I don't need any other lib. > > I've cloned the ruby-gnome2 repository, and typed the following > > ruby extconf.rb glib2 gobject-introspection gio2 gstreamer > make > > and the compilation succeeded. > > How can I turn the outcome into gem, similar to official "gstreamer" gem? Hi, you can build the gems in the following way: cd gobject-introspection rake gem # builds the gem in pkg cd pkg gem install -l *.gem # install the gem as root cd ../../gstreamer rake gem cd pkg gem install -l *.gem # as root Cheers, detlef |
From: Detlef R. <det...@gm...> - 2014-06-05 16:25:24
|
Hi, Am 04.06.2014 20:49, schrieb Vlad Katz: > > I haven't been able to use your rsvg2 gem with Ruby 2. i have tried > 2.0, 2.1, and 2.1.2 and yet i always get a segmentation fault. > > Here is the error dump: http://pastebin.com/aUR5L04b > > and here is the very simple test file i am > using: http://pastebin.com/vQb19QYT > > I tested this on CentOS 6.5 with installing pretty much nothing other > than rbenv, ruby and this gem. > > Starting with a brand new fresh install of CentOS 6.5, i only ran the > following commands: > > ------------------------------------------ > > fresh install of CentOS 6.5 > yum update > yum install git > > --install rbenv and update PATH etc > git clone https://github.com/sstephenson/rbenv.git ~/.rbenv > git > clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build > echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc > echo 'eval "$(rbenv init -)"' >> ~/.bashrc > exec bash > > yum install openssl-devel > rbenv install 2.1.2 > rbenv global 2.1.2 > gem install rsvg2 > > -- grab test file (same as in pastebin above) and execute > scp tools-qa.jiwiredev.com:/home/vkatz/test/test.rb > ruby test.rb > > ------------------------------------ > > This gives me a segmentation fault. doing the exact same as above but > using ruby 1.9.3 works fine with no errors. > > first, I have tested it on debian testing and it works with ruby 1.9, 2.0 and 2.1 fine for me. From your back trace it doesn't look like a ruby rsvg bug. I think it is in GLib or rsvg (both the C libs). Can you install the debugging symbols for this two? It may give a more useful back trace. Cheers, detlef |
From: Vlad K. <VK...@ji...> - 2014-06-04 18:49:31
|
I haven't been able to use your rsvg2 gem with Ruby 2. i have tried 2.0, 2.1, and 2.1.2 and yet i always get a segmentation fault. Here is the error dump: http://pastebin.com/aUR5L04b and here is the very simple test file i am using: http://pastebin.com/vQb19QYT I tested this on CentOS 6.5 with installing pretty much nothing other than rbenv, ruby and this gem. Starting with a brand new fresh install of CentOS 6.5, i only ran the following commands: —————————————— fresh install of CentOS 6.5 yum update yum install git --install rbenv and update PATH etc git clone https://github.com/sstephenson/rbenv.git ~/.rbenv git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec bash yum install openssl-devel rbenv install 2.1.2 rbenv global 2.1.2 gem install rsvg2 -- grab test file (same as in pastebin above) and execute scp tools-qa.jiwiredev.com:/home/vkatz/test/test.rb ruby test.rb ———————————— This gives me a segmentation fault. doing the exact same as above but using ruby 1.9.3 works fine with no errors. Any help would be greatly appreciated! Thanks! *v |
From: <ma...@sa...> - 2014-06-03 19:06:50
|
Hi, for some reason I would like to maintain my own fork of Ruby/GStreamer. I don't need any other lib. I've cloned the ruby-gnome2 repository, and typed the following ruby extconf.rb glib2 gobject-introspection gio2 gstreamer make and the compilation succeeded. How can I turn the outcome into gem, similar to official "gstreamer" gem? Thank you, Marcin |
From: Detlef R. <det...@gm...> - 2014-06-02 18:10:51
|
Hi, I want to create a widget as a subclass of Gtk::Container. For this, in C I have to overwrite some virtual functions: container_class->add, container_class->remove, container_class->forall, widget_class->get_preferred_width, widget_class->get_preferred_height and maybe others. How can I do this from ruby? Thanks, detlef |
From: Michael B. <be...@ju...> - 2014-05-26 06:47:12
|
Hi, Am Montag, den 26.05.2014, 12:30 +0900 schrieb Masafumi Yokoyama: > A GTK window is just shown when `Gtk.main` is called. > `show_all` sets flag to be displayed to all widgets, but doesn't > actually display until `Gtk.main` is called. Ah, I understand... I even tried to move Gtk.main into my #each loop, but this way it makes sense. > It seems that need to design such as the following: Thanks, works fine. Cheers Michael |
From: Masafumi Y. <my...@gm...> - 2014-05-26 03:30:37
|
Hi, 2014-05-26 3:54 GMT+09:00 Michael Below <be...@ju...>: > thanks for your help, this got me a big step further. Now I want to > display a slideshow: I am retrieving images from flickr into an array, > and now I want to iterate through those images with #each > > My code shows only the last image. Seems like the window is not updated > while the initial code is run. I would like to force an update at the > end of each #each iteration. How may I do that? Is there a better way? A GTK window is just shown when `Gtk.main` is called. `show_all` sets flag to be displayed to all widgets, but doesn't actually display until `Gtk.main` is called. It seems that need to design such as the following: * Do paging when an event occurred. ... FlickRaw.api_key= FlickRaw.shared_secret= @pixbufs = [] results = flickr.photos.search(:tags => "tag", :per_page => 1) results.each {|currentresult| ... if myheight > 700 ... end @pixbufs << currentpixbuf } update_image(@pixbufs.first) # event handler signal_connect("key-press-event") do |_widget, event| case event.keyval when Gdk::Keyval::GDK_KEY_Right @pixbufs.push(@pixbufs.shift) update_image(@pixbufs.first) when Gdk::Keyval::GDK_KEY_Left @pixbufs.unshift(@pixbufs.pop) update_image(@pixbufs.first) end end # auto mode GLib::Timeout.add(1000) do @pixbufs.push(@pixbufs.shift) update_image(@pixbufs.first) true # continue end end def update_image(currentpixbuf) if (defined?(@gtkimage)).nil? @gtkimage = Gtk::Image.new :pixbuf => currentpixbuf add @gtkimage else @gtkimage.set_pixbuf(currentpixbuf) end show_all end ... Thanks, -- myokoym |
From: Detlef R. <det...@gm...> - 2014-05-26 02:47:12
|
hi, Am 25.05.2014 20:54, schrieb Michael Below: > My code shows only the last image. Seems like the window is not updated > while the initial code is run. I would like to force an update at the > end of each #each iteration. How may I do that? Is there a better way? I don't tested it, but I think the problem is, that you while fetching your images never go back to your Gtk main loop. This is necessary to get the updates done. So after creating every Gtk::Image you should add this line. I think, that it will help. Gtk.main_iteration while Gtk.events_pending? Cheers, detlef |
From: Michael B. <be...@ju...> - 2014-05-25 18:54:42
|
Hi, thanks for your help, this got me a big step further. Now I want to display a slideshow: I am retrieving images from flickr into an array, and now I want to iterate through those images with #each My code shows only the last image. Seems like the window is not updated while the initial code is run. I would like to force an update at the end of each #each iteration. How may I do that? Is there a better way? My current code is here: https://gist.github.com/anonymous/3ac047a590a1f02769e5 Cheers Michael |
From: Masafumi Y. <my...@gm...> - 2014-05-23 12:56:25
|
Hi, We can display web images in a GTK window by the following way: ... require "tempfile" ... image_path = Tempfile.open("display-web-image-in-gtk") do |tempfile| urlimage = open("http://rmagick.rubyforge.org/framed_clown.jpg") tempfile.write(urlimage.read) tempfile.path end posh = Gdk::Pixbuf.new(image_path) ... This way is saving web images to local temp directory. When the script is finished, temp files will be deleted. And, doesn't need RMagick. How about this? Thanks, -- myokoym 2014-05-21 5:06 GMT+09:00 Michael Below <be...@ju...>: > Hi, > > I am trying to display an image from the web in a GTK window. Fetching > the image works, and displaying local images works too, but how can I > get my web image into an GTK::image object? Here's my code. > https://gist.github.com/anonymous/aa4f27aa135bc59bc792 -- Ruby complains > about an implicit conversion from nil to integer > > I am trying to convert the image to a "well-behaved" blob using > Imagemagick/RMagick, because I have read in the documentation that > Gdk::Pixbuf accepts data input. Is there a better way? > > Cheers > > Michael > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |
From: Michael B. <be...@ju...> - 2014-05-20 20:06:54
|
Hi, I am trying to display an image from the web in a GTK window. Fetching the image works, and displaying local images works too, but how can I get my web image into an GTK::image object? Here's my code. https://gist.github.com/anonymous/aa4f27aa135bc59bc792 -- Ruby complains about an implicit conversion from nil to integer I am trying to convert the image to a "well-behaved" blob using Imagemagick/RMagick, because I have read in the documentation that Gdk::Pixbuf accepts data input. Is there a better way? Cheers Michael |
From: Detlef R. <det...@gm...> - 2014-05-19 15:58:08
|
Hi, Am 19.05.2014 14:24, schrieb Kouhei Sutou: > Hi, > > In <537...@gm...> > "[ruby-gnome2-devel-en] disable widgets in print dialog" on Thu, 15 May 2014 05:45:57 +0200, > Detlef Reichl <det...@gm...> wrote: > >> I like to disable some of the settings in the print dialog, because in >> my program it is not useful to change them, i.e. the paper size. The >> dialog is created from Gtk::PrintOperation in the "run" method. Because >> I found no way, to come from this point to the print dialog widget I've >> tried to overwrite the initialize method of Gtk::PrintUnixDialog, >> connect i.e. to the configure signal, search for the widget and make it >> insensitive. But my initialize is never called. Is there any other way >> to get to this? > Could you show a sample program to reproduce the case? > > Hi, here is a simple example. From the appearing Dialog I want to disable or hide some of the settings on the second page (page setup). The reason why I want to disable some elements is, that I'm writing a label editor (see at https://github.com/detlefreichl/etti ). And for such a program it is really not useful if you i.e. can print double sided. Cheers, detlef #!/usr/bin/env ruby require 'gtk3' class Printer def initialize printOperation = Gtk::PrintOperation.new printOperation.n_pages = 1 printOperation.signal_connect('draw-page') do |widget, printContext, pageNumber| cc = printContext.cairo_context # drawing code end ret = printOperation.run :print_dialog end end printer = Printer.new Gtk.main |
From: Kouhei S. <ko...@co...> - 2014-05-19 12:24:10
|
Hi, In <537...@gm...> "[ruby-gnome2-devel-en] disable widgets in print dialog" on Thu, 15 May 2014 05:45:57 +0200, Detlef Reichl <det...@gm...> wrote: > I like to disable some of the settings in the print dialog, because in > my program it is not useful to change them, i.e. the paper size. The > dialog is created from Gtk::PrintOperation in the "run" method. Because > I found no way, to come from this point to the print dialog widget I've > tried to overwrite the initialize method of Gtk::PrintUnixDialog, > connect i.e. to the configure signal, search for the widget and make it > insensitive. But my initialize is never called. Is there any other way > to get to this? Could you show a sample program to reproduce the case? Thanks, -- kou |
From: Detlef R. <det...@gm...> - 2014-05-15 03:47:52
|
Hi, I like to disable some of the settings in the print dialog, because in my program it is not useful to change them, i.e. the paper size. The dialog is created from Gtk::PrintOperation in the "run" method. Because I found no way, to come from this point to the print dialog widget I've tried to overwrite the initialize method of Gtk::PrintUnixDialog, connect i.e. to the configure signal, search for the widget and make it insensitive. But my initialize is never called. Is there any other way to get to this? Cheers, detlef |
From: Detlef R. <det...@gm...> - 2014-05-05 17:49:20
|
Hi kou, over the day at work I came to the same solution :-). Thank you! I've looked into the gtk+ sources. The implementation is not that nice, cause it takes a pointer of int as argument for the new order. So checking the data for doubles like it happened in my example is useless, cause even the length of the list can't be checked. To get the safety for my programs I've extended the ListStore class in the following way. It checked if the order index has the same size as the list and if the indices are valid. module Gtk class ListStore alias_method :old_reorder, :reorder def reorder order self_length = 0 self.each {self_length += 1} raise ArgumentError, "invalid new_order size" unless self_length == order.length new_order = order.sort.uniq raise ArgumentError, "invalid index in new_order" if (new_order.length() != order.length() or new_order.last != order.length() -1) old_reorder order end end end Is it worth to include it in ruby gtk? It think an thrown exception is always better then a program that eats all your memory and CPU time and then crashes without a useful message. Cheers detlef Am 05.05.2014 08:11, schrieb Kouhei Sutou: > Hi, > > In <536...@gm...> > "[ruby-gnome2-devel-en] Next memory leak and infinity loop" on Sun, 04 May 2014 19:45:19 +0200, > Detlef Reichl <det...@gm...> wrote: > >> I've stumbled over the next bug. If I use the Gtk::ListStore.reorder >> method the memory get filled up and the program hangs. Here is a short >> example. Start it and click on "memory pig :-)". Take care, it eats all >> your memory _very_ fast! > It seems that your program uses reorder wrongly. Try the > following code: > > active = [] > inactive = [] > i = 0 > @tvListStore.each do |model, path, iter| > if iter[1] > active << i > else > inactive << i > end > i += 1 > end > @tvListStore.reorder(active + inactive) > > Thanks, > -- > kou > > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |