Commit graph

4,854 commits

Author SHA1 Message Date
Marcelo Matus
36219d31d8 don't use in error messages, it can generate extra entries in the symbol table
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:25:18 +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
02c80cae8a Documented default typemaps that can now be mixed together
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:09:13 +00:00
William S Fulton
44251f7d3c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:37:27 +00:00
William S Fulton
b416ab7464 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@6552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:36:41 +00:00
William S Fulton
06bc02c126 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:34:01 +00:00
William S Fulton
ede61c2fd7 segfault fix for global scope operator used in friend declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:33:31 +00:00
William S Fulton
06154388e7 a few missing typemaps added - exposed by the new mixed default typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:30:23 +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
Luigi Ballabio
02132c13a8 Raising check made tolerant during typecheck
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 14:03:56 +00:00
Marcelo Matus
69e2c815fd split declaration and definition of Director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
Marcelo Matus
1ac5674df0 add templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +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
Marcelo Matus
53b60a0483 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@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:30:27 +00:00
William S Fulton
86ade406a7 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:32:19 +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
William S Fulton
c2f6f9794c minor corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:54:35 +00:00
William S Fulton
bfeadee81c C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:53:05 +00:00
William S Fulton
93292c0612 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:45:41 +00:00
William S Fulton
e17cacf329 Fix for detecting mono with non-gnu sed (for Solaris)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:40:41 +00:00
William S Fulton
f547989a66 default arguments update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:35:11 +00:00
Marcelo Matus
a74a712e03 always emit the director destructor, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 02:00:48 +00:00
Marcelo Matus
7afd2f554b fix SWIGENUM -> enum SWIGTYPE, as is used now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +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
6c207e1cab eliminate the reduce/reduce conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 22:08:36 +00:00
William S Fulton
02a16ee971 Removed SwigValueWrapper specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:45:47 +00:00
William S Fulton
c486c70075 Fix to keep gcc-3.4 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:18:09 +00:00
Marcelo Matus
2ee658be93 add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
761d718eb6 add Scott's patch for directors with no members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:39:02 +00:00
Marcelo Matus
3584312a7e add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
f35db9aea2 scott's fix for director + def. const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +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
5eedf21fcf better derived_nested.i fix, no shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:32:45 +00:00
Marcelo Matus
ed7501417f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:17:42 +00:00
Marcelo Matus
41b8e7fec9 previous commit incomplete, this one really fix derive_nested.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:15:10 +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
7c924a5636 fix for proper %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:34:18 +00:00
Marcelo Matus
89771f9b61 fixes for macros + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:33:36 +00:00
Marcelo Matus
5e67603aa7 better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
Marcelo Matus
67a4137c2c more ugly template+typedefs+namespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
f5adbd3f6f %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@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +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