Commit graph

705 commits

Author SHA1 Message Date
Marcelo Matus
b52bcbb2df perl use the proper library directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:45:53 +00:00
Marcelo Matus
66170edbb9 fix for multiple inheretance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:21:03 +00:00
Marcelo Matus
3c65cea431 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/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
773f592ad2 fix non-wanted warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:19:02 +00:00
Marcelo Matus
a442049b77 exit properly when getting wrong number of args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:45:32 +00:00
Marcelo Matus
a4c0114c6a replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
b6a927c84c fix bug #1292926
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 15:42:48 +00:00
Marcelo Matus
ba3efb0917 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/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
John Lenz
153ceb2f5b Fix a few minor bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 00:37:57 +00:00
Marcelo Matus
7564088646 fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
e5f50bd942 fix cleanup for ruby and make the process similar in python and tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:53:45 +00:00
John Lenz
036c081066 Chicken: multiple_inheritance test now passes, and we correctly handle %ignored classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 06:27:56 +00:00
Marcelo Matus
d94bb6260d add Luigi's static patch for extended variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 14:04:14 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
John Lenz
365095ef2f 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/SWIG@7674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:05:11 +00:00
Marcelo Matus
badf735534 fix friend bug #1323114
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:28:59 +00:00
William S Fulton
09444a7208 Fix for constants attempting to generate setters with %feature(immutable,"0")
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 01:14:21 +00:00
Marcelo Matus
ee702bd209 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/SWIG@7645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:20:58 +00:00
John Lenz
4591c6accf Fix a bug in chicken when using -nocollection and -proxy arguments together.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-12 01:07:47 +00:00
William S Fulton
4f267297b5 remove spurious code generation (temp variables) in director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 19:20:11 +00:00
William S Fulton
adecc68977 Multiple inheritance warnings and ignored base classes fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:42:20 +00:00
Marcelo Matus
bab11e11f4 fixes for the except/callback attributes to follow new flag feature convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
Kevin Ruland
3959f9cfda 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/SWIG@7600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 01:18:29 +00:00
Kevin Ruland
cbab331e47 Fixed error in Printv in functionWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-05 14:11:35 +00:00
William S Fulton
50543e36d1 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/SWIG@7592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 21:47:33 +00:00
William S Fulton
a333a56da0 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/SWIG@7585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:30:41 +00:00
William S Fulton
7ad869e745 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/SWIG@7584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:28:15 +00:00
William S Fulton
ca5cdbe0a3 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/SWIG@7583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:24:54 +00:00
William S Fulton
b3584316e7 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/SWIG@7582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:20:41 +00:00
Charlie Savage
65a0a3b9f2 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/SWIG@7578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-03 19:47:06 +00:00
William S Fulton
ae1735485f 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/SWIG@7576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:51:11 +00:00
William S Fulton
49369ed1e3 simple comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:50:39 +00:00
William S Fulton
f0d9cfac38 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/SWIG@7574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:46:15 +00:00
William S Fulton
a5ab84ddc7 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/SWIG@7573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:37:41 +00:00
William S Fulton
0706c5d13a 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/SWIG@7572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:35:52 +00:00
William S Fulton
4e3bc83ad5 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/SWIG@7571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:21:59 +00:00
William S Fulton
963da5f126 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/SWIG@7570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:20:54 +00:00
William S Fulton
1fd078512c 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/SWIG@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:05:50 +00:00
William S Fulton
32839df23b 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/SWIG@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
656cb7ab06 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/SWIG@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton
4ec01af9dd 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/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
amigalemming
3575cd6e06 Modula-3 convention: enumeration item names shall start with a capital
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 14:38:52 +00:00
Marcelo Matus
78735a4ec8 add %exceptionclass and %noexceptionclass directives and manage the feature:exceptionclass in a consistent way
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:04:42 +00:00
William S Fulton
da2a914365 Visual Studio warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 20:16:09 +00:00
William S Fulton
16d7c98196 Patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:58 +00:00
Charlie Savage
883264b6e7 Added support for the new track objects functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:05:24 +00:00
William S Fulton
afda89dc49 Mark Gossage patch 1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 19:35:23 +00:00
Kevin Ruland
455035e04e In create_simple_make(), use CXX to link the extension module when
either -c++ or -withcxx is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:55:23 +00:00
Marcelo Matus
285ecebd14 Add -nocppcast. Now the default is to use the cppcast operator. If this seems to break your code... your welcome\!, it means it was broken before and you never notice. Use -nocppcast only for very old C++ compilers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +00:00
William S Fulton
b939d0ed91 Remove attached typemaps after a variable set wrapper has been generated so that the get method doesn't pick up any incorrect typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00