Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 921825 is being indexed.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Remove -std=c89 (equivalent to -ansi) from SWIG_RB_COMPILE.

Apply ASF license headers to a number of files included under that license

but lacking said header.

Patch by: Niall Pemberton <niallp{_AT_}apache.org>

  1. … 175 more files in changeset.
Fix Issue #3458: Use '$SED' instead of 'sed'.

* configure.ac:

* build/ac-macros/berkeley-db.m4

(SVN_LIB_BERKELEY_DB, SVN_LIB_BERKELEY_DB_TRY):

* build/ac-macros/neon.m4

(SVN_NEON_CONFIG):

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

(SVN_EXTERNAL_PROJECT):

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Use '$SED' instead of 'sed'.

  1. … 4 more files in changeset.
Follow-up to r38377:

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Use SVN_REMOVE_STANDARD_LIB_DIRS for SWIG_PY_LIBS and

SWIG_RB_LIBS.

Revert r38218. Buildbots now provide 'config.log' when an error occurs.

  1. … 16 more files in changeset.
Make `configure` sometimes print the content of 'config.log' when an error occurs.

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

(SVN_MSG_ERROR): New.

* build/ac-macros/apache.m4:

* build/ac-macros/apr.m4:

* build/ac-macros/apr_memcache.m4:

* build/ac-macros/aprutil.m4:

* build/ac-macros/berkeley-db.m4:

* build/ac-macros/ctypesgen.m4:

* build/ac-macros/gssapi.m4:

* build/ac-macros/java.m4:

* build/ac-macros/kwallet.m4:

* build/ac-macros/neon.m4:

* build/ac-macros/sasl.m4:

* build/ac-macros/serf.m4:

* build/ac-macros/sqlite.m4:

* build/ac-macros/swig.m4:

* build/ac-macros/zlib.m4:

* configure.ac: Use SVN_MSG_ERROR() instead of AC_MSG_ERROR().

[Reverted in r38285.]

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

(SVN_FIND_SWIG): Allow SWIG 1.3.39.

Follow-up to r35852:

Improve check for rb_errinfo().

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Define HAVE_RB_ERRINFO if rb_errinfo() is available.

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c

(callback_rescue): Use rb_errinfo() if HAVE_RB_ERRINFO is defined.

  1. … 1 more file in changeset.
Respect CFLAGS in SWIG bindings.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Include $CFLAGS in SWIG_PY_COMPILE and SWIG_RB_COMPILE.

* build/get-py-info.py: Don't print BASECFLAGS and OPT.

* Makefile.in

(COMPILE_SWIG_PY): Delete $(CFLAGS) which is now in $(SWIG_PY_COMPILE).

(COMPILE_SWIG_RB): Delete $(CFLAGS) which is now in $(SWIG_RB_COMPILE).

(swig-pl): Appropriately set OPTIMIZE when calling $(MAKE) in

subversion/bindings/swig/perl/native directory.

* subversion/bindings/swig/perl/native/Makefile.PL.in: Respect CFLAGS.

  1. … 3 more files in changeset.
Fix building Ruby bindings with Ruby 1.9.

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Use appropriate -I options.

* subversion/bindings/swig/core.i: Use RSTRING_LEN().

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c

(): Include <version.h>.

(rb_holder_pop, svn_swig_rb_set_pool, svn_swig_rb_to_apr_array_row_prop,

svn_swig_rb_to_apr_array_prop, svn_swig_rb_array_to_apr_array_revision_range,

name, read_handler_rbio): Use RARRAY_LEN(), RARRAY_PTR() and RSTRING_LEN().

(callback_rescue): Use rb_errinfo() instead of ruby_errinfo when Ruby >=1.9 is used.

* subversion/bindings/swig/include/svn_types.swg

(_swig_rb_closed): Use RSTRING_LEN().

* subversion/bindings/swig/include/svn_string.swg

(%typemap(in) svn_stringbuf_t *, %typemap(in) svn_stringbuf_t *node_name,

%typemap(in) const svn_string_t * (svn_string_t value)): Use RSTRING_LEN().

Unrelated changes which fix 'implicit declarations of svn_md5_digest_to_cstring()'

and some 'casts to pointer from integer of different size' accidentally discovered

when building Ruby bindings with Ruby 1.9:

* subversion/bindings/swig/core.i: Include svn_md5_h.swg.

* subversion/bindings/swig/svn_fs.i:

* subversion/bindings/swig/svn_wc.i:

* subversion/bindings/swig/svn_delta.i: Include "svn_md5.h" to get the

prototype for svn_md5_digest_to_cstring() (used in some typemaps in

svn_types.swg).

  1. … 7 more files in changeset.
Follow-up to r35647:

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Fix quoting so that it works on all platforms.

Tested by: stsp

* 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.
* configure.in (AC_PREREQ): Require autoconf >= 2.58.

* configure.in:

* 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:

Blind s/AC_HELP_STRING/AS_HELP_STRING/.

  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.

* Makefile.in (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:

1. SWIG_PY_INCLUDES includes SWIG_INCLUDES.

SWIG_RB_COMPILE includes SWIG_RB_INCLUDES, which includes

SWIG_INCLUDES.

2. COMPILE_PY_WRAPPER includes both of SWIG_PY_INCLUDES and

SWIG_INCLUDES.

COMPILE_SWIG_RB includes SWIG_RB_COMPILE and SWIG_RB_INCLUDES.

COMPILE_RB_WRAPPER includes SWIG_RB_COMPILE, SWIG_INCLUDES, and

SWIG_RB_INCLUDES.

Patch by: me

Review by: kou

* Makefile.in

(COMPILE_PY_WRAPPER): Remove SWIG_INCLUDES, which is included in

SWIG_PY_COMPILE.

(COMPILE_RB_WRAPPER): Remove SWIG_INCLUDES, which is included in

SWIG_RB_COMPILE.

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

SWIG_RB_COMPILE.

  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/external_runtime.py

(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

Subversion.

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 <peter@p12n.org>

* configure.in

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

respectively.

[in build/ac-macros]

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

Likewise.

  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/NOTES,

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/gen_make.py: Don't output a -DSVN_SWIG_VERSION=foo.

* build/generator/gen_win.py

(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:

Use SWIG_VERSION instead of SVN_SWIG_VERSION.

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

* Makefile.in (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

target.

* 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/get-py-info.py:

Output "none" if distutils module cannot be found.

Suggested by: julianfoad

  1. … 1 more file in changeset.