Commit graph

2,002 commits

Author SHA1 Message Date
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
df83cef573 Visual C++ 8 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-02 00:52:14 +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
Mark Gossage
a60c3ca8ca Substantial changes to configure script for detecting lua.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-14 01:23:36 +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
4926fb7f46 gcc-4.2 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-09 13:07:20 +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
a8b523f46d Tweaks to R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-22 23:59:37 +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
b6da068213 remove execute bit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:29:55 +00:00
William S Fulton
87cf2f225b remove execute bit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:29:41 +00:00
William S Fulton
aefe91131e more R cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:19:34 +00:00
William S Fulton
30537e161d ensure extra source files are compiled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:17:05 +00:00
William S Fulton
4228a53ac1 no longer add _wrap to module name when generating the dll
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:50:59 +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
5fd4c72220 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@10129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:33:45 +00:00
William S Fulton
3de787f237 Add parallel make support for R test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:02:59 +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
f41964f8fd more cleaning for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 23:30:48 +00:00
William S Fulton
b07b947aac VC++ support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 23:26:47 +00:00
William S Fulton
dd80fda7bf changes for generated .R file name change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:41:11 +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
dc4983afb0 Add in R examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 00:07:27 +00:00
William S Fulton
8f47471565 VC++ example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:45:39 +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
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