Commit graph

1,611 commits

Author SHA1 Message Date
Marcelo Matus
2cbcd0abc6 manage the labels as fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
0c33167c26 disown the 'self' pointer when deleting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
1ac74dac03 fix warning about non-initialized result, and add missing deletes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:34:27 +00:00
Matthias Köppe
94a0484ab7 Make declared and defined linkage of SWIG_init consistent.
Reported by Steven G. Johnson.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:40:20 +00:00
Marcelo Matus
3bc3d41eea recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
fc6be0dba0 change director order back, bad fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:11:28 +00:00
Marcelo Matus
a8d990ca14 replace by SWIG_POINTER_OWN instead of '1'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:40:29 +00:00
Marcelo Matus
61530811bb add the swig version to the proxy file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:12:29 +00:00
Marcelo Matus
4ba7c0ac1b use SWIGINTERN instead of static
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:11:43 +00:00
Marcelo Matus
3211840744 fix compiler warnings and finishing transition to the option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:10:39 +00:00
Marcelo Matus
651046b927 more fixes for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:49:09 +00:00
Marcelo Matus
7d6719b54d uniform the name_get/name_set names and fix for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:19:06 +00:00
Marcelo Matus
028f1e492d uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
cf9c5fb721 make base director class virtual and eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:33:42 +00:00
Marcelo Matus
0b9e32fb3e eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:32:05 +00:00
Marcelo Matus
349efa4332 perl use the proper library directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:45:53 +00:00
Marcelo Matus
327068300e fix for multiple inheretance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:21:03 +00:00
Marcelo Matus
f2f1b9889f Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
f2324be428 remove extra info printed for %define, but not #define, it makes very hard to find an error since swig reports it from where the macro was defined, not used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:38:09 +00:00
Marcelo Matus
0711c11154 fix non-wanted warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:19:02 +00:00
Marcelo Matus
dbce71f7a8 exit properly when getting wrong number of args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:45:32 +00:00
Marcelo Matus
2ff3dd0d4e replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
a2ee7e332d fix bug #1292926
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 15:42:48 +00:00
Marcelo Matus
bd7b3fcb1d finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
John Lenz
d966db961c Fix a few minor bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 00:37:57 +00:00
Marcelo Matus
8bcc0bf8eb fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
cc9f9be00f small cosmetic change to manage parentesis () closed in different lines, and make compact mode more compact
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 12:18:31 +00:00
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