Commit graph

5,493 commits

Author SHA1 Message Date
Marcelo Matus
d2087c4df0 add macro to disable the extra qualifications in members, which seems to be no standard and not supported in gcc4.1 or so
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 08:24:52 +00:00
Marcelo Matus
66edc205db use SWIG_exception_fail for ruby and perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 08:05:56 +00:00
Marcelo Matus
80120955e4 fix 'freearg' applied to 'in' when numinputs=0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 08:03:31 +00:00
Marcelo Matus
d56b75b1ac silence warnings with -O1 -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
6c078066e3 remove rxspencer from configure.in for next release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 00:11:54 +00:00
William S Fulton
298fd2df39 remove vc++ noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 00:02:05 +00:00
William S Fulton
250d3f8244 add in check for array inputs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 22:18:44 +00:00
Marcelo Matus
0a81874538 fix problem with template + classforward + default template parameters reported by Bill Spotz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 22:04:17 +00:00
Marcelo Matus
2bbe98b57b fix problem with template + classforward + default template parameters reported by Bill Spotz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 21:47:17 +00:00
Marcelo Matus
c8e5a99ecb avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 18:59:06 +00:00
Marcelo Matus
c42b44bf58 fix runtime error reported by Robin Dunn, which also fix PyICU, and add debug mechanism for the Runtime System
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 07:58:01 +00:00
Marcelo Matus
748c0763d0 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 07:56:43 +00:00
Marcelo Matus
a551f26811 remove noblock=1 in the varin typemaps since Tcl could add some code before the variable declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 00:59:29 +00:00
Marcelo Matus
813e517a50 add %delobject docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 08:53:13 +00:00
Marcelo Matus
414989ff28 add test for %newobject
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 08:35:18 +00:00
Marcelo Matus
42383077ea simpler check/set of the 'hasconsttype' attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:56:49 +00:00
Marcelo Matus
b538d5e5f0 add 'newfree' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:55:48 +00:00
Marcelo Matus
6ea1b726a8 add %delobject docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:55:16 +00:00
Marcelo Matus
8a7288e5ef fix possible C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:51 +00:00
Marcelo Matus
e1712b982e fix runtest to match new rule for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:19 +00:00
Marcelo Matus
64b47b7edb fix tcl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:32 +00:00
Marcelo Matus
6cb4870883 fix perl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
Marcelo Matus
9acfaee0db fix feature:immutable and the 'const A* var;' case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:51:04 +00:00
Marcelo Matus
719108bbc5 fix extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:49:10 +00:00
Marcelo Matus
4b9b7db04b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:48:25 +00:00
John Lenz
6d5b48fe6e Fix a compile error when using void * in the test suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 03:16:01 +00:00
Marcelo Matus
4c1614424d add macro for backward comp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 21:43:55 +00:00
Marcelo Matus
a40126abe2 fix missing freeargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
Charlie Savage
e5a3bdad7d Changed rename rules to include functions and change Enums to only capitalize the first letter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 04:54:48 +00:00
Marcelo Matus
4bda2fffd6 disable looking for locators that now are not generated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 01:07:28 +00:00
Marcelo Matus
993954c2fb add checking code for fwrite, problem reported by Michal Marek
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:52:34 +00:00
Marcelo Matus
4f8ecbd5c3 fix example for new double->long long casting rule
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:38:10 +00:00
Marcelo Matus
33643d2273 add initial regexp support based on the coptional rxspencer library. Active it using --with-rxspencer after installing the rxspencer library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:32:21 +00:00
Marcelo Matus
d27d74c79c change the %rename predicates to use the prefix %$ and avoid clashings with other rename directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 23:27:11 +00:00
Charlie Savage
bc1629d3ed Updated test case for naming rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:25 +00:00
Charlie Savage
2b9b6d9732 Updated renaming rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:08 +00:00
Marcelo Matus
fa47d6befe set the feature:immutable at the parsing stage, such that it can be used with rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 00:52:44 +00:00
Marcelo Matus
2621785fb0 add at least %not support for rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:34:43 +00:00
Marcelo Matus
a0fb6ab916 add rename for member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:19:22 +00:00
Marcelo Matus
0b2d6ed0ce add more predicates for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:21:26 +00:00
Marcelo Matus
66730ef7e2 cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:02:33 +00:00
Marcelo Matus
e1d78b0dec allow to apply freearg ven when no in typemap is in place when numimputs=0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Marcelo Matus
1754322e59 add debug prints and avoid to attach an empty typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:00:11 +00:00
Marcelo Matus
faec0c12fb long rule to match exactly const static variable with a value in the declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 17:44:40 +00:00
Marcelo Matus
5601aff69c fix cast from double to long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:18:58 +00:00
Charlie Savage
01597d58c1 Updated tests for constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:02:54 +00:00
Marcelo Matus
43eaf119fe fix missing long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:44:46 +00:00
Marcelo Matus
faf5ee858f fix run test compile for the moment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:26:35 +00:00
Charlie Savage
027c2822b8 Updated documentation on new autorename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 07:25:09 +00:00
Marcelo Matus
f62c92a5d4 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:35:32 +00:00