William S Fulton
e3d6c3c971
Merge pull request #1391 from ZackerySpytz/OCaml-replace-SWIGSTATIC-with-SWIGINTERN
...
[OCaml] Replace SWIGSTATIC with SWIGINTERN
2019-01-03 08:04:33 +00:00
William S Fulton
a3ec4e895e
Merge pull request #1392 from ZackerySpytz/OCaml-gitignore
...
[OCaml] Add an OCaml entry to .gitignore
2019-01-03 07:59:51 +00:00
William S Fulton
f17e993ed7
Remove some non-standard cruft from OCaml test-suite
2019-01-03 07:54:29 +00:00
William S Fulton
5be27fd69c
Make OCaml configure output more consistent with other languages
2019-01-03 07:46:29 +00:00
William S Fulton
d247388fdf
Merge branch 'ZackerySpytz-OCaml-out-of-source'
...
* ZackerySpytz-OCaml-out-of-source:
Don't override SCRIPTDIR.
Replace mv hack.
[OCaml] Update OCaml for out-of-source builds
2019-01-03 07:12:31 +00:00
Zackery Spytz
f2a05bda8b
Don't override SCRIPTDIR.
2019-01-02 05:01:54 -07:00
Zackery Spytz
5f941bc3c7
Replace mv hack.
2019-01-02 01:33:53 -07:00
William S Fulton
552760b84b
Turn Travis OSX Python 3 testing back on
...
brew is working again with Python 3.7.1
2019-01-01 19:03:18 +00:00
Zackery Spytz
f682490ce9
[OCaml] Add an OCaml entry to .gitignore
...
[skip ci]
2019-01-01 09:22:36 -07:00
Zackery Spytz
5988c3bb24
[OCaml] Replace SWIGSTATIC with SWIGINTERN
...
Use SWIGINTERN to silence unused function warnings.
In addition, remove the declarations for SWIG_MustGetPtr(),
wrap_delete_void(), enum_to_int(), and int_to_enum() -- these
lacked definitions and caused compiler warnings.
2019-01-01 06:28:35 -07:00
William S Fulton
a0a1e4a7bf
Merge branch 'ZackerySpytz-OCaml-test-suite-keyword-warnings'
...
* ZackerySpytz-OCaml-test-suite-keyword-warnings:
[OCaml] Add missing warning filters for OCaml keywords in the test suite
2019-01-01 12:25:11 +00:00
William S Fulton
83b0111d53
Merge branch 'xantares-xml'
...
* xantares-xml:
Install xml files
Closes #1388
2019-01-01 12:21:36 +00:00
William S Fulton
07884f10ee
Python - remove duplicate proxy method definitions for global function wrappers.
...
Global functions previously generated two definitions, eg:
def foo():
return _example.foo()
foo = _example.foo
The first definition is replaced by the second definition and so the second definition
is the one used when the method is actually called. Now just the first definition is
generated by default and if the -fastproxy command line option is used, just the second
definition is generated. The second definition is faster as it avoids the proxy Python
method as it calls the low-level C wrapper directly. Using both -fastproxy and -olddefs
command line options will restore the previously generated code as it will generate both
method definitions.
With this change, the wrappers for global C/C++ functions and C++ class methods now work
in the same way wrt to generating just a proxy method by default and control via
-fastproxy/-olddefs options.
Closes #639 .
2019-01-01 12:12:56 +00:00
Michel Zou
3c2b8d23ef
Install xml files
2018-12-31 15:55:59 +01:00
Zackery Spytz
5c19f4de2f
[OCaml] Add missing warning filters for OCaml keywords in the test suite
2018-12-31 05:55:10 -07:00
William S Fulton
0078c7d84d
Merge branch 'ZackerySpytz-OCaml-missing-keyword-warnings'
...
* ZackerySpytz-OCaml-missing-keyword-warnings:
Update a dead link.
[OCaml] Add missing keywords to ocamlkw.swg
2018-12-30 22:26:31 +00:00
William S Fulton
330201018a
Fix overloading for non-pointers and NULL - MzScheme
2018-12-30 17:12:33 +00:00
William S Fulton
cbc1f7f171
Overloading for non-pointers and NULL - Chicken
...
Rework this to be consistent with other target languages
2018-12-30 17:03:26 +00:00
William S Fulton
b48339cfca
Fix overloading for non-pointers and NULL - Scilab
2018-12-30 14:22:13 +00:00
William S Fulton
f181d20dd1
Fix overloading for non-pointers and NULL - R
2018-12-30 13:46:51 +00:00
William S Fulton
b7db45661a
Fix overloading for non-pointers and NULL - Php
2018-12-30 12:00:49 +00:00
William S Fulton
e354ba8cdc
Fix overloading for non-pointers and NULL - Octave
2018-12-30 11:25:41 +00:00
William S Fulton
cd7772a274
Fix overloading for non-pointers and NULL - Lua
2018-12-30 10:54:53 +00:00
William S Fulton
ec8d978995
Overloading for non-pointers and NULL - Javascript
...
Overloading support for Javascript is generally incomplete as there are
no typecheck typemaps, so the overloading and NULL support added here
doesn't work and won't work until the typecheck typemaps are
implemented.
2018-12-30 10:11:35 +00:00
Zackery Spytz
c74ef14bb2
Update a dead link.
2018-12-30 02:51:58 -07:00
Zackery Spytz
701dc125e1
[OCaml] Add missing keywords to ocamlkw.swg
...
The asr, land, lor, lsl, lsr, lxor, mod, and nonrec keywords were
missing from ocamlkw.swg.
2018-12-30 02:50:46 -07:00
William S Fulton
eb151e43be
Fix overloading for non-pointers and NULL - Guile
2018-12-30 09:26:33 +00:00
Zackery Spytz
9973628268
[OCaml] Update OCaml for out-of-source builds
...
This is one of the steps needed to fix the OCaml test suite.
In addition, disable the creation of toplevels by default in the OCaml
examples (toplevels are currently broken).
2018-12-29 08:24:24 -07:00
William S Fulton
12eb0f81ae
Fix overloading for non-pointers and NULL - Tcl
2018-12-29 14:55:43 +00:00
William S Fulton
b1178cf130
Fix overloading for non-pointers and NULL - Perl
2018-12-29 14:15:59 +00:00
William S Fulton
d14c97408d
Fix overloading for non-pointers and NULL - Ruby
2018-12-29 14:15:51 +00:00
William S Fulton
2769a8763c
Add test for overloading and NULL
2018-12-29 14:15:45 +00:00
William S Fulton
c459019814
.gitinit update
...
For Examples/python/import_packages
2018-12-29 13:32:19 +00:00
William S Fulton
ef8a92578b
Correct Python implicitconv code
...
Py_None is only possible with implicitconv so move this block of code
into the implicitconv if block.
2018-12-29 12:09:04 +00:00
William S Fulton
3efea1f4ab
Fix typecheck typemaps for non-pointers and NULL
...
The typecheck typemaps succeed for non pointers (SWIGTYPE, SWIGTYPE&,
SWIGTYPE&&) when the equivalent to C NULL is passed from the target
language. This commit implements a fix for Python to not accept a Python
None for non-pointer types.
Issue #1202
2018-12-29 11:45:46 +00:00
Brad Kotsopoulos
945bd7c808
Remove c++11 from stl.i
2018-12-27 11:47:16 -05:00
Brad Kotsopoulos
7e9f1a7972
Add to STL file as well
2018-12-27 01:15:18 -05:00
Brad Kotsopoulos
573ddb061e
Maps both working as java.util impls
2018-12-27 01:11:54 -05:00
William S Fulton
315c7dab06
Remove debug display in python_pythoncode testcase
2018-12-22 18:47:34 +00:00
William S Fulton
f5d2e97228
Python documentation improvements for -olddefs and -builtin performance
...
The performance figures have been changed because the default options have
changed the performance.
Add some explanation for using -olddefs.
[skip ci]
2018-12-22 12:30:16 +00:00
William S Fulton
5a388863fa
director_thread test fixes for MacOS
...
Add extra debugging and correctly detect MacOS using __APPLE__ macro
2018-12-21 19:08:15 +00:00
William S Fulton
1faf5a879f
Avoid thread name checking testing on MacOS
...
It's not working!
2018-12-21 09:13:09 +00:00
William S Fulton
50f223f454
Fix director_thread test for MacOS
...
pthread_setname_np is defined differently on MacOS
2018-12-21 09:13:09 +00:00
William S Fulton
d835c69d65
Merge branch 'java-director-thread-name'
...
* java-director-thread-name:
Add changes entry for setting Java thread name
Increased Java thread name size.
Java directors - more generic thread name setting
Use prctl method to get thread names, which is available on all NDK versions
Actually, pthread_getname_np is only available in recent versions of Android (API level >= 26).
Set thread name when attaching to Android JVM in SWIG Java director
2018-12-20 21:23:29 +00:00
William S Fulton
88729d91c2
Add changes entry for setting Java thread name
2018-12-20 21:21:58 +00:00
William S Fulton
f948a756bb
Increased Java thread name size.
...
MacOS thread_info.h can handle thread names up to 64 characters.
See issue #1334 .
2018-12-20 21:21:54 +00:00
William S Fulton
26b8523fc4
Merge pull request #1382 from lpchambers/master
...
[Python] Add missing keywords 'async' and 'await' to pythonkw.swg.
2018-12-20 08:25:16 +00:00
William S Fulton
d9ecff1fca
Merge branch 'chlandsi-master'
...
* chlandsi-master:
Testcase for testing __new__ override Python 3.6 fix
fix for creating new shadow class in python 3.6
2018-12-20 08:12:41 +00:00
William S Fulton
6e2b54be2f
Testcase for testing __new__ override Python 3.6 fix
...
Issue #1357
2018-12-20 08:10:35 +00:00
Lewis Chambers
83ab3567dc
[Python] Add missing keywords 'async' and 'await' to pythonkw.swg.
2018-12-20 09:21:50 +10:00