summaryrefslogtreecommitdiff
path: root/Examples/octave
Commit message (Collapse)AuthorAgeFilesLines
* Octave: do not dump Octave core in examples/test suite scriptsKarl Wette2017-01-0116-14/+66
| | | | | - If Octave segfaults during cleanup, it usually cannot dump its core and therefore just freezes, which hold up e.g Travis build jobs
* octave: map unary functions to __...___ Python-style unary membersKarl Wette2016-02-072-0/+25
| | | | - Only available in Octave 3.8.0 and higher
* octave: recognize Python __float__ numeric conversion operatorKarl Wette2016-02-072-0/+9
|
* octave: export function swig_octave_prereq() for easily testing Octave versionKarl Wette2016-02-071-3/+2
|
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-5/+10
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* Remove unused std_string.i from callback examplesWilliam S Fulton2015-05-101-2/+0
|
* Remove bogus ; after } in examplesOlly Betts2014-11-071-2/+2
|
* Revert "Octave: simplify Examples/octave/example.mk"William S Fulton2014-10-091-22/+15
| | | | | | | This reverts commit 6c04378e20ee20cbadca7c3d887941e270990faf. Reverting a series of Octave commits for re-applying again without incorrect whitespace changes.
* Revert "Octave: drop support for Octave versions older than 3.2.0"William S Fulton2014-10-091-0/+6
| | | | | | | This reverts commit 952eee8f5904f85411d28dd375cc7df67f74b95a. Reverting a series of Octave commits for re-applying again without incorrect whitespace changes.
* Octave: drop support for Octave versions older than 3.2.0Karl Wette2014-10-041-6/+0
| | | | | - Latest non-supported version is 3.0.5, released 2009-04-09 - Earliest supported version is 3.2.0, released 2009-06-05
* Octave: simplify Examples/octave/example.mkKarl Wette2014-10-041-15/+22
|
* Octave: turn on autodoc in examples, so that feature is testedKarl Wette2014-10-0416-0/+39
|
* Octave: use common example.mk for examples, patterned after javascriptKarl Wette2014-05-2917-245/+68
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-243-4/+4
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1116-49/+49
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* More cleaning up of the class examplesOlly Betts2014-05-051-5/+5
|
* Further cleaning up of class examplesOlly Betts2014-02-241-9/+9
|
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* Fixes to Octave examplesKarl Wette2013-05-0863-346/+212
| | | | | | | | - 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
* Octave examples clean target fixed and makefiles use new RUNPIPE and general ↵William S Fulton2013-04-1916-111/+96
| | | | consistency tidyup
* octave: Simplified module loading.Karl Wette2012-11-281-43/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [octave] skip part of module_load test for older OctavesKarl Wette2012-05-241-0/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Updated Octave module_load examples for new module loadingKarl Wette2012-05-148-285/+117
| | | | | | | | | - Module compiled twice to check '-globals .' behaviour - Only one runme.m needed since clearing modules should now be safe for all Octave versions. - Tests new module loading syntax and behaviour git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use -globals . to load global variables in module namespace (from Karl Wette)Xavier Delacour2012-02-271-0/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Allow Octave modules to be re-loaded after a "clear all" (thanks to Karl ↵Xavier Delacour2011-10-135-0/+172
| | | | | | Wette; SF 3418908) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added example of friend operator use to Examples/octave/operator, fixed ↵Xavier Delacour2011-08-313-6/+8
| | | | | | minor bug that causes a panic in octave 3.0.5. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Changes Octave module loading behavior, so that modules can be safely loaded ↵Xavier Delacour2011-08-3110-0/+146
| | | | | | inside functions without first being loaded at the base level. (Basically the module is now always loaded in the base context, and then a local link to the module is created in the current context.) Added an example, module_load, to Examples/octave to test this behaviour in different ways. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Octave patches for 3.4.0 compatibility, etc. (sf 3387394, thanks for Karl Wette)Xavier Delacour2011-08-0817-10/+25
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* shadow->proxy terminlogy updateWilliam S Fulton2008-04-292-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix Octave C support by adding extern "C" around header section. Fix Octave ↵Xavier Delacour2008-03-056-43/+31
| | | | | | 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
* Initial commit of Octave module.Xavier Delacour2008-03-0167-0/+1822
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22