Vadim Zeitlin
fe6968e5e2
Reuse existing variable in CommentParser code used in Java tests
...
No real changes, just a tiny simplification.
2019-12-18 02:24:01 +01:00
William S Fulton
aa47b4c438
Fix some C++11 identifiers with special meaning parsing problems
...
Fix parsing of C++11 identifiers with special meaning (final and override) when
they are used as part of the scope name of an identifier, such as a namespace name.
Closes #1679
2019-12-10 19:26:05 +00:00
William S Fulton
66752cde48
Remove Travis osx java testing
...
Removed until doxygen testing is ported to something that doesn't use
com.sun.javadoc which was remoed in jdk 13
2019-12-04 20:08:41 +00:00
William S Fulton
8122929ba9
Improve .NET docs.
...
Add minimum .NET version required
Issue #1623
[skip-ci]
2019-12-04 07:06:58 +00:00
William S Fulton
3d98179fd3
Temporarily remove broken Appveyor Python3 testing
2019-11-26 19:45:08 +00:00
William S Fulton
18b2dcd222
C# 'out' or 'ref' removal improvements in director typemaps.
...
- Add support to DOH Replace for not replacing inside C comments
- Fix removing 'out' or 'ref' when these are present in C comments
in cstype typemaps.
Closes #1628
2019-11-26 19:39:28 +00:00
William S Fulton
6fb345feb2
'out' or 'ref' usage in a cstype typemap in directors
...
'out' / 'ref' was not always stripped out in parts of the
director code generation.
Issue #1628
2019-11-26 19:32:34 +00:00
William S Fulton
cb5d7398b5
Fix bug in Python builtin support for keyword args
...
The fix is when using kwargs feature or -keyword.
The fix is in the argument error checking when wrapping zero
argument constructors only. Supplied keyword args were silently
ignored.
Issue #1595
2019-11-01 19:46:42 +00:00
Karl Wette
e4c38f0f67
Octave: remove use of ppa:kwwette/octaves
2019-10-16 18:17:29 +13:00
William S Fulton
97a107ed25
Merge pull request #1619 from emminizer/fix-msvc2019-python
...
Fix error in generated code for Python in MSVC 2019.
2019-10-01 08:12:58 +01:00
William S Fulton
4c86ed4980
Macros wrapped as constants documentation improvements.
...
Closes #1618
2019-10-01 08:05:35 +01:00
William S Fulton
719eea090d
Improve error handling calling PyObject_SetAttr
...
Less obscure error when setting 'this' on the SWIG proxy object
attempting to override __setattr__ in C++ (swig-user mailing list
query 19 Aug 2019).
2019-09-13 07:37:03 +01:00
Daniel Emminizer
9fc57f47bd
Fix error in generated code for Python in MSVC 2019.
...
Visual Studio 2019 release builds:
error C4703: potentially uninitialized local pointer variable 'p' used
2019-08-29 09:10:41 -04:00
William S Fulton
c48d11ac17
Bump version to 4.0.2
2019-08-22 06:55:39 +01:00
William S Fulton
1e36f51346
Add swig-4.0.1 summary to release notes
2019-08-20 22:34:03 +01:00
William S Fulton
2c1ff4e8ce
Add swig-4.0.1 release date
2019-08-20 19:47:57 +01:00
William S Fulton
f4208a0a41
R html docs formatting fixes.
...
[skip-ci]
2019-08-20 19:37:32 +01:00
William S Fulton
dfcc11042f
Add %native Javascript to changes file
2019-08-20 18:57:35 +01:00
William S Fulton
6925ec796b
Merge branch 'contrib/TekuConcept'
...
* contrib/TekuConcept:
Dev Checkpoint 201908200213
Dev Checkpoint 201906261312
Dev Checkpoint 201906252227
Dev Checkpoint 201906252221
Dev Checkpoint 201906252210
Dev Checkpoint 201906252113
Add JS Native Directive Testcase
JS Example Campatibility Update
Add Native Directive Example
Update JavaScript Documentation
Add JS Native Wrapper API
2019-08-20 18:53:02 +01:00
Chris Walker
025269f121
Dev Checkpoint 201908200213
2019-08-20 02:13:50 -06:00
William S Fulton
5c2e0b2c5e
Add SWIG_JavaIllegalStateException to changes file
2019-08-20 07:12:58 +01:00
William S Fulton
4f948d01d6
Merge branch 'illegal_state_except'
...
* illegal_state_except:
[Java] Add support for throwing IllegalStateException
2019-08-20 07:06:46 +01:00
William S Fulton
1e8dad2084
Add note to changes file about Lua tostring change
2019-08-19 07:57:17 +01:00
William S Fulton
87a0dd2d90
Merge branch 'sjml-patch-1-lua-print'
...
* sjml-patch-1-lua-print:
removing unnecessary bits
closer match to Python's output
typo
actually seeing both is useful
matching code conventions
Lua userdata print pointing to wrapped memory
2019-08-19 07:48:23 +01:00
Brad Kotsopoulos
85edc6de99
[Java] Add support for throwing IllegalStateException
2019-08-18 23:33:11 -04:00
Ian Lance Taylor
62136ff782
Fix Go version check and Go in-tree example tests
...
Fixes #1607
2019-08-09 14:06:45 -07:00
Ian Lance Taylor
6b108c19e1
Restore setting of GOVERSIONOPTION
...
Accidentally removed in last commit.
2019-08-08 22:59:57 -07:00
Ian Lance Taylor
7aafe3d8b2
Fix all Go tests to build with "go build"
...
Tested against Go 1.6 through Go 1.13beta1, and gccgo.
Fixes #1607
2019-08-08 14:30:50 -07:00
William S Fulton
5e2b8f3ec9
Merge branch 'python-stl-overloading'
...
* python-stl-overloading:
Python STL container method overloading fix
2019-08-08 18:58:49 +01:00
William S Fulton
bef1fab3e6
Add changes entry for %constant enum fix
2019-08-08 07:47:49 +01:00
William S Fulton
fb776e1900
Merge branch 'cshar-fix-enum-constants'
...
* cshar-fix-enum-constants:
Fix invalid code generated for "%constant enum EnumType ..." and add a test.
2019-08-08 07:44:21 +01:00
William S Fulton
86cb3a9532
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.
2019-08-06 19:36:14 +01:00
Shane Liesegang
49a8e28eb9
removing unnecessary bits
2019-08-02 23:10:19 +02:00
Shane Liesegang
fe758f3e05
closer match to Python's output
2019-08-02 23:05:53 +02:00
William S Fulton
87bf8ae7aa
Merge pull request #1604 from vadz/init-doc
...
Correct %init documentation for C#/Java
2019-08-01 19:58:03 +01:00
William S Fulton
3cc4b21163
Parameter name expansion fix for template functions.
...
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
2019-08-01 19:46:16 +01:00
Rokas Kupstys
06345e2aa5
Fix invalid code generated for "%constant enum EnumType ..." and add a test.
2019-08-01 08:55:07 +03:00
William S Fulton
0d76eb3b56
The errors testcases use -module to obtain a unique module name
...
Fixes parallel make where each invocation of swig was writing and
deleting the same file resulting in lots of the newly introduced
warning messages:
On exit, could not delete file xxx.py: No such file or directory
2019-07-31 00:08:49 +01:00
William S Fulton
2cf075558c
Replace all exit() with SWIG_exit()
...
For consistent cleanup on error
2019-07-31 00:08:49 +01:00
William S Fulton
b36ae64185
Remove all generated files on error.
...
Previously generated files were not removed,
potentially breaking Makefiles using file dependencies, especially when
-Werror (warnings as errors) was used.
2019-07-31 00:08:49 +01:00
William S Fulton
f69da524f0
Exit code change when using -Werror
...
Exit code is now sum of all errors, not just warnings as errors.
I'm can't think why the exit code wasn't like this in the first
place.
2019-07-31 00:08:49 +01:00
William S Fulton
98f29f8ad9
Remove deprecated DohClose in DOH
2019-07-31 00:08:49 +01:00
Vadim Zeitlin
a4432a68da
Correct %init documentation for C#/Java
...
For these languages, %init doesn't inject the code into the
initialization function (because there is none), but just puts it into
the global scope instead.
[skip ci]
2019-07-30 21:12:04 +02:00
Shane Liesegang
9c5b97ae36
typo
2019-07-28 00:43:01 +02:00
Shane Liesegang
b145c49375
actually seeing both is useful
2019-07-27 20:47:18 +02:00
William S Fulton
753c50afd7
Update docs on %typecheck precedence levels
2019-07-25 18:57:10 +01:00
William S Fulton
15a0681b11
Add note about wchar_t marshalling fix required for Windows
2019-07-25 18:57:10 +01:00
Vadim Zeitlin
0ff6893b2d
Make Python module source non-executable again
...
0f88f9997c (probably accidentally) changed
this file to be executable, undo this as it doesn't make sense for a
source file to have this mode.
See #1242 .
2019-07-24 20:10:35 +02:00
William S Fulton
c7aae28a99
Remove failing wchar c# test
2019-07-24 08:35:13 +01:00
William S Fulton
10f0329e4b
Add changes entry for C# std::wstring marshalling fix
2019-07-23 22:16:04 +01:00