summaryrefslogtreecommitdiff
path: root/Examples/perl5
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
|
* Misc. typosluz.paz2018-05-171-1/+1
| | | found via `codespell` and `grep`
* Remove GCJ supportOlly Betts2017-10-095-93/+0
| | | | | | GCC7 dropped GCJ. Closes https://sourceforge.net/p/swig/bugs/823/
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-2116-53/+102
| | | | | | | | | | | | | 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
|
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-9/+1
|
* Remove bogus ; after } in examplesOlly Betts2014-11-072-4/+4
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-244-5/+5
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1117-69/+69
| | | | | | | | | | | | | | | | | | | | | | | - 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-022-4/+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-169-11/+11
|
* Further cleaning up of class examplesOlly Betts2014-02-241-1/+0
|
* Improve the class example for several languages.Olly Betts2014-02-235-93/+36
| | | | | Fix numerous inaccuracies in index.html (where it exists) and eliminate unnecessary differences between the example code being wrapped.
* Change the length of strings created from fixed-size buffers.Vadim Zeitlin2013-12-231-0/+12
| | | | | | | | | | | | | | | | Use the usual C rule for NUL-terminated strings instead of discarding all the trailing NUL characters. This was unexpected (as buffers in C code are not necessarily always padded with NULs to their full length) and also inconsistent among languages as this was only done for those of them using typemaps/strings.swg but not for C# or Java, for example, which terminated the string at the first NUL even before this change. Notice that this patch couldn't use strlen() or wcslen() with possibly not NUL-terminated strings, so we had to add [our own equivalents of] strnlen() and wcsnlen() and use them instead. This required adding yet another parameter to string typemap macros, so update the example using them accordingly too.
* Perl directors changes entry added and minor tidy upWilliam S Fulton2013-12-232-3/+3
|
* ran "beautify-file" make target over perl5.cxx patch hunks and rewrote ↵Robert Stone2013-11-142-38/+60
| | | | callback and extend examples in the style of existing examples
* adds "callback" and "extend" examplesRobert Stone2013-11-1214-1/+312
|
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* Perl examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-1915-82/+93
|
* Fix Visual Studio examples to work when SWIG is unzipped into a directory ↵William S Fulton2013-01-157-14/+14
| | | | containing spaces.
* remove reference to old version of PerlWilliam S Fulton2010-06-071-3/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove out of date perl version for testingWilliam S Fulton2010-02-031-18/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* 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-207-14/+14
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* various warning fixesWilliam S Fulton2008-06-211-12/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 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
* shadow->proxy terminlogy updateWilliam S Fulton2008-04-294-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 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-187-1024/+1024
| | | | 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-179-18/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove obscure mpointer example and replace with member_pointer.i testcase ↵William S Fulton2007-08-096-186/+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-0314-147/+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-081-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fixes for sub is a perl keywordWilliam S Fulton2006-03-144-5/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9006 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-077-28/+28
| | | | | | 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
* *** empty log message ***William S Fulton2006-01-301-0/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* catch read-onlye errors properlyMarcelo Matus2006-01-231-3/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8533 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/+12
| | | | 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
* move xmlstring.i to a more standard locationMarcelo Matus2006-01-061-0/+111
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8228 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