Orion Poplawski
ae7c04e204
Adapt OCTAVE_LDFLAGS for Octave 5.1
2019-05-24 19:30:47 +01:00
William S Fulton
e23ae76159
Ruby 1.9 and later testing on Travis xenial
...
There were (a few) failures using 1.8.7, so document 1.9 and later as
working in SWIG 4.0.
Trusty failure in 2.3.0 was fixed in later versions of Ruby 2.3.x
(expansion of RARRAY_PTR).
2019-05-24 19:30:47 +01:00
Olly Betts
8cae5989b2
Add CHANGES entry for previous commit
...
Closes https://github.com/swig/swig/pull/1528
2019-05-22 11:38:10 +12:00
Frederik Schubert
b3a3c4f09e
Don't add a closing php-tag
...
This PR removes the closing `?>` PHP tag from generated files. [PSR-2](https://www.php-fig.org/psr/psr-2/ ) states:
> The closing `?>` tag MUST be omitted from files containing only PHP.
A problem might occur if files with any character after the closing tag are used with `include` or `require`. It might trigger an output and disallow HTTP header manipulation. See the popular [_headers already sent_](https://stackoverflow.com/a/8028987/1847340 ) debate on SO.
2019-05-22 11:35:08 +12:00
Olly Betts
e87811223c
[php] Update docs about undefined constants
...
PHP 7.2 made these a warning instead of just a notice, and apparently it
will throw an Error in a future version of PHP.
2019-05-22 11:13:55 +12:00
Olly Betts
1dd5d50c99
Fix details of ZEND_MODULE_GLOBALS_ACCESSOR change
...
This is actually needed when using a ZTS build of any PHP 7.x
release, nothing specific to PHP 7.2 at all.
2019-05-22 11:02:29 +12:00
Zackery Spytz
f042543c6f
Merge pull request #1474 from ZackerySpytz/OCaml-INPUT-OUTPUT-INOUT-primitives
...
[OCaml] Add missing INPUT, OUTPUT, and INOUT typemaps for primitives
2019-05-13 21:44:02 -06:00
TekuConcept
2a8cb127ec
Add JS Native Directive Testcase
2019-05-09 11:56:08 -06:00
TekuConcept
19d284a896
JS Example Campatibility Update
2019-05-09 11:54:12 -06:00
William S Fulton
6a127b75f1
Travis Go testing moved to xenial
...
The default Go 1.11 version on Travis doesn't work with C++11/C++14:
gcc_libinit.c:110:3: error: implicit declaration of function ‘nanosleep’
so switch to another gimme version of Go.
2019-05-09 07:41:17 +01:00
William S Fulton
3ccc904b06
Fix php pragmas example include path
...
Was not working for out of source builds
2019-05-09 07:35:24 +01:00
TekuConcept
f16350e774
Add Native Directive Example
2019-05-08 17:45:05 -06:00
TekuConcept
17218b74ef
Update JavaScript Documentation
2019-05-08 15:51:08 -06:00
TekuConcept
ff19363abf
Add JS Native Wrapper API
2019-05-08 15:36:46 -06:00
Zackery Spytz
2f48bec666
Merge remote-tracking branch 'upstream/master' into OCaml-INPUT-OUTPUT-INOUT-primitives
2019-05-08 14:05:02 -06:00
William S Fulton
f06330e720
Move Scilab Travis testing from trusty to xenial
2019-05-07 23:05:53 +01:00
William S Fulton
ed1fabe867
Switch php 7.2 testing to xenial
2019-05-07 19:42:07 +01:00
William S Fulton
ccbc451c7c
Disable Travis php 7.2 testing
...
There is a certificate error on the unsupported Ubuntu Trusty machines.
Php 7.2 is segfaulting on Ubuntu Xenial, so there is work to be done.
2019-05-07 19:38:37 +01:00
etse
50b42f855a
Merge branch 'shared-ptr-template-upcast' of https://github.com/etse-dignitas/swig into shared-ptr-template-upcast
2019-05-06 15:59:54 -04:00
etse
72097e95b8
comments
2019-05-06 15:30:54 -04:00
etse
3359b4ccab
Applying shared_ptr template upcast fix to CSharp, adding CSharp test, and cleanup
2019-05-06 15:30:54 -04:00
etse
24f974bb0c
Adding test case demonstrating issue where SWIG does not generate a correctly typed, upcasted shared_ptr for a template instantiation deriving from a base class
2019-05-06 15:30:54 -04:00
Eric Tse
f9efe5b5bd
WIP - Use the non-encoded type string for upcasting a shared_ptr of a derived type to a shared_ptr of the base type
2019-05-06 15:30:54 -04:00
William S Fulton
49195c5361
Specify Go version to test with c++11
...
Default version of Go 1.11.1 on Travis is broken for c++11 testing.
gcc_libinit.c: In function ‘_cgo_try_pthread_create’:
gcc_libinit.c:110:3: error: implicit declaration of function ‘nanosleep’ [-Werror=implicit-function-declaration]
nanosleep(&ts, nil);
2019-05-04 22:47:19 +01:00
William S Fulton
32c9e2ada8
Travis testing GCC=5 not needed for xenial.
...
Default compiler is gcc 5 on xenial.
2019-05-04 22:31:48 +01:00
William S Fulton
0cf01afc54
Windows documentation minor improvement
2019-05-04 22:28:35 +01:00
etse
997c7a1570
comments
2019-05-02 18:22:33 -04:00
William S Fulton
4539041c50
Travis output optimisation during configure
2019-05-02 21:57:58 +01:00
William S Fulton
00fb2e5629
Travis output optimisation
2019-05-02 21:57:58 +01:00
William S Fulton
25c0397ec4
Travis testing gcc versions
...
gcc-4.5 has package dependency problems
Add gcc-4.9
2019-05-02 21:57:58 +01:00
William S Fulton
256446d290
Expand Travis testing of core SWIG compilation to include more gcc versions
2019-05-02 21:57:58 +01:00
William S Fulton
48e61eea1d
Travis gcc version refactor
...
Use GCC env variable to hold gcc version to install instead of SWIG_CC
and SWIG_CXX.
2019-05-02 21:57:53 +01:00
William S Fulton
be019a03ce
Appveyor testing - make sure language tests are not mistakenly skipped
2019-05-02 19:15:49 +01:00
etse
ab7f526805
Applying shared_ptr template upcast fix to CSharp, adding CSharp test, and cleanup
2019-05-02 13:29:22 -04:00
William S Fulton
78a1515f46
OCaml testing requires camlp4
2019-05-02 07:41:35 +01:00
etse
e7d228bfc1
Merge branch 'SharedPtr-Upcast' into shared-ptr-template-upcast
2019-05-01 17:11:12 -04:00
etse
5f42bed04e
Adding test case demonstrating issue where SWIG does not generate a correctly typed, upcasted shared_ptr for a template instantiation deriving from a base class
2019-05-01 17:05:44 -04:00
William S Fulton
dbb5fdda01
Fix php pragmas example
...
. is not always in the include_path by default
2019-04-30 23:44:41 +01:00
William S Fulton
5d976b0ebe
Fix php testcase warning
2019-04-30 23:44:41 +01:00
William S Fulton
9d0cf2ce61
Remove duplicate Travis xenial Octave testing
2019-04-30 23:44:41 +01:00
William S Fulton
6606a164f0
Migrate Travis tests from trusty to xenial
...
Ubuntu trusty 14.04 is end of life April 2019.
Ubuntu xenial 16.04 is the main platform for Travis now.
Some languages are not working on xenial, so I've left them on trusty
for now.
2019-04-30 23:44:33 +01:00
William S Fulton
6a91723fcf
Bump version to 4.0.1
2019-04-28 21:01:21 +01:00
William S Fulton
9c3faeb0ee
Travis testing of Go changes
...
Use gimme to install a version of Go to test. Travis already uses gimme
to pre-install a version of Go.
Switch some of the Go testing from travis to xenial.
2019-04-26 19:48:33 +01:00
William S Fulton
2937f05296
Add 4.0.0 release date
2019-04-26 19:21:40 +01:00
William S Fulton
11b54b0cbd
Fix command line error handling to work like in 3.0.12
...
Output is once again:
$ swig -versioon
Unable to find option or file '-versioon', Use 'swig -help' for more information.
instead of
$ swig -versioon
No target language specified
2019-04-25 23:13:51 +01:00
Eric Tse
83d1893cfd
WIP - Use the non-encoded type string for upcasting a shared_ptr of a derived type to a shared_ptr of the base type
2019-04-25 15:44:57 -04:00
Ian Lance Taylor
8a1c09e280
Fix Go tests to run in module mode
...
Stop using relative imports and add a go.mod file.
Tested against Go 1.6 through Go pre-1.13, and gccgo.
2019-04-24 21:43:38 -07:00
William S Fulton
b04cc850ab
Add recent doxygen fixes to changes file
2019-04-24 08:13:19 +01:00
William S Fulton
fbed720b98
Merge branch 'enum-trailing-comma-doxygen'
...
* enum-trailing-comma-doxygen:
Fix parsing of enums with trailing comma with -doxygen
2019-04-24 08:08:18 +01:00
William S Fulton
8df627eab8
HTML section numbering update
2019-04-24 08:06:10 +01:00