Commit graph

22 commits

Author SHA1 Message Date
William S Fulton
f9158e525f Revert "Merge pull request #853 from ivannp/underscores"
This reverts commit a964098754, reversing
changes made to bda3a11f9e.

SWIG should only provide default operator names that provide special
standard or conventional meaning in the target language.
2016-12-22 19:47:54 +00:00
Ivan Popivanov
5ec5266284 Renamed all operators beginning with underscore. 2016-12-17 16:26:10 -08:00
William S Fulton
8e2bc595c6 Remove use of preinst-swig script
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.
2015-08-21 22:43:17 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- 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
2014-05-11 23:21:10 +02:00
Olly Betts
b115c984a9 More cleaning up of the class examples 2014-05-05 16:14:31 +12:00
Olly Betts
0de4cf13a8 Further cleaning up of class examples 2014-02-24 10:10:24 +13:00
William S Fulton
bfb695c512 R examples makefile tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
78cd350fe9 Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces. 2013-01-15 07:18:20 +00:00
Joseph Wang
e216963630 back out of previous change. There seem to be version dependent
changes in what gets printed out and previous change causes
double printing in earlier versions of R


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-20 15:54:36 +00:00
Joseph Wang
a6764a156c use print to output sprintf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-18 13:53:47 +00:00
William S Fulton
314d4f17de Fix running R examples and update docs about R CMD SHLIB
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:43:21 +00:00
William S Fulton
48203afbd0 invoke using swig.exe instead of just swig in Visual Studio project files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:54:43 +00:00
William S Fulton
b6da068213 remove execute bit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:29:55 +00:00
William S Fulton
87cf2f225b remove execute bit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:29:41 +00:00
William S Fulton
4228a53ac1 no longer add _wrap to module name when generating the dll
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:50:59 +00:00
William S Fulton
083efd15ca Rename dll/shared object name to be the same as the module name for R - _wrap is no longer postfixed to the name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:34:10 +00:00
William S Fulton
b07b947aac VC++ support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 23:26:47 +00:00
William S Fulton
dd80fda7bf changes for generated .R file name change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:41:11 +00:00
William S Fulton
dc4983afb0 Add in R examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 00:07:27 +00:00
William S Fulton
8f47471565 VC++ example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:45:39 +00:00
William S Fulton
6e9058cbeb Make examples cross platform
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:40:24 +00:00
Joseph Wang
ef80a4f59a Committing R-SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00