Commit graph

1,560 commits

Author SHA1 Message Date
William S Fulton
42cca37182 test to make sure that variables do not use %exception by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 21:59:37 +00:00
Marcelo Matus
888d6e947a add missing check for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 09:08:27 +00:00
Marcelo Matus
81c79ac52d add nested class test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:49:04 +00:00
Marcelo Matus
21fba428df cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:24:01 +00:00
Marcelo Matus
3b89804a9b fix bug #1420757
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:13:54 +00:00
Marcelo Matus
2396ded0f4 fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
38c33173a1 don't use ABC name, conflicts with MinGW wingdi.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 18:15:36 +00:00
Marcelo Matus
9900312c99 add 'docstring' test-case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 17:18:37 +00:00
Charlie Savage
7d9cdf76be Fixed error in test which checked for an incorrect method name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 09:02:40 +00:00
Mark Gossage
8328eb6e34 bugfix #1356577, changed double=>lua_number in a few places.
added the std::pair wrapping


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 01:41:06 +00:00
Marcelo Matus
3aec3913d8 readd removed \!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 22:46:46 +00:00
William S Fulton
3e5ab0a5d2 add allowexcept feature test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 21:15:45 +00:00
Marcelo Matus
34c1b475d3 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:13:46 +00:00
Marcelo Matus
1b52cf2b97 add <stdlib.h> for malloc and lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:16:41 +00:00
Marcelo Matus
1ec335c985 remove old -Dexplicit=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:57:00 +00:00
William S Fulton
1df2820ae9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:58:01 +00:00
William S Fulton
c21dd4543b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:45:30 +00:00
William S Fulton
aca7753ecb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:24:46 +00:00
Marcelo Matus
19ce5762f0 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
c661fae1e7 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/SWIG@8636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:52:57 +00:00
Marcelo Matus
f959dde9bd 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/SWIG@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +00:00
Matthias Köppe
6d37582a6c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:14:40 +00:00
Matthias Köppe
81dafd9078 Fix test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:03:09 +00:00
Marcelo Matus
d6757125c2 add/fix std_string test with %naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 06:14:35 +00:00
William S Fulton
198eef555d Fix dodgy comparison which would never fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:06:12 +00:00
William S Fulton
232775c55b Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:00:45 +00:00
Marcelo Matus
d3fbe6779f 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/SWIG@8620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:58:31 +00:00
Marcelo Matus
7d3476fe2f silence warning for chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:54:24 +00:00
Marcelo Matus
ad0b6ca329 add const global string case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:33:15 +00:00
Marcelo Matus
744ba3f76c 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/SWIG@8614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:15:19 +00:00
William S Fulton
3fe974fb76 Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:52:48 +00:00
William S Fulton
15921b61d2 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/SWIG@8611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:20:26 +00:00
William S Fulton
74513108a4 test std::string global variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:05:47 +00:00
William S Fulton
9d4cae43b3 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/SWIG@8609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:50:05 +00:00
William S Fulton
2df53312a3 add in const std::string variable tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
aa100d9b60 Add const global std::string variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:46:47 +00:00
Marcelo Matus
e7191fece9 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
ab03eb18e7 check/fix the %delobject feature for member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
William S Fulton
f7246bc667 change variable name for Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:14:57 +00:00
William S Fulton
465b27147e Add in test for global and member std::string variable access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:41 +00:00
William S Fulton
a74457e880 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/SWIG@8601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:16 +00:00
William S Fulton
363d3484ef 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/SWIG@8600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:58 +00:00
William S Fulton
a1875b8395 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/SWIG@8599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:13 +00:00
Marcelo Matus
dde6392a0c fix memory leaks in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 19:18:47 +00:00
Marcelo Matus
1122c39ec4 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/SWIG@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Marcelo Matus
ce684d16c0 fix duplicate goto fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:10:29 +00:00
Marcelo Matus
4166e36abb implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:27 +00:00
Marcelo Matus
32d28239da set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
William S Fulton
16d0216061 forgotten checkin - warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 23:22:27 +00:00
Jason Stewart
8e405d580c perl test runner now properly catches STDERR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00