Commit graph

17,485 commits

Author SHA1 Message Date
Vadim Zeitlin
34787ab98e Python default argument test cases from issue #294 2015-01-09 00:33:57 +00:00
William S Fulton
af43f90484 Wording change for missing semicolon error 2015-01-08 23:37:52 +00:00
Olly Betts
bfa570e404 Handle "constexpr explicit" and "constexpr static" 2015-01-09 11:47:40 +13:00
Olly Betts
87bdaa3910 Allow C++11 "explicit constexpr" 2015-01-08 15:56:50 +13:00
Olly Betts
62670e756e Improve errors for missing ; and unexpected ) 2015-01-08 15:27:57 +13:00
Olly Betts
d315187a1c Fix typo in old entry 2015-01-08 14:15:46 +13:00
Olly Betts
8fbdd75a0b Add test coverage for unterminated %{ ... %} block 2015-01-08 13:26:39 +13:00
Olly Betts
ce90ff6a77 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.
2015-01-08 13:19:17 +13:00
Olly Betts
51487c1acc Improve error message for extraneous '%}'. 2015-01-08 12:47:12 +13:00
Olly Betts
19961d7135 Add .gitignore for Examples/test-suite/errors/ 2015-01-08 12:25:47 +13:00
Olly Betts
809ebef1f8 Fix testcase name in expected output 2015-01-08 12:21:23 +13:00
Olly Betts
04715f74e2 Improve error message when an unknown SWIG directive is used
This previously gave the cryptic "Error: Syntax error in input(1).", but
now gives "Error: Unknown directive '%foo'."
2015-01-08 12:07:54 +13:00
Olly Betts
9ca6f78b07 Update link to point to 3.0 docs 2015-01-08 11:16:48 +13:00
Olly Betts
70280970d6 Fix links to the online 1.3 docs to instead be relative 2015-01-08 11:16:19 +13:00
Olly Betts
fc60a97ebe Drop deprecated warnings for ancient options
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.
2015-01-08 10:55:58 +13:00
Olly Betts
4912920416 Fix tab to space in HTML preformatted block 2015-01-08 10:55:35 +13:00
Olly Betts
cd16059c66 Provide -cppext as a general command line option
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.
2015-01-08 10:54:37 +13:00
Olly Betts
0acebe2289 Split -help output into 4 chunks instead of 3
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.
2015-01-08 10:14:18 +13:00
William S Fulton
bfccd9c441 More on Go examples
[skip ci]
2015-01-07 20:46:25 +00:00
Olly Betts
430fe58a24 Properly quote parameters in preinst-swig wrapper.
$* 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.
2015-01-07 18:14:44 +13:00
Olly Betts
e4326229b6 Fix typo 2015-01-07 12:40:31 +13:00
Ian Lance Taylor
aa4d034e8e Merge pull request #288 from michael-schaller/go-doc
[Go] Updated Go documentation (examples, runtime.SetFinalizer, object ow...
2014-12-31 10:33:37 -08:00
William S Fulton
73222a1cd1 Bump version to 3.0.4 2014-12-31 01:22:16 +00:00
William S Fulton
30537089ca HTML tweaks 2014-12-29 21:54:58 +00:00
William S Fulton
5ec7fe578b Add 3.0.3 release information 2014-12-29 21:35:28 +00:00
William S Fulton
926c9d3200 Minor tweaks to the changes file 2014-12-29 21:35:23 +00:00
William S Fulton
cb4d0dbba5 %constant and structs support for Lua 2014-12-29 17:36:56 +00:00
William S Fulton
3aab2df371 Fix D examples when run 'in-source' 2014-12-29 17:17:25 +00:00
William S Fulton
2d340efe0d Fix D examples clean
Was not working if run out of source without previously running D examples
2014-12-28 19:54:46 +00:00
William S Fulton
063aa9e3c5 Revert "Fix D examples clean"
This reverts commit c26010eb01.
2014-12-28 19:14:25 +00:00
William S Fulton
1610ca86dd Fix javascript clean 2014-12-28 19:07:32 +00:00
William S Fulton
df4a219564 Let Octave 3.8 fail in Travis
Too many internal compiler errors in gcc are failing the builds
2014-12-28 17:40:12 +00:00
William S Fulton
c26010eb01 Fix D examples clean 2014-12-28 17:35:18 +00:00
William S Fulton
8b9d68582d Fix javascript clean
Regression introduced a couple of commits ago
2014-12-28 17:35:18 +00:00
William S Fulton
427a937173 Merge branch 'michael-schaller-gitignore'
* michael-schaller-gitignore:
  Added auto-generated 'Examples/d/example.mk' to '.gitignore'.
2014-12-28 16:35:47 +00:00
William S Fulton
2b04d37b94 Tidy up Javascript build system 2014-12-28 16:13:22 +00:00
William S Fulton
d79f11501d Don't delete checked in files with 'make distclean'
Occurs when ruby is not detected.
Fixes #290.
2014-12-28 15:26:27 +00:00
William S Fulton
ad5890bb46 Reduce scope of template_default_class_parms testcase
%template is not working for all languages yet - remove it until fixed
2014-12-28 13:05:30 +00:00
William S Fulton
ee35389d22 Fix abort using template default parameters
Closes #280
2014-12-28 10:39:53 +00:00
William S Fulton
eec306c228 Test suite warning fixes 2014-12-28 10:38:12 +00:00
Robert Stone
03570f85f2 [Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang 2014-12-27 20:45:11 -08:00
Robert Stone
1c47cc7289 Merge pull request #292 from talby-/perl-archlibexp
Issue #282 perl5 archlib vs archlibexp
2014-12-27 15:55:37 -08:00
Robert Stone
c432073626 Issue #282 perl5 archlib vs archlibexp 2014-12-27 12:48:58 -08:00
Michael Schaller
9a0fbef431 [Go] Changed link 'https://github.com/golang/go/tree/master/misc/swig' to 'https://golang.org/misc/swig' in the Go documentation. 2014-12-25 09:48:59 +01:00
Michael Schaller
0a3fb69a27 [Go] Updated Go documentation (examples, runtime.SetFinalizer, object 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.
2014-12-24 11:03:17 +01:00
Michael Schaller
631c3b18d7 Added auto-generated 'Examples/d/example.mk' to '.gitignore'. 2014-12-24 08:52:27 +01:00
William S Fulton
5c57a8c877 Warning suppressions in tests 2014-12-22 20:35:13 +00:00
William S Fulton
31df3077b3 nested_scope test fixes for clang 2014-12-21 20:41:31 +00:00
William S Fulton
93d58cd3ed Fix use of preprocessor null directive
This was broken recently in commit 255c929c56
for issue #217
2014-12-20 17:05:13 +00:00
William S Fulton
68a936a638 Add testcase for nested inner class deriving from a templated base class and defined outside of the outer class.
For languages that don't support nested class support, use flatnested.
See issue #270
2014-12-19 19:35:38 +00:00