Commit graph

2,873 commits

Author SHA1 Message Date
Geert Janssens
090d2505d1 Guile create functional class example 2013-05-13 21:40:01 +02:00
Geert Janssens
e5f6ec8912 Guile fix matrix example
Got broken in commit dd36f28ac7
(Migrate Guile examples build into common Examples makefile)
2013-05-10 18:29:26 +02:00
William S Fulton
199c1f3249 Add skeleton for run test for Guile class example 2013-05-09 20:03:50 +01:00
William S Fulton
042d0dfdc2 Guile port example Makefile correction 2013-05-09 19:41:29 +01:00
William S Fulton
dd36f28ac7 Migrate Guile examples build into common Examples makefile
- Now Guile examples are built in a consistent way to other target
languages.
- Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled
  warnings
2013-05-09 19:28:09 +01:00
William S Fulton
d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00
Karl Wette
c28d0c6c80 Fixes to Octave examples
- rename example modules from "example" to "swigexample", to avoid a
  warning from shadowing the Octave built-in function "example"
- remove deprecated "static" Makefile targets: there is no longer
  an option to build static Octave modules in the Examples Makefile
- emacs whitespace cleanup run on all files
2013-05-08 22:44:40 +01:00
William S Fulton
7964ebe34f Tidy up pike version display 2013-05-08 17:36:03 +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
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
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
William S Fulton
ac596eb8a3 Add C++ class example for Guile
Also correct other example c++ makefiles
2013-04-30 07:28:29 +01:00
Geert Janssens
7297f5aa51 Don't use obsolete -scm option in own makefiles 2013-04-28 22:38:20 +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
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
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
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
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
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
William S Fulton
58a59919dd Chicken - make check-examples run like other examples - not all run very well though! 2013-04-20 02:28:48 +01:00
William S Fulton
2b2305cce9 Mzscheme - fix for running examples during 'make check-examples' - they don't run very well though\! 2013-04-20 02:28:48 +01:00
William S Fulton
62638bfd15 Pike - a few updates to get Pike 7.8 running most of the examples 2013-04-20 02:28:48 +01:00
William S Fulton
7fd18b361e Ocaml example makefiles - run examples - there are plenty of problems currently though 2013-04-20 02:28:48 +01:00
William S Fulton
13b66c997e Guile example makefiles - run some of the examples in the check target.
Still some are missing. Add some missing examples to check.list.
2013-04-20 02:27:57 +01:00
William S Fulton
ea84fe6445 Allegrocl, clisp, cffi, uffi makefile targets added for running examples - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
e3d0947058 D example makefiles tweaks for consistency with other languages. 2013-04-19 22:47:29 +01:00
William S Fulton
ceb5c59c8d XML example makefiles tweaks for consistency with other languages 2013-04-19 22:47:29 +01:00
William S Fulton
9a6167822b Pike example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
280cd16b7e Ocaml example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
238554fe61 Mzscheme example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
a6e2ee8580 Modula3 makefiles tweaks for consistency with other languages - they still don't work though 2013-04-19 22:47:28 +01:00
William S Fulton
2e48e5b852 Guile example makefiles tweaks for consistency with other languages. 'make check' still incomplete. 2013-04-19 22:47:28 +01:00
William S Fulton
897b2361cb Chicken makefiles tweaks for consistency with other languages - still more to be done though 2013-04-19 22:47:28 +01:00
William S Fulton
24c28b061e Add in make -s (silent) detection and keep Android builds quiet when run from top level makefile
Fix parallel make for Android example makefiles
2013-04-19 22:47:27 +01:00
William S Fulton
1d77a1b981 Android makefiles rewrite to use common code 2013-04-19 22:47:27 +01:00