Commit graph

1,958 commits

Author SHA1 Message Date
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
a313ca2c43 Better clean for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:39:45 +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
Olly Betts
97ce2ae61a [guile] Fix the guile examples on 64-bit platforms.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:08:24 +00:00
William S Fulton
a66071a8c7 64 bit portability fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 22:28:55 +00:00
Olly Betts
df8b78dbea [lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
The code as it was happened to work on x86, but broke on x86_64 (and
probably any other platforms which require -fPIC).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:55:26 +00:00
Olly Betts
5e52a02a0c Remove a stray ";"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:54:15 +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
4ade44ec64 vc++ fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:53:30 +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
532cb45882 eol-style set to CRLF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:20:27 +00:00
William S Fulton
03d766a7ce eol-style set to CRLF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:19:24 +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
925adeb175 Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:54:31 +00:00
William S Fulton
92bceacc38 Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:47:25 +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
Olly Betts
6fdeeafb88 [Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.
Add Examples/tcl/std_vector/ which this change fixes.  Patch
is from "Cliff C" in SF#1809819.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 02:02:47 +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
William S Fulton
12919429ad shared_ptr typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 00:28:11 +00:00
Mark Gossage
6a70b4adc7 [lua] move verbose error checks, more test cases, reorg of luatypemaps.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-27 05:36:25 +00:00
William S Fulton
8a17d9dcfa Back out valueparm attribute in the csvarin typemap. Add example usage of temporary variables in the csvarin typemap into docs. Modify CDate C# example. Add in special variable expansion in the csvarin typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-21 23:58:00 +00:00
William S Fulton
d737022daa More flexible variable wrappers (C# properties). The property set can now support a different type to that used in the intermediary layer. This is achieved by using a temporary variable and specifying the name of the temporary variable in a new 'valueparm' attribute in the csvarin typemap. Also Fix bug reported by Glenn A Watson and #1795260 where the cstype typemap used the 'ref' keyword in the typemap body. The type for the property now correctly comes from the 'out' attribute in the cstype typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:54:19 +00:00
William S Fulton
7199cf2ef0 Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +00:00
Olly Betts
e2d7f303b8 [perl5] Use sv_setpvn() to set a scalar from a pointer and length
- patch from SF#174460 by "matsubaray".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 23:24:11 +00:00
William S Fulton
9b79e76d93 Fix ignore on implicit constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-07 22:10:03 +00:00
William S Fulton
f4b9fd381d correct module to use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 22:42:07 +00:00
Gonzalo Garramuno
dec7109eb5 Added missing stl_new.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:37:18 +00:00
Gonzalo Garramuno
1cf26ad65d Added new li_math.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:36:21 +00:00
Gonzalo Garramuno
8682f0cbaf Added some more tests for c file wraps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:33:08 +00:00
Gonzalo Garramuno
172b377bbe Added new arrays_runme.rb tests
Added more tests for enums_runme.rb.
Both showcase current swig problems.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:07:33 +00:00
William S Fulton
94323e0d52 remove broken tcl test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:56 +00:00
William S Fulton
f1e5b5edff Move ruby specific test into Ruby specific testcase li_std_pair_lang_object.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:14 +00:00
William S Fulton
2824efe6ba Fix bug #1776651 - bug when the director class name is similar to other symbols being used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:48:45 +00:00
William S Fulton
28713a5da4 correct template_methods testname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:43:37 +00:00
William S Fulton
3fd28bf45c Correct behaviour for templated methods used with %rename or %ignore and %template()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:42:19 +00:00