Commit graph

15,946 commits

Author SHA1 Message Date
Geert Janssens
4e4b73e7c0 Put guile Example Makefile back under revision control 2013-05-13 22:39:13 +02:00
Geert Janssens
cb24c110df Guile remove references to -gh and -scm from manual 2013-05-13 22:31:29 +02:00
Geert Janssens
090d2505d1 Guile create functional class example 2013-05-13 21:40:01 +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
Karl Wette
f09231d282 Add CCache/ccache-swig.1 to .gitignore 2013-05-13 12:27:21 +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
9812b27fb0 Add .gitattributes file
For specifying what not to export when running 'git archive'
2013-05-12 19:14:59 +01:00
William S Fulton
ea2e615cec Fix some typos in directive names 2013-05-12 19:14:59 +01:00
William S Fulton
2733a0f7a3 Update htmldoc patch to htmldoc-1.8.27
Note: Best to use the patched source from Ubuntu/Debian which fixes some
bugs.

Also added "Patched with margin-left.patch" text to output of
  htmldoc --version
2013-05-12 19:14:58 +01:00
Karl Wette
d7839ce570 Update changelog for the previous two Octave patches 2013-05-12 17:32:09 +01:00
Karl Wette
93650b2911 Octave: install functions only once, when creating module
- once installed, Octave functions can never really be uninstalled
  (clear -f doesn't prevent the function being called again), so
  it makes no sense to install functions more than once
- this can lead to a significant speed-up of module loading times,
  up to a factor of 10 for a large module loaded multiple times
2013-05-12 17:32:09 +01:00
Karl Wette
ef160ec072 Octave: remove allocation of new octave_value in SWIG_Octave_SetGlobalValue()
- this introduces a memory leak, which becomes significant for large
  modules (many global variables) and many module re-loadings (e.g.
  during a long-running script)
- the original motivation was to prevent double-frees on exit, but this
  problem appears to have been fixed by the _Exit() hack in later commits,
  and in any case is an issue only for Octave ~3.2, so it should be safe to
  remove; tested by running Octave examples/test suite with Debian 3.2.4 and
  built-from-source 3.2.4, 3.4.3, and 3.6.3
2013-05-12 17:32:08 +01: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
95e2142347 Update Octave manual to use "swigexample" instead of "example"
Closes #46
2013-05-09 18:34:54 +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
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