| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* python-stl-overloading:
Python STL container method overloading fix
|
| |
| |
| |
| |
| | |
Fix method overloading of methods that take STL containers of different types.
Due to some error handling that was not cleared during typehecking.
|
|/ |
|
|
|
|
|
|
|
|
| |
Fix regression in 4.0.0 where a template function containing a parameter
with the same name as the function name led to the parameter name used in the
target language being incorrectly modified.
Closes #1602
|
|
|
|
|
|
| |
Previously generated files were not removed,
potentially breaking Makefiles using file dependencies, especially when
-Werror (warnings as errors) was used.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
* bugfix/616-csharp-bool-array:
Add changes entry to fix C# bool[]
Quieten failing bool[] testcase message
Skip failing bool[] test cases when running under mono
Change C# bool[] typemaps to marshall as 1-byte
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* patch-1:
nested_inheritance_interface testcase enhancement
Add nested_inheritance_interface test for csharp
Fix class name for nested classes
Add nested_inheritance_interface test
Fix class name for nested classes
Conflicts:
CHANGES.current
|
| | |
| | |
| | |
| | | |
Fixes unused variable reported by C# compiler and enhance test slightly
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
when two or more arguments were present.
Closes #1559
|
|/
|
|
|
|
|
|
| |
Done in order to be C++17 compliant as it uses std::unexpected_handler
which was removed in C++17. This class was intended for director
exception handling but was never used by SWIG and was never documented.
Closes #1538
|
|
|
|
|
|
|
| |
Reserve before loop of push_back
Refactor li_std_vector testcase
This is a squash merge of #1552
|
|
|
|
|
| |
Introduced in SWIG 4.0.0. Fixes #1553, reported by Alexandre
Duret-Lutz.
|
| |
|
|
|
|
| |
Closes https://github.com/swig/swig/pull/1528
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
definition.
Closes #1508
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes two warnings in each wrapper:
warning : CA2002 : Microsoft.Reliability : 'examplePINVOKE.SWIGPendingException.Retrieve()' locks on a reference of type 'Type'. Replace this with a lock against an object with strong-identity.
warning : CA2002 : Microsoft.Reliability : 'examplePINVOKE.SWIGPendingException.Set(Exception)' locks on a reference of type 'Type'. Replace this with a lock against an object with strong-identity.
Use lock statement advice not to use typeof for locks, see
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/lock-statement
|
|
|
|
|
|
|
| |
Added to the javadestruct, javadestruct_derived, ddispose, ddispose_derived
typemaps to mirror enhanced flexibility in the csdisposing and
csdisposing_derived (C#) typemaps. If provided the contents are generated
as the delete/dispose method's parameters declaration.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously just the Dispose() method was generated.
Now the Dispose() and Dispose(bool disposing) methods are generated.
Changes are required if custom "csfinalize", "csdestruct" or "csdestruct_derived"
typemaps are being used. Details in #421 on Github. SWIG will error out if one of
the "csfinalize, "csdestruct" or "csdestruct_derived" typemaps are found. Example
error message:
foo.h:60: Error: A deprecated csfinalize typemap was found for Foo, please remove
it and replace all csdestruct, csdestruct_derived and csfinalize typemaps by the
csdispose, csdispose_derived, csdisposing and csdisposing_derived typemaps.
Closes #421
|
|
|
|
|
|
| |
Better to use the actual type rather than void* in the implementaton.
It also mean the %apply that was used in the implementation won't
inadvertently affect users other use of void* types.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
These implementations are not optimized, i.e. are done in a naive way in
C#, rather than using C++ functions more efficiently, but are better
than nothing.
|
|
|
|
|
|
|
|
| |
Create new Lib/csharp/std_set.i based on the existing std_map.i and run
li_std_set unit test for C# as well.
Notice that the set operations defined by the base ISet<> interface are
not implemented yet.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ZackerySpytz-director-classes-final-methods:
Warning tweaks for destructors that are final in director classes
Documentation for directors and virtual final methods
Fixes for final destructors in director classes
Warning fix for final destructor in directors
Remove a useless warning filter
Fix the handling of director classes with final methods
|
| |\
| | |
| | |
| | | |
director-classes-final-methods
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Generated SwigDirector_* classes were attempting to override
methods marked as final.
In addition, give a warning if the destructor of a director class is
final.
Closes #564.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* ZackerySpytz-valid-floating-point-literals:
Fix some rejections of valid floating-point literals
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Some valid floating-point literals were giving
"Error: Syntax error in input(1)".
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The std::vector wrappers have been changed to work by default for elements that are
not default insertable, i.e. have no default constructor. This has been achieved by
not wrapping:
vector(size_type n);
Previously the above had to be ignored via %ignore.
If the above constructor is still required it can be added back in again via %extend:
%extend std::vector {
vector(size_type count) { return new std::vector< T >(count); }
}
Alternatively, the following wrapped constructor could be used as it provides near-enough
equivalent functionality:
vector(jint count, const value_type& value);
The equivalent change to std::list has also been made (std::list
wrappers were not in the previous release [3.0.12] though).
|