Commit graph

17,321 commits

Author SHA1 Message Date
William S Fulton
3dcc501ac0 Spelling fix 2014-10-21 07:55:07 +01:00
William S Fulton
bfde148887 The kwargs feature no longer turns on compactdefaultargs for languages that don't support kwargs.
Affects all languages except Python and Ruby.

Closes #242
2014-10-21 07:34:51 +01:00
William S Fulton
b57a675d00 Cosmetic comment changes
Note: copyrights are in the COPYRIGHT file
2014-10-21 07:34:51 +01:00
William S Fulton
2862a0a6bc Syntax fix using %feature in documentation 2014-10-21 07:34:51 +01:00
Olly Betts
e4c792c162 Merge pull request #244 from ptomulik/fix/enum-class-doc
correct example in enum class docs
2014-10-17 11:16:43 +13:00
Paweł Tomulik
bf201f22b0 correct example in enum class docs 2014-10-16 16:16:33 +02:00
Oliver Buchtala
6531b16a56 Merge branch 'waywardmonkeys-remove-spurious-windows-linefeeds' 2014-10-15 17:30:46 +02:00
Bruce Mitchener
78de526b1d [js] v8-shell.cxx had some Windows line endings. 2014-10-15 18:38:39 +07:00
William S Fulton
42da040a07 Show mono info in 'make check-csharp-version'
For diagnosing configuration of mono runtime
2014-10-14 19:22:25 +01:00
William S Fulton
8441e3eab4 Java gc tests failure fix
Sometimes the GC just won't run the finalizers, so we output a warning
instead of throwing an error, so now the test-suite will pass but with a
warning if the number of objects is not as expected.

Was notably failing on RHEL6 using OpenSUSE build testing with openjdk-1.6
2014-10-14 19:22:25 +01:00
Ian Lance Taylor
0577ff2220 [Go] Adjust last patch to avoid write-after-write data race on global
variable.  Only set the variable if another global variable is true,
but that variable is always false.  The effect is that the variable is
never written, but as far as the compiler is concerned it might escape.
2014-10-14 10:05:43 -07:00
William S Fulton
abcb656b51 Merge branch 'diorcety-cpp11_director_function_python'
* diorcety-cpp11_director_function_python:
  Correct cpp11_function_objects testcase
  Improve cpp11_function_objects test for python
2014-10-13 19:39:59 +01:00
William S Fulton
17721f4682 Correct cpp11_function_objects testcase
Fixes SWIG warning
2014-10-13 19:38:47 +01:00
Ian Lance Taylor
1226970b9f [Go] More fixes for Go 1.4. Ensure that values with argout or freearg
typemapes escape, and refer to them using local variables loaded at
the start of the function, in case the argout or freearg template
causes a stack copy.
2014-10-11 19:07:14 -07:00
Yann Diorcet
aeacff3b14 Improve cpp11_function_objects test for python 2014-10-11 20:20:10 +02:00
William S Fulton
78b904764a Merge branch 'diorcety-python_property'
* diorcety-python_property:
  Changes file entry for Python director property fix
  Python: Fix property access with director

Conflicts:
	CHANGES.current
2014-10-11 00:22:21 +01:00
William S Fulton
ef4d44e92d Fix syntax error in autodoc testcase when using Python 2.4 and earlier 2014-10-10 23:56:14 +01:00
William S Fulton
31ae3fe79d Fix Travis PY3 testing for -builtin 2014-10-10 23:06:39 +01:00
William S Fulton
361e0ede60 Changes file entry for Python director property fix 2014-10-10 23:00:27 +01:00
William S Fulton
d10efb658e Merge branch 'python-builtin-test-suite'
* python-builtin-test-suite:
  Add Python -builtin Travis testing
  Bypass Python exmples not supported by -builtin
  Remove Python swigrun example
  Display testname when running the import_packages Python examples
  Fix Python 3 import_packages/relativeimport2 example clean
  Fixes when using python -builtin and STL container wrappers.
  Bypass Python tests not supported by -builtin
  Bypass Python tests not supported by -builtin
  Bypass Python tests not supported by -builtin
  Bypass Python tests not supported by -builtin
  Bypass Python tests failing with -builtin
  Bypass Python tests throwing base classes as exceptions for -builtin
  Add some more Python -builtin tests that don't work
  Disable test not relevant for Python -builtin

Conflicts:
	CHANGES.current
2014-10-10 22:49:11 +01:00
William S Fulton
e7b35c796e Add Python -builtin Travis testing 2014-10-10 21:31:46 +01:00
William S Fulton
023037b122 Tcl documentation fixes
Mostly suggestions from Ben Golding on swig-devel mailing list

[skip ci]
2014-10-10 20:58:35 +01:00
William S Fulton
376ebc2d85 Revert "Octave: whitespace/indentation/style cleanup of octave.cxx"
This reverts commit 5ac475cbcd.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:06 +01:00
William S Fulton
97f6731e3c Revert "Octave: simplify Examples/octave/example.mk"
This reverts commit 6c04378e20.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:04 +01:00
William S Fulton
23373e9ffd Revert "Octave: cleanup/restructure library files"
This reverts commit bf12d76d03.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:02 +01:00
William S Fulton
457ba43989 Revert "Octave: whitespace/style cleanup of Doc/Manual/Octave.html"
This reverts commit 56fefcc7e0.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:00 +01:00
William S Fulton
bfa3d378ec Revert "Octave: drop support for Octave versions older than 3.2.0"
This reverts commit 952eee8f59.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:58 +01:00
William S Fulton
b1595014e7 Revert "Octave: disable optimization of tests for faster compiles/less memory usage"
This reverts commit 8e37bcf1a8.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:55 +01:00
William S Fulton
f5d714378a Revert ".travis.yml: reduce Octave make jobs to 3"
This reverts commit 90c32a11c2.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:53 +01:00
William S Fulton
15961d581e Revert "Revert "Suppress Octave failing the build""
This reverts commit 492b1b0339.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:51 +01:00
William S Fulton
851f122bfe Revert "Octave: remove unused function SwigOctType::help_text()"
This reverts commit 8c7e578279.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:48 +01:00
William S Fulton
a9c9c9c848 Revert "Octave: remove unused field SwigOctClass::constructor_doc"
This reverts commit afa9affcd9.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:40 +01:00
William S Fulton
808d4b4798 Bypass Python exmples not supported by -builtin
Builtin classes as exceptions not supported, so don't run these aspects
of the examples when using -builtin.
2014-10-07 20:58:41 +01:00
William S Fulton
da394fae80 Remove Python swigrun example
By default it doesn't work as it does not call the CEO's __del__ method
as indicated in the comments. __del__ is called with -builtin but
then the base class's __del__ is not available and so it errors out.
Python 3 and -builtin goes into an endless loop. So removing as
hopelessly broken.
2014-10-07 20:58:41 +01:00
William S Fulton
a9c6196f71 Display testname when running the import_packages Python examples
For easier identification of what is running in these examples.
2014-10-07 20:58:40 +01:00
William S Fulton
9834a69c18 Fix Python 3 import_packages/relativeimport2 example clean
runme3.py files are generated and should not be checked in
2014-10-07 20:58:40 +01:00
William S Fulton
a89a892843 Fixes when using python -builtin and STL container wrappers.
Deletion of single elements previously failed.
Test case li_std_containers_int now works.
2014-10-07 20:58:40 +01:00
William S Fulton
49038b30b7 Bypass Python tests not supported by -builtin
Builtin types can't inherit from pure-python abstract bases
2014-10-07 20:58:40 +01:00
William S Fulton
ab79441151 Bypass Python tests not supported by -builtin
The base class is needed for the builtin class hierarchy, like many
other languages
2014-10-07 20:58:40 +01:00
William S Fulton
185d65895f Bypass Python tests not supported by -builtin
There are a number of autodoc comment differences when using -builtin.
Some of which might need fixing, but for now we'll accept them as they
are.
2014-10-07 20:58:39 +01:00
William S Fulton
afcd61388a Bypass Python tests not supported by -builtin
The old static syntax (e.g., dc.new_A() rather than dc.A()) is not
supported with -builtin
2014-10-07 20:58:39 +01:00
William S Fulton
9f1b051c16 Bypass Python tests failing with -builtin
Reverse operators not supported in builtin types
2014-10-07 20:58:39 +01:00
William S Fulton
bbad7f96ab Bypass Python tests throwing base classes as exceptions for -builtin
Throwing builtin classes as exceptions is not supported
2014-10-07 20:58:30 +01:00
Karl Wette
afa9affcd9 Octave: remove unused field SwigOctClass::constructor_doc 2014-10-05 20:54:20 +02:00
Karl Wette
8c7e578279 Octave: remove unused function SwigOctType::help_text() 2014-10-05 20:53:27 +02:00
Karl Wette
492b1b0339 Revert "Suppress Octave failing the build"
- This reverts commit fea2fc137e.
- Failures were probably due to gcc running out of memory
- Disabling optimization of Octave tests should both increase
  compile times and reduce memory usage, and reducing number
  of make jobs to 3 should also allow for more memory per job
2014-10-05 14:56:34 +02:00
Karl Wette
90c32a11c2 .travis.yml: reduce Octave make jobs to 3
- Allow for more memory per job to prevent gcc failures
- Disabling optimization should give enough speedup to compensate
2014-10-05 14:56:34 +02:00
Karl Wette
8e37bcf1a8 Octave: disable optimization of tests for faster compiles/less memory usage
- Filter out all but -g... and -W... flags from OCTAVE_CXXFLAGS
- Use AX_CHECK_COMPILE_FLAG() to check if -O0 is supported, if so
  add to end of OCTAVE_CXXFLAGS to ensure optimization is disabled
- Also run mkoctfile under "env -" to protect it from environment
- Also use more standard-compliant sed expressions
2014-10-05 14:56:33 +02:00
Karl Wette
952eee8f59 Octave: drop support for Octave versions older than 3.2.0
- Latest non-supported version is 3.0.5, released 2009-04-09
- Earliest supported version is 3.2.0, released 2009-06-05
2014-10-04 19:40:52 +02:00
Karl Wette
56fefcc7e0 Octave: whitespace/style cleanup of Doc/Manual/Octave.html 2014-10-04 19:19:32 +02:00