William S Fulton
00a9b8d3af
Merge branch 'docstring-indentation'
...
* docstring-indentation:
Improve python code indentation warning / error messages
Function comment header formatting corrections
Improve Python docstring indentation handling
2015-07-30 20:17:49 +01:00
Vladimir Kalinin
366e8a9f06
Restored broken ignoring of operators etc. Added more comments.
...
Added check for explicit $ignore, to allow correct using protected symbols
This is a single commit for patch #476
2015-07-30 08:40:52 +01:00
William S Fulton
e69cc0c0f5
Improve python code indentation warning / error messages
2015-07-30 08:26:17 +01:00
William S Fulton
a779f9bbc1
Function comment header formatting corrections
2015-07-30 08:26:17 +01:00
William S Fulton
fa282b3540
Improve Python docstring indentation handling
...
SWIG-3.0.5 and earlier sometimes truncated text provided in the docstring
feature.
SWIG-3.0.6 gave a 'Line indented less than expected' error instead of
truncating the docstring text.
Now the indentation for the 'docstring' feature is smarter and is
adjusted so that no truncation occurs.
Closes #475
2015-07-30 08:26:08 +01:00
xantares
812f789db6
Avoid gcc uninitialized variable warnings in Python wrappers.
...
Just initialize the local array with zeroes.
Closes #453 .
2015-07-25 19:10:06 +02:00
William S Fulton
3ab7315cf9
Merge pull request #467 from vadz/no-callback-in-autodoc
...
Remove callback function from autodoc unit test.
2015-07-24 23:07:54 +01:00
William S Fulton
457e0bfa81
Typemap attribute fixes
...
Fix for breakages in previous few commits:
- Perl test-suite - the "varout" typemap "type" attribute is now
expanded in typemap.c instead of Perl.cxx.
- The swig_typemap_warn errors testcase showed that $1 was no longer
being expanded correctly when used in output typemaps (lname not set).
2015-07-24 00:32:46 +01:00
William S Fulton
beabf61ef6
Merge branch 'LindleyF-typemap-in-descriptor'
...
* LindleyF-typemap-in-descriptor:
Add documentation and CHANGES for special variables and typemap attributes.
Support special variable expansion in special variable macros in typemap attributes.
Enable variable and typemap substitution in typemap kwargs, and a test that verifies this works for directorin:descriptor.
2015-07-22 23:44:58 +01:00
William S Fulton
f482adc6d1
Add documentation and CHANGES for special variables and typemap attributes.
...
Also add info about special variable expansions in special variable
macros.
2015-07-22 23:28:26 +01:00
Vladimir Kalinin
a8048c84c8
Merge pull request #472 from wkalinin/ignore_warning
...
"ignore" warning (2)
2015-07-23 01:05:36 +03:00
William S Fulton
2f00f6c8cc
Support special variable expansion in special variable macros in typemap attributes.
...
Add test cases for special variable expansions and special variable
macros (aka embedded typemaps) expansion.
2015-07-22 22:04:35 +01:00
Lindley French
94f683868a
Enable variable and typemap substitution in typemap kwargs, and a test that verifies this works for directorin:descriptor.
2015-07-22 11:31:21 -07:00
Vladimir Kalinin
c7e4c2d418
refactoring: 2 ways of ignoring symbol in add_symbols() merged for clarity
2015-07-22 15:40:13 +03:00
Vladimir Kalinin
c087580767
Merge pull request #470 from wkalinin/ignore_warning
...
missing feature:ignore
2015-07-21 22:04:30 +03:00
Vladimir Kalinin
6915061b7d
explicitly %ignore'd symbol does not get feature:ignore if it is only added to C symbol table
2015-07-21 19:30:44 +03:00
Vadim Zeitlin
a4b319ce8e
Remove callback function from autodoc unit test.
...
It doesn't seem to belong there at all, there is a dedicated callback unit
test for it and it was added to the initial version of autodoc.i back in
124253d698 without any explanation, so just
remove it.
As this callback was used in a PHP test, perform this test for callback.i now
and use "%(uppercase)s" construct inside %callback to test that this works.
2015-07-19 18:14:06 +02:00
William S Fulton
54aef6686a
Octave 4.0 fails in Travis
...
Mark as failing in Travis due to gcc 4.6 internal compiler error
2015-07-19 15:10:10 +01:00
Vadim Zeitlin
08fa873638
Make callback unit test pass for PHP backend.
...
Deprecated %callback(1) doesn't work with PHP, use "%s" to give the same name
to the callback as to the C function explicitly instead.
2015-07-19 00:13:08 +02:00
William S Fulton
a00ab42f80
Merge branch 'm7thon-issue-445-python-class-docstrings'
...
* m7thon-issue-445-python-class-docstrings:
Add changes note for Python tp_doc slot and docstring
Set class docstring in tp_doc slot for python -builtin
Conflicts:
CHANGES.current
2015-07-18 00:14:37 +01:00
William S Fulton
484077088c
Add changes note for Python tp_doc slot and docstring
...
Issue #461
2015-07-18 00:09:31 +01:00
Anbiru Shouta
977240b3f4
Clearer variable name in Java director generated code
...
Closes #463
2015-07-17 22:34:08 +01:00
William S Fulton
64652523d5
warning fixes
2015-07-17 18:18:44 +01:00
William S Fulton
8ccf639f42
String / char * usage in parser fixes
2015-07-17 18:14:25 +01:00
William S Fulton
2e03845be8
const char * fixes in the parser
2015-07-17 17:50:11 +01:00
Karl Wette
8261fc7fc4
Update CHANGES.current and Octave.html to indicate Octave 4.0.0 support
2015-07-17 09:49:44 +02:00
Karl Wette
53feb8ee3a
Merge pull request #462 from mtmiller/fix-mkoctfile
...
Octave: use correct mkoctfile executable
2015-07-17 09:32:49 +02:00
Karl Wette
695b88f1ac
Merge pull request #460 from opoplawski/octave4
...
Support for octave 4.0.0
2015-07-17 09:32:28 +02:00
Mike Miller
5ab9563c2a
Octave: use correct mkoctfile executable
...
Allow a versioned Octave executable to be configured via --with-octave
and the correct corresponding mkoctfile executable to be used.
2015-07-11 19:05:30 -04:00
Orion Poplawski
68e833a5b9
Add octave 4.0 to travis
2015-07-10 22:37:43 -06:00
William S Fulton
d49267ca3f
Fix compile flags for Travis C++11 testing
2015-07-11 00:02:10 +01:00
William S Fulton
f815209c7d
Travis testing c++11 and gcc5
...
Modify testflags.py to control the -std= option passed to gcc
Install new boost for c++11 with gcc5 testing
2015-07-10 22:02:14 +01:00
William S Fulton
5a282f3ac3
c++11 test case fixes
2015-07-10 21:50:35 +01:00
Orion Poplawski
1d5d224328
Fix default_constructor_runme.m test
2015-07-10 11:59:45 -06:00
Orion Poplawski
5a6a39a4ee
Add #include <climits> for INT_MAX
2015-07-10 08:24:09 -06:00
Orion Poplawski
350c410d4b
Update print() signature for octave 4.0
2015-07-09 19:20:46 -06:00
Michael Thon
7ed63b11d7
Set class docstring in tp_doc slot for python -builtin
2015-07-09 02:05:33 +02:00
William S Fulton
9244621827
Travis testing extended to test c++11 and c++14 with gcc-5
...
- SWIG executable compiled with gcc-5 using both c++11 and c++14 standards
- cpp11 tests enabled using c++11 standard
- Add clang compile using c++11
2015-07-09 00:12:42 +01:00
William S Fulton
701f8d4bae
Configuring C++11 compiler flags for testing fix
2015-07-09 00:12:28 +01: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