summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into coverity-scancoverity-scanWilliam S Fulton2015-01-14944-6449/+12435
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (478 commits) Use -rrbconfig rather than -rmkmf to load rbconfig Add suggestion to check block delimiter Add explanatory comment to pp_unknowndirective2.i Fix PHP crash in director_finalizer Add 3.0.4 release information Fix typo Note 1.8 as the oldest supported version Fix PHP backend for default_args testcase Update html Python 3 default args fix Revert introduction of python:defaultargs feature Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.ac Add regression test for #217 [PHP] Fix segfault in director upcall check Fix linux gcc warnings and strtol corrections Tests for Python default arguments and %pythondefaultargs. Python default arg improvements [lua/luarun] change return type from int to void on functions not returning anything Add note about delimiting blocks of Python code Fix python default_args testcase for Python 3 Fix Python default argument handing broken since swig-3.0.3 Python default argument test cases from issue #294 Wording change for missing semicolon error Handle "constexpr explicit" and "constexpr static" Allow C++11 "explicit constexpr" Improve errors for missing ; and unexpected ) Fix typo in old entry Add test coverage for unterminated %{ ... %} block When reporting an error for a construct which hasn't been terminated when the end of the file is reached, report it at the start line rather than "EOF" as then tools like editors and IDEs will take you to a generally more useful place for fixing the problem. Improve error message for extraneous '%}'. Add .gitignore for Examples/test-suite/errors/ Fix testcase name in expected output Improve error message when an unknown SWIG directive is used Update link to point to 3.0 docs Fix links to the online 1.3 docs to instead be relative Drop deprecated warnings for ancient options Fix tab to space in HTML preformatted block Provide -cppext as a general command line option Split -help output into 4 chunks instead of 3 More on Go examples [skip ci] Properly quote parameters in preinst-swig wrapper. Fix typo Bump version to 3.0.4 HTML tweaks Add 3.0.3 release information Minor tweaks to the changes file %constant and structs support for Lua Fix D examples when run 'in-source' Fix D examples clean Revert "Fix D examples clean" Fix javascript clean Let Octave 3.8 fail in Travis Fix D examples clean Fix javascript clean Tidy up Javascript build system Don't delete checked in files with 'make distclean' Reduce scope of template_default_class_parms testcase Fix abort using template default parameters Test suite warning fixes [Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang Issue #282 perl5 archlib vs archlibexp [Go] Changed link 'https://github.com/golang/go/tree/master/misc/swig' to 'https://golang.org/misc/swig' in the Go documentation. [Go] Updated Go documentation (examples, runtime.SetFinalizer, object ownership). Added auto-generated 'Examples/d/example.mk' to '.gitignore'. Warning suppressions in tests nested_scope test fixes for clang Fix use of preprocessor null directive Add testcase for nested inner class deriving from a templated base class and defined outside of the outer class. Add in missing constant_directive.i test Improve Python builtin and %constant structs fixed python global object constants Partial support for %constant and structs Ignore E402 (import not on top of file) PEP8 error. Add PEP8_FLAGS variable to the test suite Python makefile. Fix templated constructors regression Correctly detect Go1 during configure Fix regression in introduced in merge of C++11 strongly typed enums support - Guile constants bad casts generated - Go non-public enum value wrappers assert failure Document new C++11 strongly typed enumerations support. Add more docs about _global_ prefix in typemap temporary variables Add clarification on _global_ prefix. Improve Javascript Webkit detection Add c++11 strongly typed enums runtime test for Javascript Add c++11 strongly typed enums runtime test for Octave Add c++11 strongly typed enum support for Guile Add c++11 strongly typed enum support for Go Add c++11 strongly typed enum support for D Add c++11 strongly typed enum support for Lua Fix line endings in lua example Add c++11 strongly typed enums runtime test for Tcl Add c++11 strongly typed enum support for PHP Add c++11 strongly typed enums runtime test for Ruby Add c++11 strongly typed enums runtime test for Perl Enhance C++11 strongly typed enums testcase C++11 strongly typed enums runtime test for python fix for nested template defined out of class (issue #265) C++11 strongly typed enum support Add Java runtime testcases for C++11 strongly typed enums add director_nested_class to list of broken tests Add C# support for wrapping C++11 strongly typed enums Enhance strongly typed enums testcase ... Conflicts: .travis.yml
| * Use -rrbconfig rather than -rmkmf to load rbconfigOlly Betts2015-01-141-1/+1
| | | | | | | | | | Both seem to work, but it's better to ask for the module we actually want rather than rely on it being pulled in indirectly. See #305.
| * Add suggestion to check block delimiterOlly Betts2015-01-142-2/+2
| | | | | | | | | | | | | | | | | | | | The fix for #217 means that blocks of target code delimited by { } with '#' comments in now give errors (previously these lines were quietly discarded). The fix is generally to use %{ %} delimiters instead, so suggest this might be the issue in the error message to help users hitting this issue with wrappers which were apparently working before.
| * Add explanatory comment to pp_unknowndirective2.iOlly Betts2015-01-142-1/+3
| |
| * Fix PHP crash in director_finalizerOlly Betts2015-01-142-5/+2
| |
| * Add 3.0.4 release informationWilliam S Fulton2015-01-135-4/+8
| |
| * Fix typoOlly Betts2015-01-141-1/+1
| |
| * Note 1.8 as the oldest supported versionOlly Betts2015-01-141-7/+13
| |
| * Fix PHP backend for default_args testcaseOlly Betts2015-01-141-10/+11
| |
| * Merge pull request #305 from kkaempf/ruby_2.2William S Fulton2015-01-131-8/+8
| |\ | | | | | | Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.
| | * Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.acKlaus Kämpf2015-01-121-8/+8
| | | | | | | | | | | | | | | | | | | | | The Config namespace was deprecated for a long time and Ruby 2.2 finally removed it. Adapt configure.ac accordingly. This fixes issue #304
| * | Update htmlWilliam S Fulton2015-01-131-0/+1
| | |
| * | Python 3 default args fixWilliam S Fulton2015-01-132-3/+11
| | | | | | | | | | | | | | | | | | Fix 0U and 0L as default args for Python 3 (tests committed in previously commit of default_args.i). Relates to issue #294.
| * | Revert introduction of python:defaultargs featureWilliam S Fulton2015-01-127-55/+29
| |/ | | | | | | See issue #294
| * Add regression test for #217Olly Betts2015-01-122-0/+10
| |
| * [PHP] Fix segfault in director upcall checkOlly Betts2015-01-122-7/+12
| | | | | | | | Manifest only when using PHP built with ZTS enabled.
| * Merge pull request #303 from dertom95/masterOlly Betts2015-01-121-4/+4
| |\ | | | | | | [lua/luarun] change return type to void on functions not returning anything
| | * [lua/luarun] change return type from int to void on functions not returning ↵Thomas Trocha2015-01-111-4/+4
| | | | | | | | | | | | | | | | | | anything Using emscripten compiler to crosscompile to javascript lead to "traps" on this functions which results in a crash
| * | Fix linux gcc warnings and strtol correctionsWilliam S Fulton2015-01-112-4/+6
| | |
| * | Tests for Python default arguments and %pythondefaultargs.William S Fulton2015-01-112-7/+5
| | | | | | | | | | | | Tests changes in previous commit (see patch #294)
| * | Python default arg improvementsVadim Zeitlin2015-01-111-14/+130
| |/ | | | | | | | | Merge the code fixes from patch #294 to more reliably generate default argument values into the python layer.
| * Add note about delimiting blocks of Python codeOlly Betts2015-01-091-0/+12
| | | | | | | | | | | | Using { and } to delimit means Python comments will cause errors with SWIG 3.0.3 and later. With older SWIG it usually just meant such comments failed to appear in the generated output. See issue #221.
| * Fix python default_args testcase for Python 3William S Fulton2015-01-092-11/+11
| | | | | | | | | | Changes for the default_args testcase to run under Python 3 when called from python_default_args testcase
| * Fix Python default argument handing broken since swig-3.0.3William S Fulton2015-01-098-83/+153
| | | | | | | | | | | | | | | | | | | | | | | | Default values are no longer generated as Python code by default. They must be explicitly turned on using the "python:defaultargs" feature. Closes #294 Closes #296 The problems in these two issues when "python:defaultargs" is turned on still need to be fixed and should be addressed in separate patches. The important thing is the default code generation is now fixed.
| * Python default argument test cases from issue #294Vadim Zeitlin2015-01-091-0/+13
| |
| * Wording change for missing semicolon errorWilliam S Fulton2015-01-082-2/+2
| |
| * Handle "constexpr explicit" and "constexpr static"Olly Betts2015-01-093-2/+9
| |
| * Allow C++11 "explicit constexpr"Olly Betts2015-01-083-0/+7
| |
| * Improve errors for missing ; and unexpected )Olly Betts2015-01-084-8/+13
| |
| * Fix typo in old entryOlly Betts2015-01-081-1/+1
| |
| * Add test coverage for unterminated %{ ... %} blockOlly Betts2015-01-082-0/+6
| |
| * When reporting an error for a construct which hasn't been terminatedOlly Betts2015-01-0810-13/+28
| | | | | | | | | | | | when the end of the file is reached, report it at the start line rather than "EOF" as then tools like editors and IDEs will take you to a generally more useful place for fixing the problem.
| * Improve error message for extraneous '%}'.Olly Betts2015-01-083-1/+7
| |
| * Add .gitignore for Examples/test-suite/errors/Olly Betts2015-01-081-0/+4
| |
| * Fix testcase name in expected outputOlly Betts2015-01-081-1/+1
| |
| * Improve error message when an unknown SWIG directive is usedOlly Betts2015-01-086-2/+29
| | | | | | | | | | This previously gave the cryptic "Error: Syntax error in input(1).", but now gives "Error: Unknown directive '%foo'."
| * Update link to point to 3.0 docsOlly Betts2015-01-081-1/+1
| |
| * Fix links to the online 1.3 docs to instead be relativeOlly Betts2015-01-081-2/+2
| |
| * Drop deprecated warnings for ancient optionsOlly Betts2015-01-081-5/+0
| | | | | | | | | | | | | | Support for -stat was removed in SWIG 1.3 Alpha 1 nearly 15 years ago, and the documentation options were removed prior to that, so issuing a warning that they are deprecated and ignoring them serves no useful purpose now.
| * Fix tab to space in HTML preformatted blockOlly Betts2015-01-081-1/+1
| |
| * Provide -cppext as a general command line optionOlly Betts2015-01-085-11/+20
| | | | | | | | | | | | | | | | Provide -cppext as a general command line option for setting the extension used for generated C++ files (previously it was specific to the PHP backend). Deprecate the equivalent -suffix option provided by the Ocaml backend, but continue to support that for now.
| * Split -help output into 4 chunks instead of 3Olly Betts2015-01-081-5/+9
| | | | | | | | | | | | I believe the aim is to keep these below 2KB to avoid string literal length limits on some compiler, but they slowly creep up in size, so split into more chunks and rebalance the contents.
| * More on Go examplesWilliam S Fulton2015-01-071-0/+4
| | | | | | | | [skip ci]
| * Properly quote parameters in preinst-swig wrapper.Olly Betts2015-01-071-1/+1
| | | | | | | | | | | | | | | | | | $* is subject to word-splitting and pathname expansion, whereas "$@" expands to each parameter as a separate quoted word. Some ancient shells expand "$@" to "" if there are no parameters, but that isn't really a concern here as running swig without arguments isn't useful.
| * Fix typoOlly Betts2015-01-071-1/+1
| |
| * Merge pull request #288 from michael-schaller/go-docIan Lance Taylor2014-12-311-22/+37
| |\ | | | | | | [Go] Updated Go documentation (examples, runtime.SetFinalizer, object ow...
| | * [Go] Changed link 'https://github.com/golang/go/tree/master/misc/swig' to ↵Michael Schaller2014-12-251-1/+1
| | | | | | | | | | | | 'https://golang.org/misc/swig' in the Go documentation.
| | * [Go] Updated Go documentation (examples, runtime.SetFinalizer, object ↵Michael Schaller2014-12-241-22/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ownership). * Fixes swig/swig#266. * Added links to working examples. * Added link to runtime.SetFinalizer documentation. * Added recommendation to read the runtime.SetFinalizer documentation before using it. * Clarified that C++ objects ownership is not tracked and thus objects need to be freed manually.
| * | Bump version to 3.0.4William S Fulton2014-12-316-143/+147
| | |
| * | HTML tweaksv3.0.3rel-3.0.3William S Fulton2014-12-291-0/+2
| | |