Commit graph

19,285 commits

Author SHA1 Message Date
Alan Woodland
c5a724f1bb Made the conversion from long->int for size_type mapping onto Java interfaces cleaner. 2016-05-31 21:43:13 +01:00
Alan Woodland
5eb46d5f9f Be consistent in semantics of %extend on std::list::iterator 2016-05-31 21:06:09 +01:00
Alan Woodland
00ac1f38e5 Comment on consideration of making iterator non-static. 2016-05-31 21:06:09 +01:00
Alan Woodland
1f4a8e6231 Java style fix: iterator->Iterator 2016-05-31 20:28:08 +01:00
Alan Woodland
583fdce790 Moving iterator functionality into nested Java class now. 2016-05-31 20:22:39 +01:00
Alan Woodland
c78a005a29 Removed typedef from li_std_list test as it's not expected to work properly in templated code 2016-05-31 14:56:21 +01:00
Alan Woodland
e561a78205 Added a best case workaround for std::list::size_type vs jint problem. There's a bit of commentry added around it too for clarity. 2016-05-31 14:49:03 +01:00
Alan Woodland
9ade17cc50 Drop non-const reference from autobox typemap macro to be consistent. 2016-05-31 14:49:03 +01:00
Alan Woodland
b09fce84a4 just use a forward declaration for C++ iterator types to fix enum errors 2016-05-31 14:49:02 +01:00
Alan Woodland
4a149f66fd Added enum to li_std_list tests 2016-05-31 14:49:02 +01:00
Alan Woodland
a3821245eb Added li_std_list to the Java test-suit makefile 2016-05-31 14:49:02 +01:00
Alan Woodland
d217a68908 added more comments in a few places 2016-05-31 14:49:02 +01:00
Alan Woodland
65483965ab Base _runme.java for li_std_list off li_std_vector_runme.java 2016-05-31 14:49:01 +01:00
Alan Woodland
131f5e5a0d Expose more types from li_std_list.i 2016-05-31 14:49:01 +01:00
Alan Woodland
a2b092ab7e Don't expose sort() to avoid adding dependencies on all std::list users 2016-05-31 14:49:01 +01:00
Alan Woodland
0094e3c90d Target each method specificly for setting modifiers 2016-05-31 14:49:01 +01:00
Alan Woodland
b0de71857e Don't expose remove() method from std::list to avoid confusing it with Java's remove() in List 2016-05-31 14:49:01 +01:00
Alan Woodland
6a4467721b - added std_list.i implemenatation that extends Java's AbstractSequentialList base class
- added autobox.i that provides supporting typemaps for generics in containers
2016-05-31 14:49:00 +01:00
William S Fulton
8aea57c704 Bump version to 3.0.10 2016-05-29 15:46:46 +01:00
William S Fulton
bab5139805 swig-3.0.9 release update 2016-05-29 13:35:37 +01:00
William S Fulton
ddf2e581b2 Check for qt patched version of wkhtmltopdf for pdf doc generation 2016-05-29 13:04:48 +01:00
William S Fulton
5cb545aefa statically link to gcc windows runtimes when cross compiling windows binaries 2016-05-29 12:17:06 +01:00
William S Fulton
8eb9eebb84 Fix warning compiling with i686-w64-mingw32-gcc 2016-05-29 00:50:00 +01:00
William S Fulton
dbb64cc458 No need to detect languages when building Windows binary 2016-05-29 00:46:00 +01:00
William S Fulton
4dda14f906 Fix new mingw detection 2016-05-28 23:59:38 +01:00
William S Fulton
ed44958576 Update windows on linux build to use i686-w64-ming32 2016-05-28 23:46:07 +01:00
William S Fulton
1f0acadcf0 Add gcc-6 Travis testing and use gcc-5.3 instead of gcc-5.2
Test Python, Java and C# with gcc-6
Test gcc-5 on Trusty instead of on Precise to pick up gcc-5.3 instead of gcc-5.2
2016-05-28 20:13:20 +01:00
William S Fulton
55fe53dc3f Fix SWIG overloading warning display for R and allegrocl
Only half the warning would have been displayed due to missing if statement brackets.
Fixes gcc-6 warnings
2016-05-28 20:09:02 +01:00
William S Fulton
2fdd4e10ad configure to only test Go 1.2 and later
Go 1.1 does not seem to work with the -cgo option which is turned on during testing
and 'make check'
2016-05-28 19:01:11 +01:00
William S Fulton
550da9f7ef Testcase warning suppression for vc++ 2016-05-28 15:52:44 +01:00
William S Fulton
bee6964b48 Compile warning fix 2016-05-28 15:13:23 +01:00
William S Fulton
eaf74df22f Fix failure to detect lua.h on some systems
Fixes "present but cannot be compiled" autoconf failure looking for lua.h
2016-05-28 10:37:19 +01:00
William S Fulton
db54a8d5d1 Fix unused warnings in perl wrappers 2016-05-28 09:59:16 +01:00
William S Fulton
624195f313 Fix unused variable warnings in Guile wrappers 2016-05-28 00:45:24 +01:00
William S Fulton
06c47fbcdc Correct file format to unix 2016-05-28 00:45:24 +01:00
William S Fulton
ff21a0bca9 Remove unused variables from C# boost::intrusive_ptr wrappers 2016-05-28 00:45:24 +01:00
William S Fulton
a91d1b5a42 Remove unused kwnames generated variable in Ruby wrappers
This seems to be from some left over Python kwargs / unfinished kwargs support
2016-05-28 00:45:24 +01:00
William S Fulton
6725b2fdf6 Fix unused variable warnings in test-suite 2016-05-28 00:45:24 +01:00
William S Fulton
7ead141aa9 Fix unused variable warning in Perl wrappers 2016-05-28 00:45:24 +01:00
Olly Betts
1e718c2ad0 Fix php-config name in error message 2016-05-27 22:50:18 +12:00
William S Fulton
43fe8aced6 Testcase workaround for missing boost::array::fill
Some older versions of boost don't have this function.
2016-05-26 20:55:28 +01:00
William S Fulton
2a98821c79 Changes file entry minor edit
[skip ci]
2016-05-24 23:08:45 +01:00
William S Fulton
b711675b62 Changes file entry for Python implicit namespace packages 2016-05-24 23:06:40 +01:00
William S Fulton
d01efd82e1 Merge branch 'mromberg-implpkg'
* mromberg-implpkg:
  Minor edits to Python implicit namespace package docs
  use %inline for test
  use relative import for -builtin and python2
  Python3 removes support for relative imports
  Document implicit namespace packages for python
  disable namespace package build
  Attempt to calm the testing gods...
  use whatever name winders uses for .so files.
  Examples (and tests) for python namespace packages
  disable namespace package build
  spelling
  Attempt to calm the testing gods...
  use whatever name winders uses for .so files.
  Don't run example for old pythons
  Examples (and tests) for python namespace packages
  use importlib to load C extension modules for python 2.7 and newer
2016-05-24 22:48:37 +01:00
William S Fulton
4253740d40 Minor edits to Python implicit namespace package docs 2016-05-24 22:46:46 +01:00
Mike Romberg
5ceef0a813 use %inline for test 2016-05-24 22:46:45 +01:00
Mike Romberg
10d71ca01a use relative import for -builtin and python2 2016-05-24 22:46:35 +01:00
William S Fulton
763827c2e1 Ruby opaque pointer handling regression fix
This bug was introduced in swig-3.0.8 in #146252 adding shared_ptr
support. An ObjectPreviouslyDeleted error was incorrectly thrown
when the pointer was used as a parameter after being set to zero
via a call to 'DATA_PTR(self) = 0'.

It isn't clear to me which approach is better in this corner case,
so I've gone for backwards compatibility and restored the old behaviour.

Closes #602
2016-05-24 19:09:17 +01:00
Olly Betts
dc1fad3f9b Stop preinst-swig.in from being executable
The template itself isn't useful to run, and the generated file
"preinst-swig" is explicitly made executable by configure.
2016-05-22 18:59:00 +12:00
William S Fulton
09549d735d Changes entry for improved Ruby error message
[skip ci]
2016-05-17 20:08:56 +01:00