Displaying 20 results from an estimated 10000 matches similar to: "Update on SWIG"
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s
is grey by default, and when I try to set the default style I get the error:
TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError)
from TestTextCtrl.rb:15:in `initialize''
from TestTextCtrl.rb:24:in
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 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 Sep 21
9
problem with TextCtrl#get_insertion_point
I''m trying to un-ignore TextCtrl#get_selection. The typemaps work fine,
but in the process it breaks get_insertion_point.
This is because (on Mac, tho not GTK), get_insertion_point calls
get_selection internally and simply returns the first value. I think the
return value is being converted from a long to a ruby int twice, because
when get_selection is wrapped, it works fine but the
2005 Jul 16
28
wxruby (was: Some questions)
Roy Sutton wrote (on the FreeRIDE list):
> Really? That''s interesting. I haven''t checked out WxRuby but I would
> be much happier using something that interfaces to the underlying
> operating system''s widgets.
As a member (and former leader) of the wxruby team, I thought I would
share the state of the wxruby world.
The current release is 0.6, and it has
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up
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 Mar 30
4
RubyConstants.i patch
This patch fixes the problem with the undefined constants. Apologies to
Alex as I didn''t apply his patches yet. The fix is to just removed the
_C from the end of the ones that won''t compile anymore.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 29
7
new crasher on bigdemo
Hi
Seems that the last round of commits makes bigdemo crash fairly quickly.
Guessing it''s something to do with either the Window or fixmodule change.
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00034fbc in rb_obj_is_kind_of (obj=3825080, c=1839676) at object.c:523
523 object.c: No such file or directory.
Any hints?
alex
2006 Sep 03
5
Status Update
I feel like I''ve mostly been banging my head against header file issues
for the last couple weeks. I don''t feel like I''ve gotten any actual
''work'' done on fixing wrapping problems, adding new classes or improving
the samples. I''m searching for any but haven''t found ''em.
Some things I''ve noticed:
1) Some
2005 Aug 03
24
patch for Icon
I just checked out a fresh copy and had to tweak wxIcon.h to get it to
compile on Mac OS X and windows. The problem is with:
wxIcon(const wxString& filename,
wxBitmapType type = wxBITMAP_TYPE_XPM,
int desiredWidth=-1, int desiredHeight=-1);
that signature is only used on GTK on other systems it is:
wxIcon(const wxString& name,
long
2006 Mar 27
4
Patch for Swig 1.3.29
Attached is a patch for Swig that at least allows us to link the
library. I am experiencing a number of bugs that will need to be
tracked down and squashed. I haven''t even had time to look at the
newer Swig features yet.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Mar 26
3
Updating tools
Hello all. I decided to see how things were progressing and have
updated my Swig to 1.3.29 and my wxWindows to 2.6.3. I''ll try
rebuilding everything as soon as I''m done compiling wx 2.6.3. Then I
hope to have some time to read up on the new ruby stuff in Swig to see
if we can close the last few holes.
Roy
2006 Apr 23
12
Patches for object tracking
The following patches implement object tracking. Note nasty games I
play to make the tracking global. SWIG 1.3.30 won''t need this. I also
updated the minimum required SWIG version to 1.3.29.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Aug 30
5
include.zip
These are the files from the swig/classes/include directory. I hope the
line endings don''t end up wrong.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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 Aug 24
4
SWIG
I decided to try my hand at hacking SWIG and successfully produced a
patch that fixes the error I demonstrated. I''m not -positive- it''s
correct for all cases but I''ll re-run my version of SWIG over the
library and see how things turn out.
Roy
2006 Sep 02
1
OK, I was wrong...
You -do- have to still declare something virtual in the derived class
for SWIG to wrap it properly. Let''s not apply any of my patches yet
until I rework them.
Roy
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 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