Hi, I''m pretty new to WxRuby, but I think it is the ideal solution to write Ruby-applications for different platforms. I missed the wxHtmlWindow in WxRuby, so I added it myself. You can grab the new files from http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all files I added to the wxruby-directory. These are mostly the *.t files for the missing classes and some samples (with some FIXMEs because there are still some classes missig in WxRuby which were used in the original C++ samples). There is also a patch changes.diff - You find all changes to files already in WxRuby I made. I added the following classes: Wx::HtmlWindow (htmlwindow.t) - The main widget class Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows The samples in html/about, html/priniting, html/test should work, the sample in html/virtual is missing the VFS class to be useful. I wanted to implement Wx::HtmlCell (htmlcell.t) and Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I have no clue how to fix them. The files are still in the package, so if someone wants to fix them... I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA and WRAPPING_CONSTRUCTOR stuff... Feel free to give comments. Greetings Tobi -- GPG-Key 0xE2BEA341 - signed/encrypted mail preferred My, oh so small, homepage: http://portfolio16.de/ http://www.fli4l.de/ - ISDN- & DSL-Router on one disk! Registered FLI4L-User #00000003
Tobias Gruetzmacher wrote:> > Hi, > > I''m pretty new to WxRuby, but I think it is the ideal solution to write > Ruby-applications for different platforms. I missed the wxHtmlWindow in > WxRuby, so I added it myself. You can grab the new files from > http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all > files I added to the wxruby-directory. These are mostly the *.t files > for the missing classes and some samples (with some FIXMEs because there > are still some classes missig in WxRuby which were used in the original > C++ samples). There is also a patch changes.diff - You find all changes > to files already in WxRuby I made. > > I added the following classes: > Wx::HtmlWindow (htmlwindow.t) - The main widget class > Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents > Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows > > The samples in html/about, html/priniting, html/test should work, the > sample in html/virtual is missing the VFS class to be useful. > > I wanted to implement Wx::HtmlCell (htmlcell.t) and > Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I > have no clue how to fix them. The files are still in the package, so if > someone wants to fix them... > > I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA > and WRAPPING_CONSTRUCTOR stuff... > > Feel free to give comments. > > Greetings TobiFantastic! If the hordes of wxRuby user''s can check this out and suggest any needed corrections, I would like to see this checked into our cvs repo and possibly do a 0.5.0 release (assuming Kevin agrees). Curt
Thanks Tobi! I''ll try it out tonight before checking into the CVS tree. Nick Quoting Tobias Gruetzmacher <ruby@portfolio16.de>:> Hi, > > I''m pretty new to WxRuby, but I think it is the ideal solution to write > Ruby-applications for different platforms. I missed the wxHtmlWindow in > WxRuby, so I added it myself. You can grab the new files from > http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all > files I added to the wxruby-directory. These are mostly the *.t files > for the missing classes and some samples (with some FIXMEs because there > are still some classes missig in WxRuby which were used in the original > C++ samples). There is also a patch changes.diff - You find all changes > to files already in WxRuby I made. > > I added the following classes: > Wx::HtmlWindow (htmlwindow.t) - The main widget class > Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents > Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows > > The samples in html/about, html/priniting, html/test should work, the > sample in html/virtual is missing the VFS class to be useful. > > I wanted to implement Wx::HtmlCell (htmlcell.t) and > Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I > have no clue how to fix them. The files are still in the package, so if > someone wants to fix them... > > I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA > and WRAPPING_CONSTRUCTOR stuff... > > Feel free to give comments. > > Greetings Tobi > > -- > GPG-Key 0xE2BEA341 - signed/encrypted mail preferred > My, oh so small, homepage: http://portfolio16.de/ > http://www.fli4l.de/ - ISDN- & DSL-Router on one disk! > Registered FLI4L-User #00000003 > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >
Sorry it took so long for me to get to, but it is now in CVS. I must say you did a great job. Not just t files, but wxpp modifications, extconf mods, and pre-made sample code. First class. Nick Tobias Gruetzmacher wrote:> Hi, > > I''m pretty new to WxRuby, but I think it is the ideal solution to write > Ruby-applications for different platforms. I missed the wxHtmlWindow in > WxRuby, so I added it myself. You can grab the new files from > http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all > files I added to the wxruby-directory. These are mostly the *.t files > for the missing classes and some samples (with some FIXMEs because there > are still some classes missig in WxRuby which were used in the original > C++ samples). There is also a patch changes.diff - You find all changes > to files already in WxRuby I made. > > I added the following classes: > Wx::HtmlWindow (htmlwindow.t) - The main widget class > Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents > Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows > > The samples in html/about, html/priniting, html/test should work, the > sample in html/virtual is missing the VFS class to be useful. > > I wanted to implement Wx::HtmlCell (htmlcell.t) and > Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I > have no clue how to fix them. The files are still in the package, so if > someone wants to fix them... > > I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA > and WRAPPING_CONSTRUCTOR stuff... > > Feel free to give comments. > > Greetings Tobi >
Curt, As far as I can tell, there are three changes wxruby changes in CVS: 1) Addition of submenu''s from David Mitchell 2) Addition of wxHtml from Tobias Gruetzmacher 3) My fix for a bug with building under MSVC.NET It might be worth a release. Nick Curt Hibbs wrote:>Tobias Gruetzmacher wrote: > > >>Hi, >> >>I''m pretty new to WxRuby, but I think it is the ideal solution to write >>Ruby-applications for different platforms. I missed the wxHtmlWindow in >>WxRuby, so I added it myself. You can grab the new files from >>http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all >>files I added to the wxruby-directory. These are mostly the *.t files >>for the missing classes and some samples (with some FIXMEs because there >>are still some classes missig in WxRuby which were used in the original >>C++ samples). There is also a patch changes.diff - You find all changes >>to files already in WxRuby I made. >> >>I added the following classes: >>Wx::HtmlWindow (htmlwindow.t) - The main widget class >>Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents >>Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows >> >>The samples in html/about, html/priniting, html/test should work, the >>sample in html/virtual is missing the VFS class to be useful. >> >>I wanted to implement Wx::HtmlCell (htmlcell.t) and >>Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I >>have no clue how to fix them. The files are still in the package, so if >>someone wants to fix them... >> >>I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA >>and WRAPPING_CONSTRUCTOR stuff... >> >>Feel free to give comments. >> >>Greetings Tobi >> >> > >Fantastic! > >If the hordes of wxRuby user''s can check this out and suggest any needed >corrections, I would like to see this checked into our cvs repo and possibly >do a 0.5.0 release (assuming Kevin agrees). > >Curt > >_______________________________________________ >wxruby-users mailing list >wxruby-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > > > > >
Nick wrote:> > Curt, > > As far as I can tell, there are three changes wxruby changes in CVS: > > 1) Addition of submenu''s from David Mitchell > 2) Addition of wxHtml from Tobias Gruetzmacher > 3) My fix for a bug with building under MSVC.NET > > It might be worth a release. > > NickIf Kevin concur''s I''m ready/willing to build a release. Curt> Curt Hibbs wrote: > > >Tobias Gruetzmacher wrote: > > > > > >>Hi, > >> > >>I''m pretty new to WxRuby, but I think it is the ideal solution to write > >>Ruby-applications for different platforms. I missed the wxHtmlWindow in > >>WxRuby, so I added it myself. You can grab the new files from > >>http://portfolio16.de/tmp/wxruby-html.tar.gz. This archive contains all > >>files I added to the wxruby-directory. These are mostly the *.t files > >>for the missing classes and some samples (with some FIXMEs because there > >>are still some classes missig in WxRuby which were used in the original > >>C++ samples). There is also a patch changes.diff - You find all changes > >>to files already in WxRuby I made. > >> > >>I added the following classes: > >>Wx::HtmlWindow (htmlwindow.t) - The main widget class > >>Wx::HtmlEasyPrinting (htmleasyprinting.t) - Printing HTML documents > >>Wx::HtmlProcessor (htmlprocessor.t) - Install filters on HtmlWindows > >> > >>The samples in html/about, html/priniting, html/test should work, the > >>sample in html/virtual is missing the VFS class to be useful. > >> > >>I wanted to implement Wx::HtmlCell (htmlcell.t) and > >>Wx::HtmlContainerCell (htmlcontainercell.t), but I got some errors and I > >>have no clue how to fix them. The files are still in the package, so if > >>someone wants to fix them... > >> > >>I''m not sure if I did everything right. Espsecialle with the CLIENT_DATA > >>and WRAPPING_CONSTRUCTOR stuff... > >> > >>Feel free to give comments. > >> > >>Greetings Tobi > >> > >> > > > >Fantastic! > > > >If the hordes of wxRuby user''s can check this out and suggest any needed > >corrections, I would like to see this checked into our cvs repo > and possibly > >do a 0.5.0 release (assuming Kevin agrees). > > > >Curt > > > >_______________________________________________ > >wxruby-users mailing list > >wxruby-users@rubyforge.org > >http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > > > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 >
Curt Hibbs wrote:> Nick wrote: >>As far as I can tell, there are three changes wxruby changes in CVS: >> >>1) Addition of submenu''s from David Mitchell >>2) Addition of wxHtml from Tobias Gruetzmacher >>3) My fix for a bug with building under MSVC.NET >> >>It might be worth a release. > > > If Kevin concur''s I''m ready/willing to build a release.Do we have known outstanding crashes? I think there may be some related to Tree#get_item_data, and I think the simple "fix" is to remove support for that method (and set, presumably). We still leak memory horribly, but that is quite difficult to fix, so we''re not doing that for 0.5. I really think we should try to fix any crashes. Aside from that, I''m definitely ok with a 0.5 release. Should we include xrc in the binary builds, too? Kevin
Kevin Smith wrote:> Curt Hibbs wrote: > >> Nick wrote: >> >>> As far as I can tell, there are three changes wxruby changes in CVS: >>> >>> 1) Addition of submenu''s from David Mitchell >>> 2) Addition of wxHtml from Tobias Gruetzmacher >>> 3) My fix for a bug with building under MSVC.NET >>> >>> It might be worth a release. >> >> >> >> If Kevin concur''s I''m ready/willing to build a release. > > > Do we have known outstanding crashes? I think there may be some > related to Tree#get_item_data, and I think the simple "fix" is to > remove support for that method (and set, presumably).I haven''t looked into it, but I suspect the problem is the same as with list box item data - that wxWidgets deletes item data on tree destruction, which wreaks havoc if the item still exists in ruby. As far as other crashes - none that I''m aware of.> > We still leak memory horribly, but that is quite difficult to fix, so > we''re not doing that for 0.5.Thats easier to fix in wxruby-swig that wxruby, but it doesn''t seem to bother many people.> > I really think we should try to fix any crashes. Aside from that, I''m > definitely ok with a 0.5 release. Should we include xrc in the binary > builds, too? >I''d like that, if possible. Nick