Checkout Tools
  • last updated 6 hours ago
Constraints: committers
Constraints: files
Constraints: dates

Changeset 875721 is being indexed.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Do not quote $rbconfig_sitedir inside a quoted

and backtick'ed invocation of sed.

This does not work on OpenBSD, where neither m4 nor /bin/sh

swallow the extra quotes around $rbconfig_sitedir, causing

sed to see " instead of s as the command character.

As a result of this problem, ruby bindings where installing

stuff in wacky places.

If this breaks things on other platforms, we need a better fix.

The only problem I could imagine is people using spaces in their

ruby install path, which is a silly thing to do given that these

paths are often used by configure scripts written in /bin/sh.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Allow SWIG 1.3.36.

Resolve crazy space/tab mix.

* build/ac-macros/apache.m4

* build/ac-macros/swig.m4

* build/ac-macros/neon.m4

  1. … 2 more files in changeset.
* (AC_PREREQ): Require autoconf >= 2.58.


* build/ac-macros/apache.m4:

* build/ac-macros/java.m4:

* build/ac-macros/neon.m4:

* build/ac-macros/serf.m4:

* build/ac-macros/sqlite.m4:

* build/ac-macros/svn-macros.m4:

* build/ac-macros/swig.m4:

* build/ac-macros/zlib.m4:


  1. … 8 more files in changeset.
Increase SWIG upper bound to 1.3.31.

* build/ac-macros/swig.m4

* subversion/bindings/swig/INSTALL

  1. … 1 more file in changeset.
Don't use changequote.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Use @<:@ and @:>@ instead of

changequote(<<, >>) for [ and ].

Suggested by: malcolm

Link with ruby library.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Detect ruby library.

* (SWIG_RB_LINK): Register.

* build.conf (libsvn_swig_ruby): Use SWIG_RB_LIBS for linking.

Suggested by: Joe Swatosh

  1. … 2 more files in changeset.
Clean up Ruby part configuration script.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG):

- Use changequote() to use "[]" in Ruby script.

- Store configurations of ruby to rbconfig_XXX and use them to clean up.

We seem to be working just fine with SWIG 1.3.29 already, so bump the stated

prerequisite versions.

* subversion/bindings/swig/INSTALL: Increase maximum SWIG version to 1.3.29.

* build/ac-macros/swig.m4: Ditto.

  1. … 1 more file in changeset.
Remove duplication of directories searched for include files, which may

not be harmful but makes build messages ugly. Problem scenario:


SWIG_RB_COMPILE includes SWIG_RB_INCLUDES, which includes







Patch by: me

Review by: kou


(COMPILE_PY_WRAPPER): Remove SWIG_INCLUDES, which is included in


(COMPILE_RB_WRAPPER): Remove SWIG_INCLUDES, which is included in


* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Remove SWIG_RB_INCLUDES from


  1. … 1 more file in changeset.
Followup to r18491: update documentation to reflect that SWIG 1.3.28 is

compatible with Subversion.

* subversion/bindings/swig/INSTALL

* build/ac-macros/swig.m4 (SVN_FIND_SWIG):

Update list of acceptable SWIG versions to include SWIG 1.3.28.

  1. … 1 more file in changeset.
Upgrade the SWIG bindings to be compatible with SWIG 1.3.28.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Allow SWIG 1.3.28.

* build/generator/swig/

(write_external_runtime): Don't add rubytracking.swg for SWIG 1.3.28.

  1. … 1 more file in changeset.
Update documentation to reflect that SWIG 1.3.26 and 1.3.27 are compatible with


Suggested by: julianfoad

* subversion/bindings/swig/INSTALL

Update list of acceptable SWIG versions to include SWIG 1.3.26 and 1.3.27.

* subversion/bindings/swig/NOTES

Remove warning about required versions of SWIG. Instead, folks can look in

INSTALL to find the list of acceptable SWIG versions.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Clarify warning text. Remove subversion/bindings/swig/NOTES

from list of locations which contain version numbers.

  1. … 2 more files in changeset.
* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Allow SWIG 1.3.26 and 1.3.27.

Eliminate the use of 'test -a' and 'test -o' from configure.

These operators are not POSIX compliant and apparently have strange

operator precedence issues in some environments. No functional changes.

Patch by: Peter Samuelson <>


Replace 'test -a' and 'test -o' with '&& test' and '|| test'


[in build/ac-macros]

* apr.m4, aprutil.m4, java.m4, neon.m4, svn-apache.m4, swig.m4


  1. … 6 more files in changeset.
Only allow SWIG 1.3.24 or SWIG 1.3.25. Other versions of SWIG are currently

incompatible with the Subversion bindings.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG),


subversion/bindings/swig/INSTALL: Only allow SWIG 1.3.24 or SWIG 1.3.25.

  1. … 2 more files in changeset.
The setup of the preprocessor define SVN_SWIG_VERSION was damaged.

However, it was scarcely used, so convert the only use to use SWIG_VERSION

instead, and remove the remains of SVN_SWIG_VERSION support.

* build/ac-macros/swig.m4: Don't AC_SUBST(SWIG_VERSION).

* build/generator/ Don't output a -DSVN_SWIG_VERSION=foo.

* build/generator/

(WinGeneratorBase.get_win_defines): Remove references to self.swig_defines.

(WinGeneratorBase._find_swig): Don't set self.swig_defines.

* subversion/bindings/swig/core.i:

Standardize the format of number used with SWIG_VERSION.

* subversion/bindings/swig/include/apr.swg:


  1. … 4 more files in changeset.
Remove unnecessary complication in Makefile SWIG clean rules.

* (clean): Do not use AC_SUBSTed SWIG_CLEAN_RULES, use plain

clean-swig target instead.

(clean-swig): New target, simply listing each individual SWIG language clean


* build/ac-macros/swig.m4: Remove SWIG_CLEAN_RULES everywhere.

  1. … 1 more file in changeset.
Check that distutils module exists when configuring Python bindings.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Warn if distutils module cannot be found.

* build/

Output "none" if distutils module cannot be found.

Suggested by: julianfoad

  1. … 1 more file in changeset.
Merge python-bindings-improvements to trunk, by comparing trunkURL with


Major changes:

* Always build SWIG headers in the build dir, unless we are still using

pristine SWIG headers from an official Subversion release (r15865).

* Enable SWIG bindings, even if we compile --without-swig. In release builds,

we can build the bindings without SWIG (r15857).

* Refactor SWIG generator to use a modular architecture, separate from the

Unix / Windows generators (r15855).

Minor changes:

* See r15879, r15870, r15868, r15867, r15857, and r15856.

Approved by: jerenkrantz

  1. … 17 more files in changeset.
Merge python-bindings-improvements to trunk, by comparing trunkURL with


New features:

- Automated Test Suite

* Test suite for memory pools (r15396, r15462)

* Test suite for FS library (r15590, r15632)

* In-build-directory testing (r15478)

* Nightly smoke tests (r15505)

- Automatic Memory Management

* Autogenerated proxy classes for SVN structs (r15428)

* Hand-written proxy classes for APR structs (r15484)

* Real reference counting for Pool objects (r15489, r15495, r15500)

* Treat svn_string_t objects as Python strings (r15595)

* Optional Pool Arguments (r15370, r15529)

- Better Documentation and error messages

* Enabled SWIG autodoc feature (r15490)

* Report assertion failures when variables are deleted prematurely

(r15488, r15489, r15492)

* Python argument numbers in error messages (r15460, r15493, r15525)

- Streamlined build process

* Release versions of Subversion bindings can be built without SWIG (r15620,

r15623, r15626, r15635, r15636, r15637, r15642, r15643)

* Automatic dependency checking for SWIG files (r15381, r15405, r15426,

r15429, r15430)

* Makefile rule for clean-swig-py (r15476)

- Other changes

* Compile-time type lookups for SWIG (r15396, r15407, r15408, r15409,

r15412, r15417)

* Move SWIG includes into include directory (r15407, r15408, r15413)

* Refactoring (r15411, r15425, r15453, r15521, r15522, r15527, r15559)

* SWIG bindings compile with Microsoft Visual C++ 6.0 (r15644)

* Minor bugfixes (r15409, r15494, r15496, r15497, r15498, r15499, r15501,

r15511, r15519, r15526, r15565, r15566, r15591, r15592, r15603, r15607,

r15645, r15646, r15653, r15579)

To see commit logs for this feature, examine

/branches/python-bindings-improvements, r15365:15846

Approved by: kfogel

Review by: dberlin




Testing by: Troy Straszheim <>

Christian Boos <>


  1. … 53 more files in changeset.
Add '--with-ruby-test-verbose' option to configure script for changing

output level of Ruby bindings tests.



(check-swig-rb): Add '--verbose' option.

* build/ac-macros/swig.m4(SVN_FIND_SWIG):

Add '--with-ruby-test-verbose' option.

  1. … 1 more file in changeset.
Fix link command configuration for Ruby bindings.

* build/ac-macros/swig.m4

(AC_CACHE_CHECK([how to link Ruby extensions])): Use '\S+'

instead of '\w+' for detecting compiler name.

Make the errors that happen when a user executes "make swig-py", but the

Python bindings were not configured, a tiny bit less obscure.

* build/ac-macros/swig.m4


Set variables which define commands to "none",

rather than "", when the relevant bindings language is not configured.

Remove the configure option --enable-swig-bindings entirely. It did not

actually enable anything. All it did was to conditionally skip a few

configure tests, whilst its presence made the swig build system just that

little bit more incomprehensible.

* build/ac-macros/swig.m4

(AC_ARG_ENABLE(swig-bindings)): Delete.


(SVN_FIND_SWIG): Do not test $svn_swig_bindings_enable_foo variables.

Remove the SWIG-Java bindings.


* build.conf:

* build/ac-macros/swig.m4:

* build/generator/

* build/generator/

* subversion/bindings/java/README:

* subversion/bindings/swig/INSTALL:

* subversion/bindings/swig/apr.i:

* subversion/bindings/swig/core.i:

* subversion/bindings/swig/svn_client.i:

* subversion/bindings/swig/svn_delta.i:

* subversion/bindings/swig/svn_fs.i:

* subversion/bindings/swig/svn_ra.i:

* subversion/bindings/swig/svn_repos.i:

* subversion/bindings/swig/svn_string.i:

* subversion/bindings/swig/svn_types.i:

* subversion/bindings/swig/svn_wc.i:

Remove SWIG-Java bindings. Many changes.

  1. … 16 more files in changeset.
Merge the ruby branch to trunk.

  1. … 46 more files in changeset.
* build/ac-macros/swig.m4: Tweak the APR_INT64_T_FMT regexps to take

account of Forte whitespace handling. (It prepends whitespace.)

* build/ac-macros/swig.m4: Tweak the APR_INT64_T_FMT regexps to take

account of gcc-2.95 whitespace handling.

Followup to r12717 - fix typo

Suggested by: Kouhei Sutou <>

* build/ac-macros/swig.m4: Fix missing parenthesis.