Commit graph

3,372 commits

Author SHA1 Message Date
Marcelo Matus
cf81f4a4e9 add tests and fix the value wrapper for opaque types, including the template cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
Marcelo Matus
8c9152c376 fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
a433214393 fix version check for python 2.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 23:00:57 +00:00
Marcelo Matus
2b42a9ca31 better fix for virtual_mode + protected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:15:23 +00:00
Marcelo Matus
d35c5a7a32 added the . See lextype.i example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:14:31 +00:00
Marcelo Matus
e88bf78833 move broken example to derived_byvalue.i since it could take long to fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:02:50 +00:00
Marcelo Matus
7797e94739 add error when passing a struct/class by value + derivation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 21:54:18 +00:00
Marcelo Matus
e0dbc02e10 more ugly tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 21:53:29 +00:00
William S Fulton
536e2e545c %extend and default args fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:36:10 +00:00
William S Fulton
eb28ba6d68 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:09:01 +00:00
William S Fulton
d317db5aa7 Runtime test for templates and default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:05:50 +00:00
William S Fulton
b7d7755c9e Nasty test with default args in templated methods. Also the 'using' statement for template methods that use default args.
Currently broken in Python only.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:04:36 +00:00
William S Fulton
e2603c47f0 using for method with default args test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:57:13 +00:00
William S Fulton
18ecf1d54c extend_default wasn't in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:55:26 +00:00
William S Fulton
b89d4b0eb8 Fixes for director code with exception specifications on the destructor (director_exception.i testcase)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:46:04 +00:00
William S Fulton
553422a11e Fixes for director code with exception specifications on the destructor (director_exception.i testcase)
Had to remove hack for Scott Michel's broken compiler though
Scott can you try another hack?


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:45:00 +00:00
Marcelo Matus
10de1d3813 added kwargs.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 18:56:17 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
William S Fulton
ed90d42c34 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:22:17 +00:00
William S Fulton
fd518ef5e6 test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:12:37 +00:00
William S Fulton
9b40e16ea8 fixes for the new default argument wrapping in director constructors and virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:10:24 +00:00
William S Fulton
de16695fee test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:06:29 +00:00
Marcelo Matus
a74f2656c3 add destructor reprotected/desprotected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 19:07:40 +00:00
Marcelo Matus
2c733548bb CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:35:19 +00:00
Marcelo Matus
f373aadabc fix comment to work with old C compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:34:51 +00:00
Marcelo Matus
378960a99a more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:32:03 +00:00
Marcelo Matus
a69026dc60 add basic overloading test + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:07:30 +00:00
Marcelo Matus
c1ed709013 fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
41851255fc check again large typequery
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:47:46 +00:00
Marcelo Matus
440d536402 support C/C++ cases, using __cplusplus
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:33:28 +00:00
Marcelo Matus
c29b0dfc7d add more simple cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:54:33 +00:00
Marcelo Matus
c75fc74e1c add __cplusplus case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:37:55 +00:00
Marcelo Matus
b3cbaae1cc add Bill's case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:34:28 +00:00
Marcelo Matus
3aba853aa0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:28:38 +00:00
Marcelo Matus
6f5b5d3b7c strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
a105903188 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
5fc322f0b6 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
4d599f988e make type methods template safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:29:18 +00:00
Marcelo Matus
e9c0244097 added overriding test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:52:01 +00:00
Marcelo Matus
e4e9a5e61b LookupTypePointer now as pyrun
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:20:34 +00:00
Marcelo Matus
085e7a8329 fix extend_placement.i case, ie extend overloding + member overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:17:40 +00:00
Marcelo Matus
ad892098e8 fix small problem with smart_ptr + protected +fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:49:02 +00:00
John Lenz
9dead7a11d New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
William S Fulton
9a8f7b5c44 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
f0de62548a redundant comment removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:32:27 +00:00
William S Fulton
e80495a29a remove symbol fix for when the symbol/function is overloaded. Fixes some obscure %extend bugs when the methods are overloaded or have default arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
William S Fulton
41b4b2f033 revoke previous %extend+overload fix.
It might need to come back to fix templates. Not sure yet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:15:45 +00:00
William S Fulton
f55ef1fa5f %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
William S Fulton
e6d24a0ae4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:55:27 +00:00
Marcelo Matus
d9ffb83b6c fix bug report 1039688
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:43:34 +00:00