wxRuby 0.6.0 has been released and is now available for download from RubyForge at http://wxruby.rubyforge.org/ This release includes binary builds for Max OS X and MS Windows. Changes in this release include: * Additional widget support in XRC (thanks to Marshall Elfstrand) * Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle Technologies Inc) * Addition of wxGrid event handlers (thanks to Zach Dennis) * wxBusyCursor and wxWindowDisabler interfaces changed to match the wxruby-swig interface. ---------- What is wxRuby? wxRuby is an open source GUI toolkit for the Ruby programming language. It provides a Ruby interface to the cross-platform wxWidgets C++ GUI framework (formerly known as wxWindows). wxRuby is intended to dramatically extend Ruby''s usefulness in rapid prototyping and general UI development. wxWidgets is a mature, cross-platform GUI toolkit that uses native GUI widgets. This means that wxRuby applications can integrate seamlessly on each supported platform, and can behave like the user expects. Nick
Nick wrote:> wxRuby 0.6.0 has been released and is now available for > download from RubyForge at http://wxruby.rubyforge.org/ > This release includes binary builds for Max OS X and > MS Windows.You guys are just awesome !> Changes in this release include: > * Additional widget support in XRC (thanks to Marshall Elfstrand) > * Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle > Technologies Inc) > * Addition of wxGrid event handlers (thanks to Zach Dennis) >Great ! Thanks a million, Zach, I was desperately wanting Grid events. Do you have a new list of the additional events ... may be a new example :-)> * wxBusyCursor and wxWindowDisabler interfaces changed to match the > wxruby-swig interface.Where can I read about more details of "what is new in 0.6.0"? The ChangeLog hasn''t changed much since the last release ;-)> NickAgain, I really really thank all of you for the good work. Really ! -- shanko
> Great ! Thanks a million, Zach, I was desperately wanting Grid events.> Do you have a new list of the additional events ... may be > a new example :-) In order to test the new events, I addded some event handlers to the grid sample. There are some modifications - The wxGridEditorCreatedEvent does not have any "set" methods. This seemed unnecessary since it isn''t an event posted by anyone except the grid itself - wxGridRangeSelectedEvent::GetBottomRightCoords and wxGridRangeSelectedEvent::GetTopLeftCoords return an array of coordinates instead of a wxGridCoords class. Nick Shashank Date wrote:> Nick wrote: > >> wxRuby 0.6.0 has been released and is now available for >> download from RubyForge at http://wxruby.rubyforge.org/ >> This release includes binary builds for Max OS X and >> MS Windows. > > > You guys are just awesome ! > >> Changes in this release include: >> * Additional widget support in XRC (thanks to Marshall Elfstrand) >> * Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >> Technologies Inc) >> * Addition of wxGrid event handlers (thanks to Zach Dennis) >> > > > Great ! Thanks a million, Zach, I was desperately wanting Grid events. > Do you have a new list of the additional events ... may be > a new example :-) > >> * wxBusyCursor and wxWindowDisabler interfaces changed to match the >> wxruby-swig interface. > > > Where can I read about more details of "what is new in 0.6.0"? > The ChangeLog hasn''t changed much since the last release ;-) > >> Nick > > > Again, I really really thank all of you for the good work. Really ! > -- shanko > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >
Hi Nick, Nick wrote:> > > Great ! Thanks a million, Zach, I was desperately wanting Grid events. > > Do you have a new list of the additional events ... may be > > a new example :-) > > In order to test the new events, I addded some event handlers to the > grid sample. There are some modifications > > - The wxGridEditorCreatedEvent does not have any "set" methods. This > seemed unnecessary since it isn''t an event posted by anyone except the > grid itself > - wxGridRangeSelectedEvent::GetBottomRightCoords and > wxGridRangeSelectedEvent::GetTopLeftCoords return an array of > coordinates instead of a wxGridCoords class.Thanks, I will check it out.> Nick-- Shashank
The issue is that wxGTK-2.4.2 fails to include the htmlproc.h header with the distribution. This usually isn''t an issue, but since we''re trying to wrap functionality, it doesn''t build. Are you sure you have the 0.6 version of wxruby? I added a line in the extconf to remove the html widget on linux systems. Nick Meino Christian Cramer wrote:> From: Nick <devel@nicreations.com> > Subject: wxRuby 0.6.0 is released! > Date: Mon, 22 Nov 2004 01:09:55 +0900 > > Hi, > > While compiling on a Linux box I get this error: > > g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmleasyprinting.cpp > g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:11: error: expected class-name before ''{'' token > htmlprocessor.h:28: error: variable or field `validateCppObject'' declared void > htmlprocessor.h:28: error: expected `;'' before ''('' token > > .... > > I installed wxWindow 2.4.2 ... > > gcc ist of version 3.4.2 > > What didi I wrong here ? > > Regards, > Meino Cramer > > > >>wxRuby 0.6.0 has been released and is now available for >>download from RubyForge at http://wxruby.rubyforge.org/ >>This release includes binary builds for Max OS X and >>MS Windows. >> >>Changes in this release include: >>* Additional widget support in XRC (thanks to Marshall Elfstrand) >>* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >>Technologies Inc) >>* Addition of wxGrid event handlers (thanks to Zach Dennis) >>* wxBusyCursor and wxWindowDisabler interfaces changed to match the >>wxruby-swig interface. >> >>---------- >> >>What is wxRuby? >> >>wxRuby is an open source GUI toolkit for the Ruby programming >>language. It provides a Ruby interface to the cross-platform >>wxWidgets C++ GUI framework (formerly known as wxWindows). >>wxRuby is intended to dramatically extend Ruby''s usefulness in >>rapid prototyping and general UI development. >> >>wxWidgets is a mature, cross-platform GUI toolkit that uses native >>GUI widgets. This means that wxRuby applications can integrate >>seamlessly on each supported platform, and can behave like the >>user expects. >> >>Nick >> >> >> > > > >
Sorry for the delay - was on vacation. Double check your extconf file - there should be a couple of lines under the linux section that remove the html files. Change the lines: ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| $objs.delete(str) end to the following ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| puts "Removing ${str}" $objs.delete(str) end Re-run the extconf, and see if you get the debug message. Nick Meino Christian Cramer wrote:> From: Nick <devel@nicreations.com> > Subject: Re: wxRuby 0.6.0 is released! > Date: Mon, 22 Nov 2004 22:21:35 +0900 > > Hi Nick, > > thanks for your reply ! > Yes, I am sure... > I downloaded a fresh copy of version 0.6 of wxRuby and did the following > > [wxruby-0.6-src/] :cd src > [src/] :ruby extconf.rb > creating Makefile > [src/] :make > > ....(many lines of successful compiled source files).... > > g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:11: error: expected class-name before ''{'' token > > Again compilation fails... > > (PS: For an unkown reason to me, I can read the ruby-mailinglist, but > as soon I try to post, I get a "not allowed" back...that''s why this a > private mail to you but do not hesitate to handle it as it would be > posted to the public, Nick!) > > Keep hacking! > Meino > > > >>The issue is that wxGTK-2.4.2 fails to include the htmlproc.h header >>with the distribution. This usually isn''t an issue, but since we''re >>trying to wrap functionality, it doesn''t build. >> >>Are you sure you have the 0.6 version of wxruby? I added a line in the >>extconf to remove the html widget on linux systems. >> >>Nick >> >> >>Meino Christian Cramer wrote: >> >>>From: Nick <devel@nicreations.com> >>>Subject: wxRuby 0.6.0 is released! >>>Date: Mon, 22 Nov 2004 01:09:55 +0900 >>> >>>Hi, >>> >>> While compiling on a Linux box I get this error: >>> >>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmleasyprinting.cpp >>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp >>> In file included from htmlprocessor.cpp:7: >>> htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >>> In file included from htmlprocessor.cpp:7: >>> htmlprocessor.h:11: error: expected class-name before ''{'' token >>> htmlprocessor.h:28: error: variable or field `validateCppObject'' declared void >>> htmlprocessor.h:28: error: expected `;'' before ''('' token >>> >>> .... >>> >>> I installed wxWindow 2.4.2 ... >>> >>> gcc ist of version 3.4.2 >>> >>> What didi I wrong here ? >>> >>> Regards, >>> Meino Cramer >>> >>> >>> >>> >>>>wxRuby 0.6.0 has been released and is now available for >>>>download from RubyForge at http://wxruby.rubyforge.org/ >>>>This release includes binary builds for Max OS X and >>>>MS Windows. >>>> >>>>Changes in this release include: >>>>* Additional widget support in XRC (thanks to Marshall Elfstrand) >>>>* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >>>>Technologies Inc) >>>>* Addition of wxGrid event handlers (thanks to Zach Dennis) >>>>* wxBusyCursor and wxWindowDisabler interfaces changed to match the >>>>wxruby-swig interface. >>>> >>>>---------- >>>> >>>>What is wxRuby? >>>> >>>>wxRuby is an open source GUI toolkit for the Ruby programming >>>>language. It provides a Ruby interface to the cross-platform >>>>wxWidgets C++ GUI framework (formerly known as wxWindows). >>>>wxRuby is intended to dramatically extend Ruby''s usefulness in >>>>rapid prototyping and general UI development. >>>> >>>>wxWidgets is a mature, cross-platform GUI toolkit that uses native >>>>GUI widgets. This means that wxRuby applications can integrate >>>>seamlessly on each supported platform, and can behave like the >>>>user expects. >>>> >>>>Nick >>>> >>>> >>>> >>> >>> >>> >>> >> > > >
I didn''t even see this one...i apologize for not catching this earlier and looking into it! Zach Nick wrote:> > Sorry for the delay - was on vacation. Double check your extconf file - > there should be a couple of lines under the linux section that remove > the html files. Change the lines: > > ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| > $objs.delete(str) > end > > > to the following > > ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| > puts "Removing ${str}" > $objs.delete(str) > end > > > Re-run the extconf, and see if you get the debug message. > > Nick > > Meino Christian Cramer wrote: > >> From: Nick <devel@nicreations.com> >> Subject: Re: wxRuby 0.6.0 is released! >> Date: Mon, 22 Nov 2004 22:21:35 +0900 >> >> Hi Nick, >> >> thanks for your reply ! Yes, I am sure... >> I downloaded a fresh copy of version 0.6 of wxRuby and did the following >> >> [wxruby-0.6-src/] :cd src >> [src/] :ruby extconf.rb >> creating Makefile >> [src/] :make >> >> ....(many lines of successful compiled source files).... >> >> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >> -funroll-loops -fforce-addr -falign-functions=4 >> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp >> In file included from htmlprocessor.cpp:7: >> htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >> In file included from htmlprocessor.cpp:7: >> htmlprocessor.h:11: error: expected class-name before ''{'' token >> >> Again compilation fails... >> >> (PS: For an unkown reason to me, I can read the ruby-mailinglist, but >> as soon I try to post, I get a "not allowed" back...that''s why this a >> private mail to you but do not hesitate to handle it as it would be >> posted to the public, Nick!) >> >> Keep hacking! >> Meino >> >> >> >>> The issue is that wxGTK-2.4.2 fails to include the htmlproc.h header >>> with the distribution. This usually isn''t an issue, but since we''re >>> trying to wrap functionality, it doesn''t build. >>> >>> Are you sure you have the 0.6 version of wxruby? I added a line in >>> the extconf to remove the html widget on linux systems. >>> >>> Nick >>> >>> >>> Meino Christian Cramer wrote: >>> >>>> From: Nick <devel@nicreations.com> >>>> Subject: wxRuby 0.6.0 is released! >>>> Date: Mon, 22 Nov 2004 01:09:55 +0900 >>>> >>>> Hi, >>>> >>>> While compiling on a Linux box I get this error: >>>> >>>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >>>> -funroll-loops -fforce-addr -falign-functions=4 >>>> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >>>> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >>>> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmleasyprinting.cpp >>>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >>>> -funroll-loops -fforce-addr -falign-functions=4 >>>> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >>>> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >>>> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp >>>> In file included from htmlprocessor.cpp:7: >>>> htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >>>> In file included from htmlprocessor.cpp:7: >>>> htmlprocessor.h:11: error: expected class-name before ''{'' token >>>> htmlprocessor.h:28: error: variable or field `validateCppObject'' >>>> declared void >>>> htmlprocessor.h:28: error: expected `;'' before ''('' token >>>> >>>> .... >>>> >>>> I installed wxWindow 2.4.2 ... >>>> >>>> gcc ist of version 3.4.2 >>>> >>>> What didi I wrong here ? >>>> >>>> Regards, >>>> Meino Cramer >>>> >>>> >>>> >>>> >>>>> wxRuby 0.6.0 has been released and is now available for >>>>> download from RubyForge at http://wxruby.rubyforge.org/ >>>>> This release includes binary builds for Max OS X and >>>>> MS Windows. >>>>> >>>>> Changes in this release include: >>>>> * Additional widget support in XRC (thanks to Marshall Elfstrand) >>>>> * Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >>>>> Technologies Inc) >>>>> * Addition of wxGrid event handlers (thanks to Zach Dennis) >>>>> * wxBusyCursor and wxWindowDisabler interfaces changed to match the >>>>> wxruby-swig interface. >>>>> >>>>> ---------- >>>>> >>>>> What is wxRuby? >>>>> >>>>> wxRuby is an open source GUI toolkit for the Ruby programming >>>>> language. It provides a Ruby interface to the cross-platform >>>>> wxWidgets C++ GUI framework (formerly known as wxWindows). >>>>> wxRuby is intended to dramatically extend Ruby''s usefulness in >>>>> rapid prototyping and general UI development. >>>>> >>>>> wxWidgets is a mature, cross-platform GUI toolkit that uses native >>>>> GUI widgets. This means that wxRuby applications can integrate >>>>> seamlessly on each supported platform, and can behave like the >>>>> user expects. >>>>> >>>>> Nick >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > >
I should have prefixed this with "This comes from a question from the ruby-talk list". Nick wrote:> > Sorry for the delay - was on vacation. Double check your extconf file - > there should be a couple of lines under the linux section that remove > the html files. Change the lines: > > ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| > $objs.delete(str) > end > > > to the following > > ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str| > puts "Removing ${str}" > $objs.delete(str) > end > > > Re-run the extconf, and see if you get the debug message. > > Nick > > Meino Christian Cramer wrote: > >> From: Nick <devel@nicreations.com> >> Subject: Re: wxRuby 0.6.0 is released! >> Date: Mon, 22 Nov 2004 22:21:35 +0900 >> >> Hi Nick, >> >> thanks for your reply ! Yes, I am sure... >> I downloaded a fresh copy of version 0.6 of wxRuby and did the following >> >> [wxruby-0.6-src/] :cd src >> [src/] :ruby extconf.rb >> creating Makefile >> [src/] :make >> >> ....(many lines of successful compiled source files).... >> >> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >> -funroll-loops -fforce-addr -falign-functions=4 >> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp >> In file included from htmlprocessor.cpp:7: >> htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >> In file included from htmlprocessor.cpp:7: >> htmlprocessor.h:11: error: expected class-name before ''{'' token >> >> Again compilation fails... >> >> (PS: For an unkown reason to me, I can read the ruby-mailinglist, but >> as soon I try to post, I get a "not allowed" back...that''s why this a >> private mail to you but do not hesitate to handle it as it would be >> posted to the public, Nick!) >> >> Keep hacking! >> Meino >> >> >> >>> The issue is that wxGTK-2.4.2 fails to include the htmlproc.h header >>> with the distribution. This usually isn''t an issue, but since we''re >>> trying to wrap functionality, it doesn''t build. >>> >>> Are you sure you have the 0.6 version of wxruby? I added a line in >>> the extconf to remove the html widget on linux systems. >>> >>> Nick >>> >>> >>> Meino Christian Cramer wrote: >>> >>>> From: Nick <devel@nicreations.com> >>>> Subject: wxRuby 0.6.0 is released! >>>> Date: Mon, 22 Nov 2004 01:09:55 +0900 >>>> >>>> Hi, >>>> >>>> While compiling on a Linux box I get this error: >>>> >>>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >>>> -funroll-loops -fforce-addr -falign-functions=4 >>>> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >>>> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >>>> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmleasyprinting.cpp >>>> g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse >>>> -funroll-loops -fforce-addr -falign-functions=4 >>>> -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config >>>> --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux >>>> -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp >>>> In file included from htmlprocessor.cpp:7: >>>> htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >>>> In file included from htmlprocessor.cpp:7: >>>> htmlprocessor.h:11: error: expected class-name before ''{'' token >>>> htmlprocessor.h:28: error: variable or field `validateCppObject'' >>>> declared void >>>> htmlprocessor.h:28: error: expected `;'' before ''('' token >>>> >>>> .... >>>> >>>> I installed wxWindow 2.4.2 ... >>>> >>>> gcc ist of version 3.4.2 >>>> >>>> What didi I wrong here ? >>>> >>>> Regards, >>>> Meino Cramer >>>> >>>> >>>> >>>> >>>>> wxRuby 0.6.0 has been released and is now available for >>>>> download from RubyForge at http://wxruby.rubyforge.org/ >>>>> This release includes binary builds for Max OS X and >>>>> MS Windows. >>>>> >>>>> Changes in this release include: >>>>> * Additional widget support in XRC (thanks to Marshall Elfstrand) >>>>> * Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >>>>> Technologies Inc) >>>>> * Addition of wxGrid event handlers (thanks to Zach Dennis) >>>>> * wxBusyCursor and wxWindowDisabler interfaces changed to match the >>>>> wxruby-swig interface. >>>>> >>>>> ---------- >>>>> >>>>> What is wxRuby? >>>>> >>>>> wxRuby is an open source GUI toolkit for the Ruby programming >>>>> language. It provides a Ruby interface to the cross-platform >>>>> wxWidgets C++ GUI framework (formerly known as wxWindows). >>>>> wxRuby is intended to dramatically extend Ruby''s usefulness in >>>>> rapid prototyping and general UI development. >>>>> >>>>> wxWidgets is a mature, cross-platform GUI toolkit that uses native >>>>> GUI widgets. This means that wxRuby applications can integrate >>>>> seamlessly on each supported platform, and can behave like the >>>>> user expects. >>>>> >>>>> Nick >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >