William S Fulton
dedfcfdb60
Fix test for std::string global and member variables being wrapped as strings by default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:58 +00:00
William S Fulton
128cc0d2ed
Finally std::string global and member variables are wrapped as strings by default
...
No need to use the %apply const std::string& { std::string* } trick anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:13 +00:00
Marcelo Matus
2162bd9cbd
fix memory leaks in test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 19:18:47 +00:00
Marcelo Matus
d2407fc6de
add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Marcelo Matus
a6c94ce3b2
fix duplicate goto fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:10:29 +00:00
Marcelo Matus
484b2670ad
implement the 'allowexcept' feature for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:27 +00:00
Marcelo Matus
b8bf059066
set PyObject * out typemaps back to simple returns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
William S Fulton
e13c82690e
forgotten checkin - warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 23:22:27 +00:00
Jason Stewart
f663ab6310
perl test runner now properly catches STDERR
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00
Jason Stewart
e49b6f060c
fixing old perl's to use Test::More
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:31:27 +00:00
William S Fulton
37a1625ecc
simple #warning and #error tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 22:33:34 +00:00
William S Fulton
d7750bf12f
fix last commit for all langs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:40:03 +00:00
William S Fulton
a74b00edc8
goto fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:39:14 +00:00
Marcelo Matus
d9b9f27ec6
fix template forward + using
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
William S Fulton
199773979d
vc++ warning suppression
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:42:02 +00:00
William S Fulton
1a5013196d
vc++ warning suppression
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:36:58 +00:00
William S Fulton
8d1c1008df
Fix clean on windows, where the commandline cannot take very many characters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:32:12 +00:00
Jason Stewart
e4c3a91026
added note about Test::More support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:00 +00:00
Jason Stewart
691d551664
converted to use Test::More
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:46 +00:00
Jason Stewart
5ed2efad68
removed && and || tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:17 +00:00
Jason Stewart
94796829eb
all test cases are now run through a wrapper script which traps
...
STDOUT/STDERR, and echos the output only on a test failure. This
supports the usage of Test::More or Test::Harness without breaking the
existing test suite behavior.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:00:40 +00:00
Marcelo Matus
70b15106f7
catch read-onlye errors properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 23:47:10 +00:00
Marcelo Matus
be4d57cd57
fix memory leak
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 23:37:14 +00:00
William S Fulton
9189191c0e
Use preinst-swig instead of swig so SWIG_LIB does not need to be set
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:48:49 +00:00
William S Fulton
f6bf2ec2fa
fix php keyword warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:46:49 +00:00
Marcelo Matus
7edd12aa3b
fix for VC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 18:36:59 +00:00
Marcelo Matus
96cab4a488
fix errors for 32bit arch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
39ca497a07
simplify Makefiles
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:19:58 +00:00
Marcelo Matus
5135023008
add mod to cvsignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 18:08:27 +00:00
Marcelo Matus
7d9931c3ac
update list
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 18:07:59 +00:00
Marcelo Matus
eab4722ec0
fix MSC problem with def. constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:03:09 +00:00
Marcelo Matus
d2b1abb12e
fix Makefiles for cygwin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 20:45:15 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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