William S Fulton
4963a7f88f
Fix Python 2 builtin tp_hash hashfunc closure regression when using "python:slot"
...
Closes https://github.com/swig/swig/issues/843
2016-12-23 23:41:07 +00:00
William S Fulton
94e7482e48
Remove illegal operator overload names in R
...
https://github.com/swig/swig/pull/853
2016-12-22 19:59:58 +00:00
William S Fulton
f9158e525f
Revert "Merge pull request #853 from ivannp/underscores"
...
This reverts commit a964098754 , reversing
changes made to bda3a11f9e .
SWIG should only provide default operator names that provide special
standard or conventional meaning in the target language.
2016-12-22 19:47:54 +00:00
William S Fulton
3dfb2298a8
Add further information into changes file about recent %rename template fix
...
https://github.com/swig/swig/issues/856
[skip ci]
2016-12-22 08:41:57 +00:00
Joseph C Wang
c3a8bb5164
add fixes
2016-12-21 22:00:53 +08:00
Joseph Wang
a964098754
Merge pull request #853 from ivannp/underscores
...
Renamed all operators beginning with underscore.
2016-12-21 21:59:32 +08:00
Joseph C Wang
bda3a11f9e
add fixes to changes
2016-12-21 21:55:27 +08:00
Joseph Wang
14a5f9e11d
Merge pull request #839 from richardbeare/RsetMethods
...
Corrected generation of "set" methods for R.
2016-12-21 21:52:27 +08:00
Olly Betts
7a3cfdb013
Fix GCC 7 warnings
...
From -Wimplicit-fallthrough which is now enabled by -W.
2016-12-21 13:05:20 +13:00
Olly Betts
76d1aac47a
Fix isfinite() checks to work with all C++11 compilers
...
Fixes https://github.com/swig/swig/issues/615 ,
https://github.com/swig/swig/pull/788 and https://github.com/swig/swig/pull/849 .
2016-12-21 11:22:26 +13:00
Olly Betts
6c8e3288ec
Note "POTENTIAL INCOMPATIBILITY" re php5 lang subdir
2016-12-21 11:05:42 +13:00
William S Fulton
e6b270b6dc
Suppress incorrect warning when a keyword is used in template classes
...
Closes https://github.com/swig/swig/issues/845
2016-12-20 19:44:57 +00:00
Simon Marchetto
e517128e08
[Scilab] fix compilation, missing return
2016-12-20 10:09:07 +01:00
Simon Marchetto
94bee6b35a
[Scilab] put typemap int/double check into function (to reduce generated code size)
2016-12-19 15:04:30 +01:00
Simon Marchetto
15b3c1dfa3
[Scilab] fix test scilab_pointer_conversion_function for scilab 5.3.3
2016-12-19 15:04:30 +01:00
Simon Marchetto
4d46527c9c
scilab: clean
2016-12-19 15:04:30 +01:00
Olly Betts
ff7825c7a6
Fix doc typo
2016-12-19 13:32:59 +13:00
William S Fulton
6f0af6bec6
Merge branch 'ezralanglois-fix-memory-leak'
...
* ezralanglois-fix-memory-leak:
Replicate Python memory leak fix in std::pair for Octave and Ruby
Fix memory leak in std::pair Python binding
Conflicts:
CHANGES.current
2016-12-18 20:02:40 +00:00
William S Fulton
364fa82499
Replicate Python memory leak fix in std::pair for Octave and Ruby
...
https://github.com/swig/swig/pull/851
2016-12-18 20:00:40 +00:00
William S Fulton
bdf71b0067
Zero initialize %array_functions and %array_class
2016-12-18 17:50:47 +00:00
William S Fulton
cc56765a7a
Zero initialize newly created arrays
...
For consistency to previous fixes:
https://github.com/swig/swig/pull/208
https://github.com/swig/swig/issues/440
2016-12-18 17:50:47 +00:00
William S Fulton
173c028dd4
Add test and changes entry for Python -builtin %array_class fix
...
Issue https://github.com/swig/swig/issues/446
2016-12-18 17:50:47 +00:00
Tsutomu IKEGAMI
b630cc603c
Fix %array_class in carrays.i for Python -builtin
...
Closes https://github.com/swig/swig/issues/446
2016-12-18 17:49:47 +00:00
William S Fulton
eb6121fa30
Minor Java html doc correction
2016-12-18 17:49:47 +00:00
Ivan Popivanov
5ec5266284
Renamed all operators beginning with underscore.
2016-12-17 16:26:10 -08:00
Robert Langlois
631f0c34cc
Fix memory leak in std::pair Python binding
2016-12-17 13:27:25 -08:00
Olly Betts
dc137d14c3
Fix old date in CHANGES.current entry
2016-12-16 16:05:20 +13:00
Brian Caine
391bb79cba
Added support for guile's native pointer type
2016-12-16 15:15:13 +13:00
Simon Marchetto
88b4827d87
scilab: SWIG_ptr() accepts mlist typed pointers and converts them to pointers
2016-12-15 23:57:42 +01:00
Olly Betts
07b7edcd87
[php] Improve %feature("director:except") docs
...
See https://github.com/swig/swig/pull/628
2016-12-15 17:16:20 +13:00
Vadim Zeitlin
04a5215665
Fix using com.sun.tools.javadoc package under macOS
...
Export JAVA_HOME found by configure, so that the Java test suite makefile
could find this package under this directory.
2016-12-13 16:08:17 +01:00
Olly Betts
f474577d5b
Fix "set but not used" warning
2016-12-13 13:58:51 +13:00
Olly Betts
23c0865831
SWIG_Tcl_ObjectDelete: Fix potential NULL pointer dereferences
2016-12-13 12:19:50 +13:00
Olly Betts
a5a6da9547
Fix comment typo
2016-12-13 12:19:09 +13:00
Olly Betts
2b4c1cdd5e
Fix "set but not used" warning
2016-12-13 11:40:45 +13:00
Olly Betts
971b94f5fe
Remove dead assignment
2016-12-13 11:29:30 +13:00
Vadim Zeitlin
31fcda945c
Fix error reporting for special characters in Doxygen parsing code
...
Don't use "+" with a "const char*" and "char", this doesn't do what the code
intended to happen.
Thanks clang for the -Wstring-plus-int warning.
2016-12-12 22:13:25 +01:00
Olly Betts
2e98fddd78
Remove pointless casting away of const
2016-12-13 09:34:48 +13:00
Olly Betts
33c58818cd
Suppress unused parameter warning properly
...
Use SWIGUNUSEDPARM rather than assigning a dummy value to the parameter
(which then causing warnings about an assignment whose value is never
used.
2016-12-13 09:33:00 +13:00
Vadim Zeitlin
148bcab7a0
Switch Python Doxygen unit tests to use inspect.getdoc()
...
Using the standard inspect module instead of accessing __doc__ directly allows
the tests to pass both when using and not using -builtin, as whitespace-only
differences between the docstrings don't matter then because inspect.getdoc()
removes the indentation and the leading and trailing spaces.
This is similar to what had been already done for python_docstring unit test
in fa282b3540 .
2016-12-12 01:26:05 +01:00
Vadim Zeitlin
e668c47b70
Merge branch 'master' into doxygen
...
The way Python docstrings are indented has changed on master, so use the
standard inspect module in Python autodoc unit test to ignore the differences
in their indentation level between -builtin and non-builtin cases to make the
test still pass with the branch version, which avoids the use of different
(but almost identical) values in the test itself.
2016-12-12 01:24:17 +01:00
William S Fulton
b9ad35733a
Install newer version of pep8 on Travis
2016-12-11 22:27:15 +00:00
William S Fulton
bdad87a242
Detect pep8 for both python 2 and python 3 and show version
2016-12-11 22:27:15 +00:00
Vadim Zeitlin
07ebbe84b8
Fix pep8 E265 error in testcase
2016-12-11 22:20:44 +00:00
Olly Betts
d21bb11153
[CI] Remove PHP 7.1 from allow_failures
...
Example reference now works
2016-12-06 16:46:40 +13:00
Olly Betts
2aa2219f28
Fix reference example under PHP 7.1
...
PHP 7.1 no longer supports calling methods with fewer parameters
than declared, so we need to generate __construct() with default
values for all but the first parameter.
2016-12-06 11:01:55 +13:00
Olly Betts
fa785cdd46
[PHP7] Send errors to stderr so they escape RUNPIPE
2016-12-06 08:35:22 +13:00
William S Fulton
3546d096a7
Test php 7.0 and 7.1 on Travis
...
- php-7.1 set as failing for now due to one broken example (references)
- Look for php 7.1 in configure.ac.
2016-12-04 22:48:09 +00:00
William S Fulton
f632ed34f7
Fix python_moduleimport test for -builtn
2016-12-03 16:07:59 +00:00
William S Fulton
2d8ce2a5d7
Slight tweak to empty lines generated in python proxy file
2016-12-03 15:56:09 +00:00