Commit graph

3,665 commits

Author SHA1 Message Date
William S Fulton
8f967f3341 Add missing return for testcase 2014-03-14 23:26:23 +00:00
William S Fulton
eabdb13115 Fix warning suppression in testcase 2014-03-14 16:53:09 +00:00
Simon Marchetto
2e61fda041 scilab: fix test: <> => isequal to compare matrices 2014-03-14 16:57:17 +01:00
Simon Marchetto
16e68c7c72 scilab: implement smart_pointer_simple test 2014-03-14 16:46:46 +01:00
Simon Marchetto
90479bc5a3 scilab: fix li_typemaps test (float) 2014-03-14 16:11:08 +01:00
William S Fulton
3d230ea253 Fix Guile li_std_string testcase which requires a UTF-8 locale set
This was failing on Mac OSX and is a further fix to
43c8f2351c to fix #139
2014-03-14 14:18:42 +00:00
William S Fulton
bf8eb05dbb Merge pull request #146 from v-for-vandal/class_p1_fixes2
Class p1 fixes2 - Lua enums and NSpace

Disable old-names generation for enums in class in namespace
Getattribute->GetFlag
Partially disabling old names generation for classes with nspace
Working around some of the SWIG internal issues with enums
2014-03-14 09:01:15 +00:00
William S Fulton
e5f928e97a Add metaprogramming type_traits example in C++11 documentation 2014-03-14 01:57:16 +00:00
William S Fulton
01ce992f5d C++11 result_of testcase 2014-03-14 01:57:16 +00:00
William S Fulton
a542c5277d C++11 std::reference_wrapper example - no support 2014-03-14 01:57:16 +00:00
William S Fulton
fd5f4c25aa C++11 alignof alignas testcase and further C++11 doc updates 2014-03-14 01:57:16 +00:00
William S Fulton
9a45a09aec C++11 conversion operator example and docs added 2014-03-14 01:57:15 +00:00
William S Fulton
adc3cfeb57 More C++11 doc and test improvements 2014-03-14 01:57:15 +00:00
William S Fulton
3fb973644e More C++11 doc tweaks 2014-03-14 01:57:15 +00:00
William S Fulton
e186dc13b7 C++11 constexpr variables support added 2014-03-14 01:57:14 +00:00
William S Fulton
348caba6e5 Add note about cplusplusout for nested_struct testcase 2014-03-14 01:57:14 +00:00
Vladimir Kalinin
e18044185e fixes for director class naming when nested classes are used 2014-03-13 18:58:29 +04:00
Simon Marchetto
e03f8db39f scilab: do not echo builder command lines 2014-03-13 09:53:32 +01:00
Simon Marchetto
298452fc5d scilab: do not exit Scilab from builder.sce but in makefile 2014-03-13 09:48:06 +01:00
Artem Serebriyskiy
ddbf439db9 Working around some of the SWIG internal issues with enums 2014-03-12 18:00:15 +04:00
Simon Marchetto
1bcc17069c scilab: check char* array typemaps in scilab_li_matrix test 2014-03-12 13:04:52 +01:00
Simon Marchetto
d4168ef47c scilab: fix scilab_li_matrix wrong checks 2014-03-12 11:36:45 +01:00
Simon Marchetto
8701e6f843 scilab: support of std::deque 2014-03-11 18:34:14 +01:00
Simon Marchetto
38cd5bd405 scilab: check overflow in array typemaps 2014-03-11 15:46:47 +01:00
Simon Marchetto
013b9f9769 Merge branch 'master' into gsoc2012-scilab 2014-03-11 10:24:09 +01:00
Simon Marchetto
22dad86b40 scilab: fix typemaps for bool matrix 2014-03-11 09:56:21 +01:00
Simon Marchetto
2db941df1e scilab: fix li_std_set_as_argument test 2014-03-10 15:24:06 +01:00
Simon Marchetto
3c011488bb scilab: fix arrays_dimensionless test 2014-03-10 15:23:44 +01:00
Simon Marchetto
36d11147de scilab: simplify and fix li_std_sequence_container_typemaps test 2014-03-10 15:23:25 +01:00
Simon Marchetto
7da356c8cc scilab: simplify and fix li_std_sequence_container_typemaps test 2014-03-10 15:22:19 +01:00
William S Fulton
504c2030bb Change in default behaviour wrapping C++ bool for Python.
Only a Python True or False will now work for C++ bool parameters.
This fixes overloading bool with other types.
2014-03-08 12:04:19 +00:00
William S Fulton
7f45cbd178 Reorganise broken C++11 testcases 2014-03-08 12:02:08 +00:00
William S Fulton
dbf44fc181 Fix std::map and smart pointers.
Fixes problem with method overloading when some methods are added by %extend
and others are real methods and using template default parameters with smart pointers.
This is noticeable as a regression since 2.0.12 when using the default smart pointer
handling for some languages when the smart pointer wraps std::map and other STL containers.

Fixes SF Bug 1363
2014-03-06 19:52:03 +00:00
Artem Serebriyskiy
3028b16cee Partially disabling old names generation for classes with nspace 2014-03-06 15:24:17 +04:00
Oliver Buchtala
b5aa1df72b Generalized smoke test configuration. 2014-03-06 06:30:36 +01:00
Oliver Buchtala
57491eaa81 Add 'version' target for javascript. 2014-03-06 06:29:00 +01:00
Simon Marchetto
eb7d2bd43b scilab: add tests in arrays_global test (double management) 2014-03-05 12:37:43 +01:00
Oliver Buchtala
a234542543 Merge branch 'master' into tmp
Conflicts:
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
	Examples/test-suite/nspace.i
	Examples/test-suite/nspace_extend.i
	Source/Modules/lang.cxx
	configure.ac
2014-03-05 01:09:26 +01:00
Simon Marchetto
3b21f52620 scilab: add tests in arrays_global test 2014-03-04 18:17:37 +01:00
Simon Marchetto
85b1db1a91 scilab: implement null_pointer test 2014-03-04 09:51:43 +01:00
William S Fulton
c99417ab13 Lua documentation tweaks and make nspace example more concise. 2014-03-04 07:54:37 +00:00
William S Fulton
8b75b90b2f Merge branch 'class_p1_fixes' of github.com:v-for-vandal/swig into v-for-vandal-class_p1_fixes
Lua changes tweaks.

* 'class_p1_fixes' of github.com:v-for-vandal/swig:
  Removing all TODO:REMOVE
  Fixing enums
  __Static -> SwigStatig, __Module -> SwigModule
  Setattr -> SetFlag
  Backward compatibility -> Compatibility Note
  Fixing documentation. Adding an example.
2014-03-03 19:16:18 +00:00
Simon Marchetto
9ecb38976d scilab: implement cpp_enum test 2014-03-03 17:55:06 +01:00
Simon Marchetto
6754671075 scilab: implement default_constructor test 2014-03-03 17:32:41 +01:00
Simon Marchetto
2bb5e7ee92 scilab: can specifiy error message in swigtesterror() 2014-03-03 17:32:34 +01:00
Simon Marchetto
acefa4c713 scilab: implement constover test 2014-03-03 16:24:18 +01:00
Artem Serebriyskiy
1898099620 Fixing enums 2014-03-03 09:54:13 +04:00
Artem Serebriyskiy
6b18d20979 Fixing documentation. Adding an example. 2014-03-02 19:10:11 +04:00
William S Fulton
7a96fba836 Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
The exception thrown used to be a NameError. However, as this access is
via a primary, an AttributeError is more correct and so the exception
thrown now is an AttributeError. Reference:
http://docs.python.org/2/reference/expressions.html#attribute-references

SF Patch #346.
2014-03-02 01:31:36 +00:00
William S Fulton
4fb940d913 Further fixes when using type() when using -builtin to include module name
Using type() on a builtin type should include the package and module
name, see http://docs.python.org/2/c-api/typeobj.html
2014-03-01 23:26:27 +00:00