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

Changeset 1139937 is being indexed.

* 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

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

* 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


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

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

    • ?
  1. … 790 more files in changeset.
* subversion/tests/cmdline/

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


* subversion/tests/cmdline/

(invalid_wcpath_commit): Update the test expectation following the error

message change of r1139367.