Commit graph

19,037 commits

Author SHA1 Message Date
Oliver Buchtala
02c55fc52f Next iteration on creating a documentation for the Javascript module. 2014-02-13 21:18:06 +01:00
Oliver Buchtala
1e34ecdc31 Next iteration on creating a documentation for the Javascript module. 2014-02-13 19:25:16 +01:00
Marvin Greenberg
d35af98646 Change to only add -stdlib on OSX versions that have libc++
Use better test for clang
2014-02-12 14:16:43 -05:00
Simon Marchetto
0102aa6ccb scilab: fix typo error in enums test 2014-02-11 16:59:58 +01:00
Simon Marchetto
9a8b1207ca scilab: fix scilab_enums test: enum returned as double, and enum value computing 2014-02-11 16:28:57 +01:00
Simon Marchetto
423192a9f0 scilab: new test scilab_enums (enums mapped to variable with scilabconst(1)) 2014-02-11 16:27:32 +01:00
Simon Marchetto
1222a28af6 scilab: check in enums test that enum is returned as double 2014-02-11 16:24:31 +01:00
Simon Marchetto
680f101717 scilab: fix enum typemap, enum was not returned 2014-02-11 16:24:08 +01:00
Simon Marchetto
b0bff6f207 scilab: implement test inout 2014-02-11 10:10:28 +01:00
Simon Marchetto
f624025e48 scilab: From typemaps do not have to return output argument position 2014-02-11 10:06:15 +01:00
Simon Marchetto
af94aa91e7 scilab: fix compilation error in 5.3.3 2014-02-10 10:24:46 +01:00
William Fulton
05f92e9fbd Release scripts to release from any branch 2014-02-09 23:19:17 +00:00
William Fulton
1c4213594a Release scripts to release from any branch 2014-02-09 22:09:05 +00:00
William S Fulton
08639f7f24 Add release summary for 2.0.12 2014-02-09 09:34:18 +00:00
Klaus Kämpf
885a700283 Make string encoding explitic
Ruby 2.0 enforces explicit string encodings. The char_constant
testcase fails because the internal (SWIG_FromCharPtrAndSize, using
rb_str_new) defaults to ASCII-8BIT while the test-suite file defaults
to the current shell LOCALE setting.

This patch sets the char_constant_runme.rb encoding to ASCII-8BIT.
2014-02-09 09:27:54 +00:00
William S Fulton
3c5de34573 Turn on Travis testing for maintenance-2.0 branch 2014-02-08 19:13:43 +00:00
William S Fulton
3cd7055895 Temporary workaround for bug in Travis build environment 2014-02-08 17:52:47 +00:00
William S Fulton
7f8cb93092 mkdist script tweaks to support releasing from any named branch 2014-02-08 16:05:17 +00:00
Geert Janssens
e2ff217051 Guile: illustrate bug in non-ascii string handling 2014-02-08 16:01:09 +00:00
Geert Janssens
36f5117b25 Guile: make scm to string conversion work with non-ascii strings 2014-02-08 15:58:58 +00:00
William S Fulton
c569210dd5 Fix PHP compilation error in ZTS mode (64 bit windows) due to TSRMLS_FETCH() expansion
Conflicts:

	CHANGES.current
2014-02-08 15:08:34 +00:00
Karl Wette
78f92962e2 octave: update support to Octave version 3.8.0
Conflicts:

	CHANGES.current
2014-02-08 15:07:08 +00:00
William S Fulton
acc5a5eb2d C++11 support for new versions of erase and insert in the STL containers.
The erase and insert methods in the containers use const_iterator instead
of iterator in C++11.  There are times when the methods wrapped must match
the parameters exactly. Specifically when full type information for
template types is missing or SWIG fails to look up the type correctly,
for example:

  %include <std_vector.i>
  typedef float Real;
  %template(RealVector) std::vector<Real>;

SWIG does not find std::vector<Real>::iterator because %template using
typedefs does not always work and so SWIG doesn't know if the type is
copyable and so uses SwigValueWrapper<iterator> which does
not support conversion to another type (const_iterator). This resulted
in compilation errors when using the C++11 version of the containers.

Closes #73

Conflicts:

	CHANGES.current
	Lib/std/std_unordered_map.i
	Lib/std/std_unordered_set.i
2014-02-08 15:02:20 +00:00
William S Fulton
7b5eb19ca9 Fix unused variable warning in Ruby wrappers when using gcc -Wall 2014-02-08 14:53:16 +00:00
William S Fulton
122f61cb0b Fix Visual Studio compile error in C++ wrappers due to #include <exception> within extern "C" block.
Fixes SF #1340
2014-02-08 14:52:57 +00:00
William S Fulton
5602a61bb6 Add missing #include <stddef.h> for offsetof when using -builtin.
Fixes SF #1345

Conflicts:

	CHANGES.current
2014-02-08 14:52:20 +00:00
Robert Stone
c2f5813ffa fix "long long" tests for perl v5.6 2014-02-08 14:40:25 +00:00
William S Fulton
d94924a5c4 Add change note for missing Lua return statements
Conflicts:

	CHANGES.current
2014-02-08 14:38:10 +00:00
William S Fulton
f0b60d0ec9 Bump version to 2.0.12 2014-02-08 14:36:10 +00:00
Atri
4e9ee78d3e Lua: Fix void return for non-void functions
Commit #c3f3880d caused the functions
SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State* L,
swig_lua_namespace* ns)
and
SWIGINTERN int SWIG_Lua_namespace_register(lua_State* L,
swig_lua_namespace* ns)
to return void when int returns were expected resulting in the build
failures for plplot's lua bindings for example. This commit fixes the
issue.

Closes #92
2014-02-08 14:30:34 +00:00
William S Fulton
3cf3be24ab mkdist script tweaks to support releasing from any named branch 2014-02-08 11:08:56 +00:00
William S Fulton
98364d46da Merge branch 'wkalinin-nested-ignore'
* wkalinin-nested-ignore:
  Restore warning suppression in testcase
  Typo in comment fix
  warnings suppressed for deeply nested classes
  nested nested class warning filtered
  warning filter fixed
  error order foxed
  WARN_PARSE_UNNAMED_NESTED_CLASS check fixed
  more warnings removed
  warnfilter fixed scoping for "anonymous forward declaration" fixed
  %feature ("flatnested") is set for nested scope test
  added forward declaration instead of ignored nested class (resurrected old code)
  filtered warnings, turned on "flatnested" for nested template test
  Nested classes support is diversified, depending on the language capability. If the language cannot support nested classes, they will be unconditionally moved to the global namespace. If language module does not override Language::nestedClassesSupport() function, nested classes will be ignored, unless "feature:flatnested" is used.
2014-02-08 10:34:05 +00:00
William S Fulton
88de9f1610 Restore warning suppression in testcase 2014-02-08 09:45:20 +00:00
William S Fulton
3518cbfd33 Typo in comment fix 2014-02-08 09:00:52 +00:00
Simon Marchetto
dd4547acc7 scilab: fix long long typemap comment 2014-02-07 18:18:25 +01:00
Simon Marchetto
fbe6c13267 scilab: implement enum_var test 2014-02-07 18:17:58 +01:00
Simon Marchetto
f7fc09d025 scilab: fix enums test 2014-02-07 18:17:37 +01:00
Simon Marchetto
90c4cb2c26 scilab: small refactoring of scienum.swg 2014-02-07 17:29:18 +01:00
Simon Marchetto
3607b2db10 scilab: fix (check integer type) and optimize typecheck typemaps 2014-02-07 16:38:15 +01:00
Simon Marchetto
67aba0bfc2 scilab: move integer error tests in integers test 2014-02-07 15:42:58 +01:00
Simon Marchetto
c47456a9bb scilab:implement li_typemaps test (library typemaps.i test) 2014-02-07 12:23:39 +01:00
Simon Marchetto
ccab675c57 scilab: check value and overflow errors in integer typemaps 2014-02-07 11:53:19 +01:00
Vladimir Kalinin
e9ecac9298 warnings suppressed for deeply nested classes 2014-02-07 07:39:07 +04:00
William S Fulton
b457f8f290 Changes entry for guile non-ascii strings fix 2014-02-06 20:02:05 +00:00
William S Fulton
09bdc5f353 Merge branch 'master' of https://github.com/gjanssens/swig into gjanssens-master
* 'master' of https://github.com/gjanssens/swig:
  Guile: make scm to string conversion work with non-ascii strings
  Guile: illustrate bug in non-ascii string handling
2014-02-06 19:58:09 +00:00
Vladimir Kalinin
6b5e366567 nested nested class warning filtered 2014-02-06 23:53:33 +04:00
Vladimir Kalinin
56cea1821d warning filter fixed 2014-02-06 23:47:01 +04:00
William S Fulton
844695b674 Fix typedef_typedef test 2014-02-06 19:31:31 +00:00
Marvin Greenberg
fd85d12a2c Allow csharp examples to run under mono 2014-02-05 15:31:57 -08:00
Marvin Greenberg
49d73c56d0 Move setting required -stdlib argument into configure.ac 2014-02-05 15:18:51 -08:00