Karl Wette
9e66af3fef
Octave: do not dump Octave core in examples/test suite scripts
...
- If Octave segfaults during cleanup, it usually cannot dump its core
and therefore just freezes, which hold up e.g Travis build jobs
2017-01-01 19:06:51 +13:00
William S Fulton
70801d47d1
changes file update for deprecated C++11 functions
2016-12-31 00:13:35 +00:00
William S Fulton
84c0cb2fe0
Merge branch 'ajrheading1-remove-unary-binary-function'
...
* ajrheading1-remove-unary-binary-function:
Remove inheritance from std::unary_function and std::binary_function, they are deprecated in C++11 and already removed in Visual C++ '15' running with /std:c++latest
2016-12-31 00:10:26 +00:00
William S Fulton
12e1ab0e93
Bump version to 3.0.12
2016-12-30 23:49:46 +00:00
Olly Betts
26a01e1b83
[PHP7] Fix segfault on module unload
...
Register internal 'swig_runtime_data_type_pointer' constant as
"CONST_PERSISTENT" to avoid segmentation fault on module unload. Fixes
https://github.com/swig/swig/issues/859 reported by Timotheus Pokorra -
thanks also to Javier Torres for a minimal reproducer.
2016-12-30 16:05:53 +13:00
Olly Betts
0aac18b2a1
[PHP] destroy_globals function is empty, so drop
...
We can just pass NULL instead.
2016-12-30 16:02:01 +13:00
Olly Betts
36ee653d3b
Omit module functions when there's no code
...
MSHUTDOWN, RINIT, RSHUTDOWN and MINFO are often empty, so check and
omit them if this is the case, and set the module structure entry to
NULL instead. Reduces code size, number of external functions on the
module, and runtime overhead a little (RINIT and RSHUTDOWN are called
on every request when used with a webserver).
2016-12-30 15:36:08 +13:00
Olly Betts
cf60bb8895
[php7] Drop special code for PHP < 5.4
2016-12-30 14:56:53 +13:00
Olly Betts
4a2ede0820
[PHP7] Remove lingering generated ZTS code
...
ZTS is gone in PHP7 so these are dead code.
2016-12-30 12:41:19 +13:00
William S Fulton
7c8cb62271
Add 3.0.11 release date
2016-12-29 18:02:27 +00:00
Anthony Heading
1871acd4bc
Remove inheritance from std::unary_function and std::binary_function,
...
they are deprecated in C++11 and already removed in Visual C++ '15'
running with /std:c++latest
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3145.html
2016-12-29 00:56:46 -05:00
William S Fulton
5919e9c3c7
Consistent referencing of issues in the changes file.
...
[skip ci]
2016-12-27 19:45:02 +00:00
William S Fulton
56dd5a0dbb
Add release notes
2016-12-27 19:31:18 +00:00
William S Fulton
01fa85bda7
Add %feature("csdirectordelegatemodifiers") for C#
...
Enable customization of the delegate access modifiers generated in director classes.
Fixes https://github.com/swig/swig/issues/748
2016-12-24 17:14:36 +00:00
William S Fulton
10366d16e3
Fix documented C# director class example to reflect the generated code
...
https://github.com/swig/swig/issues/748
2016-12-24 16:10:47 +00:00
William S Fulton
c7eab6e5f0
Remove cdata.i module not supported message
2016-12-24 16:08:58 +00:00
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
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