noreply | 2 Nov 2000 18:16
Picon
Favicon

[Bug #121128] "make_default" option is on by default?

Bug #121128, was updated on 2000-Nov-02 09:16
Here is a current snapshot of the bug.

Project: SWIG
Category: python
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: "make_default" option is on by default?

Details: It appears that the "make_default" command-line option is always enforced for SWIG1.3, at least
for Python wrapper code generation. Default destructors are being generated for some C++ classes where I
haven't declared a destructor in the SWIG interface file.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=121128&group_id=1645

noreply | 2 Nov 2000 23:31
Picon
Favicon

[Patch #102241] Fix for Bug #121128

Patch #102241 has been updated. 

Project: swig
Category: None
Status: Open
Summary: Fix for Bug #121128

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102241&group_id=1645

David Beazley | 7 Nov 2000 05:24
Favicon

Under deadline hell

Just a heads up to everyone on the developer list.  I have been really
buried with a ton of deadlines and this month is going to be
pure hell.  As a result, I don't think much of anything is going to be 
done as far as SWIG development.

In any case, I would like to plan for some kind of 1.3a6 release
sometime in December.   I've been working on cleaning up some of the
language interfaces.  You might want to take a look at what has been
done so far.  Of course C++ is still a big nightmare.  In any event,
the code is starting to move a lot closer to the new module system.
I'll keep everyone posted.

Cheers,
Dave

Dr. Klaus Wiederänders | 7 Nov 2000 12:56
Picon

Re: Swig1.3a5 forNT

Hi,

a build of  Swig1.3a5 for Win32 (NT, 98, ...) can be downloaded from

ftp://w4k.sourceforge.net/pub/w4k

It contains

+ full source as downloaded from swig.sourceforge.net
+ compiled exe \Siwg1.3a5\swig.exe
+ Visual Studio project & workspace files \Swig1.3a5\source\Swig\Swig\Swig.dsw

Consider to edit \Swig1.3a5\Source\include\swigconfig.h.

Have fun,
Klaus

noreply | 7 Nov 2000 23:57
Picon
Favicon

[Bug #121917] White space effects the SWIG Types

Bug #121917, was updated on 2000-Nov-07 14:57
Here is a current snapshot of the bug.

Project: SWIG
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: White space effects the SWIG Types

Details: Hi,
I don't know if this is a feature or a bug but I had problems related to white space between a c-structure and
pointer definition *. 
In detail:
I have following header file

#ifndef _PARSE_H_
#define _PARSE_H_
#include <stdio.h>
#include <vector.h>
#include "html.h"
void printOneBlock(htmlBlock b,int level);  
htmlBlock readOneBlock(FILE *in,char *type,vector <property_string> props )   ;
vector <htmlBlock> createBlocks(char *fileName,property p)   ;
void printBlocks(vector <htmlBlock> b,int level) ;
vector <htmlObject*>  createObjects(vector <htmlBlock>b,property p ) ;
void printObjects(vector <htmlObject *> h) ;
property setProperty(htmlBlock b,property p) ;
vector <htmlObject*>   createOneObject(htmlBlock b,property p )  ;
(Continue reading)

noreply | 8 Nov 2000 16:46
Picon
Favicon

[Bug #121971] memory leak with shadow classes/swig1.3a3 and python 2.0

Bug #121971, was updated on 2000-Nov-08 07:46
Here is a current snapshot of the bug.

Project: SWIG
Category: python
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: memory leak with shadow classes/swig1.3a3 and python 2.0

Details: accessing members using python shadow classes (instantiated
from a C++ pointer) appears to increase a ref count inappropriately

in  foo.i:

typedef struct {
    int x, y;
    A() { x = 0, y = 0; }
    ~A() {}
}  foo;
foo *someFunction();
-------------------------------------------
 wrap these guys via swig with shadow option,  in python, if u do the following, uwill observe a memory leak
 which persists even when myPyFunc goes out of scope

def myPyFunc:
 c =  someFunction()
 b = c.x
 f = c.y
(Continue reading)

Masaki Fukushima | 13 Nov 2000 15:53

[Swig-CVS] commit 'SWIG/Source/Modules1.1 ruby.cxx'

Mon Nov 13 08:53:03 CST 2000
Files: %{sVv}
Update of /cvsroot/SWIG/Source/Modules1.1
In directory schlitz:/tmp/cvs-serv22641

Modified Files:
	ruby.cxx 
Log Message:
fixed bug in ruby -feature option handling

Dr. Klaus Wiederänders | 15 Nov 2000 17:31
Picon

swig cvs repository

Hi,

I'd like to know where the swig cvs repository is located and which
password to use for read-only access.

Have fun,
Klaus

David M. Beazley | 22 Nov 2000 23:57

[Swig-CVS] commit 'SWIG/Source/DOH/Doh fio.c'

Wed Nov 22 16:57:27 CST 2000
Files: %{sVv}
Update of /cvs/projects/SWIG/Source/DOH/Doh
In directory schlitz:/u0/beazley/Projects/SWIG/SWIG/Source/DOH/Doh

Modified Files:
	fio.c 
Log Message:
Minor fix to formatted I/O.

David M. Beazley | 23 Nov 2000 00:13

[Swig-CVS] commit 'SWIG/Source/DOH/Doh hash.c'

Wed Nov 22 17:13:59 CST 2000
Files: %{sVv}
Update of /cvs/projects/SWIG/Source/DOH/Doh
In directory schlitz:/u0/beazley/Projects/SWIG/SWIG/Source/DOH/Doh

Modified Files:
	hash.c 
Log Message:
Major reworking of the Wrapper object.  It is now a DOH object.


Gmane