Commit graph

850 commits

Author SHA1 Message Date
Marcelo Matus
13cbeffb7a patch for 'defined' varible not ready jet
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 13:04:08 +00:00
Marcelo Matus
8a6b31c1a2 fix cpp + defined variable name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 12:14:42 +00:00
Marcelo Matus
a88a68f942 fix warnings for ruby, add another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:51:19 +00:00
Marcelo Matus
df21a7c010 fix warnings for ruby + java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:50:47 +00:00
Marcelo Matus
580fd50690 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +00:00
Marcelo Matus
a34970d9fc add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
William S Fulton
8ee2c8e710 removed problem test for gcc-3.3.0+ until resolved
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 23:01:17 +00:00
William S Fulton
a6bbe5c897 default args and overloading runtime tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:52:47 +00:00
William S Fulton
efb2893efd no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:39:04 +00:00
Marcelo Matus
c70186d5d7 fix import + typedefs. see example in imports_b.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:23:19 +00:00
William S Fulton
0baac79dfe Removed default arg test cases as the tests were moved into default_args.i some while back
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:19:15 +00:00
William S Fulton
9e5219aa30 ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:13:29 +00:00
William S Fulton
ba1cc80e8e segfault test added - global scope operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:07:51 +00:00
Marcelo Matus
4b7f369f7e better option name templatereduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:31:33 +00:00
William S Fulton
93df08e231 Update for new runtime library approach (no more -runtime -noruntime)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:30:35 +00:00
William S Fulton
74b907a070 Update for new runtime library approach (no more -runtime -noruntime)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:21:22 +00:00
William S Fulton
7fa4ac798c C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:09:40 +00:00
William S Fulton
a361a47cab back to non-inlined destructors until the makefiles are fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:01:22 +00:00
William S Fulton
051cea46dd Update for new runtime library approach (no more -runtime -noruntime)
Comment about inline destructors needed for some compilers added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:59:55 +00:00
Marcelo Matus
a4064070b0 Recover original types in template expansions.
Added the module option "tpltreduc" to force Swig to
reduce all the typedef found in a template, usually
as a compiler will do. This allows swig to parse
very ugly template + typedef code, but it can prevent some
typemaps for working.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:57:36 +00:00
Marcelo Matus
f819f7a52b add test case for template+typedef+typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 00:40:03 +00:00
Marcelo Matus
0a1dd2a422 third attempo to commit, same changes, ie director + nested but no extra shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 06:53:04 +00:00
Marcelo Matus
b4e03805e0 derive_nested.i and using_namespace.i not longer broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:35:49 +00:00
Marcelo Matus
2bf53ac3af more derived +nested cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:23:17 +00:00
Marcelo Matus
a76a851c40 more using+namespaces cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:22:50 +00:00
Marcelo Matus
7e4f23332b test for ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:06:50 +00:00
Marcelo Matus
8ac154a748 Fix directors + protected pure virtual members + protected
constructor.

Now it doesn't crash, you don't need to use dirprot, and no, it is not
emitting all the protected members, unless dirprot is used.

Swig only emits the protected members or constructors needed to prevent
the compilation for crashing. The rest of the protected members
are emitted when dirprot is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
William S Fulton
484588c561 director enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
65ed9e7a63 namespace added and a %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:16:33 +00:00
Marcelo Matus
e54d5cb523 fix another warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:26:49 +00:00
Marcelo Matus
df9fa977a8 fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Marcelo Matus
628916c794 add silly abstract case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:23:23 +00:00
John Lenz
b83fe6bd77 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
cb3ef63778 fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:29:49 +00:00
Marcelo Matus
52be4e8eea fix example, bad template parameter name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:48:47 +00:00
Marcelo Matus
cafb3a1d73 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
Marcelo Matus
ab33bb5a4d fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
5e507b8a26 disable broken test under the old SwigValueWrapper mech
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:45:27 +00:00
William S Fulton
77b107ae19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
8e2d0558e3 runtime tests for templated functions in a namespace added (overloading and default arg tests)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:07:53 +00:00
William S Fulton
e4b4527658 runtime tests for templated functions with default args in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:55 +00:00
William S Fulton
90f3f92c26 default args in C code test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:10 +00:00
William S Fulton
04e7f11296 beefed up the kwargs tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:05:34 +00:00
William S Fulton
f635981d2f default args in templated function in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:04:01 +00:00
William S Fulton
e5c054f749 templated functions in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:03:02 +00:00
William S Fulton
adc692e531 default arguments in C code test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:01:47 +00:00
Marcelo Matus
faa9419662 fixes for SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:39:36 +00:00
Marcelo Matus
5f3d28c49e missing test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 21:17:48 +00:00
John Lenz
3b9273f9a9 added new chicken runme script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 18:35:08 +00:00
Marcelo Matus
a3a1db9f10 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00