Commit graph

5,484 commits

Author SHA1 Message Date
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
Marcelo Matus
0ca87bb6f6 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:31:38 +00:00
Marcelo Matus
26c3988b2f add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:31 +00:00
Marcelo Matus
d35b355f78 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:24 +00:00
Marcelo Matus
52ff75eecd add guards for wrong inclusions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:10:15 +00:00
Marcelo Matus
fc67bdfa6d use include <> instead of "" for system files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:08:31 +00:00
Marcelo Matus
656dfe64ea fix system <> include, now the last push dir is not the first one to check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:03:03 +00:00
Marcelo Matus
0903ff0c86 fix inclusion path
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 01:09:27 +00:00
Charlie Savage
ca4e7fc8df New Ruby test case for checking renames, predicate methods, bang methods and constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
de0b9ba295 Changed rename check for constants to use %hasconsttype
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:49:54 +00:00