Vadim Zeitlin
1af8e25d4d
Add a possibility to disable failing test cases
...
Allow defining FAILING_{C,CPP,MULTI_CPP}_TESTS variables to exclude some tests
from the unit tests suite. This is useful to disable tests failing for some
language only.
2016-04-13 18:10:35 +02:00
Vadim Zeitlin
3b087fcb2b
Fix running C test suite when using a separate build directory
...
Correct top_srcdir path and use ../$(srcdir) instead of just "../" which may
not be the same when building in another directory.
2016-04-13 18:10:35 +02:00
Vadim Zeitlin
19ed0b531d
Fix and simplify C examples makefiles
...
Make "make check-c-examples" perform the correct build commands, e.g. not link
the proxy code into the shared library as this can't work because it defines
the same functions that are already present in it.
Also fix the c_xxx targets to work when SWIG is built in a separate build
directory.
Finally, simplify them by removing the unnecessary variables.
Notice that std_vector example still doesn't build, but at least now it is due
to a real problem in the C module and not makefile bugs.
2016-04-10 22:45:51 +02:00
Vadim Zeitlin
7c402ad148
Merge branch 'master' into C
2016-04-08 17:29:16 +02:00
William S Fulton
ec2c67f59b
Merge pull request #647 from smarchetto/master
...
[Scilab] #552 pointer type tracking: fix doc and CHANGES
2016-04-06 21:51:03 +01:00
Simon Marchetto
988717c140
scilab: fix space
2016-04-06 15:06:46 +02:00
Simon Marchetto
db29b6a005
scilab: update CHANGES with pointer type tracking
2016-04-06 15:03:53 +02:00
Simon Marchetto
6c254d1ebb
scilab: fix doc (pointer type tracking)
2016-04-06 13:22:59 +02:00
Simon Marchetto
9f4ad6e7dc
scilab: fix pointer type name
2016-04-06 13:22:59 +02:00
Olly Betts
4890a70c37
CHANGES.current: Note fix isn't python-specific
...
Fixes https://github.com/swig/swig/issues/615
2016-04-05 18:42:46 +12:00
William S Fulton
a97441613e
Merge branch 'ahnolds-py_gettar'
...
* ahnolds-py_gettar:
update changes file for attribute fix
Add python AttributeError test for non-existent attribute
Fixing python attribute lookup
Conflicts:
CHANGES.current
2016-04-02 18:06:03 +01:00
William S Fulton
f19fd513ea
update changes file for attribute fix
2016-04-02 18:04:25 +01:00
William S Fulton
333a46f07d
Add python AttributeError test for non-existent attribute
2016-04-02 18:03:08 +01:00
William S Fulton
80e3ebf0d1
html doc fixes
2016-04-02 13:47:23 +01:00
William S Fulton
355f2623c7
Improve documentation for multi-argument typemaps and overloading
2016-04-02 13:44:44 +01:00
William S Fulton
bbd1b8ed05
Add tests for Python -builtin -O and compactdefaultargs and update changes file
2016-04-02 11:29:54 +01:00
Ling Li
79bb343ffe
Fix single arguments using python -builtin -O with %feature("compactdefaultargs")
...
Setattr argcount for non-default-args and non-varargs functions.
Fixes #607
Closes #610
2016-04-02 11:29:43 +01:00
William S Fulton
1d62790928
Fix assertion for some languages when wrapping a C++11 enum class that is private in a class.
...
Also don't wrap private enums for a few languages that attempted to do so.
Closes #594 .
2016-03-31 20:27:36 +01:00
William S Fulton
a15bbbaee5
Java - unsigned long long marshalling improvements for negative numbers
...
Affects marshalling of negative numbers from Java to C only.
A cast to signed long long in the C layer will now result in the expected value.
Closes #623 .
2016-03-31 18:56:32 +01:00
William S Fulton
8322686e84
Cosmetic java typemap cleanup
2016-03-31 18:56:32 +01:00
Olly Betts
fe56d23f80
Merge pull request #542 from Sajmani/master
...
Fix Go example in Go.html
2016-03-31 13:07:31 +13:00
Olly Betts
9bb6e0e860
Fix reversed mapping of < and > in commented code
2016-03-29 09:57:07 +13:00
joequant
7e3165848b
Merge pull request #633 from sbpcs59/master
...
Suppress unmessage at package load
2016-03-26 13:20:38 +08:00
William S Fulton
896a0f1f31
Merge branch 'ptomulik-fix/nonclass-constants'
...
* ptomulik-fix/nonclass-constants:
fix handling of function pointers by %constant directive
2016-03-24 19:24:02 +00:00
William S Fulton
75de3e04c4
Merge branch 'ptomulik-fix/const-fptr'
...
* ptomulik-fix/const-fptr:
handle const pointers to functions
2016-03-24 19:21:19 +00:00
Paweł Tomulik
174523aa80
fix handling of function pointers by %constant directive
2016-03-24 11:22:51 +01:00
Paweł Tomulik
350d43d988
handle const pointers to functions
2016-03-24 10:59:23 +01:00
William S Fulton
ba333729c3
Update changes file for lua __getitem
2016-03-22 20:48:28 +00:00
William S Fulton
d98f7050a0
Merge branch 'alexwarg-fix-lua-getitem'
...
* alexwarg-fix-lua-getitem:
Add test case for Lua __getitem + inheritance
Fix lua base class methods with __getitem
2016-03-22 20:44:12 +00:00
William S Fulton
7aa5f07dfd
Fix 'make partialcheck-test-suite'
...
Python pep8 should not be run as part of partialcheck
Javascript should also only invoke SWIG during partialcheck
2016-03-18 18:56:55 +00:00
William S Fulton
9d4a4439da
Revert "scilab: runtime initialization needed in examples"
...
This reverts commit 54b84b8fa1 .
2016-03-18 08:56:23 +00:00
William S Fulton
e4f0fc44a0
change file update
...
[skip ci]
2016-03-18 08:24:37 +00:00
William S Fulton
c1d200ba7d
Merge branch 'ptomulik-fix/nonclass-constants'
...
* ptomulik-fix/nonclass-constants:
prevent _swigconstant boilerplate for non-class types
2016-03-18 07:57:30 +00:00
William S Fulton
6a1efc6c1d
Clearer build and install instructions in the README file for Github users.
...
Fixes #634 .
2016-03-17 20:14:16 +00:00
William S Fulton
5cd0678a4c
Scilab test-suite warning suppression
2016-03-17 19:43:12 +00:00
William S Fulton
d05160afd2
Merge branch 'smarchetto-master' (Scilab test-suite fixes)
...
* smarchetto-master:
Scilab Travis testing working again
scilab: fix warnings
scilab: fix compilation error (no return in SWIG_CheckPtr())
2016-03-17 19:39:23 +00:00
William S Fulton
800d2108b1
Scilab Travis testing working again
2016-03-17 19:39:10 +00:00
Alexander Warg
be907f96e0
Add test case for Lua __getitem + inheritance
2016-03-17 07:48:01 +01:00
Alexander Warg
4363160400
Fix lua base class methods with __getitem
...
When a C++ class defined a __getitem function the base classes where
never used for resolving methods. This fix first scans the '.get' and
'.fn' tables of all base classes and only if there is no result does the
same for __getitem functions.
2016-03-17 07:46:44 +01:00
joequant
6212800fe3
Merge pull request #636 from richardbeare/RExtraStdVectorNumericTypes
...
R extra std vector numeric types
2016-03-16 18:55:58 +08:00
Paweł Tomulik
0c819d1ba9
prevent _swigconstant boilerplate for non-class types
2016-03-15 10:27:13 +01:00
Richard Beare
351e21bd4a
Added a run test for vector types. Tests creation of a std::vector
...
from and R vector and transparent conversion of the result.
2016-03-15 12:15:29 +11:00
Richard Beare
5c2cd32795
Corrected the testing in unittest so that all elements of
...
a vector result are checked. Previously it was just the first
element.
2016-03-15 12:14:20 +11:00
Richard Beare
0821ec0b45
Support for more numeric types in std::vector for R.
...
This change allows R to automatically convert std::vectors of
signed and unsigned 8, 16, 32 and 64 bit integer types.
rtype, rtypecheck, scoercein and scoerceout typemaps are copied
across integer types.
2016-03-15 12:03:25 +11:00
William S Fulton
5a4291911e
Correct Java runtime test
2016-03-14 20:54:21 +00:00
William S Fulton
870b814f5e
Add C++11 std::array container support for Java
2016-03-14 20:46:56 +00:00
Simon Marchetto
2e556a4cda
scilab: fix warnings
2016-03-14 17:49:05 +01:00
Simon Marchetto
46a8acb538
scilab: fix compilation error (no return in SWIG_CheckPtr())
2016-03-14 17:42:04 +01:00
William S Fulton
f119602447
clang illegal character encoding warning fixes in tests
2016-03-13 15:44:10 +00:00
William S Fulton
3ac3d061a6
Warning fix in Go wrappers when wrapping string constants
...
string_constants test case.
2016-03-13 15:36:59 +00:00