Commit graph

108 commits

Author SHA1 Message Date
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
314d4f17de Fix running R examples and update docs about R CMD SHLIB
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:43:21 +00:00
William S Fulton
e854baabec Change Octave to run C tests in SWIG C mode, not C++ mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-11 22:48:56 +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
Joseph Wang
9683047b9a move fPIC location to be in front of -o
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-04 03:50:09 +00:00
Joseph Wang
272ed9fc29 require -fPIC in compile line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-15 01:27:17 +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
56c5b52c1d remove unnecessary extra shells being spawned in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:39:51 +00:00
William S Fulton
db8d652407 remove junk from Octave C example compilation command line options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 23:11:27 +00:00
Olly Betts
ed4d6ddec1 Some distros (e.g. frugalware) build PHP with --enable-safe-mode, so as we need
to explicitly disable it to avoid the testsuite failing with:

Warning: dl(): Dynamically loaded extensions aren't allowed when running in Safe Mode

Patch from Miklos Vajna.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-29 23:38:19 +00:00
William S Fulton
a1933f7bbc Fix make partialcheck-ocaml-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 20:08:57 +00:00
William S Fulton
fc33c676b4 Fix make partialcheck-mzscheme-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 19:02:04 +00:00
William S Fulton
06b2eca75e remove last vestiges of php4 and encourage use of -php rather than -php5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00
William S Fulton
bcc796f676 modify build system to use php instead of php4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:40:54 +00:00
William S Fulton
db83e51441 modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:35:15 +00:00
William S Fulton
9cf5256b93 rename java run tests from main to runme for consistency across the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-17 22:47:55 +00:00
William S Fulton
1d9f63c873 fix clash between php and python when running scripts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-24 19:28:15 +00:00
Haoyu Bai
dfbcaf884e add removing of 2to3 generated runme3.py in make clean target
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 12:16:44 +00:00
Haoyu Bai
3d8ddfc442 Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
This is the (incomplemete) log produced by svnmerge.py:

Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from 
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
William S Fulton
bbadd70330 Fix building of Tcl examples/test-suite on Mac OSX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-19 22:45:54 +00:00
William S Fulton
1d2856d820 fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:26:07 +00:00
William S Fulton
f06222b993 Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
Olly Betts
136f2c7041 SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4 is
essentially obsolete now, so we care much more about solid PHP5
support.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 11:26:37 +00:00
Xavier Delacour
13c0b040fc Fix Octave C support by adding extern "C" around header section. Fix Octave examples (simple, contract, variables, pointer, funcptr) such that example.c files are built with C compiler, and wrappers with C++ compiler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-05 15:29:01 +00:00
Xavier Delacour
393391965c Initial commit of Octave module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-01 23:35:44 +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
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
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
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
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
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
d89fac038b On windows use .pyd instead of .dll - Python-2.5 no longer works with dlls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-20 21:34:27 +00:00
John Lenz
56904f30d0 - Fix SF bug 1573892
- Minor change to chicken to make it work with version 2.5rc1
- add externaltest to chicken and guile modules


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
Olly Betts
aadfee78ac Fix testsuite to run under PHP after recent PHP testsuite changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:15:27 +00:00
Olly Betts
98b14d6f1d Fix the PHP Examples to build and run like the other languages do.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:28:27 +00:00
William S Fulton
4bffbcee7e cleanup Mono debris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:05:16 +00:00
William S Fulton
907491072c CFLAGS used for linking as is the norm
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:47:09 +00:00
Joseph Wang
ef80a4f59a Committing R-SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00
William S Fulton
5ea5667e18 remove non-standard --with-release-suffix configure options and fix the standard autoconf options --program-prefix and --program-suffix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 22:54:02 +00:00
Marcelo Matus
1ec335c985 remove old -Dexplicit=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:57:00 +00:00
William S Fulton
97342b6be9 Fix clean on windows, where the commandline cannot take very many characters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:32:12 +00:00
Matthias Köppe
95f21258b3 Add test suites for CLISP, CFFI, UFFI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:36:28 +00:00
Matthias Köppe
1683875e31 Fix last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:24:37 +00:00
Matthias Köppe
0e7d1a8796 Run Allegro CL testcases for C with the -cwrap option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:04:53 +00:00
Matthias Köppe
be1d53a85d Add allegrocl_clean target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 14:45:20 +00:00
Marcelo Matus
d48a17e32f add the java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 11:43:32 +00:00
Marcelo Matus
f604d27bc5 fix ruby to use gcj
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:35:30 +00:00
Marcelo Matus
8fb9716fd0 use , so, it can be disabled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:41:47 +00:00