Displaying 20 results from an estimated 20000 matches similar to: "wxRuby-0.6.0, wxRuby2, SWIG and...."
2005 Jul 20
3
Plans to rename wxruby-swig to wxruby2
Greetings all,
Over the last few months, while I have been busy on other projects, Nick
and other folks have built wxruby-swig up to where it now supports about
120 classes, compared to the 139 in wxruby 0.6. When you include the
fact that wxruby 0.6 had a few classes that really weren''t needed
(because non-wx ruby versions work fine), it looks like wxruby-swig is
actually very
2006 Feb 17
7
Re: Problem building wxRuby: htmlproc.h not found
Hi,
Has this problem been resolved?
I encountered the same problem on my FC3 system with wxGTK-2.4.2 and
wxruby-0.6.
Thanks.
Stephen
[Wxruby-users] Re: Problem building wxRuby: htmlproc.h not found
*Nick* devel at nicreations.com
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the
patches from teh last message are applied, to enable *INPUT etc typemaps.
Roy - though the function works correctly when called from Ruby, it
still causes a crash when called internally when clicking on a Wx::Grid
cell. Saw your message on SWIG mailing list, hopefully someone there can
help out.
alex
2006 Mar 28
3
ListItem patches
Hi
Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of
errors of the sort:
WindowDisabler.obj : error LNK2001: unresolved external symbol
_SWIG_Ruby_ConvertPtr
I can see this is defined in rubydef.swg but I''m not sure why this isn''t
just included in the files that need it. Can any swig experts tell me
what I need to do to progress? I''m using
2006 Aug 19
12
Compiling WxRuby2 on Ubuntu 6.06
Hi All,
I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest
source code from CVS and ran ''rake'' under the wxruby2 directory. I am
getting the following error.
root@imayam:/work/wxruby/wxruby2# rake
(in /work/wxruby/wxruby2)
rake aborted!
Don''t know how to build task ''src/App.cpp''
(See full trace by running task with --trace)
I am
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from
wxWindow.h. In order to make things right I had to make sure it was
also declared in all the places where wxWindows also changes it. Also,
in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I
haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see
if it also applies
2006 Aug 12
5
Windows build?
I performed a get on the CVS WxRuby2; I have installed wxWidgets 2.6.3 and
SWIG 1.3.29. Additionally I am running Visual Studio on Windows XP. When I
run rake to compile I receive the following error.
App.cpp
c:\wxWidgets-2.6.3/include\wx/platform.h(190) : fatal error C1083: Cannot
open include file: ''wx/setup.h'': No such file or directory
rake aborted!
Command failed with
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2006 Oct 21
2
common.i patch
The latest cvs version of SWIG breaks a few things. I have patched
common.i to fix most of it. There will be some other things later that
should be compatible with all versions. Can someone test to see if this
compiles with the old version?
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: common.i.patch
Url:
2006 Jul 25
6
Wizards
Hi
Please find attached a set of patches and swig files to implement
Wizards for wxruby. Also a brief sample.
Quick q - the C declarations of evt_xxx_xxx methods and their attaching
to Ruby classes seems to be duplicated across Events.i and EvtHandler.i
- is one of these the right place to be adding them? or both?
Thanks
alex
_______________________________________________
2005 May 03
2
Making it easier to contribute wxRuby-SWIG code
After seeing contributions from Dmitry and Alex, I''m wondering how we
can better organize and encourage user contributions.
ORGANIZING
Maybe identifying what is still missing in wxRuby-SWIG and publishing a
prioritized todo list could useful to contributors.
GETTING NOTICED
It might be useful to post a link to the unassigned todo list each month
to comp.lang.ruby and ask for
2005 Jul 24
11
Official name change to wxruby2
The CVS module has been renamed from wxruby-swig to wxruby2, and I have
checked in the related changes to reflect the name change. Anyone with a
CVS tree will need to re-checkout from CVS because of the module name
change.
There is now a wx.rb in the lib/ directory, which loads the wxruby2
shared library that gets built.
I have tagged this as 0.0.22.
Next steps:
- Apply Choice.i patch from
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2005 Jul 20
6
Wxruby2 gemspec
Hi
A gemspec for installation of wxuby-swig via rubygems. It assumes the
end-users will compile the pre-swigged .cpp files & that that the main
require file will be wx.rb (as per Kevin''s suggestion). runrake.rb is
just a helper script that runs rake correctly within the rubygems
installation process.
# to build the gem
gem build wxruby2.gemspec
# to build & install the
2006 Apr 23
5
Re: StaticBoxSizer bug?
Daniel,
Thanks for the sample code. Sizers do appear to have a problem and it''s
on the list to take a look at. I''m currently reworking several classes
and trying to fix some of the big compatibility bugs. I will test your
code with my latest builds but I don''t think I''ve gotten to the sizers yet.
Roy
Daniel F. Savarese wrote:
> I''ve run into
2005 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of
the wxPython demo/sample. I hoped to include it in wxruby2, but it
relies on SplitterWindow, which isn''t in wxruby2 yet.
I tried to implement SplitterWindow myself, but got such strange results
that I''m thinking I did something wrong. Even though the generated C++
code specified a variable number of
2005 Aug 12
5
Functions that return objects...
I was investigating why the find dialog causes an error when you close
it. It seems that wxRuby2 is returning a new ruby object when you call
Event.get_dialog. This causes some big problems when you''re expecting
you''re going to get back the same ruby pointer that you put in. In a
brief check over the source I don''t see anything that preserves the
original ruby
2006 Aug 13
25
wxruby2 alpha status
Hi all,
How soon can we do our alpha (binary gem) release?
1. I would like to get the samples working a bit better, but am ok
simply documenting most of the current problems. Do the samples crash
every few minutes for other people? Or is it just me? I would like to
have a copyright/license comment at the top of every sample file before
the alpha release.
2. I would like to receive and merge a
2006 Aug 23
4
building wxruby2 from cvs (gentoo)
Hello,
I am a newbie to wx and wxruby, I just built wxruby2 on my gentoo box.
At first it did not work. So I post a little message,it might help others.
At first a cryptic message was shown
SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with i686-pc-linux-gnu-g++