Marcelo Matus
dcf0727ee1
add <stdlib.h> for malloc and lua
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:16:41 +00:00
Marcelo Matus
1fc78ba477
remove old -Dexplicit=
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:57:00 +00:00
William S Fulton
ba3a92deca
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:58:01 +00:00
William S Fulton
308a559d6b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:45:30 +00:00
William S Fulton
2584db6d72
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:24:46 +00:00
Marcelo Matus
829cd3a908
reenable missing INPUT/OUTPUT, and add tests for std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
81bf4de348
add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:52:57 +00:00
Marcelo Matus
dc9641de4b
add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +00:00
Matthias Köppe
3f1b1b8e59
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:14:40 +00:00
Matthias Köppe
b175a77e6a
Fix test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:03:09 +00:00
Marcelo Matus
85dcc27edf
add/fix std_string test with %naturalvar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 06:14:35 +00:00
William S Fulton
fbcff730c2
Fix dodgy comparison which would never fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:06:12 +00:00
William S Fulton
b98bbcd849
Add in runtime tests for std::string variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:00:45 +00:00
Marcelo Matus
90e74fc874
avoid to call MAKE when building a .ccptes or .ctest case. This allows to use make -j2, and also it should reduce the running time in windows where forking another MAKE process is expensive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:58:31 +00:00
Marcelo Matus
bba60cd7b1
silence warning for chicken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:54:24 +00:00
Marcelo Matus
64398e8914
add const global string case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:33:15 +00:00
Marcelo Matus
9f0183d1c0
add local li_std_string test with %naturalvar applied to variables while the way to apply %naturalvar to std::string is sorted out
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:15:19 +00:00
William S Fulton
94d067d57d
Add in runtime tests for std::string variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:52:48 +00:00
William S Fulton
a1c01cfedd
Add in runtime std::variable tests based on other language runtime tests. Might make some of the original type checking tests redundant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:20:26 +00:00
William S Fulton
ec5c6280bb
test std::string global variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:05:47 +00:00
William S Fulton
1c5d5aeaa5
Modify for const std::string variables being wrapped like non-const std::string variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:50:05 +00:00
William S Fulton
a372ee9242
add in const std::string variable tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
833be12275
Add const global std::string variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:46:47 +00:00
Marcelo Matus
a4b8f2cb27
fix/apply naturalvar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
d731d23397
check/fix the %delobject feature for member methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
William S Fulton
3f696c5300
change variable name for Ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:14:57 +00:00
William S Fulton
6057d223b7
Add in test for global and member std::string variable access
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:41 +00:00
William S Fulton
92ab8d037a
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@8601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:16 +00:00
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