summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing string_constant.i testcasechar-escapingWilliam S Fulton2016-03-121-0/+44
|
* changes file update for char wrappersWilliam S Fulton2016-03-121-4/+7
|
* C# char wrappers fixes for enum values, static const member char values and ↵William S Fulton2016-03-124-10/+56
| | | | | | %csconst Use hex escaping for char values used as C# constants
* D testing added for %dmanifestconst and char constantsWilliam S Fulton2016-03-121-0/+4
|
* Fix wrapping D constants using %dmanifestconstWilliam S Fulton2016-03-122-10/+20
|
* Php fix for enum value of '\0'William S Fulton2016-03-121-2/+3
|
* Fix static const char member variables wrappers with %javaconst(1).William S Fulton2016-01-274-2/+55
| | | | | | | | | This fixes the case when an integer is used as the initializer, such as: struct W { static const char w = 100; }; The "valuetype" attribute has been added to the "cdecl" Node which enables us to distinguish the declared type from the type of the initializer.
* Expand char testing in enums and %constantWilliam S Fulton2016-01-272-7/+83
|
* Java char changes file updateWilliam S Fulton2016-01-261-0/+11
|
* Java enum and static member variable escaping fix for charsWilliam S Fulton2016-01-261-2/+2
| | | | | | | | For example: enum X { x = '\1' }; struct A { static const char a = '\n'; };
* Add tests for enum values and static const member variables chars containing ↵William S Fulton2016-01-265-1/+85
| | | | escape sequences
* Minor documentation tweakWilliam S Fulton2016-01-261-1/+1
|
* Merge pull request #584 from benmwebb/masterWilliam S Fulton2016-01-234-6/+26
|\ | | | | (Python) Qualify use of "__builtin__.Exception" class.
| * Qualify use of "__builtin__.Exception" class.Ben Webb2016-01-114-6/+26
| | | | | | | | | | | | | | | | 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).
* | Fix minor memory leak in Python module docstring handlingOlly Betts2016-01-121-6/+8
| | | | | | | | Noted in #582 by aurelj.
* | Fix typo: "neccessary" -> "necessary"Olly Betts2016-01-124-7/+7
|/
* [Javascript] Look for "nodejs" as well as "node", as it's packagedOlly Betts2016-01-122-1/+5
| | | | as the former on Debian.
* [Javascript] For v8 >= 4.3.0, use V8_MAJOR_VERSION.Olly Betts2016-01-127-81/+107
| | | | Fixes https://github.com/swig/swig/issues/561.
* Merge branch 'aurelj-master'William S Fulton2016-01-101-2/+4
|\ | | | | | | | | | | * aurelj-master: Alternative solution for Ruby unbalanced braces Ruby fix unbalanced braces causing issue with the YARD parser
| * Alternative solution for Ruby unbalanced bracesWilliam S Fulton2016-01-101-5/+4
| |
| * Ruby fix unbalanced braces causing issue with the YARD parserAurelien Jacobs2016-01-091-0/+3
| |
* | Add changes entry for ptrdiff_t and size_t improvementsWilliam S Fulton2016-01-101-0/+4
| |
* | Merge branch 'ahnolds-Win64_ptrdiff_t'William S Fulton2016-01-1012-55/+212
|\ \ | |/ |/| | | | | | | | | | | | | * 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
| * Adding required define at beginningAlec Cooper2016-01-091-0/+4
| |
| * Unit tests for ptrdiff_t/size_t max/min in PythonAlec Cooper2016-01-062-0/+42
| |
| * Python2 build on x64 should no longer failAlec Cooper2016-01-061-7/+0
| |
| * Don't use long long if it isn't availableAlec Cooper2016-01-068-36/+108
| | | | | | | | | | 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
| * Add support for ptrdiff_t and size_t == long longAlec Cooper2016-01-061-12/+58
| | | | | | | | | | 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)
* | Merge pull request #580 from ismail/ppc-fixWilliam S Fulton2016-01-091-1/+1
|\ \ | | | | | | Fix test failure on PPC{64} where the char is unsigned by default
| * | Fix test failure on PPC{64} where the char is unsigned by defaultİsmail Dönmez2016-01-081-1/+1
|/ /
* | Octave tests on Travis now working reliablyWilliam S Fulton2016-01-051-8/+0
|/ | | | | | 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.
* Bump version to 3.0.9William S Fulton2015-12-316-162/+166
|
* htmldoc patch no longer needed since pdf docs are now generated by wkhtmltopdfWilliam S Fulton2015-12-311-277/+0
|
* Add check that mingw gcc is installed when making releaseWilliam S Fulton2015-12-311-0/+3
|
* swig-3.0.8 release updatev3.0.8rel-3.0.8William S Fulton2015-12-305-4/+11
|
* changes file update for the pdf documentationWilliam S Fulton2015-12-301-0/+4
|
* html docs updateWilliam S Fulton2015-12-301-2/+7
|
* HTML pdf doc generation fixesWilliam S Fulton2015-12-303-7/+20
| | | | | | | | | | | | | 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.
* Replace pdf documentation generation tool with wkhtmltopdf from htmldocWilliam S Fulton2015-12-301-13/+15
| | | | | | | | | | | | | | | | 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.
* Replace tabs with spaces in html docsWilliam S Fulton2015-12-3025-750/+759
| | | | | | wkhtmltopdf is not expanding tabs within <pre> elements to 8 spaces as it should. Workaround the problem by converting all tabs to an appropriate number of spaces.
* Minor html fixesWilliam S Fulton2015-12-302-0/+4
|
* html fixesWilliam S Fulton2015-12-301-4/+6
|
* HTML fixes for documentation - add meta tag and loose.dtdWilliam S Fulton2015-12-3045-55/+94
|
* link fixesWilliam S Fulton2015-12-301-1/+1
|
* More link fixes in the docsWilliam S Fulton2015-12-304-4/+4
|
* Remove broken link in docsWilliam S Fulton2015-12-301-2/+1
|
* Docs - remove html tags from headingsWilliam S Fulton2015-12-306-33/+33
|
* Correct links in html documentation using new version of makechap.pyWilliam S Fulton2015-12-3041-1262/+1262
| | | | Corrects position of heading text within A and H1, H2, ... elements.
* Correct html documentation linking generated by makechap.py scriptWilliam S Fulton2015-12-301-16/+29
| | | | | | | | | | | | | Corrects position of heading text to be as mentioned in the 4.01 transitional standard, see http://www.w3.org/TR/html4/struct/links.html#h-12.1.1. For example, changes <H1><a name="Introduction"></a>2 Introduction</H1> to <H1><a name="Introduction">2 Introduction</a></H1> The changes will convert the old incorrect usage should an html file using the old approach be added in the future.
* Merge branch 'ahnolds-Python3Int'William S Fulton2015-12-244-13/+167
|\ | | | | | | | | | | | | * ahnolds-Python3Int: Adding information about PyInt/PyLong conversion updates to CHANGES.current Adding unit tests for Python primitive type conversions Adding unit tests for operator overloading to determine which overload was chosen Allow TypeError when testing overloads since it is generated instead of NotImplementedError when swig is run with -O or -fastdispatch Fixing Python primitive conversions Don't mistakenly treat PyLong objects as PyInt objects in Python3. This resolves issues of large integers being incorrectly treated as -1 while also having an OverflowError set internally for converting PyLong->long and PyLong->double Conversions from PyLong to long, unsigned long, long long, and unsigned long long now raise OverflowError rather than TypeError when given an out of range value. Removing unnecessary check for PyLong_AsLong when converting PyLong->unsigned long since the call to PyLong_AsUnsignedLong will have covered this case.