Commit graph

847 commits

Author SHA1 Message Date
Marcelo Matus
da25776cc4 fix warnings for ruby + java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:50:47 +00:00
Marcelo Matus
43ff4e34d1 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +00:00
Marcelo Matus
c599db0cd6 add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
William S Fulton
d550c073ee removed problem test for gcc-3.3.0+ until resolved
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 23:01:17 +00:00
William S Fulton
9a3953578a default args and overloading runtime tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:52:47 +00:00
William S Fulton
3ced17bd35 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:39:04 +00:00
Marcelo Matus
1fd5610c9f fix import + typedefs. see example in imports_b.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:23:19 +00:00
William S Fulton
bd39c43fa0 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/SWIG@6548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:19:15 +00:00
William S Fulton
20fc761449 ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:13:29 +00:00
William S Fulton
d27b9fd3f5 segfault test added - global scope operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:07:51 +00:00
Marcelo Matus
fc2f54c647 better option name templatereduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:31:33 +00:00
William S Fulton
4e1d5d39ab Update for new runtime library approach (no more -runtime -noruntime)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:30:35 +00:00
William S Fulton
c46e2573f8 Update for new runtime library approach (no more -runtime -noruntime)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:21:22 +00:00
William S Fulton
75200694b9 C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:09:40 +00:00
William S Fulton
1885bc8f80 back to non-inlined destructors until the makefiles are fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:01:22 +00:00
William S Fulton
8dced082d4 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/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:59:55 +00:00
Marcelo Matus
cf7b11c3fd 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/SWIG@6527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:57:36 +00:00
Marcelo Matus
0b2cb3849f add test case for template+typedef+typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 00:40:03 +00:00
Marcelo Matus
291eff8f6d 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/SWIG@6518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 06:53:04 +00:00
Marcelo Matus
df669f2ca2 derive_nested.i and using_namespace.i not longer broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:35:49 +00:00
Marcelo Matus
dceb7f2a10 more derived +nested cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:23:17 +00:00
Marcelo Matus
bb900b3e10 more using+namespaces cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:22:50 +00:00
Marcelo Matus
5a0b7df38f test for ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:06:50 +00:00
Marcelo Matus
5023285fb8 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/SWIG@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
William S Fulton
dba6605992 director enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
702372202f namespace added and a %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:16:33 +00:00
Marcelo Matus
718b31a8fd fix another warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:26:49 +00:00
Marcelo Matus
114c703acd fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Marcelo Matus
a6db836faf add silly abstract case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:23:23 +00:00
John Lenz
0c57969c61 - 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/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
8857b4db9a fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:29:49 +00:00
Marcelo Matus
c89b776c54 fix example, bad template parameter name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:48:47 +00:00
Marcelo Matus
d27df888dc CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
Marcelo Matus
b9832ab0f0 fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
1bcc96f03e disable broken test under the old SwigValueWrapper mech
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:45:27 +00:00
William S Fulton
eafd417f0d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
dbb0c18d3e 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/SWIG@6456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:07:53 +00:00
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
William S Fulton
2d1e6b77bf default args in templated function in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:04:01 +00:00
William S Fulton
a4338dad2d templated functions in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:03:02 +00:00
William S Fulton
0f96a1ff12 default arguments in C code test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:01:47 +00:00
Marcelo Matus
ad8093acbe fixes for SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:39:36 +00:00
Marcelo Matus
da7b869cbf missing test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 21:17:48 +00:00
John Lenz
e639abae0f added new chicken runme script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 18:35:08 +00:00
Marcelo Matus
c388088863 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
7dfcb56369 fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +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