Commit graph

18,662 commits

Author SHA1 Message Date
Orion Poplawski
350c410d4b Update print() signature for octave 4.0 2015-07-09 19:20:46 -06:00
Orion Poplawski
248890aad0 Support for octave 4.0.0 2015-07-08 13:26:36 -06:00
William S Fulton
3718b810c7 Don't generate constructor wrappers if a base class has a private constructor
g++-5 errors out with this now with errors such as:

default_constructor_wrap.cxx:665:27: error: use of deleted function ‘FFF::FFF()’
   result = (FFF *)new FFF();
                           ^
default_constructor_wrap.cxx:314:7: note: ‘FFF::FFF()’ is implicitly deleted because the default definition would be ill-formed:
 class FFF : public F {
       ^
default_constructor_wrap.cxx:301:4: error: ‘F::~F()’ is private
    ~F() { }
    ^
default_constructor_wrap.cxx:314:7: error: within this context
2015-07-07 20:15:55 +01:00
William S Fulton
1514e19efb Test-suite fixes for c++11 compilation by g++-5.1 2015-07-06 20:07:23 +01:00
William S Fulton
d325eeee84 Fix incorrect test case code 2015-07-06 19:50:22 +01:00
William S Fulton
55686fbe56 Bump version to 3.0.7 2015-07-06 06:55:43 +01:00
William S Fulton
4e23595704 Unused method warning suppression for Javascript v8 2015-07-05 17:59:41 +01:00
William S Fulton
d9bfccfc4e Add 3.0.6 release notes and release date 2015-07-05 17:16:38 +01:00
William S Fulton
3b859ab539 Html doc fixes 2015-07-05 17:16:37 +01:00
William S Fulton
fea1bbb188 Testcase workaround for Solaris 2015-07-05 17:16:37 +01:00
William S Fulton
af5906f915 parent_class testcase name warning fixes for PHP 2015-07-05 09:29:47 +01:00
William S Fulton
81f0050135 Perl5 carrays testcase fix
Number of loops is different since seg fault fix in e543299
2015-07-04 23:23:57 +01:00
William S Fulton
41fd7c17e0 Merge branch 'appveyor-check-test-suite'
* appveyor-check-test-suite:
  Appveyor testing expanded
  Fix array overrun in li_carrays testcase
  Warning fixes in generated Python code for 64bit Visual C++ on Windows.
  Warning fixes in generated C# code for 64bit Visual C++ on Windows.
  Warning fixes for 64bit visual c++ on Windows
  Warning fixes in generated Java code for 64bit Visual C++ on Windows.
  Warning fixes for 64bit visual c++ on Windows
  C# gc tests failure fix
  Add a space between literal and string macro
2015-07-04 21:34:42 +01:00
William S Fulton
5dce99751c Appveyor testing expanded
- New variable to control version of Visual Studio to use on appveyor
- Enable VS2015 (14.0) for C#
- Run full check-test-suite and not just partialcheck-test-suite since
  Appveyor performance improvements since using dedicated Hyper-V
  instead of Azure.
- Allow 64 bit Python 2.7 to fail on Appveyor as a vector container
  slicing bug needs fixing.
2015-07-04 21:01:28 +01:00
William S Fulton
e543299d97 Fix array overrun in li_carrays testcase 2015-07-04 20:53:49 +01:00
William S Fulton
12dbbf13cc Correct testcase use of typename to be inside a template II 2015-07-04 15:07:38 +01:00
Joseph C Wang
fe39ef5fae suppress warning for ExternalReference print 2015-07-04 13:22:55 +08:00
William S Fulton
2b4dda39bb Warning fixes in generated Python code for 64bit Visual C++ on Windows. 2015-07-03 20:59:25 +01:00
William S Fulton
236822b488 Warning fixes in generated C# code for 64bit Visual C++ on Windows. 2015-07-03 20:59:24 +01:00
William S Fulton
fb2b1af2e7 Warning fixes for 64bit visual c++ on Windows 2015-07-03 20:59:24 +01:00
William S Fulton
c7da8bb06e Warning fixes in generated Java code for 64bit Visual C++ on Windows. 2015-07-03 20:59:24 +01:00
William S Fulton
edcdaaec16 Warning fixes for 64bit visual c++ on Windows 2015-07-03 20:59:24 +01:00
William S Fulton
c767b33c3f C# gc tests failure fix
Sometimes the GC just won't run the finalizers, so we output a warning
instead of throwing an error, so now the test-suite will pass but with a
warning if the number of objects is not as expected.

li_std_auto_ptr was failing during Appveyor testing

An equivalent change was put into the corresponding Java runtime tests a
while back.
2015-07-03 20:59:24 +01:00
William S Fulton
335572170b Correct testcase use of typename to be inside a template 2015-07-03 20:59:23 +01:00
Nils Gladitz
925cec3a82 Add a space between literal and string macro
In C++11 a space between a literal and string macro is required.
2015-07-03 20:59:23 +01:00
William S Fulton
05397cf6a2 Fix syntax error when the template keyword is used in types
For example:
  std::template vector<int> v;
2015-07-02 19:23:37 +01:00
Olly Betts
9c06cbba51 Add CHANGES.current entry for PR #452 2015-07-02 09:38:21 +12:00
Olly Betts
f1be7ad3ee Merge pull request #452 from ngladitz/lua-char-typemap
lua: push characters as unformatted 1-character strings
2015-07-02 09:35:06 +12:00
Nils Gladitz
ca208cfe35 lua: push characters as unformatted 1-character strings
Since Lua 5.3 the "%c" format character in lua_pushfstring will produce
the string "<\XXX>" (XXX being a decimal code sequence) when
given unprintable characters.

Use lua_pushlstring instead to reproduce the old behavior.
2015-07-01 12:24:12 +02:00
Olly Betts
6528e380cb Fix or workaround PEP8 warnings 2015-06-30 01:36:07 +12:00
Olly Betts
8208d12aa5 Document use of %pythoncode "file.py"
As discussed in github issue #379.
2015-06-29 22:24:59 +12:00
Olly Betts
822b2355c0 Improve handling of whitespace in %pythoncode
Previously SWIG looked at the indentation of the first line and removed
that many characters from each subsequent line, regardless of what those
characters were.  This was made worse because SWIG's preprocessor removes
any whitespace before a '#'.  Fixes github issue #379, reported by Joe
Orton.
2015-06-29 22:12:38 +12:00
Olly Betts
a8c6f9c9e2 Drop removal of libtool on "make distclean"
SWIG stopped using libtool over 11 years ago.
2015-06-29 19:57:40 +12:00
William S Fulton
0650f3535e Appveyor: use default os image 2015-06-25 11:31:57 +01:00
Simon Marchetto
078ad6cb86 simplify SWIG_SciString_AsChar() 2015-06-23 16:24:35 +02:00
Simon Marchetto
b05f0057ca improve support of varargs 2015-06-23 16:24:35 +02:00
Simon Marchetto
05cfa06dbb scilab: use freeAllocatedSingleString() after getAllocatedSingleTree() 2015-06-23 16:24:35 +02:00
Simon Marchetto
64e5215f29 scilab: fix memory leak 2015-06-23 16:24:35 +02:00
William S Fulton
0b436c65ca Cosmetic parser change
Rename typemap_parameter_declarator as it is no longer just used for typemaps
2015-06-22 07:04:34 +01:00
William S Fulton
6890dfa881 Fix parse errors for C++11 type aliasing
Recently introduced by the fix for C++11 type aliasing seg fault - 117f6d00
2015-06-22 07:04:34 +01:00
Ian Lance Taylor
11d8403c3c [Go] Fix member variables in base classes to handle CWRAP_NATURAL_VAR
correctly.  Add a test case for the problem.

Fixes #339.
2015-06-20 17:42:44 -07:00
Ian Lance Taylor
c6b3088e58 [Go] Add Makefile testing support for changes in upcoming Go 1.5 release.
No effect on the SWIG program itself.
2015-06-19 14:29:38 -07:00
William S Fulton
e180430f1e -external-runtime doc improvement
Closes #441
[skip ci]
2015-06-16 19:53:09 +01:00
William S Fulton
53b7659ebf Fix Python pep8 warning when using -fastinit (or -O)
Fixes: E231 missing whitespace after ','
2015-06-16 08:11:29 +01:00
William S Fulton
180e21269d Fix python -builtin -O and overloaded functions
More specifically fixes compile errors using -builtin -fastunpack -modernargs.
Recent regression (416277b). Closes #436.
2015-06-16 07:59:22 +01:00
William S Fulton
b1f2d0749e Don't fail R in Travis - runtime tests are failing in this environment 2015-06-13 10:29:09 +01:00
William S Fulton
b94820adcf Fix r.cxx build break 2015-06-12 23:37:08 +01:00
William S Fulton
1f53615935 Add R to travis testing 2015-06-12 20:28:49 +01:00
William S Fulton
9b2bde403b R - Remove constantWrapper message wrapping constants
An implementation is still needed for constants.
2015-06-12 20:26:24 +01:00
William S Fulton
5fb344e0e6 R - fix duplicate generation of 'self' parameter.
Fixes director_keywords test case.
2015-06-12 20:25:00 +01:00