Displaying 20 results from an estimated 3000 matches similar to: "wxImage patches"
[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.
2007 May 04
0
[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.
<!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 Oct 27
1
Newton method iteration problem
Hi all,
I am coding for finding the root of f(x)= phi(x) -alpha where phi(x) is the
cumulative density function and alpha is constant . The problem right now is
I can't get the "initialX" representing the root out of the while loop when
ending , it seems to me it disappear when the loop ends accroding to the
error message. I need help . Please suggest the cause or solution to this
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
<!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:
2016 May 06
1
[PATCH] perl: use INT2PTR macro for casting back to guestfs_h * (RHBZ#1150298)
Use the right macro, which should avoid the warnings seen with Perl
headers on some architecture.
---
generator/perl.ml | 2 +-
perl/typemap | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/generator/perl.ml b/generator/perl.ml
index 19cabb6..a665051 100644
--- a/generator/perl.ml
+++ b/generator/perl.ml
@@ -242,7 +242,7 @@ DESTROY (sv)
HV *hv = (HV *) SvRV (sv);
2004 Aug 06
1
libshout-perl compilation error
Hi - got this from both the CVS source and the tarball:
(libshout compiled and installed cleanly)
[root@hunter stream]# cd Shout-1.0
[root@hunter Shout-1.0]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Shout
[root@hunter Shout-1.0]# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Shout
mkdir blib/lib/auto
mkdir
2005 Sep 14
1
Patches I missed, pt. 2
StatusBar.i -- Adds a typemap to return a wxRect structure. You''ll
really want to go over this to make sure it''s correct. I don''t have a
sample but it did make part of one of the bigdemo samples work a little
better. If you want to put this on the back-burner until we have a
chance to test it more fully I''d understand completely.
One of the things
2005 Sep 11
1
Patch for typemap.i and Window.i
Added typemap for the differently-prototyped GetTextExtent. It was
%ignored in Window.i. Since I added the typemap it doesn''t seem like
we''ll need to %ignore it.
Again, the patch for typemap.i is since the last check-in.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Oct 09
1
[Fwd: Re: [Swig] typemap + default argument bug?]
(Mostly for Roy):
I saw this on the SWIG list, and wonder if it might be related to the
problems we have been seeing where multi-arg typemaps end up invoking
the wrong wrapper methods. (Not the newly-discovered directorout stuff).
Perhaps if we switched to "compactdefaultargs" things would start to
work more sanely. Looking at this section of the SWIG docs, it looks
like it should
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 Apr 12
6
*OUTPUT/*INPUT typemaps
Hi
Have been looking again at SWIG output pointer parameters, as:
http://www.swig.org/Doc1.3/Ruby.html#Ruby_nn32
The problem is, whenever I tried to include the SWIG/Ruby ''typemaps.i''
file, it threw loads of errors.
A bit more investigation pinned the problem down to some secondary files
that typemaps.i includes to map ''special'' types like File.
So I tried
2005 Sep 03
1
The problem with %import
Here''s an example of the problem I was talking about the other day.
Take a look at Button.i. It imports from its entire heirarchy. If you
look at Button.cpp you will see that no wrappers are generated for
anything except the button functions.
This brings up some other things that we''ll need to keep in mind: If
we''ve created a typemap in a .i file in classes and
2007 Jun 05
0
[1045] trunk/wxruby2/swig/classes/include/wxImage.h: Add missing Size and Resize methods in Wx::Image
<!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:
2006 Aug 24
1
Patch to wxImage.h
This patch fixes the name of FindHandlerMime.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Apr 23
5
ComboBox patch files
The following two files correct problems with the ComboBox
implementation. You will also need my typemap.i.patch file
(forthcoming) in order for the void * typemap to work properly (I think).
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Sep 25
2
[LLVMdev] Strange exception in SelectionDAGBuilder
I'm working on the code to handle GC tracing of "intermediate values" (as
described in the GC doc), and I've run into a weird problem. (Note, this has
nothing to do with the patch I have proposed, this error occurs with regular
old pointer-allocas.)
The exception I am getting occurs in this code here in
SelectionDAGBuilder.cpp:
*case* *Intrinsic*::gcroot:
*if* (GFI) {
2004 Nov 10
3
[LLVMdev] LLVM and the "static initialization order fiasco"
Hello, I'm getting bitten by the "static initialization order fiasco"
http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12
The static data causing the problem is the static
TypeMap<PointerValType, PointerType> PointerTypes; and other typemaps.
The background is that in our product we are using an overridden new
operator to track memory allocations. This system is
2005 Sep 28
1
Patch for typemap.i
This patch for typemap.i fixes several swig warnings while compiling.
You may noticed that I didn''t fix all the typecheck typemaps. I suppose
I should fix all of them, but they don''t cause problems with the
compilation.
This also has a patch to convert void *''s into ruby numbers. This fixes
a problem with the get_handle call.
I still am not sure what''s
2011 Mar 11
2
int to string TypeError annoyance
Hi All,
In Perl,
$db->set_metadata( "foo", 10 );
Results in,
TypeError in method 'WritableDatabase_set_metadata', argument 3 of type
'std::string const &'
It looks like this is thrown by the SWIG
std::string typemap. Does someone with better SWIG skills than me know how
to fix SWIG such that it converts the int to a string rather than croaking?
(And
2010 Sep 26
0
[LLVMdev] Strange exception in SelectionDAGBuilder
Hi Talin,
I think that the framework for GC assumes llvm.gcroot to be in the first
block. If it is not the case in your example, it will break these
assumptions.
Nicolas
On Sun, Sep 26, 2010 at 1:38 AM, Talin <viridia at gmail.com> wrote:
> I'm working on the code to handle GC tracing of "intermediate values" (as
> described in the GC doc), and I've run into a
2005 Sep 11
4
Handling int pointer parameters
There are several functions that take the parameters (int *x, int *y)
In some cases x & y are simply return values. In some cases x & y are
both input and output. How are we going to handle this properly? One
method would be to change the header files to something like xin or
xout. I don''t really like that method as it''ll break as soon as header
files change.