Commit graph

15,925 commits

Author SHA1 Message Date
William S Fulton
7964ebe34f Tidy up pike version display 2013-05-08 17:36:03 +01:00
William S Fulton
efb4f7bf07 Don't skip guile if GUILE_CFLAGS is empty as sometimes it is empty 2013-05-08 17:30:45 +01:00
William S Fulton
cd4c1d3c3f Tidy up target language versions display 2013-05-08 16:48:27 +01:00
William S Fulton
1adb239046 Fix running of Guile multivalue and std_vector examples 2013-05-08 14:10:47 +01:00
William S Fulton
10acae18d2 Correct Guile Makefile to fix test-suite/examples on Cygwin 2013-05-08 13:05:11 +01:00
William S Fulton
70b9df5ee9 Portable dynamic library loading for Guile
dynamic-link and load-extension work without passing the .so or .dll as
the shared library extension, so these have been dropped so the examples
and test-suite work on Cygwin.

Also update documentation and use the 'lib' prefix as that is what we
commonly name the shared libraries.
2013-05-08 12:42:17 +01:00
William S Fulton
4ed422da60 Revert guile configure to use guile-config
Replace pkg-config with guile-config to look for guile. Using pkg-config
requires the pkg.m4 autoconf macros to be properly installed on the
machine running autogen.sh which is frequently a problem. pkg-config
only supports more recent releases of guile so isn't very good at
finding guile either.
2013-05-07 21:11:03 +01:00
William S Fulton
f68cde8bb9 Fix li_std_containers_int test case for Python < 2.6
Workaround bugs in older versions of Python
2013-05-03 19:55:42 +01:00
William S Fulton
ca7b77cbd1 Fix tcl operator example crashing when run
The example was accessing deleted memory and so sometimes crashed.
2013-05-03 19:55:42 +01:00
William S Fulton
13e76c30b3 Fixes looking for Guile in configure.ac 2013-05-03 19:55:42 +01:00
William S Fulton
4bf045ce2c Move installation and install check instructions from README to Preface section in the documentation. 2013-05-03 19:55:42 +01:00
William S Fulton
e9b76e4c85 Add more references about the SWIG license to the legal.html website page
Also add in references to the release notes.
2013-05-03 19:55:41 +01:00
William S Fulton
067b883813 Guile doc sections update 2013-05-03 19:55:41 +01:00
William S Fulton
7d29f88641 Cosmetic on unknown javac version display 2013-05-03 19:55:41 +01:00
William S Fulton
5690323b8f Rework perl5 compiler and linker flags
This fixes perl on cygwin. Probably on other platforms too.
2013-05-03 19:39:11 +01:00
William S Fulton
6704501aad Guile multimap example fix for 64 bit systems 2013-05-01 16:02:02 +01:00
Geert Janssens
fbb1978eb4 guile: get multimap example to run 2013-05-01 12:13:13 +02:00
Geert Janssens
8767e4e29e guile: make constants example display some output similar to other languages 2013-05-01 11:19:14 +02:00
Olly Betts
35c1353bb7 Merge pull request #44 from trel/patch-1
subject/verb agreement
2013-04-30 19:11:07 -07:00
Terrell Russell
4b1e882865 subject/verb agreement 2013-04-30 22:49:12 -03:00
William S Fulton
ac596eb8a3 Add C++ class example for Guile
Also correct other example c++ makefiles
2013-04-30 07:28:29 +01:00
William S Fulton
ae1c395917 Guile tweak in CHANGES.current 2013-04-30 07:28:29 +01:00
William S Fulton
850cd37599 Don't skip Python testing if static library directory not found
'make check' does not require the Python static libraries to be
available. There is no easy way to find PYLIB - the directory containing
the static library especially now Debian based systems have changed to
put them in directories like /usr/lib/x86_64-linux-gnu/libpython2.7.a.
2013-04-29 22:01:46 +01:00
Geert Janssens
c30a79217d guilescm directory no longer exists. No need to have it in .gitignore 2013-04-29 12:51:47 +02:00
Geert Janssens
17a5635385 Add summary of recent guile updates in changelog 2013-04-29 12:30:39 +02:00
William S Fulton
9203c6d5c6 Remove deprecated Guile options from help.
Also use wording for deprecated options warning which is consistent with
elsewhere.
2013-04-29 08:02:18 +01:00
Geert Janssens
7297f5aa51 Don't use obsolete -scm option in own makefiles 2013-04-28 22:38:20 +02:00
Geert Janssens
ce14abaf61 guile: emit warning when -gh or -scm option are used 2013-04-28 22:06:28 +02:00
Geert Janssens
95bfa86ae9 guile: fix multimap example
- fix compiler warning
- fix guile 2 deprecation warnings
- minor cleanup of generated code
2013-04-28 22:06:27 +02:00
Geert Janssens
7b9c302fa1 guile: fix matrix example
- add missing library in link phase
- empty true path () for if is not allowed
2013-04-28 22:06:27 +02:00
Geert Janssens
3e0247e553 guile: fix integer test on 64 bit systems 2013-04-28 22:06:27 +02:00
William S Fulton
fb7b45becc Add guile test for guile 2 2013-04-28 22:06:26 +02:00
Geert Janssens
469022d311 Disable guile 2's autocompilation feature for the test suite
Autocompilation generates a lot of warnings. Most of them
just informational, but it clutters the test output.
2013-04-28 22:06:26 +02:00
Geert Janssens
9110d47ea6 Use freearg instead of argout to free temp variable 2013-04-28 22:06:25 +02:00
William S Fulton
6a60efffd1 Some C++ experience needed
On 19/04/13 18:41, Geert Janssens wrote:
> Hi,
>
> I'm working through the failing testcases for guile. One testcase fails
> with a compilation error in some generated code based on std_map and
> std_pair. I know exactly where this generated code comes from, but my
> C++ knowledge is insufficient to understand the error, let alone remedy
> it. I gather some kind of const violation, but that's all I can read
> from it :( My hope is that someone used to working with stl will more
> easily understand it.
>
> So, if someone can help me understand the error and what the fix would
> be in C++, I can fix the corresponding .i file.
>
> This is the code snippet the causes the error:
>

<snip>

>
> /usr/lib/gcc/i686-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/stl_pair.h:88:12:
> error: non-static const member ‘const std::pair<int, A*> std::pair<int,
> const std::pair<int, A*> >::second’, can’t use default assignment operator

This is the main problem - it is saying there is no default assignment
operator (because one of the members in pair is const). The solution is
to avoid assignment. I've attached a patch to do this plus some error
message corrections.

William
2013-04-28 22:06:25 +02:00
Geert Janssens
140829a826 guile: fix std_map.i "$1 not found" error 2013-04-28 22:06:25 +02:00
Geert Janssens
d689d9a860 Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02: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
3c47730803 Drop support for guile 1.6 and older 2013-04-28 22:06:22 +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
2c23a5d2cd Add support for guile 2.0: update swg and interface files
Note: only the scm interface is considered.
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
e0e4a4db6d Warning fix for ccache-swig tests
clang deletes the output 'file' whereas gcc does not if the output
'file' is actually a directory.
2013-04-28 18:41:11 +01:00
William S Fulton
99231457db Fixes for warnings issued by clang 2013-04-28 17:59:40 +01:00
William S Fulton
52858d5353 Fix boost intrusive_ptr testcase compilation with latest boost/gcc 2013-04-27 18:40:57 +01:00
William S Fulton
bdf98744b1 Fix guilescm_ext_test and chicken_ext_test testcases 2013-04-23 22:29:52 +01:00
Yung Lee
6e06b50adf Remove non-ascii characters at a comment line in d.cxx that trouble VC++ 2013-04-22 18:28:26 +01:00
William S Fulton
486eca2faa Disable Ruby free_function test for now.
It is failing in Travis builds with 'ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]' but okay with 'ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]'.

Relying on timely Garbage collection is probably flawed anyway.
2013-04-21 18:24:37 +01:00
William S Fulton
205d50a8c9 Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 builtin Complex numbers in the operator example. 2013-04-21 14:05:56 +01:00
William S Fulton
9f95e30650 Fix PHP test-suite running examples recently broken in 0fa791d 2013-04-20 02:51:57 +01:00