summaryrefslogtreecommitdiff
path: root/Examples/tcl
Commit message (Collapse)AuthorAgeFilesLines
* Use https for swig.org linksOlly Betts2022-10-061-1/+1
|
* Cosmetic stray semi-colon removal after %typemap using quotesWilliam S Fulton2022-08-311-1/+1
|
* Remove use of std::bind2nd which is removed in C++17William S Fulton2019-06-271-3/+2
|
* Misc. typosluz.paz2018-05-171-1/+1
| | | found via `codespell` and `grep`
* Remove GCJ supportOlly Betts2017-10-095-77/+0
| | | | | | GCC7 dropped GCJ. Closes https://sourceforge.net/p/swig/bugs/823/
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-2115-52/+98
| | | | | | | | | | | | | 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.
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-11/+3
|
* 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-1115-63/+63
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix {python|perl5|ruby|tcl}/java examplesKarl Wette2014-05-021-8/+5
| | | | | | | | | | - in Lib/gcj/cni.i: remove JvAllocObject(), change JvCreateJavaVM() argument from void* to JvVMInitArgs* - in Examples/{python|perl5|ruby|tcl}/java/Makefile: pass full class name to gcjh, add Example.h as dependency, do not override CXX for compiling C++ sources - in Examples/python/java/example.i: add destructor to class to prevent memory loss complaint
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-163-4/+3
|
* Further cleaning up of class examplesOlly Betts2014-02-242-3/+2
|
* Improve the class example for several languages.Olly Betts2014-02-234-61/+23
| | | | | Fix numerous inaccuracies in index.html (where it exists) and eliminate unnecessary differences between the example code being wrapped.
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* Fix tcl operator example crashing when runWilliam S Fulton2013-05-031-3/+0
| | | | The example was accessing deleted memory and so sometimes crashed.
* Tcl examples now run during 'make check' and makefile tidyup.William S Fulton2013-04-1915-74/+88
|
* Fix Visual Studio examples to work when SWIG is unzipped into a directory ↵William S Fulton2013-01-158-16/+16
| | | | containing spaces.
* fix SWIG naming conventionWilliam S Fulton2009-08-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* invoke using swig.exe instead of just swig in Visual Studio project filesWilliam S Fulton2009-03-208-16/+16
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix virtual destructorWilliam S Fulton2008-06-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* 64 bit portability fixesWilliam S Fulton2007-10-291-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-188-1172/+1172
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-65/+65
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvs $Header$William S Fulton2007-10-1710-20/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.Olly Betts2007-10-155-0/+103
| | | | | | | | Add Examples/tcl/std_vector/ which this change fixes. Patch is from "Cliff C" in SF#1809819. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove obscure mpointer example and replace with member_pointer.i testcase ↵William S Fulton2007-08-096-183/+0
| | | | | | and runtime examples git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-0315-167/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* use $self special variable instead of self in %extendWilliam S Fulton2006-11-082-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Correct some commentsWilliam S Fulton2006-07-042-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove sprintf deprecated messageWilliam S Fulton2006-03-052-0/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for Visual Studio Express 2005 without database support installed - no ↵William S Fulton2006-02-078-32/+32
| | | | | | need to link against database libs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* update for mailing listsWilliam S Fulton2006-02-071-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* simplify MakefilesMarcelo Matus2006-01-221-3/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix Makefiles for cygwinMarcelo Matus2006-01-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* better approach to running gcj testsWilliam S Fulton2006-01-081-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-01-081-0/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Only run gcj tests when gcj is installed on the boxWilliam S Fulton2006-01-082-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add support for named warning codesMarcelo Matus2006-01-061-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* silence new leak warningsMarcelo Matus2006-01-051-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add %typemap(LANG,..) warning 1387184Marcelo Matus2006-01-051-6/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* uniform cni examplesMarcelo Matus2006-01-031-3/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add tcl+java exampleMarcelo Matus2005-12-305-0/+83
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix examples to use preinst-swigMarcelo Matus2005-11-2712-12/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* massive typemap unificationMarcelo Matus2005-10-181-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-287-3/+32
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* html fixesWilliam S Fulton2004-11-022-10/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update for new runtime library approach (no more -runtime -noruntime)William S Fulton2004-10-271-140/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update for new runtime library approach (no more -runtime -noruntime)William S Fulton2004-10-276-47/+24
| | | | | | | Comment about inline destructors needed for some compilers added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update Examples to not build runtime libraryJohn Lenz2004-10-173-16/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2004-10-161-0/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6405 626c5289-ae23-0410-ae9c-e8d60b6d4f22