Commit graph

263 commits

Author SHA1 Message Date
Oliver Buchtala
b216a739c4 Introduced an extra Makefile for the custom javascript interpreter. 2014-02-26 20:51:38 +01:00
William S Fulton
8a5fb0fe7b brew install workarounds on Travis
'brew install guile' does not complete within 10 minutes and the build is then killed by Travis
Suggestion and original script from travis-ci/travis-ci#1961
2014-02-16 09:33:51 +00:00
William S Fulton
ead4d695f0 Add openSUSE Build Service script
For updating SWIG tarball on OBS to latest from master.
Slightly modified from script received from Karl Kaempf.
2014-02-14 16:24:37 +00:00
William Fulton
05f92e9fbd Release scripts to release from any branch 2014-02-09 23:19:17 +00:00
William S Fulton
3cf3be24ab mkdist script tweaks to support releasing from any named branch 2014-02-08 11:08:56 +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
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
Olly Betts
12708c9241 Fix typos 2013-09-25 17:29:33 +12:00
William S Fulton
b0b8d4c87e Add hint about pushing tags post release
[ci skip]
2013-09-15 22:42:19 +01:00
Oliver Buchtala
4794fa1884 Refactored custom javascript engines to support primitive 'require' statements. 2013-09-06 00:38:07 +03:00
Oliver Buchtala
22525249f2 Resolve compile warnings in v8_shell. 2013-08-31 03:34:37 +02:00
Oliver Buchtala
4ac7065c3b Bugfix: in javascript interpreter load extensions on MacOSX correctly. 2013-08-31 03:34:37 +02:00
Oliver Buchtala
31844ac72a Simplify the signature of the v8 module intializer. 2013-08-31 03:23:11 +02:00
Oliver Buchtala
fb9c4955fb Not a real change: removed some trailing spaces. 2013-08-31 03:23:11 +02:00
Oliver Buchtala
f9d6afbdfe Add a missing return statement in JS shell. 2013-08-31 03:23:11 +02:00
Oliver Buchtala
caa6827daf Javascript interpreter supports for JSC and V8 simultaneously.
Before, one had to build two different versions.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
008adca72f Provide more control about the target object/namespace where a v8 module is registered to. 2013-08-31 03:23:10 +02:00
Oliver Buchtala
058a27bf32 Simplify creation of a Javascript shell. 2013-08-31 03:23:10 +02:00
William S Fulton
de12f6c25e Fix release script 2013-05-12 21:27:38 +01:00
William S Fulton
a3e2366882 Fix release script 2013-05-12 19:16:42 +01:00
William S Fulton
a5b0e34dea Update release scripts to use git instead of svn 2013-05-12 19:14:59 +01:00
William S Fulton
e805d5f925 Merge branch 'master' into gsoc2009-matevz
parser.y still to be fixed up

Conflicts:
	Doc/Devel/engineering.html
	Examples/Makefile.in
	Lib/allegrocl/allegrocl.swg
	Lib/csharp/csharp.swg
	Lib/csharp/enums.swg
	Lib/csharp/enumsimple.swg
	Lib/csharp/enumtypesafe.swg
	Lib/java/java.swg
	Lib/python/pydocs.swg
	Lib/r/rtype.swg
	Source/Include/swigwarn.h
	Source/Modules/octave.cxx
	Source/Modules/python.cxx
	Source/Modules/ruby.cxx
	Source/Swig/scanner.c
	Source/Swig/stype.c
	Source/Swig/swig.h
	configure.ac
2013-01-28 07:01:37 +00:00
Vadim Zeitlin
38d454a102 Fix MAKE variable expansion in pcre-build.sh.
Correct the syntax used in 0e32be2, it's ${var:-fallback}.
2013-01-25 19:18:12 +01:00
Tristan Carel
0e32be2465 Prefer $MAKE if specified in environment
Sometimes gmake is the only one available.
2013-01-17 16:54:54 +01:00
Olly Betts
f9566ad2df Fix assorted typos.
From https://sourceforge.net/p/swig/patches/332/ and some others too.
2013-01-08 18:47:40 +13:00
William S Fulton
77ccb6f21c Modify autoconf macro to be more flexible about how it is used - sets CXX11FLAGS, HAVE_CXX11_COMPILER and option to not error out
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-10-07 18:50:41 +00:00
William S Fulton
81d0168e51 Autoconf archive macro to detect c++11 - as downloaded from archive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-10-05 19:19:56 +00:00
Oliver Buchtala
2092793868 Make v8 shell more quiet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:14:14 +00:00
Oliver Buchtala
915e65135c Minor fix in v8 shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:09:43 +00:00
Oliver Buchtala
9a914af2b7 Fix v8 shell to initialize v8 context in proper order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:08:16 +00:00
Oliver Buchtala
022c274256 Minor fixes in v8 javascript shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:07:21 +00:00
Oliver Buchtala
5fab9c8a38 Minor cleanup in javascript shell implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:04:40 +00:00
Oliver Buchtala
10dc758cad Refactored javascript shell implementation to support JSC and v8.
Also changed configuration in examples Makefile.in to allow switching modes.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:03:42 +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
Oliver Buchtala
5c3fef6367 Add initial version of a CMake configuration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:45:49 +00:00
William S Fulton
594fd2b410 Fix gdb debugger functions to display to the gdb output window rather than stdout.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-21 14:04:37 +00:00
William S Fulton
eb5837b697 cosmetic wording in release script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 08:20:20 +00:00
Vadim Zeitlin
faa6be3bd9 Don't use non-portable "==" in shell tests.
Use POSIX "=" instead of "==" which is not supported at least by FreeBSD
/bin/sh.

Closes #3515925.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-09 20:58:10 +00:00
William S Fulton
280666ed38 Add PCRE build instructions to Windows build instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-07 23:42:15 +00:00
William S Fulton
498e564e84 Fix pcre-build.sh to work with non-compressed tarballs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-12 00:10:40 +00:00
Vadim Zeitlin
ae6aef5d8f Allow setting PCRE_{CFLAGS,LIBS} when building SWIG with PCRE.
These options can be used to override the values returned by pcre-config, e.g.
to build using a static PCRE library even if pcre-config prefers to use the
shared one by default.

Use the updated AX_PATH_GENERIC macro from autoconf archive which was fixed to
allow the options set by the user to override the ones returned by pcre-config
(in fact, pcre-config isn't even called at all if these options are set).

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-20 23:24:32 +00:00
William S Fulton
9e4de2698f Release script tweaks to take account of yet more SF upload changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 21:00:10 +00:00
William S Fulton
ae0683a2d3 SF #3173367 Better information during configure about Boost prerequisite for running the test-suite. BOOST_CPPFLAGS can only be used though once common.mk is created at configure time.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-05 12:47:56 +00:00
William S Fulton
db6bf51067 Add pcre-build.sh script for easier building of pcre and configuring with SWIG if PCRE not installed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-01 22:46:22 +00:00
William S Fulton
d1e6643161 Expand the family of debug print functions for displaying DOH types. Provide gdb support for calling these. Document improved debugging experience.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-15 20:17:11 +00:00
Vadim Zeitlin
6399502719 Add a check for PCRE library to configure.
We use standard AX_PATH_GENERIC() macro from Autoconf archive to do the check
to keep our own code as simple as possible. Notice that this script must be
used, just adding the include and library directories to {C,LD}FLAGS is not
enough, notably -DPCRE_STATIC which is output by pcre-config for static builds
only is crucial. Also use LIBS instead of LDFLAGS to fix linking when using
static libraries.

Also note that this allows to pass PCRE_CONFIG variable value to configure to
force the use of the specified script (and not the one first found in PATH),
which is especially important when cross-compiling.

Finally, PCRE is required by default now, --without-pcre must be explicitly
used to build without it.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 17:00:16 +00:00
William S Fulton
0bfeb75be2 update example version numbers and clarification of inputs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-21 06:18:54 +00:00
William S Fulton
88c4336ec2 mention tagging is being done in mkrelease.py
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 21:15:38 +00:00
William S Fulton
2b325a6347 minor tweaks for release notes uploaded to SF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 20:45:16 +00:00
William S Fulton
84985fa205 remove WAD from distribution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 19:00:54 +00:00