summaryrefslogtreecommitdiff
path: root/Examples
Commit message (Collapse)AuthorAgeFilesLines
* Disable director_thread_runme.phpv3.0.4rel-3.0.4Olly Betts2015-01-151-0/+3
| | | | This fails in a ZTS build of PHP.
* Add suggestion to check block delimiterOlly Betts2015-01-141-1/+1
| | | | | | | | | | 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
|
* Python 3 default args fixWilliam S Fulton2015-01-131-0/+6
| | | | | | 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-124-11/+5
| | | | See issue #294
* Add regression test for #217Olly Betts2015-01-122-0/+10
|
* Tests for Python default arguments and %pythondefaultargs.William S Fulton2015-01-112-7/+5
| | | | Tests changes in previous commit (see patch #294)
* 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-095-67/+107
| | | | | | | | | | | | 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-081-1/+1
|
* Handle "constexpr explicit" and "constexpr static"Olly Betts2015-01-091-1/+5
|
* Allow C++11 "explicit constexpr"Olly Betts2015-01-081-0/+2
|
* Improve errors for missing ; and unexpected )Olly Betts2015-01-082-2/+2
|
* 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-088-6/+14
| | | | | | 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-081-1/+1
|
* 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-082-0/+8
| | | | | This previously gave the cryptic "Error: Syntax error in input(1).", but now gives "Error: Unknown directive '%foo'."
* Fix D examples when run 'in-source'William S Fulton2014-12-291-3/+9
|
* Fix D examples cleanWilliam S Fulton2014-12-281-1/+4
| | | | Was not working if run out of source without previously running D examples
* Revert "Fix D examples clean"William S Fulton2014-12-282-4/+4
| | | | This reverts commit c26010eb010b0b3a9dd738edc51688dec9cca078.
* Fix javascript cleanWilliam S Fulton2014-12-281-2/+2
|
* Fix D examples cleanWilliam S Fulton2014-12-282-4/+4
|
* Fix javascript cleanWilliam S Fulton2014-12-281-3/+3
| | | | Regression introduced a couple of commits ago
* Tidy up Javascript build systemWilliam S Fulton2014-12-282-6/+5
|
* Don't delete checked in files with 'make distclean'William S Fulton2014-12-281-1/+1
| | | | | Occurs when ruby is not detected. Fixes #290.
* Reduce scope of template_default_class_parms testcaseWilliam S Fulton2014-12-281-1/+4
| | | | %template is not working for all languages yet - remove it until fixed
* Fix abort using template default parametersWilliam S Fulton2014-12-282-0/+48
| | | | Closes #280
* Test suite warning fixesWilliam S Fulton2014-12-288-34/+40
|
* Warning suppressions in testsWilliam S Fulton2014-12-225-5/+8
|
* nested_scope test fixes for clangWilliam S Fulton2014-12-211-8/+11
|
* Fix use of preprocessor null directiveWilliam S Fulton2014-12-202-0/+19
| | | | | This was broken recently in commit 255c929c5636f54c16261bd92b8eea2005d61b11 for issue #217
* Add testcase for nested inner class deriving from a templated base class and ↵William S Fulton2014-12-194-0/+79
| | | | | | | defined outside of the outer class. For languages that don't support nested class support, use flatnested. See issue #270
* Add in missing constant_directive.i testWilliam S Fulton2014-12-181-0/+28
|
* Partial support for %constant and structsWilliam S Fulton2014-12-182-0/+23
| | | | | | | Test case is slightly modified from the test case in issue #250 Use of constant objects does not seem to work in Python - the type is SwigPyObject instead of constant_directive.Type1.
* Ignore E402 (import not on top of file) PEP8 error.Vadim Zeitlin2014-12-161-1/+1
| | | | | | | | | Travis uses the latest pep8 sources from Git and since https://github.com/jcrocholl/pep8/commit/f3a12babd4278f8f7a529a9d1d63d56faf071cf8 this error is given for all Python files generated by SWIG with -builtin option.
* Add PEP8_FLAGS variable to the test suite Python makefile.Vadim Zeitlin2014-12-161-2/+3
| | | | | | Put pep8 options into this variable to avoid repeating them twice. No real changes.
* Fix templated constructors regressionWilliam S Fulton2014-12-093-0/+74
| | | | | | | Templated constructors were incorrectly ignored because SWIG thought they were methods without a return type. Regression introduced in swig-3.0.0 Closes #245.
* Fix regression in introduced in merge of C++11 strongly typed enums supportWilliam S Fulton2014-12-071-3/+0
| | | | | | | - Guile constants bad casts generated - Go non-public enum value wrappers assert failure Also cosmetic test comment correction
* Merge master and C++11 strongly typed enum supportWilliam S Fulton2014-12-074-0/+58
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging from master: * 'master' of github.com:/swig/swig: Add more docs about _global_ prefix in typemap temporary variables Add clarification on _global_ prefix. fix for nested template defined out of class (issue #265) using an unknown constant emits a notice, not a warning Fix typo Consistently put whitespace outside of <tt>...</tt> and not inside wording tweak Go: Document memory management of C++ classes allocated in Go. Fixes #266. revert unrelated file Fix #224 Fixes for clang -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error delete unmeaningful macro Go: fix overload functions with polymorphic issue del tmp files GoLang:fix overload functions with polymorphic issue
| * fix for nested template defined out of class (issue #265)Vladimir Kalinin2014-11-251-0/+24
| |
| * Merge pull request #235 from dontpanic92/masterianlancetaylor2014-11-173-0/+34
| |\ | | | | | | Go: fix overload functions with polymorphic
| | * revert unrelated fileAnthony Li2014-11-111-0/+9
| | |
| | * delete unmeaningful macroAnthony Li2014-11-052-12/+0
| | |
| | * Go: fix overload functions with polymorphic issueAnthony Li2014-10-061-0/+9
| | |
| | * del tmp filesAnthony Li2014-10-06659-175084/+0
| | |
| | * GoLang:fix overload functions with polymorphic issueAnthony Li2014-10-06661-0/+175112
| | |
* | | Add c++11 strongly typed enums runtime test for JavascriptWilliam S Fulton2014-12-021-0/+165
| | |