Takashi Tamura
bfe7204576
[ruby] add a few tests for std::wstring
2017-02-18 17:54:03 +09:00
Takashi Tamura
904bc2ad52
[ruby] fix support for std::wstring.
2017-02-18 16:27:23 +09:00
Mark Dufour
9825fcbab5
[Coverity] fix issue reported for SWIG_Python_FixMethods
...
Fix Coverity issue reported for SWIG_Python_FixMethods:
"buffer_size: Calling strncpy with a source string whose length
(10 chars) is greater than or equal to the size argument (10)
will fail to null-terminate buff."
The issue is only reported for the "swig_ptr: " line, but for
consistency we replace both occurrences of strncpy with memcpy.
2017-02-15 15:58:26 +13:00
William S Fulton
e5add63548
Enable C++11 and C++14 testing for Ruby
2017-02-10 19:57:50 +00:00
William S Fulton
f120fa44f6
Use travis_retry for commands that may fail due to network issues
2017-02-10 19:50:10 +00:00
William S Fulton
d6a349997c
C++11 hash tables documentation
2017-02-10 19:49:58 +00:00
William S Fulton
de6476f321
Merge branch 'tamuratak-fix_std_unordred'
...
* tamuratak-fix_std_unordred:
Move cpp11_hash_tables test to Ruby makefile until other languages work
Cosmetic changes in C++11 std_unordered support files
[ruby] add tests for unordered containers.
[ruby] support for std unordered containers.
use equal_range instead of upper_bound. unordered containers do not have the upper_bound method.
fix a %fragment argument.
use %std_container_methods_without_reverse_iterators
fix Lib/std/std unordered containers
2017-02-10 19:49:10 +00:00
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
50f556de39
Cosmetic changes in C++11 std_unordered support files
2017-02-10 19:26:02 +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
b3a61a3876
Add C# IEnumerable improvement to changes file
2017-02-08 20:12:59 +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
Jean-Claude Manoli
18ac3030df
Replace ICollection with IEnumerable<T>
...
Adding a constructor that accepts IEnumerable<T> avoids the boxing and unboxing overhead of the original constructor, when the type parameter is a value type. This also allows passing IList<T>, which does not implement ICollection (ironically the generated type implements IList<T>).
Kept the original constructor for backward compatibility, but replaced ICollection with IEnumerable for added flexibility.
2017-02-05 08:02:14 +01:00
William S Fulton
f5299fba82
Appveyor Windows testing enhancements
...
- Test python 3.6 instead of 3.5 under visual c++
- Speed up using 2 make jobs to use both available CPUs
- Test cygwin 32 bit and 64 bit C++11 (python only)
- Test msys2/mingw 32 bit and 64 bit C++11 (python only)
- Remove python 2.7.9 vc++ workaround as we're testing 2.7.10 now
2017-02-04 19:18:54 +00:00
William S Fulton
f16f7ada79
add missing test function implementation
2017-02-04 19:18:54 +00:00
William S Fulton
be22dd94d1
configure fixes for Python under MinGW / msys
...
MinGW's python is a normal posix Python distribution, so handle
detection differently to vanilla Windows Python.
2017-02-04 19:18:54 +00:00
William S Fulton
29b22728f7
Improve nuget installed message on Appveyor
2017-02-04 19:18:54 +00:00
William S Fulton
d387e749f5
Warning fix for visual c++
2017-02-04 19:18:54 +00:00
William S Fulton
25ac8f97f6
Fix popen pclose warnings compiling under wine
...
Fix i686-w64-mingw32-g++ compiler on linux warning:
In file included from Swig/swig.h:21:0,
from Swig/misc.c:14:
Swig/misc.c:1125:14: warning: ‘_popen’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern FILE *popen(const char *command, const char *type);
^
Swig/misc.c:1126:12: warning: ‘_pclose’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int pclose(FILE *stream);
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
Takashi Tamura
d29a325b99
[ruby] support for std unordered containers.
2017-01-29 11:17:18 +09:00
Takashi Tamura
37af90a50e
use equal_range instead of upper_bound.
...
unordered containers do not have the upper_bound method.
2017-01-29 11:11:55 +09:00
Takashi Tamura
b8cf6412e8
fix a %fragment argument.
2017-01-29 10:56:36 +09:00
Takashi Tamura
88a76de9fe
use %std_container_methods_without_reverse_iterators
2017-01-29 09:47:18 +09:00
Takashi Tamura
9cb90982ee
fix Lib/std/std unordered containers
2017-01-28 16:51:21 +09:00
William S Fulton
2ab08e493f
Bump version to 3.0.13
...
[skip ci]
2017-01-28 00:23:59 +00: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
William S Fulton
05da06857f
changes file updates
2017-01-27 19:08:10 +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
Brian Caine
a4ec4df5c9
Disabled pointer conversion when the relevant macros are unavailable (for Guile 1.8)
2017-01-27 19:05:59 +00:00
William S Fulton
65689af848
Refactor std_container iterator functions
...
This is for future improvements in the C++11 unordered containers which
do not have reverse iterators.
2017-01-27 18:45:22 +00:00
William S Fulton
40b17d1ae0
Reference Github issues consistently in changes file
2017-01-27 18:18:58 +00:00
William S Fulton
9d832c30b9
Fix missing filename in error messages when writing out C# files
...
Closes #882
2017-01-27 18:14:23 +00:00
William S Fulton
c766bf334a
Tidier output in configure when php is not found
2017-01-27 08:36:03 +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
ac916b006a
Add 3.0.12 release notes and date
...
[skip ci]
2017-01-26 19:24:40 +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
William S Fulton
83519138e8
Tweak %extend templates
...
Previous commit turned on the generation of an extra extend function
wrapper of a member template function when %template was inside a %extend
block instead of calling the real member template - reversed this side
effect.
2017-01-24 19:01:43 +00:00
Karl Wette
f3029dda7d
configure.ac: check $OCTAVE is nonempty before testing functionality
2017-01-23 17:18:34 +13:00