Displaying 20 results from an estimated 10000 matches similar to: "renamer.rb"
2005 Aug 05
1
Validator
For whatever reason I decided to implement the validator class tonight.
It''s my first go at implementing the class. My first run at it looked
pretty good. I just added a generic .i for it and it all compiled.
Sadly, the samples didn''t work because the base Validator class can''t
actually be used as a validator! You have to derive from
GenericValidator. I
2005 Aug 16
4
wxLayoutContraints.h
The file swig/classes/includes/wxLayoutConstraints.h may need to be
updated. It''s missing centreX and centreY from the list of
wxIndividualLayoutConstraints.
I''d send a patch in but I''m wondering if this file just needs to be
regenerated from scratch.
Roy
2005 Aug 19
6
Listbook patch
Small patch to correct spelling of lemonade. Should ask Sean if he
really wanted it to be lemonaid. If not, here''s the patch.
On another note... This sample works! Kudos. It is odd that the
textbox doesn''t scroll. I suppose I may patch that, too.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb
1) Message box scrolls properly now
2) Blank lines are skipped when adding pizzas and ice cream
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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 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 Apr 17
2
SWIG -autorename
From the SWIG manual:
-------8<---------------
SWIG 1.3.28 introduces the new -autorename command line parameter. When
this parameter is specified, SWIG will automatically change constant,
class and method names to conform with the standard Ruby naming
conventions. ...
To disable renaming use the -noautorename command line option.
Since this change significantly changes the wrapper code
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 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 Sep 17
1
run.rb
This is a first stab at a run.rb file that will let you run a sample in
the bigdemo directory by itself.
You have to add the following to the bottom of every sample file:
if __FILE__ == $0
load "run.rb"
run(File.basename($0))
end
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Aug 21
1
Patch to rakemswin.rb
This patch file removes a bad include path in the windows build. I''m
not sure it ever served a purpose but it produced: "-I::TOPDIR". It
was -supposed- to produce "-IC:\ruby" (for my system) but there''s no
point in adding that to the include path. Since wxRuby compiles fine
without it, I took it out. I also took out the -I.. line since it, too,
was
2006 Sep 17
3
ruby-lang.org
How''d we get listed on the top page of projects for Ruby? (See right
side below ''Top Ruby Projects'')
:)
Roy
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can
override the default by setting a WXRUBY_NO_UNICODE environment variable.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 24
2
Interesting Link...
http://visualwx.altervista.org/
A visual builder for wxWindows that purports to support Ruby. I''ll play
with this some and see if I can design projects that work with wxRuby2.
Roy
2005 Aug 25
2
listbook.rb patch
Hopefully a good listbook.rb patch
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 22
1
Patch to bigdemo.rb
This patch changes the overview panel to wrap text to fit the window.
Much nicer to look at.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Aug 22
1
Patch for caret.rb
I removed all the ()''s and patched things so it won''t crash on bad
keystrokes.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 16
1
Patch for caret.rb
This patch fixes the following errors:
1. Crash when you resize smaller than 1 line
2. Crash when you resize the cursor outside the screen
3. Doesn''t clear screen when you resize (on Windows at least)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 17
1
Patch for calendar.rb
This patch fixes the last bug I found in the calendar sample. This
makes two (mostly) working samples I''ve checked out. I did discover a
new bug in caret.rb today which I should probably fix.
Question: Since sizer.remove is deprecated should we just add an alias
to the detach method or should we make people update to the new functions?
Roy