Checkout Tools
  • last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Fix various typos detected by codespell

* CHANGES, INSTALL, build.conf,,

notes/anchors_and_targets.txt, subversion/svn/cl.h,

subversion/svn/conflict-callbacks.c, subversion/svn/svn.c,





subversion/svnlook/svnlook.c, subversion/svnserve/serve.c,

subversion/svnserve/server.h, subversion/svnserve/svnserve.c,


(): Spelling fixes

  1. … 16 more files in changeset.
Following up on r1803210, r1803127 and r1803261, move the declaration of

a few dependency related preprocessor defines to the dependency generator

instead of hardcoding them in the standard Windows configuration.

* build/generator/


_find_utf8proc): Add define here.

* subversion/svn_private_config.hw


SVN_INTERNAL_UTF8PROC): Remove define here.

  1. … 1 more file in changeset.
Build against the system utf8proc library by default instead of the

internal copy of the utf8proc code. Add --with-utf8proc=PREFIX|internal

to allow the user to specify either where to find utf8proc or that the

internal copy be used. The Windows build will continue to use the

internal utf8proc code.

* build/ac-macros/utf8proc.m4: New.

* aclocal.m4: Include utf8proc.m4.




* build.conf

(libsvn_subr): Add utf8proc to link.

(utf8proc): New.

* subversion/libsvn_subr/utf8proc/utf8proc.h: Rename to ...

* subversion/libsvn_subr/utf8proc/utf8proc_internal.h: ... this.

* subversion/libsvn_subr/utf8proc/utf8proc.c: Include svn_private_config.h

and utf8proc_internal.h, protect with SVN_INTERNAL_UTF8PROC.

* subversion/libsvn_subr/utf8proc.c: Include system utf8proc.h or internal


* subversion/svn_private_config.hw: Define SVN_INTERNAL_UTF8PROC to

enable internal copy of utf8proc.

* subversion/tests/libsvn_subr/utf-test.c

(test_utf_fuzzy_escape): Allow for small output difference between

utf8proc 1.x and 2.x.

  1. … 10 more files in changeset.
Build against the system LZ4 library by default instead of the

internal copy of the LZ4 code. Add --with-lz4=PREFIX|internal

to allow the user to specify either where to find LZ4 or that

the internal copy be used. The Windows build will continue to

use the internal LZ4 code.

* build/ac-macros/lz4.m4: New.

* aclocal.m4: Include lz4.m4.

* Call SVN_LZ4.



* build.conf

(libsvn_subr): Add lz4 to link.

(lz4): New.

* subversion/libsvn_subr/lz4/lz4.h: Rename to ...

* subversion/libsvn_subr/lz4/lz4internal.h: ... this, include

svn_private_config.h, protect with SVN_INTERNAL_LZ4.

* subversion/libsvn_subr/lz4/lz4.c: Include svn_private_config.h and

lz4internal.h, protect with SVN_INTERNAL_LZ4.

* subversion/libsvn_subr/compress.c: Include system lz4.h or lz4internal.h.

* subversion/svn_private_config.hw: Define SVN_INTERNAL_LZ4 to

enable internal copy of LZ4.

  1. … 9 more files in changeset.
Rename the ill-defined SVN_LIBSVN_CLIENT_LINKS_* defines to an

easier to maintain SVN_LIBSVN_RA_LINKS_*. LIBSVN_CLIENT didn't

link any of this since well before 1.0.

* trunk/build/generator/

* trunk/

* trunk/subversion/libsvn_ra/ra_loader.c

* trunk/subversion/libsvn_ra_local/ra_plugin.c

* trunk/subversion/svn_private_config.hw

Update references.

  1. … 4 more files in changeset.
Use similar detection for a few system headers on Windows and other platforms,

to avoid problems whenever we want to reuse this code and to make it easier

to fix Windows specifics in one place.


Check for stdint.h instead of the less likely to exist inttypes.h, where

we use the include of stdint.h of.

* subversion/libsvn_subr/utf8proc/utf8proc.h

Use standard defines for the headers we need.

* subversion/svn_private_config.hw

Declare defines for Visual Studio.

  1. … 2 more files in changeset.
Move SVN_UNUSED into a private header.

* subversion/include/svn_types.h

(SVN_UNUSED): Remove and move to ...


(AH_BOTTOM): to here ...

* subversion/svn_private_config.hw

(SVN_UNUSED): and here.

  1. … 2 more files in changeset.
Fix GCC's "always_inline function might not be inlinable" warning.

As it turns out, these functions must also be marked as "inline"

if we want to enforce inlining.

Once at it, make the forced inline macro fall back to at least

APR-defined inlining (instead of no decoration at all) if there

is no way to enforce it.


(AH_BOTTOM): Make SVN__FORCE_INLINE imply APR_INLINE when not in


* subversion/svn_private_config.hw

(SVN__FORCE_INLINE): Fall back to APR_INLINE in non-SVN_DEBUG mode

when not using Visual C.

  1. … 1 more file in changeset.
Merge fsx branch into /trunk with no conflicts.


  1. … 83 more files in changeset.
Remove detection of __builtin_constant_p from the build system. It is unused

as of r1509166.

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




* subversion/svn_private_config.hw


  1. … 2 more files in changeset.
We should define SVN_HAS_DUNDER_BUILTINS under Windows as well

(as "optimization not supported")

* subversion/svn_private_config.hw

(SVN_HAS_DUNDER_BUILTINS): define as "not supported"

Suggested by: danielsh

Followup to r1505482 and friends:

The SVN__PREDICT_* macros should be the same across platforms. Always

take an argument.

* subversion/svn_private_config.hw:

(SVN__PREDICT_*): take an argument. evaluate to the same.

* subversion/svn_private_config.hw

Fix check for the Microsoft C/C++ compiler.

Patch by: Masaru Tsuchiyama <m.tmatma{_AT_}>

Cherrypick merge c1442910,1443171 from the fsfs-format7 branch

to /trunk and resolve a trivial tree conflict.

This move svn__(de)compress from libsvn_delta to libsvn_subr and

makes the API slightly more symmetric by using stringbuf for in and

out parameters.

  1. … 8 more files in changeset.
Kill off configury for qsort_r. The hassle of trying to use the fifteen different

implementations is bigger than the benefit.

* aclocal.m4: Do not include build/ac-macros/qsort_r.m4.

* Remove qsort buts from AH_BOTTOM and don't call SVN_FUNC_QSORT_R.

* build/ac-macros/qsort_r.m4: Delete.

* subversion/svn_private_config.hw (HAVE_QSORT_R, SVN_QSORT_R): Remove.

  1. … 3 more files in changeset.
* subversion/svn_private_config.hw (HAVE_QSORT_R): Fix define.

Issue #4261 (require --force to set unknown svn: prop names)

Fix Windows build warnings and errors.

* subversion/svn_private_config.hw: Define HAVE_QSORT_R

* subversion/svn/props.c (svn_cl__check_svn_prop_name): Cast default score

to unsigned int on assignment.

  1. … 1 more file in changeset.
Groundwork for issue #4261 (require --force to set unknown svn: prop names).

* build/ac-macros/qsort_r.m4: New file.

(SVN_FUNC_QSORT_R): New config test. Checks if qsort_r is available

and if it is, determines the order of its arguments.

* aclocal.m4: Include build/ac-macros/qsort_r.m4.


Define SVN_QSORT_R wrapper for subversion/svn_private_config.h

* subversion/svn_private_config.hw (SVN_QSORT_R): Define wrapper for Windows.

  1. … 3 more files in changeset.
Add target platform information to user agent string.

* subversion/libsvn_ra_serf/ra_serf.h

(USER_AGENT): Add target platform information.

* subversion/libsvn_ra_serf/ra_svn.h

(SVN_RA_SVN__DEFAULT_USERAGENT): Add target platform information.


(SVN_BUILD_TARGET): Define to ${target}.

* subversion/svn_private_config.hw


  1. … 3 more files in changeset.
Revert r1405026.

[reverted in r1405034]

* subversion/svn_private_config.hw

(SVN_BUILD_HOST): Define as "x64-microsoft-windows" on x64 platform.

On Windows, don't strip the Content-Type field from .po files during their compilation.

GNU libintl, by default, converts the l10n strings into the locale encoding, while Subversion requires UTF-8. This conversion can be suppressed by calling bind_textdomain_codeset, but certain old versions of libintl don't have that, so the Unix build system checks for the existence of that function, and if it's not present, strips the Content-Type header from the .po files (which prevents encoding conversion, as well, but makes msgfmt complain).

When building on Windows, this stripping is done unconditionally, but is completely unnecessary:

- On Windows, we only support linking with svn-win32-libintl, which is hacked to disable all encoding conversions.

- Even if someone links with with his own version of libintl, it's a safe bet that it will be new enough to support bind_textdomain_codeset, so we can just call that.

This patch removes Content-Type stripping on Windows, which gets rid of msgfmt warnings, as well as simplifies the build system.

* build/generator/build_locale.ezt: Remove the invocation.

* build/generator/

(POFile.__init__): don't store the .spo file name.

* build/ Delete.

* subversion/libsvn_subr/nls.c:

(svn_nls_init): Move the bind_textdomain_codeset call out of the #ifdef WIN32 block, so it's executed on Windows, as well.

* subversion/svn_private_config.hw: Indicate that bind_textdomain_codeset is available if NLS is enabled.

Approved by: brane

  1. … 4 more files in changeset.
Replace CPU type and Windows version in SVN_BUILD_HOST during the build.

* build/ New script, Windows-specific.

* build/generator/templates/svn_config.vcproj.ezt,

build/generator/templates/svn_config.vcxproj.ezt: Use

to generate svn_private_config.h instead of just copying.

* subversion/svn_private_config.hw: Remove ### comment for SVN_BUILD_HOST.

  1. … 3 more files in changeset.
Add information about the build system to "svn --version" output.

This should make solving user problems a little bit easier.

* (SVN_BUILD_HOST): Define to ${host}.

* subversion/libsvn_subr/opt.c (svn_opt__print_version_info):

Add SVN_BUILD_HOST to the version info.

* subversion/svn_private_config.hw (SVN_BUILD_HOST): Define

to make the Windows build hopefully still work.

  1. … 2 more files in changeset.
Add DEFAULT_HTTP_LIBRARY define for configuring default HTTP library to use.



* notes/knobs

(Defaults): Document DEFAULT_HTTP_LIBRARY define.

* subversion/libsvn_ra/ra_loader.c

(svn_ra_open4): Use DEFAULT_HTTP_LIBRARY instead of hardcoded value.

* subversion/svn_private_config.hw


  1. … 3 more files in changeset.
Replace tabs with spaces.

* subversion/bindings/swig/INSTALL,















Replace tabs with spaces.

  1. … 14 more files in changeset.
Revert r880584 to fix broken Windows debug build.

Note: r880584 was originally committed as r40510 of s.t.o.

The Windows debug build was broken by r880584 and I have been unable to fix

it. Per our HACKING rules I am reverting the change, for more details see

this thread:

  1. … 2 more files in changeset.
Test out my new and fancy ASF commit priviledges by changing the copyright

wording in our license headers to reflect ownership by the ASF.


Change terminology to ASF, and update a link.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the ASF, and update the project website.

* everywhere:

Change license text to reflect ASF ownership.

  1. … 891 more files in changeset.
Move inclusion of svn_debug.h from svn_types.h to svn_private_config.h.

* subversion/include/svn_types.h: Don't include "private/svn_debug.h".

* Include "private/svn_debug.h" in generated


* subversion/svn_private_config.hw: Include "private/svn_debug.h".

Review by: gstein

  1. … 2 more files in changeset.
Relicense Subversion under the Apache License, Version 2.0.

* NOTICE: New.



subversion/LICENSE: Remove.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the SVN Corp, and that it contains contributions from

many people, as referenced in NOTICE.

* subversion/bindings/swig/python/LICENSE_FOR_PYTHON_BINDINGS:

Relicense the SVN parts under Apache 2.0.

* everywhere:

Change copyright notices in file headers to reflect the Apache 2.0 license.

  1. … 882 more files in changeset.