Displaying 20 results from an estimated 30000 matches similar to: "rubyforge"
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow.  For 
reasons that are completely beyond me the standard ruby OUTPUT typemaps 
don''t define directorargouts.  I will take a stab at patching SWIG''s 
default typemaps someday so we get this fixed for free on all our
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 Apr 18
12
Update on SWIG
SWIG 1.3.29 isn''t going to cut it for us.  We''ll have to wait until 
1.3.30, unless I can hack together a nasty workaround for a problem with 
the object tracking.  It seem that each SWIG module gets its own hash 
for tracking objects.  This means that, for example, you create a find 
dialog (in FindReplaceDialog.cpp) events you get from it (from 
FindDialogEvent.cpp)
2006 Oct 05
8
samples
What do you think about adding a shebang line to the samples so they can 
be launched on linux/mac like you can on windows?
Roy
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 Sep 06
12
Patch to wxWindow.h
This patch fixes background color problems (at least on Windows).  It 
uses the dreaded ''FIXME''
My plan for next weekend is to try building wxPython from the source to 
see how they manage to achieve several things with SWIG that we''re not 
(yet) able to.  If I''m successful it might lead to wrapping a 
significant portion of wxWidgets more correctly than
2006 Oct 02
14
0.0.36 tagged and released
Hi
I''m pleased to let you know that wxruby2-preview 0.0.36 is now available 
on Rubyforge. Binary gems to follow...
To check out a clean copy from SVN and build from source:
svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36
cd 0.0.36
rake gem WXRUBY_VERSION=0.0.36
 From my reading of SVN docs it''s probably wise for developers to 
checkout anonymously as a bit of
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 Sep 27
3
Window.i
Does anyone know if the XRC hand-coded methods in Window.i are still 
required after my recent change to return the correct types?  Also, 
given that wxWindow.h is included all over the place, I think we need to 
move some of that stuff out into a common .i that''s included for all 
wxWindow descendants.
Roy
2006 Sep 24
4
SWIG exceptions
I was trying to fix the problem with wxImage and the char */unsigned 
char * thing today and I was going to hand-write the functions to 
translate between the two.  While doing so I decided I''d clean up the 
SWIG error message to make it more clear.  Here''s an example 
SWIG-generated argument error:
in method SetData'', argument 2 of type ''wxImage *''
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 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 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 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 Sep 03
5
Patch to wxMDIParentFrame.h
This patch file will allow the MDI example to run.  We''ll need to 
revisit it later.  There''s still a crash but it''s the same crash as from 
the scrolled window example.  I''ll send a patch later that fixes the 
problem with DrawLines.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Oct 15
2
[Fwd: [ wxruby-Bugs-6144 ] error: cast from ‘void*’ to ‘int’ loses precision]
I think we can mark this bug closed and check in the patch.  Anyone have 
any concerns/questions before I do?
Roy
-------- Original Message --------
Subject: 	[ wxruby-Bugs-6144 ] error: cast from ?void*? to ?int? loses 
precision
Date: 	Sun, 15 Oct 2006 08:37:31 -0400 (EDT)
From: 	<noreply at rubyforge.org>
To: 	noreply at rubyforge.org
Bugs item #6144, was opened at 2006-10-15 00:04
2006 Sep 30
3
fixmodule patches
These patches (should) give us support for compiling against Ruby 1.9.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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
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 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