subversion

Checkout Tools
  • last updated 45 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1139938 is being indexed.

Followup r1139937 to fix a few bits I messed up.

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

($(GNU_ICONV_OBJDIR)/lib_encodings.def.diff,

$(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.

($(GNU_ICONV_OBJDIR)/lib_encodings.def.diff,

$(GNU_ICONV_OBJDIR)/lib_aliases.gperf.diff),

$(HTTPD_CONF), $(HTTPD_CHECK_USERS), $(HTTPD_CHECK_CONF)):

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/svnserveautocheck.sh

Remove an accidental debugging statement.

Make svnserveautocheck more portable.

* Makefile.in

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

* subversion/tests/cmdline/svnserveautocheck.sh

(#!): 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

* get-deps.sh: Treat any unrecognized target as fatal error.

Suggested by: gstein

* get-deps.sh: Typo fix in the code.

* get-deps.sh: Allow fetching only some dependencies.

* get-deps.sh: Actually look for curl and fetch.

Found by: arfrever

* get-deps.sh: Try curl and fetch if wget is not available.
* get-deps.sh: 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

Optimize data processing in svndiff if we don't want to compress input.

* subversion/libsvn_delta/svndiff.c

(zlib_encode): bypass pointless zlib call with the "store" method

In anticipation of future improvements, transmit pre-calculated final

SHA1 checksums for file contents in the mod_dav_svn update response,

and receive them in ra_serf. This should come at negligible cost to

both client and server (we are *not* asking the server to calculate

any SHA1's not already stored in the repsitory).

(Per discussion at http://svn.haxx.se/dev/archive-2011-05/0894.shtml)

* subversion/mod_dav_svn/reports/update.c

(add_helper, close_file): Grab the SHA1 checksum for files out of

the FS (if readily available), and pass it across the wire.

* subversion/libsvn_ra_serf/update.c

(report_info_t): Add 'final_sha1_checksum' member.

(start_report): Populate new 'final_sha1_checksum' report baton

member if we find that information in the REPORT response.

Make svn_uri_get_file_url_from_dirent() return the canonical form file:// for

"/" instead of the not canonical "file:///".

Found by looking at the failed tests caused by r1139372: I expected

"file:///" to be the canonical form, while the error showed "file://".

* subversion/libsvn_subr/dirent_uri.c

(svn_uri_get_file_url_from_dirent): Handle "/" specifically.

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

(test_file_url_from_dirent): Update expected result.

No functional change.

* subversion/libsvn_fs_fs/rep-cache.c

(svn_fs_fs__set_rep_reference):

Tighten variable scope and clarify the 'at this point' reference.

Sync the gpg-agent-password-store branch with trunk.

    • ?
    /branches/gpg-agent-password-store/tools/dist/backport.pl
  1. … 790 more files in changeset.
* subversion/tests/cmdline/commit_tests.py

(commit_url): Remove this test, as it's duplicated by invalid_wcpath_commit()

in input_validation_tests.py.