Olly Betts
75510a121d
[Python] Use std::isfinite() under C++11
...
Follow-up fix for https://github.com/swig/swigissues/615
2016-03-01 19:10:03 +13:00
Olly Betts
5733cc1d2a
[Python] Fix isfinite() check to work with GCC6
...
Fixes https://github.com/swig/swig/issues/615 reported by jplesnik.
2016-03-01 15:26:33 +13:00
William S Fulton
fa5f3abf4d
Correct testcase warning fix
2016-02-22 07:06:47 +00:00
William S Fulton
1a26710106
test-suite warning fixes
2016-02-21 21:36:58 +00:00
William S Fulton
1e7c04c1eb
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata_carrays
2016-02-21 21:36:58 +00:00
William S Fulton
7e1d95de09
Move subdirectory .gitignore to top level
2016-02-21 21:36:58 +00:00
William S Fulton
0ad7541d03
Update .gitignore for Go
2016-02-21 21:36:58 +00:00
William S Fulton
bbc06c5254
Don't run some tests twice
2016-02-21 21:36:43 +00:00
William S Fulton
ed1074829f
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: typedef_struct
2016-02-21 19:24:27 +00:00
William S Fulton
155e31626c
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend
2016-02-21 19:24:11 +00:00
William S Fulton
0bd41dc14d
rename overload_extendc testcase
2016-02-21 18:04:04 +00:00
William S Fulton
a00b4f4463
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cpointer
2016-02-21 18:04:04 +00:00
William S Fulton
819bd9c97e
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata
2016-02-21 18:04:04 +00:00
William S Fulton
9600c95234
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_carrays
2016-02-21 18:04:04 +00:00
William S Fulton
78b113558f
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: keyword_rename
2016-02-21 18:04:04 +00:00
William S Fulton
bc3bf51af2
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: empty
2016-02-21 18:03:14 +00:00
Olly Betts
611bbe7ddf
[Python] Add missing keywords 'as' and 'with' to pythonkw.swg.
2016-02-17 14:19:08 +13:00
Olly Betts
c2228de096
Replace dead URLs with working equivalents
2016-02-17 14:18:21 +13:00
Olly Betts
4e9203acc3
Eliminate doc reference to Python 1.4
2016-02-17 14:18:21 +13:00
Olly Betts
f401fd7360
Merge pull request #613 from pjohangustavsson/patch-2
...
swiglabels.swg: added check if __GNUC__ is defined
2016-02-16 22:48:09 +13:00
Johan Gustavsson
628e9a79f6
swiglabels.swg: added check if __GNUC__ is defined
...
It makes sense to check if the preprocessor definition __GNUC__ is defined before using it as a value.
2016-02-13 13:49:07 +01:00
Karl Wette
290e2d3a5c
octave: update manual and CHANGES.current
2016-02-07 20:22:39 +01:00
Karl Wette
125329466d
octave: map unary functions to __...___ Python-style unary members
...
- Only available in Octave 3.8.0 and higher
2016-02-07 20:22:39 +01:00
Karl Wette
000ab753df
octave: recognize Python __float__ numeric conversion operator
2016-02-07 20:22:39 +01:00
Karl Wette
697a1b7c9d
octrun.swg: simplify unary operator calls in dims() and string_value()
2016-02-07 20:22:39 +01:00
Karl Wette
0dd16f92ab
octrun.swg: make dispatch_[unary|binary|index]_op() const-qualified
2016-02-07 20:22:39 +01:00
Karl Wette
b93b1871a9
octave: export function swig_octave_prereq() for easily testing Octave version
2016-02-07 20:22:39 +01:00
Karl Wette
9f82bcee2a
octave: update manual; Octave operators are __python__ style
2016-02-07 20:22:39 +01:00
William S Fulton
7270da08f4
Merge pull request #585 from tamuratak/master
...
Fix typo in Ruby docs
2016-02-07 13:19:27 +00:00
William S Fulton
4bbb1c915a
Merge branch 'pjohangustavsson-patch-1'
...
* pjohangustavsson-patch-1:
Add C# -namespace symbol fix into CHANGES
Update csharp.cxx
2016-02-06 09:08:36 +00:00
William S Fulton
0cf59ff442
Add C# -namespace symbol fix into CHANGES
2016-02-06 09:07:23 +00:00
Johan Gustavsson
1458326f4c
Update csharp.cxx
...
When people use the -namespace option, they often intend for the input to swig to wrap a particular namespace in a single module. This option should also have an effect on how C++ wrapper function names are mangled, and not just the C# proxy code.
2016-02-06 08:59:50 +00:00
William S Fulton
bb01ed3286
Merge branch 'ahnolds-classic_python'
...
* ahnolds-classic_python:
Updating changelog and marking -classic as passing CI
Support checking names of old-style classic classes
Don't claim to new-style support in classic mode
Clean up setting _object
Removing __swig_getmethods__ for static methods
Support python(pre|ap)pend on static methods in classic mode
Add support for static methods in classic mode
When possible, use PyInt rather than PyLong
2016-02-06 08:01:08 +00:00
William S Fulton
5c758f6972
Merge branch 'ahnolds-pyunicode_wstrings'
...
* ahnolds-pyunicode_wstrings:
Documentation on Python Bytes/Unicode distinction
Tests for Python Bytes/Unicode distinction
Add support for Python Bytes/Unicode distinction
2016-02-06 07:57:30 +00:00
William S Fulton
439f049115
Merge pull request #606 from ahnolds/ruby2.3
...
Travis uses rvm, use it to install ruby 2.3.0
2016-02-06 07:56:33 +00:00
Alec Cooper
b83aa57a54
Travis uses rvm, use it to install ruby 2.3.0
2016-02-05 22:00:41 -05:00
William S Fulton
d06f2c9e92
Ruby 2.3 Travis tests requires Ubuntu Trusty
2016-02-05 06:56:49 +00:00
Alec Cooper
ba40c4a256
Documentation on Python Bytes/Unicode distinction
2016-02-04 21:07:40 -05:00
Alec Cooper
17a4143dd0
Tests for Python Bytes/Unicode distinction
2016-02-04 21:07:40 -05:00
Alec Cooper
33edfa4a62
Add support for Python Bytes/Unicode distinction
2016-02-04 20:16:41 -05:00
Alec Cooper
e67b9d00a4
Updating changelog and marking -classic as passing CI
2016-02-04 15:29:13 -05:00
Alec Cooper
acbe04b548
Support checking names of old-style classic classes
2016-02-04 15:27:54 -05:00
Alec Cooper
506a5bc8e6
Don't claim to new-style support in classic mode
2016-02-04 15:27:54 -05:00
Alec Cooper
475d03f195
Clean up setting _object
...
Don't bother setting _object in modern mode since it isn't used
Catch __builtin__.Exception rather than AttributeError since the check for
object hasn't been through something that would raise an AttributeError since
3d8ddfc4 in 2008
2016-02-04 15:27:54 -05:00
Alec Cooper
866429d0f7
Removing __swig_getmethods__ for static methods
...
Static methods will always be found by normal attribute lookup, so there's no
need to check for them during __getattr__ (aka _swig_getattr_nondynamic)
2016-02-04 15:27:54 -05:00
Alec Cooper
b45164e098
Support python(pre|ap)pend on static methods in classic mode
...
Adding a test that covers this case to the python_append test-suite
Note: staticmethod function has been available since Python 2.2
2016-02-04 15:27:54 -05:00
Alec Cooper
d91064aa6a
Add support for static methods in classic mode
2016-02-04 15:27:54 -05:00
Alec Cooper
2e1595a4d0
When possible, use PyInt rather than PyLong
...
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.
2016-02-04 15:27:54 -05:00
William S Fulton
8dcbbe8b6c
Merge branch 'travis-ruby2.3'
...
* 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
2016-02-04 18:58:14 +00:00
William S Fulton
26d0b7f5b9
Disable tests broken in python 2.4 and 2.5
...
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.
2016-02-04 08:36:58 +00:00