Commit graph

142 commits

Author SHA1 Message Date
William S Fulton
2c5f8a09d2 runtime tests for templated functions with default args in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:55 +00:00
William S Fulton
1800d7914f default args in C code test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:10 +00:00
William S Fulton
fa423253a9 beefed up the kwargs tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:05:34 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
50b87f398b more examples, and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:08:55 +00:00
William S Fulton
2d1dbf168d tests for default arguments in templated functions added
Currently broken for Python only
There might still be some 'translation errors' from converting the runtime test from the Java test


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:01:14 +00:00
William S Fulton
c332db66ff tests for overloading templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:51:46 +00:00
William S Fulton
aa13f87bfa default args added to test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:48:10 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
1ea4adbcd4 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
ca9e6834df fixes for latest stl changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 07:58:03 +00:00
Marcelo Matus
9040ff7ecb add tests for director+enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:15:38 +00:00
Marcelo Matus
8ab24227a9 more ugly tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 21:53:29 +00:00
William S Fulton
38f86d7d0a using for method with default args test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:57:13 +00:00
Marcelo Matus
6880fb6b15 added kwargs.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 18:56:17 +00:00
Marcelo Matus
200111d52d more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:32:03 +00:00
Marcelo Matus
e0d84d4be9 check again large typequery
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:47:46 +00:00
Marcelo Matus
c3b41dd959 strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
c6f20f2306 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
dfe230354c fix test to work with old and new repr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:07:42 +00:00
Marcelo Matus
9455a03257 better documented autodoc levels
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 03:33:56 +00:00
Marcelo Matus
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
5b33b2f08f default arguments added to overloaded methods
Fix so that the test uses the correct module!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:05:59 +00:00
Marcelo Matus
8dbc3dd369 added another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:32:00 +00:00
Marcelo Matus
2e9ef019df fix %extend+overload error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:18:57 +00:00
Marcelo Matus
a81bce4fd7 add autodoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:59:18 +00:00
Marcelo Matus
f4b9b5cd02 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:51:11 +00:00
Marcelo Matus
124253d698 added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
45eb8849fd add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:31:30 +00:00
Marcelo Matus
8cd612c7c1 add callback and inout tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:33:38 +00:00
Marcelo Matus
82f2ee5db5 fix to work in plain C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 02:01:29 +00:00
Marcelo Matus
74c523675d add test for nondynamic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 00:52:24 +00:00
Marcelo Matus
5767888507 change name to lib_std_except.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 00:51:59 +00:00
Marcelo Matus
80bb867d2c fix ptr test to work with COBJECTs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 00:51:19 +00:00
Marcelo Matus
7c51b33a69 fix problem with 64bit machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 21:45:42 +00:00
Marcelo Matus
d6554ac1ef fixes for char[ANY]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 07:25:58 +00:00
Marcelo Matus
0017b084aa add std_except.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:23:05 +00:00
Marcelo Matus
9fea8cb365 fix for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 09:59:32 +00:00
Marcelo Matus
77259b6426 more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:29:38 +00:00
Marcelo Matus
5fe3427682 fix arrays_global and add more vector tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:36:02 +00:00
John Lenz
0fb8c59673 Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:06:01 +00:00
William S Fulton
6e570eda85 Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Marcelo Matus
830e72dba7 fixes for new char[] behaviour
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:37:13 +00:00
Marcelo Matus
7d85c1f1b0 more tests for exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:24:53 +00:00
Marcelo Matus
a6d2269a26 add template_opaque
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +00:00
Marcelo Matus
9c6a029e75 fix anon enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
da6e5673e8 add template + opaque type test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00
Marcelo Matus
92e43dda16 fixes on test related to member vars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:36:50 +00:00
Marcelo Matus
885c23dd72 added global char[] arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:34:41 +00:00