This is especially important for the unsigned long typemap, which is used by
the size_t typemap, which is in turn used for lengths of std containers etc.
In Python2, len requires old-style classes' __len__ method return a PyIntObject
rather than a PyLongObject, so this supports that requirement.
* travis-ruby2.3:
Disable tests broken in python 2.4 and 2.5
Remove Travis 'gem pristine --all'
Fix Travis Ruby gem pristine warnings
Improve Ruby configure detection when multiple versions installed
Use set -e in Travis scripts to ensure the scripts fail on error
Travis: ensure the requested language version is being tested
Add ruby-2.3 testing to Travis
These tests were added in 2f8a7b82 and fc8e7654 in #572 and #573
but a change from a few months ago meant that the requested version of
Python was not actually being used during testing when these were added.
Suppresses these for each example/test-suite:
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7
Ignoring nokogiri-1.6.6.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.6.2
* ahnolds-clean_osx_go:
Go test-suite should now work on OSX
Don't write empty swigargs structs
Fail if nocgo version fails
Handle weak linking on OSX
Conflicts:
CHANGES.current
Remove duplicate (aside from comment formatting) embed15.i.
Remove references to Python 1.5.
Tested and remarkably still works with Python 2.7, so update
documentation and comments to reflect that.
It is possible that the module we're wrapping defines an Exception
class. This will confuse code that uses an unqualified "Exception"
class (e.g. "try: ... except Exception") since it now won't match
the Python builtin Exception. Fix this by explicitly using
the class from the __builtin__ module ("builtins" in Python 3).
* ahnolds-Win64_ptrdiff_t:
Adding required define at beginning
Unit tests for ptrdiff_t/size_t max/min in Python
Python2 build on x64 should no longer fail
Don't use long long if it isn't available
Add support for ptrdiff_t and size_t == long long
Adds preprocessor checks to avoid defining functions that use long long if it isn't available
Effects the following languages: javascript, octave, perl, python, r, ruby, tcl
New fragment to check if long long is available using LLONG_MAX
AsVal and From functions for ptrdiff_t and size_t now use long long if available and sizeof(ptrdiff_t) > sizeof(long)
There is more memory (4GB) on new infra and running with -j2 instead of
-j3 is less demanding on the memory. I think this has solved the gcc
internal errors as they were probably due to lack of memory.
wkhtmltopdf isn't using a fixed-width font for CSS font-family:monospace.
Nor is it using one for <PRE> <CODE> or <TT> elements.
Add in some Courier fonts for it to use - note that Courier 10 Pitch is
installed on Ubuntu by default. Note these fonts need to be installed on
the system that generates the pdf documentation.
Previously the htmldoc stylesheet was kept in place and the SWIG
stylesheet was prepended to it inline in SWIGDocumentation.html.
Now the SWIG stylesheet has been amended with most of the htmldoc
stylesheet changes and completely replaced after htmldoc is run.
htmldoc does not seem to be generating pdfs properly any more (on Ubuntu
14.04). It has been replaced with wkhtmltopdf which is better as it
supports css and so the patched version of htmldoc with the simple css
support is no longer required. wkhtmldoc does have have a few problems
though which have been addressed in prior commits:
- <H1><a name="X"></a>Text</H1> style links need changing to:
<H1><a name="X">Text</a></H1>
- tabs in <pre> elements should be expanded to 8 spaces by default, but
are expanded to just one space and css expand-tab is not recognised.
The <pre> <tt> <code> elements do not always select a fixed-width font -
try installing a Courier font.