summaryrefslogtreecommitdiff
path: root/CHANGES.current
Commit message (Collapse)AuthorAgeFilesLines
* Remove some useless codeWilliam S Fulton2014-03-281-1/+4
|
* Fixes for C enums used in an API and the definition of the enum has not been ↵William S Fulton2014-03-281-0/+3
| | | | | | | | | parsed. For D, this fixes a segfault in SWIG. Java, C#, D, Go now produce code that compiles, although the definition of the enum is needed in order to use the enum properly from the target language.
* CHANGES file for previous commit for LuaWilliam S Fulton2014-03-231-0/+2
|
* Bump version to 3.0.1William S Fulton2014-03-171-357/+1
|
* Add release dateWilliam S Fulton2014-03-161-2/+2
|
* Add changes notes for Lua changesWilliam S Fulton2014-03-161-0/+39
|
* CHANGES file updatesWilliam S Fulton2014-03-161-1/+8
|
* Change in default behaviour wrapping C++ bool for Python.William S Fulton2014-03-081-0/+56
| | | | | Only a Python True or False will now work for C++ bool parameters. This fixes overloading bool with other types.
* Fix std::map and smart pointers.William S Fulton2014-03-061-0/+6
| | | | | | | | | 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
* Correct exception thrown attempting to access a non-existent C/C++ global ↵William S Fulton2014-03-021-0/+9
| | | | | | | | | | | 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.
* Further fixes when using type() when using -builtin to include module nameWilliam S Fulton2014-03-011-0/+4
| | | | | Using type() on a builtin type should include the package and module name, see http://docs.python.org/2/c-api/typeobj.html
* Add testcase and info on python -builtin missing argument count checkWilliam S Fulton2014-03-011-0/+4
|
* Add summary about nested class support added over the last few monthsWilliam S Fulton2014-02-261-0/+23
|
* Fix warning suppression using %warnfilter for PHP reserved class names.William S Fulton2014-02-211-0/+3
| | | | | The features need to be merged in before issuing a warning as %warnfilter is a %feature.
* [Lua] Add keyword warnings for Lua keywords and Basic Functions.Olly Betts2014-02-191-0/+3
|
* -Wallkw now includes keywords for all languages with keywordOlly Betts2014-02-191-0/+4
| | | | warnings (previously Go and R were missing).
* Fix incorrect patch numberOlly Betts2014-02-191-1/+1
|
* [PHP] Update the lists of PHP keywords with new ones from PHP 5.4Olly Betts2014-02-191-0/+9
| | | | | | | | | and newer (and some missing ones from 5.3). Reserved PHP constants names are now checked against enum values and constants, instead of against function and method names. Built-in PHP function names no longer match methods added by %extend. Functions and methods named '__sleep', '__wakeup', 'not', 'parent', or 'virtual' are no longer needlessly renamed.
* Add %$isextendmember for %rename of members added via %extendWilliam S Fulton2014-02-181-0/+6
|
* Fix %$ismember %rename predicate for members added via %extendWilliam S Fulton2014-02-181-0/+3
| | | | | | | Bug reported was incorrect renaming of PHP built-in functions, such as next. See PHPFN in phpkw.swg. Add some tests for the %rename predicates.
* CHANGES files corrections since 2.0.12 releasev3.0.0-beta1rel-3.0.0-beta1William S Fulton2014-02-161-62/+0
| | | | | A number of fixes committed since 2.0.11 release were intended for the 3.0.0 release were backported to the maintenance-2.0 branch for 2.0.12.
* C++ exception (wrapped by a Python exception as a shadow instance) ↵William S Fulton2014-02-161-0/+3
| | | | | | segfaulting Python Patch #137
* Add support for cdata library for JavaWilliam S Fulton2014-02-151-0/+3
|
* Changes entry for guile non-ascii strings fixWilliam S Fulton2014-02-061-0/+5
|
* Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps.William S Fulton2014-02-041-0/+14
|
* [Go] Add %go_import directive.Ian Lance Taylor2014-01-211-0/+3
|
* [Go] Add support for Go 1.3, not yet released.Ian Lance Taylor2014-01-211-0/+3
|
* Director exceptions now derive from std::exceptionWilliam S Fulton2014-01-201-0/+5
|
* Fix PHP compilation error in ZTS mode (64 bit windows) due to TSRMLS_FETCH() ↵William S Fulton2014-01-161-0/+4
| | | | expansion
* Merge branch 'diorcety-typedef-prefix'William S Fulton2014-01-141-0/+4
|\ | | | | | | | | | | | | | | | | | | | | * diorcety-typedef-prefix: Modify typedef_typedef testcase to work for all languages Add test for checking prefix resolving in typedef Typedef typedef prefix test for templates Resolve prefix when resolving typedef Conflicts: CHANGES.current
| * Modify typedef_typedef testcase to work for all languagesWilliam S Fulton2014-01-141-0/+4
| | | | | | | | | | | | Add CHANGES note Closes #112.
* | octave: update support to Octave version 3.8.0Karl Wette2014-01-131-0/+26
|/
* %naturalvar feature fixes and documentationWilliam S Fulton2014-01-111-0/+10
| | | | | | | | | | | Fix and document the naturalvar feature override behaviour - the naturalvar feature attached to a variable name has precedence over the naturalvar feature attached to the variable's type. The overriding was not working when turning the feature off on the variable's name. Fix so that any use of the naturalvar feature will override the global setting. Previously when set globally by -naturalvar or %module(naturalvar=1), use of the naturalvar feature was not always honoured.
* [Go] Fix bug that broke using directors from a thread not created by Go.Ian Lance Taylor2014-01-061-0/+4
|
* Add changes entry for python imports/packages changesWilliam S Fulton2013-12-241-0/+21
|
* Don't accept strings too long to fit in char[N] with trailing NUL.Vadim Zeitlin2013-12-231-2/+7
| | | | | | | | | | | | It was previously possible to assign "hello" to a variable backed by char[5] storage in C, and the array contained the correct character data but without the trailing NUL, which was unexpected in C. This is not allowed any more, only "helo" can fit into a char[5] now and anything else fails the type check, just as it already happened for the longer strings before. Closes #122
* Change the length of strings created from fixed-size buffers.Vadim Zeitlin2013-12-231-0/+8
| | | | | | | | | | | | | | | | Use the usual C rule for NUL-terminated strings instead of discarding all the trailing NUL characters. This was unexpected (as buffers in C code are not necessarily always padded with NULs to their full length) and also inconsistent among languages as this was only done for those of them using typemaps/strings.swg but not for C# or Java, for example, which terminated the string at the first NUL even before this change. Notice that this patch couldn't use strlen() or wcslen() with possibly not NUL-terminated strings, so we had to add [our own equivalents of] strnlen() and wcsnlen() and use them instead. This required adding yet another parameter to string typemap macros, so update the example using them accordingly too.
* Perl directors changes entry added and minor tidy upWilliam S Fulton2013-12-231-0/+3
|
* C++11 support for new versions of erase and insert in the STL containers.William S Fulton2013-12-221-0/+21
| | | | | | | | | | | | | | | | | | | | 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
* Go: Don't require that Go environment variables be set when runningIan Lance Taylor2013-12-181-0/+5
| | | | examples or testsuite.
* Remove Go -longsize option.Ian Lance Taylor2013-12-171-3/+7
|
* [Go] Add -go-pkgpath option.Ian Lance Taylor2013-12-171-0/+3
|
* Update for Go 1.2 release. Add support for linking SWIG code directlyIan Lance Taylor2013-12-161-0/+5
| | | | into executable, rather than using a shared library.
* Add comment with SWIG file name in files generated for Go.Ian Lance Taylor2013-12-131-0/+4
|
* Add CHANGES.current entry for previous commitOlly Betts2013-12-121-0/+4
|
* Add CHANGES.current entry and minimal doc update for previous changeOlly Betts2013-12-121-0/+7
|
* [PHP] The usage of $input in PHP directorout typemaps has beenOlly Betts2013-12-121-0/+9
| | | | | | | | | changed to be consistent with other languages. The typemaps provided by SWIG have been updated accordingly, but if you have written your own directorout typemaps, you'll need to update $input to &$input (or make equivalent changes). *** POTENTIAL INCOMPATIBILITY ***
* Just a correction to the last commit changelog entry.Vadim Zeitlin2013-12-031-1/+1
| | | | Mention the target languages affected.
* Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>.Vadim Zeitlin2013-12-031-0/+3
| | | | | | | 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.
* Update changes file with previous commit dropping .NET 1.1 supportWilliam S Fulton2013-11-091-0/+19
|