William S Fulton
b9a83129c6
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-03 21:38:07 +00:00
William S Fulton
d98658d30b
Suppress ecj warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-31 22:58:43 +00:00
William S Fulton
22e3a7b009
Additions to %types so that a user can specify the code to go into the casting / conversion function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-31 22:48:24 +00:00
William S Fulton
cc59a22121
Fix ARRAYSOFCLASSES bug reported by Kevin Mills where the changes made to an array element in the C layer are not reflected back into Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-25 22:03:12 +00:00
William S Fulton
76229dbab8
Restore containers accepting NULL pointers when used in overloaded methods - problem reported by Josh Cherry
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-22 23:33:59 +00:00
William S Fulton
cb9d191276
Remove conversion from one STL container to another
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-21 21:59:02 +00:00
William S Fulton
b79e9a7d7e
Fix template member variables wrapped by a smart pointer bug reported by Robert Lupton
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-17 00:29:02 +00:00
William S Fulton
ae42706190
Experimental boost::shared_ptr support - incomplete.
...
The swigregister methods need hacking to work. Modify Examples/Makefile from:
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
to
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
mv $(ICXXSRCS) $(ICXXSRCS).tmp
echo "sed hacked filename: " $(ICXXSRCS)
cat $(ICXXSRCS).tmp | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__Klass,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__Klass_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__KlassDerived,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__KlassDerived_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_BaseTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTBaseTint_double_t_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_PairTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTPairTint_double_t_t,/' \
> $(ICXXSRCS)
rm $(ICXXSRCS).tmp
to do this automatically
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-13 22:28:42 +00:00
William S Fulton
17d6c213ac
minor tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-13 21:16:12 +00:00
William S Fulton
e89a5119c3
C# exception handling correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-12 22:43:22 +00:00
William S Fulton
da509bd641
Fix 1832613 - template function pointer typedefs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-16 20:55:43 +00:00
William S Fulton
0d799435b8
Fix #1798728 - numbers can be passed to functions taking char *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 19:26:22 +00:00
William S Fulton
b79ebf39fa
Fix #1819847 %template with just one default template parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 19:00:15 +00:00
William S Fulton
8f09d00bb0
Fix template template parameters with default arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-06 22:35:43 +00:00
Mark Gossage
89c3acea19
[lua] Fix a bug in the class hierachy code, where the methods were not propagated,
...
if the name ordering was in a certain order.
Added new example programs (dual, embed) and runtime tests for test-suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-04 09:25:58 +00:00
William S Fulton
575efcdd53
Fix using statements for overloaded methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-30 22:34:50 +00:00
William S Fulton
d741223959
Add preprocessor bug with trailing backslash
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:48:20 +00:00
William S Fulton
d953b70751
add missing testcase to test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:46:57 +00:00
Joseph Wang
8c2b3d9dcd
Revert last change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-15 02:17:19 +00:00
Joseph Wang
c164443d21
Set to include _wrap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-15 02:07:42 +00:00
William S Fulton
083efd15ca
Rename dll/shared object name to be the same as the module name for R - _wrap is no longer postfixed to the name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:34:10 +00:00
William S Fulton
8eae1cfb5a
Fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:42:31 +00:00
William S Fulton
35c07c0b67
fix SWIG warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:38:35 +00:00
William S Fulton
854f9a3ed3
Add Windows PATH for test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:12:47 +00:00
William S Fulton
7bbf5d66d1
fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 18:53:54 +00:00
Joseph Wang
783ca15e4e
Make clean work better
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 05:05:15 +00:00
Joseph Wang
414c6db78d
Remove broken insert snamespace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 04:45:19 +00:00
Joseph Wang
cd9c301b48
Remove _wrap from .R files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 03:08:10 +00:00
William S Fulton
6e9058cbeb
Make examples cross platform
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:40:24 +00:00
William S Fulton
f1169562ec
string handling mods to keep gcc-4.2 happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:36:23 +00:00
William S Fulton
b9fdc908db
correct module name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:26:18 +00:00
Mark Gossage
0c2bbb25a3
[lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail.
...
Added several warning filters into the overload's test cases.
Added runtime tests for several codes.
You can now make check-lua-test-suite with no errors and only a few warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 06:10:04 +00:00
William S Fulton
0dc7009bac
parallel build fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:41:07 +00:00
William S Fulton
b772aa2e24
test exception_partial_info only in Java and C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:36:43 +00:00
William S Fulton
f14901c620
Suppress SWIG warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:33:15 +00:00
William S Fulton
0d7175fa1c
modify unsigned long long test to use strings as this is portable across all builds of Perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 16:43:28 +00:00
John Lenz
4ace915a56
Chicken test suite now runs with no errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +00:00
Joseph Wang
bc801e662a
Make this work with multi tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 09:36:46 +00:00
William S Fulton
9e8ac47f1c
vc++ warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:30:09 +00:00
William S Fulton
6d796af70d
VC++ warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:58:16 +00:00
William S Fulton
f38b4df07d
fix compilation warnings for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:33:01 +00:00
William S Fulton
a43e50ac07
fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
ede8b8c87a
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +00:00
William S Fulton
2a89d09add
attribute tidy up. %attributeref replaces %attribute_ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:27:21 +00:00
William S Fulton
acb5bde28c
Patch #1797133 from David Piepgrass fixes %attribute when the getter has the same name as the attribute name and no longer generate non-functional setter for read-only attributes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 21:57:51 +00:00
William S Fulton
927049cf9b
minor comment changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:42:20 +00:00
William S Fulton
26c0f42887
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:41:27 +00:00
William S Fulton
fd851b9380
Add DetachCurrentThread back in for directors. The problems occuring on Solaris look like they were jdk bugs (1.4.2 and older)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:40:01 +00:00
John Lenz
a33151a48f
Added test suite entry for Bug #1735931
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 17:04:24 +00:00
William S Fulton
54200cc7e8
shared_ptr memory leak testing. Make increment and decrement counts thread safe. Fix template test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:56:31 +00:00