Displaying 20 results from an estimated 200 matches similar to: "Functions that return objects..."
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 Oct 23
0
[710] trunk/wxruby2/swig/common.i: Added extern keyword to Gc functions and moved common header includes to %runtime
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 25
0
[1070] trunk/wxruby2/swig/fixdeleting.rb: Remove old, now unused, fixdeleting script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 15
6
Patch to 0.0.39
Hi
I''m developing software using wxruby2. At first I tried to use wxruby
0.6 but I couldn''t live without some of those new funky features :)
So, instead of writing my own code, I got a bit sidetracked and wrote
http://rubyforge.org/tracker/index.php?func=detail&aid=9297&group_id=35&atid=220
instead.
Seeing as this is my first foray in to the innards of wxruby2, I
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
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 18
3
wxDebug
For debug builds we define __WXDEBUG__ and WXDEBUG=1. In the swig code
we add a check for wxDEBUG to directors. My guess is we mean for one of
those defines to be the other. Which one should we change? wxDEBUG->
WXDEBUG or WXDEBUG-> wxDebug?
Roy
2007 Mar 17
0
[887] branches/wxruby2/wxwidgets_282/swig/fixdeleting.rb: Deleting fix for specific Director classes (Artur Kuptel)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2005 Jul 20
1
wxr2 build error CVS HEAD on OS x
Hi
I''m getting a build error with the current cvs HEAD of wxruby-swig. Perh
something to do with the unicode changes?
OS X 10.3
WxMAC 2.6.0
ruby 1.8.2
thanks
alex
g++ -c -I/usr/local/lib/wx/include/mac-ansi-release-static-2.6
-I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -fno-common -pipe -fno-common -x
objective-c++ -I
2007 Nov 07
1
Wx::FileDialog and common dialogs
The documentation for Wx::FileDialog is incorrectly generated:
http://wxruby.rubyforge.org/doc/filedialog.html
Every time the ''*'' (for the wildcard character in file filters) appears,
the doc instead switches between boldface and normal.
Also, it seems like the links under "See also" are broken.
Feature request:
Regarding all modal common dialogs (ColourDialog,
2007 Feb 10
0
[857] trunk/wxruby2/swig/common.i: Add test for suitable version of wxWidgets library
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 05
0
[1014] trunk/wxruby2/swig/common.i: Undo broken commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 05
0
[1013] trunk/wxruby2/swig/common.i: Run version test at SWIG phase rather than compile phase
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 11
2
Patch file for FileDialog.i
Attached is a patch file for FileDialog.i. It doesn''t work 100% yet
because I haven''t yet figured out how to make it put the ruby
declarations in the right place. If I cut and paste the
rb_define_methods into the right place this works perfectly.
This patch fixes the dialogs.rb multiple select example so that
get_paths and get_filenames returns a ruby array. Note that I
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
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2
When I change
"samples/text/unicode.rb" 's content:
require 'wx'
into
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
and run unicode.rb in this way:
ruby -Ku unicode.rb
I got the error message like this:
unicode.rb:119:
2007 May 19
1
Wx::FileDialog Styles are not working
The Constants for the Styles for FileDialog are not initialized to a value
and the class will not work without those, the Dialog will come up when you
call the show_modal method but the filenames are not showing up
I specifically need the values for
FD_OPEN
FD_SAVE
FD_OVERWRITE_PROMPT
FD_FILE_MUST_EXIST
but if I can''t get those then I''ll find a workaround
so far this has
2005 Sep 23
2
FileDialog.i patch
Here''s a patch for FileDialog.i. Seems we had never removed that #ifdef
in there.
wxWindows 2.6.2 works just fine on Windows. No other news.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 May 03
1
memory leaks
Have tracked down a fairly serious cause of memory leakage in wxRuby2.
swig/fixdeleting.rb adds a hash mapping from pointer address to ruby
VALUE in every director initialiser using GcMapPtrToValue.
The problem is that being a value in this global hash means that every
Wx::Bitmap (for example, and others) are always marked in ruby''s GC mark
phase, so they are never collected until
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi