Commit graph

3,408 commits

Author SHA1 Message Date
William S Fulton
8d36ce73d6 Documented default typemaps that can now be mixed together
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:09:13 +00:00
William S Fulton
66d92bb3f4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:37:27 +00:00
William S Fulton
db0cba194d director generated code formatting improvements to bring Java in line with the other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:36:41 +00:00
William S Fulton
fd1bd9e7ae warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:34:01 +00:00
William S Fulton
78afe76002 segfault fix for global scope operator used in friend declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:33:31 +00:00
William S Fulton
5966a5b275 a few missing typemaps added - exposed by the new mixed default typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:30:23 +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
Luigi Ballabio
ae9f8cd796 Raising check made tolerant during typecheck
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 14:03:56 +00:00
Marcelo Matus
545b20712e split declaration and definition of Director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
Marcelo Matus
f15126aee3 add templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +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
Marcelo Matus
288f1dc402 using the Language::abstractTestClass, since now it also considers the director case, and is more complete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:30:27 +00:00
William S Fulton
075611fad0 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:32:19 +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
William S Fulton
e41405de6b minor corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:54:35 +00:00
William S Fulton
684aa69c65 C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:53:05 +00:00
William S Fulton
2b477d8899 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:45:41 +00:00
William S Fulton
8bd857fcc7 Fix for detecting mono with non-gnu sed (for Solaris)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:40:41 +00:00
William S Fulton
d7e5a0dc45 default arguments update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:35:11 +00:00
Marcelo Matus
3b13970714 always emit the director destructor, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 02:00:48 +00:00
Marcelo Matus
b88bb27850 fix SWIGENUM -> enum SWIGTYPE, as is used now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +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
7437e0896d eliminate the reduce/reduce conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 22:08:36 +00:00
William S Fulton
a7db1c323f Removed SwigValueWrapper specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:45:47 +00:00
William S Fulton
62456756e8 Fix to keep gcc-3.4 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:18:09 +00:00
Marcelo Matus
0ccbf425ab add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
0ab43a8bcc add Scott's patch for directors with no members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:39:02 +00:00
Marcelo Matus
cbf875576d add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
4f8b04f0bf scott's fix for director + def. const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +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
f61b4cc52c better derived_nested.i fix, no shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:32:45 +00:00
Marcelo Matus
3abf94cc56 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:17:42 +00:00
Marcelo Matus
a61421ac2b previous commit incomplete, this one really fix derive_nested.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:15:10 +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
8bc79542f8 fix for proper %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:34:18 +00:00
Marcelo Matus
a3c2c2c3a9 fixes for macros + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:33:36 +00:00
Marcelo Matus
a87db784ef better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
Marcelo Matus
f6070b825f more ugly template+typedefs+namespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
01dbfb9f5e %apply also looks for a typedef match if it doesn't find a match at first
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +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
e2f5c7674c solve using+namespaces (using_namespace.i) and nested+derived classes (derived_nested.i)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:21:40 +00:00
William S Fulton
310e2f9db3 wstring directorin typemap fixes from Russell Keith-Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00