Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
On branch swig-py3: Catchup to trunk @r1862753.
  1. … 180 more files in changeset.
On branch swig-py3: Improve error messages for swig language builds.

* Makefile.in

(SWIG_PY_ERRMSG, SWIG_PL_ERRMSG, SWIG_RB_ERRMSG): New

* build/ac-macros/swig.m4

(SWIG_PY_ERRMSG, SWIG_PL_ERRMSG, SWIG_RB_ERRMSG): Set a meaningful error

message if the language binding is not configured for any reason, and clear

the error message if the configuration is successful.

* build/generator/gen_make.py

(Generator.write): Add 'name' and 'short_upper' to the ezt template data for

each swig language option.

* build/generator/templates/build-outputs.mk.ezt

(.swig_py_checked, .swig_pl_checked, .swig_rb_checked): New make targets.

(autogen-swig-py, autogen-swig-pl, autogen-swig-rb, swig-py, swig-pl, swig-rb):

Add corresponding swig_<lang>_checked dependency to top-level swig building

targets.

  1. … 3 more files in changeset.
On branch swig-py3: Catchup to trunk @r1847674.
  1. … 331 more files in changeset.
On branch swig-py3: Catchup to trunk @r1822734.

  1. … 72 more files in changeset.
On branch swig-py3: Include the detected PY3C header path in the swig compile.

* Makefile.in

(SWIG_PY_INCLUDES): Add SVN_PY3C_INCLUDES.

Found By: danielsh

On branch swig-py3: Catch up to trunk@1819202.

  1. … 124 more files in changeset.
On branch swig-py3: Fix clean-swig-py for out-of-source builds.

* Makefile.in

(EXTRACLEAN_SWIG_PY): Change SWIG_PY_SRC_DIR to SWIG_PY_DIR to correctly

reference generated files in out-of-source builds.

On branch swig-py3: Get swig bindings compiling with Python 3.

Add the necessary build tool support for choosing Python 3 or Python 2 to build

against, and get the bindings building under Python 3.

* BRANCH-README

Add a note about current known runtime issues under Python 3.

* Makefile.in

(SWIG_PY_OPTS): New configuration variable.

* build.conf

(swig-python-opts): Use the new SWIG_PY_OPTS variable for the swig python

arguments.

* configure.ac

Add PYTHON to the influential environment variable list.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Choose appropriate SWIG_PY_OPTS based on the Python version

detected.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

Move the py3c.h include such that selected conflicting macros from swig can be

undefined for use with this file.

(svn_swig_py_as_file): Use correct PyObject_AsFileDescriptor instead of Python

2's PyFile_AsFileDescriptor.

  1. … 5 more files in changeset.