Commit graph

3,826 commits

Author SHA1 Message Date
Robert Stone
34c374d7ae don't forget the most important part 2013-11-12 12:48:21 -08:00
Robert Stone
0901a3e867 steals python directors and adapts to perl5 2013-11-12 12:45:03 -08:00
William S Fulton
c151a0d69a Add array function PHP keywords 2013-11-11 19:12:48 +00:00
William S Fulton
c7b5316912 Merge branch 'master' of https://github.com/BrantKyser/swig
- Remove using directives from the generated C# code and fully qualify the use of all .NET
  framework types in order to minimize potential name collisions from input files defining
  types, namespace, etc with the same name as .NET framework members.
- Globally qualify the use of .NET framework types in the System namespace
- Remove .NET 1.1 support, .NET 2 is the minimum for the C# module

Closes #79

* 'master' of https://github.com/BrantKyser/swig:
  Correct spelling of compatibility.
  Update documentation to reflect fully qualifying the use of .NET types in the generated code.
  Add support for SWIG2_CSHARP macro to create SWIG 2 backwards compatability mode.
  Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
  Since SWIG 3.0 removes support for .NET 1.1, cleanup the C# library by removing the use of the SWIG_DOTNET_1 macro.
  Globablly qualify the use of types from the .NET framework's System namespace in the C# module and library.
  Add test case to demonstrate the name collision that occurs in the generated C# code when a namespace is named System.
2013-11-09 11:32:50 +00:00
William S Fulton
e7a6be289e Rework the director.swg changes for director exception handling
- More robust implementation.
- Fix some bugs to give better exception messages when a user uses the
  director utility exception functions and classes.
- Replace unnecessarily shortened variable names for easier reading of
  code.
2013-11-07 22:51:35 +00:00
William S Fulton
fdc1772e38 Cosmetics/code style conformance in newly added Java director exception handling 2013-11-07 22:51:34 +00:00
William S Fulton
97fd20a58d Minor improvements to Java director:except patch 2013-10-23 18:43:13 +01:00
Marvin Greenberg
6736e74127 Add feature director:except for improved director exception handling in Java
Closes #91
2013-10-22 20:44:35 +01:00
Brant K. Kyser
5f53503b7d Correct spelling of compatibility. 2013-10-22 14:08:47 -05:00
Brant K. Kyser
3720b48847 Add support for SWIG2_CSHARP macro to create SWIG 2 backwards compatability mode. 2013-10-21 13:13:47 -05:00
William S Fulton
d15220cba4 Remove a couple of unused variable warnings in generated code 2013-10-18 19:10:42 +01:00
William S Fulton
1c5246ad66 Fix some gcc -Wall unused warnings in the Ruby wrappers
Fixes SF bug 1333.
2013-10-18 18:13:11 +01:00
William S Fulton
48eed4f9e4 Fix unused variable warning in Ruby wrappers when using gcc -Wall 2013-10-18 06:49:20 +01:00
William S Fulton
8da4d6712d Fix Visual Studio compile error in C++ wrappers due to #include <exception> within extern "C" block.
Fixes SF #1340
2013-10-17 21:54:58 +01:00
Brant K. Kyser
adb93980f2 Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
Brant K. Kyser
cb2df12630 Since SWIG 3.0 removes support for .NET 1.1, cleanup the C# library by removing the use of the SWIG_DOTNET_1 macro. 2013-10-17 13:58:32 -05:00
William S Fulton
0e54a51c10 Add missing #include <stddef.h> for offsetof when using -builtin.
Fixes SF #1345
2013-10-17 19:56:18 +01:00
Brant K. Kyser
3235570619 Globablly qualify the use of types from the .NET framework's System namespace in the C# module and library. 2013-10-17 13:27:48 -05:00
Atri
1a7f731d60 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
2013-10-12 17:51:49 +01:00
William S Fulton
7b08378145 Minor cleanup prior to merging to master 2013-10-11 21:48:45 +01:00
Simon Marchetto
9b9b9cb999 Scilab: fix scalar typemaps & separate "interface" from "implementation" 2013-10-10 14:50:51 +02:00
William S Fulton
bcb7aee022 Merge branch 'master' into gsoc2009-matevz
Conflicts:
	Examples/Makefile.in
	Examples/guile/Makefile.in
	Lib/php/php.swg
	Makefile.in
	Source/CParse/parser.y
	configure.ac
2013-10-10 07:26:09 +01:00
Simon Marchetto
fd92e9e72f Scilab: fix SWIG_Scilab_SetOutput (scilab version macro changed) 2013-10-09 17:09:11 +02:00
Simon Marchetto
626a1f5482 Scilab: use fname argument not global variable 2013-10-09 13:02:54 +02:00
Simon Marchetto
562c2d1a42 Scilab: fix compilation error on SWIG_SciInt32_FromSize 2013-10-09 13:01:16 +02:00
Simon Marchetto
8a3278ade2 Scilab: fix compilation error on createMatrixOfString 2013-10-09 12:58:04 +02:00
Simon Marchetto
8626d96aff Scilab: refactor enum typemap 2013-09-27 10:30:12 +02:00
Simon Marchetto
018134f96c Scilab: add fname parameter at typemap function (for consistency) 2013-09-27 10:22:25 +02:00
Simon Marchetto
32e1acfe4f Scilab: fix last commit 2013-09-27 10:04:33 +02:00
Oliver Buchtala
6dcbbf07db Conflicts:
.gitignore
	.project
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
2013-09-27 02:29:02 +02:00
Simon Marchetto
4cf15d9c1e Scilab: fix scilab primitve typemaps 2013-09-26 16:54:55 +02:00
Simon Marchetto
9057101d70 Scilab: macro to check Scilab version 2013-09-26 16:16:02 +02:00
Olly Betts
12708c9241 Fix typos 2013-09-25 17:29:33 +12:00
Simon Marchetto
caf2db6b8d Scilab: fix dynamic_cast test error 2013-09-24 11:39:55 +02:00
Oliver Buchtala
335d926c44 Add stub std_deque.i files. 2013-09-24 03:56:19 +02:00
Simon Marchetto
c32449e131 Scilab: group together Scilab includes 2013-09-23 10:15:28 +02:00
Simon Marchetto
934fc9b37b Fix Iterators prefixes 2013-09-23 10:10:31 +02:00
Simon Marchetto
b7064539d0 Scilab: fix prefix SciObject 2013-09-23 09:57:12 +02:00
Gavin Kinsey
43032339d0 Fixed a memory leak for java STRING_ARRAY
The allocation loop uses size, so the free loop should do the same,
not size-1.
2013-09-20 18:44:44 +01:00
Simon Marchetto
77da84f549 Scilab: init function name SWIG_Init() changed to <module>_Init() 2013-09-18 10:24:47 +02:00
William S Fulton
d0cb2b73db Remove X11 detection during configure
X11 is not used anywhere.
2013-09-18 00:40:24 +01:00
Oliver Buchtala
0528fd3ac3 Bugfix for Javascript generator. 2013-09-16 11:46:00 +02:00
Oliver Buchtala
eb9523b5ca Add missing macros. 2013-09-16 04:12:55 +02:00
Oliver Buchtala
3e28d1e28f Let v8 generated code include stdlib.h 2013-09-16 04:12:42 +02:00
Oliver Buchtala
b6426bde25 Add cdata.i typemaps. 2013-09-16 04:12:06 +02:00
Oliver Buchtala
1f07195812 Rearrange generation of init block to have custom init code within the initializer body. 2013-09-16 03:53:00 +02:00
Oliver Buchtala
80ce36c445 Make JSC inheritance definition more robust. 2013-09-16 02:27:51 +02:00
Oliver Buchtala
bf416876dd Bugfix for JSC %typemap(out) std::string&. 2013-09-16 01:33:19 +02:00
Oliver Buchtala
b7f827e42c Fix typemap declarations for (unsigned) long long. 2013-09-16 01:23:03 +02:00
Oliver Buchtala
68eff3e81e Merge branch 'devel' of github.com:oliver----/swig-v8 into devel 2013-09-16 00:55:57 +02:00