William S Fulton
d888fabc0c
Style fixes for Python threads documentation changes
2017-03-24 08:22:16 +00:00
William S Fulton
5624fc841e
Merge branch 'sunoru-patch-1'
...
* sunoru-patch-1:
Add the missing parenthese.
2017-03-24 07:50:07 +00:00
William S Fulton
ea118c945b
Merge branch 'srepmub-coverity_replacecount'
...
* srepmub-coverity_replacecount:
Fix Coverity issue reported for setslice (pycontainer.swg):
2017-03-24 07:42:59 +00:00
William S Fulton
279744603f
Merge branch 'vadz-use-cstype-vector-typemap'
...
* vadz-use-cstype-vector-typemap:
Don't hardcode C# type corresponding to size_t in vector typemaps
2017-03-24 07:29:41 +00:00
William S Fulton
e887968cc9
Merge branch 'kwwette-master'
...
* kwwette-master:
[CI] Fix Octave 4.2 CI job
2017-03-24 07:27:46 +00:00
William S Fulton
29af5c7aec
Merge branch 'srepmub-coverity_args_check'
...
* srepmub-coverity_args_check:
[Coverity] fix issue reported for wrapper argument checking
2017-03-24 07:26:54 +00:00
William S Fulton
c40131d321
Setup list of failing Ocaml tests
...
This makes the test-suite show as passed for the remaining tests
2017-03-23 19:11:20 +00:00
William S Fulton
7f9b9db2e0
Fix ocaml warning
...
Warning 20: this argument will not be used by the function.
2017-03-23 19:11:20 +00:00
Olly Betts
ccf8fe0dd0
Fix version of last release in CHANGES
2017-03-22 15:43:14 +13:00
Olly Betts
2c910e47ae
Correct <string> back to <string.h>
...
Erroneously changed in 760c008311 .
2017-03-22 15:37:04 +13:00
スノル
970b0fdca3
Add the missing parenthese.
...
I'm sorry that I didn't notice this last time.
2017-03-20 20:47:08 -05:00
William S Fulton
24fba02571
Allow Guile on Travis OSX to fail until fixed Guile 2.2 support is added
2017-03-20 19:57:21 +00:00
William S Fulton
cf1fb6ca16
Fixes for make partialcheck-ocaml-test-suite
2017-03-20 19:30:46 +00:00
William S Fulton
a4393e2103
Remove unnecessary file check in Ocaml Makefile
...
First of two fixes for 'make partialcheck-ocaml-test-suite'
2017-03-20 19:30:10 +00:00
William S Fulton
5104c40d9a
Ocaml Makefile cosmetic style fixes
2017-03-20 19:28:53 +00:00
William S Fulton
8aa066a1b5
Fix Makefile not erroring
2017-03-20 18:47:31 +00:00
William S Fulton
b1dc7294cc
Merge branch 'vadz-fix-py-frag-deps'
...
* vadz-fix-py-frag-deps:
Add stddef.h back in to SwigPySequence_Base fragment
Fix dependency of SwigPySequence_Base fragment
2017-03-17 19:22:00 +00:00
William S Fulton
fa65b24b78
Add stddef.h back in to SwigPySequence_Base fragment
2017-03-17 19:20:02 +00:00
William S Fulton
da381668a2
Python doc correction for %pybuffer_mutable_string usage
...
[skip ci]
2017-03-17 19:02:38 +00:00
William S Fulton
dcc5911839
Fix handling of typedef'd function pointers for Go
...
Add equivalent runtime tests for Python and Java
2017-03-17 07:49:21 +00:00
William S Fulton
72ba741d1c
Fix wrapping of references/pointers and qualifiers to member pointers
...
Also fix Go wrapping of member const function pointers.
2017-03-16 21:04:38 +00:00
Vadim Zeitlin
bf11d5ee7a
Don't hardcode C# type corresponding to size_t in vector typemaps
...
The C# type corresponding to size_t may be changed by redefining its "cstype"
type typemap, but this broke compilation of the code using std::vector<> as
the typemap generating it assumed that size_t was always represented by uint
in C#. Make this work in all cases by explicitly looking up cstype of size_t
instead.
Notice that it may be quite useful, and even necessary, to map size_t to int
as when generating C# assembly for use with COM, via .NET interop, as some COM
clients, notably VBA-using ones, including all Microsoft Office applications,
don't support unsigned types and can't call methods using or returning uint in
C# at all.
2017-03-15 23:17:03 +01:00
Vadim Zeitlin
51aa2bdea1
Fix dependency of SwigPySequence_Base fragment
...
This fragment needs to depend on StdTraits fragment as it specializes the
template struct traits<> defined there and it could happen that the struct was
not declared before being specialized, resulting in compilation errors in the
generated code.
It doesn't seem to need to depend on stddef.h inclusion, however, so replace
it with the correct dependency instead of keeping both.
2017-03-11 18:07:51 +01:00
William S Fulton
cf7d53599c
Remove problematic member function pointer tests from Go
...
Go module needs fixing
2017-03-11 15:05:16 +00:00
William S Fulton
858acf69e4
Add missing function bodies to testcase
2017-03-11 12:43:54 +00:00
William S Fulton
73a5d6c187
Fix testcase
2017-03-11 10:01:11 +00:00
William S Fulton
f9fbaa5cb8
Another C++11 alternate function syntax test
2017-03-10 23:48:32 +00:00
William S Fulton
d851be2b7f
Add recent parsing improvements to changes file
2017-03-10 23:34:48 +00:00
William S Fulton
b851e45e0a
Fix seg fault for global declarations declared erroneously without a name
2017-03-10 23:25:31 +00:00
William S Fulton
4f235027f4
Improved member function pointer parsing
...
Add support for parsing member function pointers with qualifiers,
references and pointers, eg
short (Funcs::* const parm)(bool)
2017-03-10 23:25:31 +00:00
William S Fulton
8e86aaf2c3
Add one more alternate function test
...
Checking member function pointer parameters
2017-03-10 23:25:31 +00:00
William S Fulton
0ccef1424a
C++11 alternate syntax for function declarations improvements
...
Functions can now be declared const/noexcept/final etc
2017-03-10 23:25:31 +00:00
William S Fulton
2a5068bcf2
Add some tests for typedef to member function pointers
2017-03-10 23:25:31 +00:00
William S Fulton
fc638814ae
Add support for unnamed parameters: member const function pointers
2017-03-10 23:25:31 +00:00
William S Fulton
5aff26fcb5
Add support for parsing and wrapping member const function pointers
2017-03-10 23:25:31 +00:00
William S Fulton
67edda3bf5
Remove unused cvsignore target
2017-03-10 23:25:31 +00:00
Karl Wette
11ca71fc91
[CI] Fix Octave 4.2 CI job
...
- Travis adds external PPAs which contain newer versions of packages
than in baseline trusty. These newer packages prevent some of the
Octave packages in ppa:kwwette/octave, which rely on the older
packages in trusty, from installing. To prevent these kind of
interactions arising, clean out all external PPAs added by Travis
before installing Octave.
2017-03-09 20:18:11 +01:00
Takashi Tamura
cb1f89cb68
[ruby] must not do a null check for VALUE.
2017-03-07 11:43:01 +09:00
Mark Dufour
5803e81d48
Fix Coverity issue reported for setslice (pycontainer.swg):
...
"CID 11151 (#3-1 of 3): Using invalid iterator (INVALIDATE_ITERATOR)18.
increment_iterator: Incrementing iterator it though it is already past
the end of its container."
Coverity does not understand 'replace_count', so warns that we may go
past self->end() (or self->rend() I guess).
2017-03-06 21:16:41 +01:00
Mark Dufour
13eeebd2fb
[Coverity] fix issue reported for wrapper argument checking
...
Fix Coverity issue reported for wrapper argument checking:
"Null-checking args suggests that it may be null, but it has already
been dereferenced on all paths leading to the check."
So 'args' is null checked, but after dereferencing it with
PyTuple_Check(args).
2017-03-06 14:07:47 +01:00
Takashi Tamura
d0af6fd97d
[ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object.
2017-03-06 15:13:05 +09:00
Takashi Tamura
b91e03d39a
[ruby] add tests for shared_ptr of const Type.
2017-03-03 16:58:51 +09:00
Takashi Tamura
f96c2ad73d
[ruby] For swig::from, use template specialization to convert shared_ptr<const T> to shared_ptr<T>.
2017-03-03 12:50:23 +09:00
Takashi Tamura
806f49bf58
[ruby] edit comments [skip ci]
2017-03-02 11:55:09 +09:00
Takashi Tamura
a784ace983
[ruby] move template specialization to std_shared_ptr.i.
2017-03-02 09:47:46 +09:00
Todd Leonhardt
bcf8d927f0
Finished updating Python docs for -threads option
2017-03-01 17:51:47 -05:00
Olly Betts
b451fc464b
Escape literal > in HTML
2017-03-02 08:45:45 +13:00
Takashi Tamura
a84ea749b3
[ruby] add tests for upcasting std::shared_ptr within std containers.
2017-03-01 21:32:03 +09:00
Takashi Tamura
50e495c453
[ruby] use template specialization for swig::asptr,asval functions on std:shared_ptr.
2017-03-01 20:17:50 +09:00
Todd Leonhardt
52d12bc415
Started making changes to Python.html to document support for multithreaded Python SWIG applications.
2017-02-28 20:53:30 -05:00