Age | Commit message (Collapse) | Author |
|
Change-Id: I47cef2be94299220d80265d949a95b58eee2c23b
|
|
Bug: 259292099
Change-Id: I92777295bc0304d0515a5a145082ee06302d6f19
|
|
Support building SWIG as a host binary. Needed for to generate python
bindings to libfdt in the U-Boot project.
The swigwarn.swg file is transformed from the C error codes header. We
can't use a genrule for this file, because it must appear in the source
tree for use by code generated by SWIG, and it only needs to be
generated "once" per source import.
The swigconfig.h is usually generated by autoconf, and contains various
hard-coded paths that don't make sense for Android.
Bug: 162801433
Change-Id: Ibd59eab31af9017dab623f33c000412077620116
|
|
The Android integration of yacc will write the include file out to a
non-controllable location based on the path of the source .y file.
Update the direct inclusion of this header to match the schema of the
Android build system.
Bug: 162801433
Change-Id: Ibe288ab4496d2f0dfb98f95c49fcdcfe0776fd23
|
|
Android builds all host tools with -Werror=no-return, which generates a
false positive in name_regexmatch_value() if HAVE_PCRE is not present.
Fix this by annotating SWIG_exit() with noreturn so the compiler knows
that the call will not return, thus the missing return code is in fact
not a problem.
Bug: 162801433
Change-Id: I0ee1ec89eff1f3e7aaf9056dda5543734bec2980
|
|
When building SWIG for Android, there is no support for C++ exceptions.
In the cases there is "Illegal state", it seems more like an internal
error, so we can replace the throw calls with a debug print and exit
immediately.
Bug: 162801433
Change-Id: I8096656f5a9f333ac2f4704438116ac8621b8193
|
|
We need a host build of SWIG to generate some python bindings to libfdt
to build the U-Boot bootloader. May as well pitch in to maintain SWIG.
Bug: 162801433
Change-Id: I2148cbb5bf0f880d886c86a84771d2ec0605833a
|
|
Also run autogen.sh to generate configure files.
Exempt-From-Owner-Approval: add myself to owners
Change-Id: I391aa20428836ae74dab8c8427627ca4dbc8ecf4
|
|
|
|
|
|
[skip-ci]
|
|
|
|
* 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
|
|
|
|
|
|
* illegal_state_except:
[Java] Add support for throwing IllegalStateException
|
|
|
|
* 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
|
|
|
|
Fixes #1607
|
|
Accidentally removed in last commit.
|
|
Tested against Go 1.6 through Go 1.13beta1, and gccgo.
Fixes #1607
|
|
* python-stl-overloading:
Python STL container method overloading fix
|
|
|
|
* cshar-fix-enum-constants:
Fix invalid code generated for "%constant enum EnumType ..." and add a test.
|
|
Fix method overloading of methods that take STL containers of different types.
Due to some error handling that was not cleared during typehecking.
|
|
|
|
|
|
Correct %init documentation for C#/Java
|
|
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
|
|
|
|
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
|
|
For consistent cleanup on error
|
|
Previously generated files were not removed,
potentially breaking Makefiles using file dependencies, especially when
-Werror (warnings as errors) was used.
|
|
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.
|
|
|
|
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]
|
|
|
|
|
|
|
|
|
|
0f88f9997c78a937eb9afa122389caf9666e33dc (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.
|
|
|
|
|
|
|
|
|
|
Test code from issue #1530
|
|
|
|
|
|
Not many languages have support for std_wstring.i, so disable testing
for these languages until added.
|