Commit graph

1,584 commits

Author SHA1 Message Date
Marcelo Matus
5af71f22b3 fix cleanup for ruby and make the process similar in python and tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:53:45 +00:00
John Lenz
464ae5b1b0 Chicken: multiple_inheritance test now passes, and we correctly handle %ignored classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 06:27:56 +00:00
Marcelo Matus
42b7531b87 add Luigi's static patch for extended variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 14:04:14 +00:00
Marcelo Matus
1c7c9e44f7 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
John Lenz
16d7a306b8 Chicken:
fix memory corruption/segfault in the argout typemap when it is used with a wrapped pointer return
  unsigned long typemaps could overflow... correctly check for this case


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:05:11 +00:00
Marcelo Matus
0fae376c59 fix friend bug #1323114 and allow the member names to include the class name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:31:06 +00:00
Marcelo Matus
f62b5ed28f fix friend bug #1323114
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:28:59 +00:00
William S Fulton
6b8a5d06f8 Fix for constants attempting to generate setters with %feature(immutable,"0")
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 01:14:21 +00:00
Marcelo Matus
eb4f07711e fix seg fault with simple typedef struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-14 13:36:12 +00:00
Marcelo Matus
09e6c0071b add proper default rule for function ptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:26:50 +00:00
Marcelo Matus
6fea6d0346 add more support for wchar and the noblock option for typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:24:35 +00:00
Marcelo Matus
67f1d7c41d add more support for wchar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:23:20 +00:00
Marcelo Matus
990fedb3b6 add cpp warning and typecheck undef codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:21:55 +00:00
Marcelo Matus
13843b659c add warning for when you define a 'in' typemap but not an explicit 'typecheck' one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:20:58 +00:00
Marcelo Matus
ce0c346599 implement the #warning/#error cpp directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:18:40 +00:00
John Lenz
56910f7c4b Fix a bug in chicken when using -nocollection and -proxy arguments together.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-12 01:07:47 +00:00
William S Fulton
020a41729d remove spurious code generation (temp variables) in director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 19:20:11 +00:00
William S Fulton
4bff2bc406 Multiple inheritance warnings and ignored base classes fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:42:20 +00:00
William S Fulton
96647a499e php4 warning added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:38:02 +00:00
Marcelo Matus
1cf0373523 fixes for new flag attribute convention in ref/unref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:21:30 +00:00
Marcelo Matus
fd9db14a98 fixes for the except/callback attributes to follow new flag feature convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
Marcelo Matus
c974e55455 add GetFlagAttr/SetFlagAttr to deal with flag attributes as callbak and ref/unref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:16:21 +00:00
Kevin Ruland
b508dafbd5 Fixes to support %constant strings defined by other variables or preprocessor
defines such as:
#define STR "a constant string"
%constant char *ConstantValue = STR;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 01:18:29 +00:00
Kevin Ruland
ada2b47e88 Fixed error in Printv in functionWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-05 14:11:35 +00:00
William S Fulton
e144444f21 Modify following features to work as flags, so that they can be truely set and unset: director, nodirector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 21:47:33 +00:00
William S Fulton
d801875576 Modify following features to work as flags, so that they can be truely set and unset: novaluewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:36:09 +00:00
William S Fulton
4b582b54f1 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:40 +00:00
William S Fulton
37a6cc366a Modify following features to work as flags, so that they can be truely set and unset: nounref, noref, noattr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:10 +00:00
William S Fulton
1f58b1363c Modify following features to work as flags, so that they can be truely set and unset: kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:30:41 +00:00
William S Fulton
c72c6d52bd Modify following features to work as flags, so that they can be truely set and unset: noautodoc, python:maybecall, classic, modern, python:nondynamic
Removed the nokwargs feature.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:28:15 +00:00
William S Fulton
de4b0c6f96 Modify following features to work as flags, so that they can be truely set and unset: allowexcept, director, nodirector, notabstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:24:54 +00:00
William S Fulton
ad5fae2f90 Modify following features to work as flags, so that they can be truely set and unset: notabstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:20:41 +00:00
William S Fulton
ef8a541de4 Modify following features to work as flags, so that they can be truely set and unset: kwargs,
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:17:00 +00:00
Charlie Savage
72c48ff661 Fixed handling of constants. Previously if a %constant directive was defined before a #define it would not work correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-03 19:47:06 +00:00
William S Fulton
bc2a59ee9d Modify following features to work as flags, so that they can be truely set and unset:
predicate


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:51:11 +00:00
William S Fulton
6740a841ce simple comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:50:39 +00:00
William S Fulton
856386a22c Modify following features to work as flags, so that they can be truely set and unset:
ruby


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:46:15 +00:00
William S Fulton
6c82472404 Modify following features to work as flags, so that they can be truely set and unset:
ignore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:37:41 +00:00
William S Fulton
0fe672fa36 Modify following features to work as flags, so that they can be truely set and unset:
modula3:multiretval


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:35:52 +00:00
William S Fulton
de74fd79d0 Modify following features to work as flags, so that they can be truely set and unset:
exceptionclass


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:21:59 +00:00
William S Fulton
16b6452238 Modify following features to work as flags, so that they can be truely set and unset:
cs:const


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:20:54 +00:00
William S Fulton
019cbb567a Modify following features to work as flags, so that they can be truely set and unset:
nodefault


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:05:50 +00:00
William S Fulton
efd25b4674 Modify following features to work as flags, so that they can be truely set and unset:
immutable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
01246c72be Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:16:51 +00:00
William S Fulton
75972cd1df Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton
beebb0a8e1 Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton
33486da5a5 New functions GetFlag and SetFlag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:34:01 +00:00
Marcelo Matus
30cf3657c6 recover the %import(module=name) option,lost in previous fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 15:27:20 +00:00
Marcelo Matus
d1663ed6ed fix again the %import + module name problem, now it works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 13:22:48 +00:00
Marcelo Matus
5fe9d8ec4a fix for %import + module name, detected in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 12:00:34 +00:00