William S Fulton
a1771cb8a0
Fix potential security exploit in generated Java classes
2015-08-02 11:22:46 +01:00
William S Fulton
130834aac2
Merge branch 'vadz-msw-srcdir'
...
* vadz-msw-srcdir:
SWIG_LIB fix for out of source MinGW builds
Use "mixed" path to source directory under Cygwin.
2015-08-02 10:07:59 +01:00
William S Fulton
f5db2b43e6
SWIG_LIB fix for out of source MinGW builds
2015-08-02 10:05:09 +01:00
William S Fulton
026d879058
Move MinGW mixed path conversion code to the pathconvert tool
...
In preparation for adding MinGW support to patch #438 .
2015-08-01 23:08:53 +01:00
William S Fulton
cc6804724f
Improve configure output when python is not installed
2015-08-01 17:43:36 +01:00
William S Fulton
4ffbe8fc2c
Merge branch 'kkaempf-fix-configure-ocamlc-setting'
...
* kkaempf-fix-configure-ocamlc-setting:
Ocaml configure changes
Set OCAMLC to empty if Ocaml compiler not found
2015-07-30 23:35:12 +01:00
William S Fulton
a3f0921c57
Ocaml configure changes
...
Remove use of peculiar ':' default for OCAML in AC_CHECK_PROGS.
Further refinement of issue #458 .
2015-07-30 23:32:54 +01:00
William S Fulton
4b23f5d9d4
Consistent memory initialization in php typemaps.
...
Memory was only initialized in C and not C++ - potential bug?
2015-07-30 20:41:20 +01:00
William S Fulton
1ba48ceb99
Initialise all newly created arrays in arrays.i library.
...
Affects C++ code only.
Closes #440 .
2015-07-30 20:41:15 +01:00
William S Fulton
cd04b372a4
Consistent memory intiailization between C and C++ in typemaps
...
Remove unnecessary initialization via calloc calls and replace with
malloc.
2015-07-30 20:20:38 +01:00
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