Commit graph

174 commits

Author SHA1 Message Date
Karl Wette
b6c1889c08 Fix {python|perl5|ruby|tcl}/java examples
- in Lib/gcj/cni.i: remove JvAllocObject(), change
  JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
  pass full class name to gcjh, add Example.h as dependency,
  do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
  add destructor to class to prevent memory loss complaint
2014-05-02 21:44:42 +02:00
Karl Wette
d5b765d388 Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
Oliver Buchtala
a234542543 Merge branch 'master' into tmp
Conflicts:
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
	Examples/test-suite/nspace.i
	Examples/test-suite/nspace_extend.i
	Source/Modules/lang.cxx
	configure.ac
2014-03-05 01:09:26 +01:00
Olly Betts
dcf121f534 Make Lib/ocaml/swigp4.ml a non-generated file.
We used to have configure substitute values into it, but that's not been
the case for just over 3 years, since patch #3151788 was applied.
2014-02-19 22:35:45 +13:00
William S Fulton
3055a21505 Errors test-suite overhaul
Use makefiles instead of a make.sh script
Expected results are in individual .stderr files instead of the expected.log file
Add errors test-suite to Travis testing and 'make check'
2014-01-19 00:12:12 +00:00
William S Fulton
2d0dc707e6 More control on output from top level Makefile
Move the '-k -s' flags to a new FLAGS variable which can then be overridden
on the command line.
2013-12-08 19:48:39 +00:00
William S Fulton
bcb7aee022 Merge branch 'master' into gsoc2009-matevz
Conflicts:
	Examples/Makefile.in
	Examples/guile/Makefile.in
	Lib/php/php.swg
	Makefile.in
	Source/CParse/parser.y
	configure.ac
2013-10-10 07:26:09 +01:00
William S Fulton
de5e0c8655 C++11 testing moved to a configure option
Use './configure --enable-cpp11-testing' to enable the C++11 test.
Off by default for now.
2013-10-08 20:12:18 +01:00
Oliver Buchtala
6dcbbf07db Conflicts:
.gitignore
	.project
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
2013-09-27 02:29:02 +02:00
William S Fulton
ba9baefdd9 sed portability fix creating swigwarn.swg 2013-09-14 12:53:45 +01:00
Oliver Buchtala
868803ce2a Merge replayed as done by c778d16abed35829b103d607a53c8f88e3b2d595 2013-08-31 03:44:44 +02:00
Vladimir Menshakov
26a4f84948 added missing javascript/v8 dir 2013-08-31 03:34:39 +02:00
William S Fulton
3ddea71f33 Clear up license ambiguity in swigwarn.swg.
Also tidies up swigwarn.swg a bit.
2013-05-13 18:15:27 +01:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
b072f22930 Add support for guile 2.0: configure and makefiles.
Note: guile-config is badly broken for guile 2. So
the guile configure  section has been rewritten to
use pkg-config instead.

Manually resolved conflicts:
	Examples/Makefile.in
2013-04-28 22:06:22 +02:00
Geert Janssens
7dfe4a0653 Make guile test suite default to scm api
In other words guilescm becomes guile.
Deprecated gh api tests are moved to guilegh.
2013-04-28 22:06:21 +02:00
William S Fulton
303b319cf0 Add ability to see example output from top level by using 'make check-examples RUNPIPE=' 2013-04-20 01:01:35 +01:00
William S Fulton
635a90c91c Add RUNPIPE in makefiles - a generic mechanism for suppressing stdout when running the examples - the idea is to run 'make check-examples' which runs the examples but suppresses the output except for errors. Initial implementation for Java. 2013-04-19 22:28:02 +01:00
William S Fulton
3e26318427 Add target language version display during make check. Individual language versions can be checked using 'make check-<lang>-version'. 2013-04-09 19:52:40 +01:00
Olly Betts
481ed3c578 Update lingering configure.in references to say configure.ac 2013-03-21 14:41:09 +13:00
William S Fulton
a6d456a15e Replace references to Subversion with Git 2013-01-12 01:24:22 +00:00
William S Fulton
00d969d7fd Makefile tweaks for Coverity builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-02 14:11:19 +00:00
William S Fulton
c8620e4782 Fix some Coverity submission failures
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-19 19:53:29 +00:00
William S Fulton
51a1aa5b1a Add coverity target to build coverity analysis and upload to coverity server for online analysis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-14 22:51:39 +00:00
Oliver Buchtala
52aef26997 Add examples check list for batch runs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:02:30 +00:00
Oliver Buchtala
050219d998 Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel
Conflicts:
	.project
	COPYRIGHT
	Doc/Manual/style.css
	Examples/Makefile.in
	Examples/test-suite/common.mk
	Lib/typemaps/strings.swg
	Makefile.in
	Source/DOH/fio.c
	Source/Makefile.am
	Source/Modules/emit.cxx
	Source/Modules/javascript.cxx
	configure.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:56:48 +00:00
William S Fulton
c7895b43d5 Cosmetic comment in makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-25 16:56:09 +00:00
William S Fulton
6d40bb0db8 Add Android examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 14:54:31 +00:00
William S Fulton
b69b793d8e Better consistency in usage display
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-09 21:42:38 +00:00
Olly Betts
faf5f6524e CVS->SVN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 05:56:50 +00:00
David Nadlinger
03aefbc6e9 Added support for the D programming languge.
It is still a bit rough around some edges, particularly with regard to multi-threading and operator overloading, and there are some documentation bits missing, but it should be fine for basic use.

The test-suite should build and run fine with the current versions of DMD, LDC and Tango (at least) on Linux x86_64 and Mac OS X 10.6.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 00:24:02 +00:00
William S Fulton
1c8618d635 Modified patch from Torsten Landschoff for fixing make distclean when the target languages that have no examples are detected - the default target was erroneously being run for clean and check of the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-08-17 18:40:14 +00:00
Ian Lance Taylor
5af2978f77 Add support for the Go programming language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00
William S Fulton
7a1551e0c4 fix make clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 12:44:17 +00:00
William S Fulton
e75d8d4463 quieter ccache-swig install
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 12:15:10 +00:00
William S Fulton
07621c122a more maintainer-clean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 11:36:54 +00:00
William S Fulton
3289c7d897 more distclean and maintainer-clean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 10:34:34 +00:00
William S Fulton
d090cadb4c more distclean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 10:11:01 +00:00
William S Fulton
b53e52602a make maintainer-clean and make distclean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 01:14:52 +00:00
William S Fulton
fb99ef318c fixes for make distclean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 00:20:42 +00:00
William S Fulton
931628f8b2 Remove the svn/cvs Id string in the headers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-28 00:09:20 +00:00
William S Fulton
3f714e1096 remove gifplot example from build
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:29:39 +00:00
William S Fulton
2c6fedd1d2 fix make distclean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-20 22:53:17 +00:00
William S Fulton
cd6eb83d61 Fix #2797485 After doing a 'make clean', install fails if yodl2man or yodl2html is not available.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:10:04 +00:00
Miklos Vajna
451f71d7b1 remove unnecessary extra semicolons in the tesuite
Basically just style cleanup, "fi;" or "fi; \" -> "fi".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:52:08 +00:00
William S Fulton
7a13f92038 make clean-test-suite now cleans all languages, not just languages detected at configure time
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 08:03:22 +00:00
Haoyu Bai
061cad9b54 when doing partialcheck, don't skip any test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 07:59:46 +00:00
William S Fulton
b1e7bbd831 Fix some make targets not running on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-21 00:55:27 +00:00
William S Fulton
47a0b98067 refine Makefile targets for documentation generation and remove generated ccache documentation from svn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-09 21:33:19 +00:00
William S Fulton
cdf3c638b0 Add ccache uninstall target. Fix ccache install/uninstall to take account of --program-prefix --program-suffix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-08 20:40:20 +00:00