Commit graph

958 commits

Author SHA1 Message Date
Vadim Zeitlin
ed28725a15 Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>.
These typemaps are currently defined for C#, Java and Python only and the
tests are provided only for these languages.

Also add a brief description of the new header to the documentation.
2013-12-03 23:45:20 +01:00
William S Fulton
f4ada30a7e Add support for C++11 noexcept specification in exception specifications 2013-11-21 20:20:56 +00:00
William S Fulton
7a8dd4bb2d Correct html references 2013-11-20 22:24:13 +00:00
William S Fulton
e566c5fa7f Add support for parsing C++11 =delete and =default
Although this was documented as working, it wasn't implemented
%typemap(default) failed without the idstring changes
Add some C tests using the C++ keyword delete
2013-11-20 19:12:16 +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
d73f04e925 Documentation edit for the director:except feature and directorthrows typemap 2013-11-07 23:14:21 +00: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
29c98fa7f8 Update documentation to reflect fully qualifying the use of .NET types in the generated code. 2013-10-22 11:52:00 -05:00
Vadim Zeitlin
72afb74f47 Add support for case conversion characters in regex substitutions.
Allow using Perl-like \l, \L, \u, \U and \E escape sequences in the
substitution string used with %rename("%(regex:/pattern/subst/)s").
This is useful for e.g. title casing all string after removing some prefix.

Closes #82
2013-10-15 07:17:56 +01: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
William S Fulton
738cc36aab Rename all C++0x to C++11 and cpp0x to cpp11 2013-10-07 20:37:00 +01:00
Olly Betts
12708c9241 Fix typos 2013-09-25 17:29:33 +12:00
William S Fulton
37bccfd517 Bump version to 3.0.0
SWIG 3 is open for business - looks go crazy!
2013-09-18 00:40:17 +01:00
William S Fulton
80b108eb70 Add swig-2.0.11 release info and date 2013-09-15 15:11:43 +01:00
William S Fulton
f47075ec99 Smart pointer documentation improvement 2013-09-03 23:58:05 +01:00
William S Fulton
d0af4f50d3 Add %pythonbegin directive.
For adding code at the beginning of the generated .py file.
2013-07-05 06:30:16 +01:00
William S Fulton
7f95c7bb3e Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => SWIG_PYTHON_INTERPRETER_NO_DEBUG 2013-06-11 19:15:57 +01:00
William S Fulton
5cdfc503e1 Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the Python Debug dll 2013-06-11 00:22:21 -07:00
William S Fulton
abc27fd157 Further Ruby html doc formatting changes 2013-06-08 02:00:47 +01:00
William S Fulton
66599db01d Ruby html docs formatting - modify code snippets to be same as other chapters 2013-06-08 01:41:16 +01:00
William S Fulton
a7515a725e Remove use of monospace in Ruby docs and unncessary usage of <br> 2013-06-08 00:37:38 +01:00
William S Fulton
5766f19132 Remove lines with just spaces on them in Ruby docs 2013-06-08 00:37:15 +01:00
William S Fulton
8e89cad271 Bump version to 2.0.11 2013-05-27 20:27:50 +01:00
William S Fulton
1524d02e13 Add swig-2.0.10 release date and release notes 2013-05-27 19:24:04 +01:00
William S Fulton
030b97c891 Documentation sectioning update 2013-05-25 00:15:48 +01:00
William S Fulton
f15eb3f5ec Fix vararg documentation for Python 3
Memory handling is different to Python 2.
2013-05-24 23:02:34 +01:00
Geert Janssens
cb24c110df Guile remove references to -gh and -scm from manual 2013-05-13 22:31:29 +02:00
William S Fulton
ea2e615cec Fix some typos in directive names 2013-05-12 19:14:59 +01:00
William S Fulton
2733a0f7a3 Update htmldoc patch to htmldoc-1.8.27
Note: Best to use the patched source from Ubuntu/Debian which fixes some
bugs.

Also added "Patched with margin-left.patch" text to output of
  htmldoc --version
2013-05-12 19:14:58 +01:00
Karl Wette
95e2142347 Update Octave manual to use "swigexample" instead of "example"
Closes #46
2013-05-09 18:34:54 +01:00
William S Fulton
70b9df5ee9 Portable dynamic library loading for Guile
dynamic-link and load-extension work without passing the .so or .dll as
the shared library extension, so these have been dropped so the examples
and test-suite work on Cygwin.

Also update documentation and use the 'lib' prefix as that is what we
commonly name the shared libraries.
2013-05-08 12:42:17 +01:00
William S Fulton
4bf045ce2c Move installation and install check instructions from README to Preface section in the documentation. 2013-05-03 19:55:42 +01:00
William S Fulton
e9b76e4c85 Add more references about the SWIG license to the legal.html website page
Also add in references to the release notes.
2013-05-03 19:55:41 +01:00
William S Fulton
067b883813 Guile doc sections update 2013-05-03 19:55:41 +01:00
Terrell Russell
4b1e882865 subject/verb agreement 2013-04-30 22:49:12 -03:00
Geert Janssens
469022d311 Disable guile 2's autocompilation feature for the test suite
Autocompilation generates a lot of warnings. Most of them
just informational, but it clutters the test output.
2013-04-28 22:06:26 +02:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
3c47730803 Drop support for guile 1.6 and older 2013-04-28 22:06:22 +02:00
William S Fulton
af859a1e2d Fix Ruby documentation for %bang 2013-03-29 13:46:49 +00:00
Olly Betts
481ed3c578 Update lingering configure.in references to say configure.ac 2013-03-21 14:41:09 +13:00
Olly Betts
b132992b8a Stop claiming that SWIG_exception() can be used in helper functions 2013-03-21 14:25:14 +13:00
William S Fulton
d1b40b468b Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards. 2013-02-18 22:40:42 +00:00
William S Fulton
b80f4dc5e2 Restrict the name used in %extend to be just the struct/class name and not a typedef to a class/struct. Typedefs were only partially working anyway. Anonymous struct typedefs excluded. Deprecate with a warning for now. 2013-02-18 19:53:37 +00:00
William S Fulton
b725625e6f Add support for thread_local when specified with other legitimate storage class specifiers - extern and static 2013-02-08 06:36:39 +00:00
William S Fulton
c1b99d4279 User defined literals: fix for %rename and update docs 2013-02-08 06:36:31 +00:00
William S Fulton
6399428a62 Add lambda functions to the symbol tables and add ability to suppress lambda warnings. 2013-02-04 20:05:34 +00:00
William S Fulton
d613ef42f2 Rework std::initializer_list handling to warn about usage in any method, not just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour. 2013-02-04 20:03:22 +00:00
William S Fulton
c8ff23de0c Initialization list doc updates and new tests. Fix functions with default arguments that are initializer lists 2013-02-02 20:03:10 +00:00
William S Fulton
a043b55b69 Better clarification about polymorphic wrappers for function objects - std::function 2013-02-01 19:17:21 +00:00