William S Fulton
16b583ec25
Move cpp11_hash_tables test to Ruby makefile until other languages work
2017-02-10 19:38:00 +00:00
William S Fulton
dee6b075a8
Fix seg fault parsing unterminated raw string literals
2017-02-09 22:02:20 +00:00
William S Fulton
4262fab626
Merge branch 'jcsharp-patch-1'
...
* jcsharp-patch-1:
Add tests for constructing C# std::vector from various container interface types
Replace ICollection with IEnumerable<T>
2017-02-08 20:05:32 +00:00
William S Fulton
281eec7d18
Add tests for constructing C# std::vector from various container interface types
2017-02-08 20:02:40 +00:00
William S Fulton
1730210013
Remove differences from lua example compared to Python version
2017-02-06 20:30:13 +00:00
William S Fulton
35ef98f4d0
Give same name to common example
2017-02-06 20:30:13 +00:00
William S Fulton
760c008311
Warning fixes for gcc-7
...
warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
2017-02-06 20:30:09 +00:00
William S Fulton
f16f7ada79
add missing test function implementation
2017-02-04 19:18:54 +00:00
Guerin
77a9907dd9
Update ocaml documentation ( #885 )
...
Update ocaml simple example documentation
Replaced python references by ocaml ones.
2017-02-01 10:46:17 +13:00
Takashi Tamura
ec9b380c0c
[ruby] add tests for unordered containers.
2017-01-29 11:18:53 +09:00
William S Fulton
fbeb566014
Remove incorrect executable bit
...
[skip ci]
2017-01-27 23:52:02 +00:00
William S Fulton
2e18764b55
Remove shebang from non executable file
...
[skip ci]
2017-01-27 23:51:51 +00:00
Brian Caine
892f3592cc
Redid the source and the text to check for SCM_MAJOR_VERSION >= 2
2017-01-27 19:06:33 +00:00
Brian Caine
567f944129
Doesn't run argout test if (system foreign), and in particular, bytevector->pointer doesn't exist
2017-01-27 19:06:12 +00:00
William S Fulton
1efcdd8c56
Remove error test that does warn
2017-01-26 20:34:56 +00:00
William S Fulton
a8e1862aca
Remove warnings in Octave testcase
2017-01-26 20:02:37 +00:00
William S Fulton
8a4ab380a1
Java director typemaps and test tweak
...
- Fix java_director_typemaps test name clash ensuring parallel tests work
- Replace assert with code that is guaranteed to run
- Nicer generated code from directorargout typemap
2017-01-24 23:47:30 +00:00
William S Fulton
2abdb50f60
Merge branch 'andrey-starodubtsev-directorargout_and_java_typemaps'
...
* andrey-starodubtsev-directorargout_and_java_typemaps:
WIP: #704 (java directorargout + java/typemaps.i fixes)
WIP: #704 (java directorargout + java/typemaps.i fixes)
WIP: #704 (java directorargout + java/typemaps.i fixes)
WIP: #704 (java directorargout + java/typemaps.i fixes)
WIP: #704 (java directorargout + java/typemaps.i fixes)
a lot of memory leak (local refs) fixed
java directorargout + java/typemaps.i fixes
2017-01-24 19:04:35 +00:00
William S Fulton
d6d7afb755
Enhance %extend to extend a class with template constructors
2017-01-24 19:01:43 +00:00
William S Fulton
481ebfab45
Enhance %extend to extend a class with static template methods
2017-01-24 19:01:43 +00:00
Andrey Starodubtsev
cdbab138a8
WIP: #704 (java directorargout + java/typemaps.i fixes)
...
- added virtual function with omitted arg names
2017-01-22 13:41:53 +03:00
William S Fulton
b538070016
Enhance %extend to extend a class with template methods
2017-01-22 10:36:46 +00:00
Andrey Starodubtsev
2013b703c2
Merge branch 'master' into directorargout_and_java_typemaps
2017-01-22 13:04:05 +03:00
Karl Wette
e24ec40895
Octave: add support for version 4.2
...
- .travis.yml:
- ppa:kwwette/octaves has Octave version 4.2, also run C++11 tests
- configure.ac:
- prefer Octave program "octave-cli" to "octave"
- extract any -std=* flags from CXX, add to OCTAVE_CXXFLAGS
- Lib/typemaps/fragments.swg:
- SWIG_isfinite_func(): extern "C++" is required as this fragment can
end up inside an extern "C" { } block
- Lib/octave:
- add std_wstring.i (copied from std_string.i) for C++11 tests
- Lib/octave/octrun.swg:
- move Octave version-checking macros to octruntime.swg
- Octave single()/double() functions now call .as_single()/.as_double()
methods; redirect calls to __float__() method as per .scalar_value()
- << and >> operators are no longer supported by Octave
- Lib/octave/octruntime.swg:
- move Octave version-checking macros here for conditional #includes
- #include interpreter.h instead of #toplev.h
- #include call-stack.h (now needed for octave_call_stack)
- unwind_protect is now in octave:: namespace
- error_state and warning_state are deprecated; use try/catch to catch
errors in feval() instead
- always set octave_exit = ::_Exit, to try to prevent segfault on exit
- Lib/octave/octopers.swg:
- << and >> operators are no longer supported by Octave
- Lib/octave/exception.i:
- Add macro SWIG_RETHROW_OCTAVE_EXCEPTIONS which rethrows any
exceptions raised by Octave >= 4.2
- Examples/test-suite/exception_order.i:
- Use macro SWIG_RETHROW_OCTAVE_EXCEPTIONS to rethrow exceptions
raised by error() function in Octave >= 4.2
- Update Doc/Manual/Octave.html and CHANGES.current
2017-01-22 11:53:12 +13:00
Andrey Starodubtsev
4ba9de370e
Merge branch 'master' into directorargout_and_java_typemaps
2017-01-21 17:41:31 +03:00
William S Fulton
0e48622ca3
Merge branch 'wkalinin-override_fix'
...
* wkalinin-override_fix:
test case added for "override" from imported module
#733 - wrong "override" calculation in import mode
2017-01-16 19:48:19 +00:00
William S Fulton
4c1152efcd
Merge branch 'fschlimb-templ_def_cache'
...
* fschlimb-templ_def_cache:
Add template_default_cache runtime tests
Fix template_default_cache testcase
template_default_cache is a multi-module test
using 2-level caching as suggested by @wsfulton
account for explicitly qualified scopes
adding test
restricting chaching template default types
2017-01-16 07:50:13 +00:00
William S Fulton
6db71c690a
Add template_default_cache runtime tests
...
Also correct illegal C++ namespace names
2017-01-16 07:46:03 +00:00
William S Fulton
6f54a00db7
Fix template_default_cache testcase
2017-01-16 07:19:27 +00:00
William S Fulton
3d2e57b0f2
Add %proxycode directive for adding code into proxy classes for C#, D and Java
2017-01-13 20:43:50 +00:00
William S Fulton
88e2d02ead
Document %insert filename and add test for it
2017-01-13 20:43:50 +00:00
Frank Schlimbach
974d822b5f
template_default_cache is a multi-module test
2017-01-11 03:10:40 -06:00
Frank Schlimbach
be92482e27
using 2-level caching as suggested by @wsfulton
2017-01-09 09:46:33 -06:00
William S Fulton
fade04962e
Merge branch 'sunoru-master'
...
* sunoru-master:
Correct some whitespace changes
Realign for some comments.
Fix some typos in docs and examples and make the code look nicer.
2017-01-01 14:29:52 +00:00
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
sunoru
8985c34809
Fix some typos in docs and examples and make the code look nicer.
2016-12-31 23:06:56 +08: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
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
Joseph Wang
a964098754
Merge pull request #853 from ivannp/underscores
...
Renamed all operators beginning with underscore.
2016-12-21 21:59:32 +08: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
15b3c1dfa3
[Scilab] fix test scilab_pointer_conversion_function for scilab 5.3.3
2016-12-19 15:04:30 +01: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
Ivan Popivanov
5ec5266284
Renamed all operators beginning with underscore.
2016-12-17 16:26:10 -08: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
Vadim Zeitlin
07ebbe84b8
Fix pep8 E265 error in testcase
2016-12-11 22:20:44 +00:00
Olly Betts
fa785cdd46
[PHP7] Send errors to stderr so they escape RUNPIPE
2016-12-06 08:35:22 +13:00
William S Fulton
f632ed34f7
Fix python_moduleimport test for -builtn
2016-12-03 16:07:59 +00:00