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

Changeset 1140020 is being indexed.

* build/ac-macros/serf.m4

(SVN_LIB_SERF): Search for both serf-0 and serf-1.

Follow-up to r1054251.

* build.conf (libsvn_diff): Add zlib to dependencies.

* site/publish/docs/release-notes/1.7.html: fix typo

Work around a bug in SQLite 3.7.7.

See this thread for context:

* subversion/libsvn_subr/sqlite.c

(exec_sql): Rename to exec_sql2. Grow and use IGNORED_ERR parameter.

(exec_sql): New macro wrapper.

(svn_sqlite__open): Ran the CASE_SENSITIVE_LIKE pragma separately, with

special error checking when SQLite is 3.7.7 (exactly).

Found by: arfrever

Suggested by: Richard Hipp <>

Review by: gstein

Documentation improvement only.

* subversion/libsvn_fs_fs/fs.h

(fs_fs_data_t): detailed description of packed_offset_cache

* subversion/libsvn_fs_fs/temp_serializer.h

(svn_fs_fs__serialize_manifest, svn_fs_fs__deserialize_manifest,

svn_fs_fs__get_sharded_offset, svn_fs_fs__extract_dir_entry):

improve docstings

Patch by: julianfoad

Fix type mismatch: the manifest contains apr_off_t values,

hence we should return these instead of apr_int64_t. The

only caller also expects apr_off_t.

* subversion/libsvn_fs_fs/temp_serializer.c

(svn_fs_fs__get_sharded_offset): return data using the expected type

Found by: julianfoad

Followup r1139937 to fix a few bits I messed up.

* tools/dev/unix-build/Makefile.svn


$(GNU_ICONV_OBJDIR)/lib_aliases.gperf.diff): Use mv -f instead of mv.

($(HTTPD_CONF)): Truncate output file.

* tools/dev/unix-build/Makefile.svn

($(PREFIX)/httpd/conf/httpd-$(SVN_REL_WC).conf): Rename target to

$(HTTPD_CONF), for clarity.




Simplify the mkdir -p, a harmless no-op if a dir already exists.

Move the >>$@ to the front of each echo, for improved readability.

Use '' in place of "" for less quoting / interpolation.

Create $@.tmp, then mv -f $@.tmp $@, so that if you happen to

interrupt one of those targets halfway through, 'make' will

correctly regenerate the target next time.

* subversion/libsvn_subr/cache-membuffer.c

(entry_t): improve docstring

Suggested by: danielsh

Prevent buffer overflows in target stringbuf. The recently added

optimizations rely on sufficient memory being pre-allocated to

the target buffer to hold the entire result string.

Until now, the code would ignore the size of existing content when

pre-allocating the buffer.

* subversion/libsvn_subr/svn_base64.c

(encode_bytes, decode_bytes): ensure that STR is large enough to

hold the new data as well as its current content

Shlomi just posted to users@, so we (presumably) have a non-bouncing

address now.

* COMMITTERS: update Shlomi's address

* subversion/libsvn_subr/svn_base64.c

(encode_bytes, decode_bytes): Clarify docstrings.

Patch by: danielsh

Silence two signed / unsigned char assignment warnings.

* subversion/libsvn_subr/svn_base64.c

(encode_line, decode_line): explicitly cast rhs to lhs

Found by: danielsh

* tools/dev/unix-build/Makefile.svn

(httpd-conf): Replace this target with $(HTTPD_CHECK_CONF) and

$(HTTPD_CHECK_USERS), the files it builds. Allows better use of $@

in rules, for my next commit.

Follow-up to r1081125:

* subversion/libsvn_fs_fs/caching.c

(svn_cmdline.h): Remove #include.

* subversion/tests/cmdline/

Remove an accidental debugging statement.

Make svnserveautocheck more portable.


(svnserveautocheck): Pass $PYTHON and don't call bash.

* subversion/tests/cmdline/

(#!): s#/bin/bash#/bin/sh#

($PYTHON): Use this environment variable, if available.

(): Replace bash-specific constructs with more portable equivalents.

* subversion/svn/main.c

(svn_cl__cmd_table): In the help text for 'svn upgrade', explain that

the upgrade preserves local modifications, and that an upgrade from

1.6 to 1.7 takes more time than a new checkout.

Whitespace adjustments

* subversion/libsvn_diff/diff3.c

Made first half of file match second half and norm

* Treat any unrecognized target as fatal error.

Suggested by: gstein

* Typo fix in the code.

* Allow fetching only some dependencies.

* Actually look for curl and fetch.

Found by: arfrever

* Try curl and fetch if wget is not available.
* Break out helper functions for each dependency.
Serf issue 59: Allow subjectAltName fields to match our host.

(And, minor fixup for SNI capability check in prior revision.)

* subversion/libsvn_ra_serf/util.c

(ssl_server_cert): Fetch subjectAltName from certificate and try to validate

against that.

(conn_setup): Make check for SNI based on serf version.

Support new serfs that can transmit TLS SNI info.

* subversion/libsvn_ra_serf/util.c

(conn_setup): Tell SSL context what the hostname is so it can use SNI.

No functional change.

* subversion/libsvn_subr/svn_base64.c

(encode_bytes): Typo fix and a bikesheddy readability tweak.

In 1.7 release note examples, fix the name SVN's apache module.

* site/publish/docs/release-notes/1.7.html

(server-performance-tuning): fix config examples

Base64 encoding / decoding accounts for a significant part of the protocol

handling with NEON. Make that 3 .. 4 times faster.

* subversion/libsvn_subr/svn_base64.c

(BASE64_LINELEN, base64tab): add docstrings

(BYTES_PER_LINE): new, derived value

(encode_group): fine-tune

(decode_group_directly): new function variant

(encode_line, decode_line): new functions to process line-sized chunks at once

(encode_bytes, decode_bytes): use above functions when possible