| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
%csconst
Use hex escaping for char values used as C# constants
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
For example:
enum X { x = '\1' };
struct A {
static const char a = '\n';
};
|
|
|
|
| |
escape sequences
|
| |
|
|\
| |
| | |
(Python) Qualify use of "__builtin__.Exception" class.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| | |
Noted in #582 by aurelj.
|
|/ |
|
|
|
|
| |
as the former on Debian.
|
|
|
|
| |
Fixes https://github.com/swig/swig/issues/561.
|
|\
| |
| |
| |
| |
| | |
* aurelj-master:
Alternative solution for Ruby unbalanced braces
Ruby fix unbalanced braces causing issue with the YARD parser
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
* 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)
|
|\ \
| | |
| | | |
Fix test failure on PPC{64} where the char is unsigned by default
|
|/ / |
|
|/
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Corrects position of heading text within A and H1, H2, ... elements.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
* 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.
|