Factor out some common code in the ra_svn marshaller.

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn__write_ncstring): new internal function with most code taken
                                from svn_ra_svn__write_cstring
  (svn_ra_svn__write_string,
   svn_ra_svn__write_cstring): call the common function


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486000 13f79535-47bb-0310-9956-ffa450edef68
Speed up sending proplists via ra_svn by explicitly sending the elements
of the property tuples instead of using the generic write_tuple code.
Also, eliminate a mostly unused sub-pool.

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn__write_proplist): shorten and optimize


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486008 13f79535-47bb-0310-9956-ffa450edef68
* tools/dist/make-deps-tarball.sh: Fix for zlib.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486010 13f79535-47bb-0310-9956-ffa450edef68
In ra_svn's marshaller, provide a dedicated function to send booleans over
the wire.  Call it where appropriate.

* subversion/include/private/svn_ra_svn_private.h
  (svn_ra_svn__write_boolean): declare new private API

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn__write_boolean): implement new private API
  (vwrite_tuple_boolean,
   write_tuple_boolean): call the new function instead of copy'n'pasting code

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486011 13f79535-47bb-0310-9956-ffa450edef68
Correct an error message and use a #define instead of a magic number.
No functional change.

* subversion/libsvn_ra_svn/marshal.c
  (ITEM_NESTING_LIMIT): define new constant
  (read_item): the problem is recursion not data size; use new constant

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486014 13f79535-47bb-0310-9956-ffa450edef68
Minor ra_svn marshaller tuning.

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn__parse_proplist): use our faster hash function


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486015 13f79535-47bb-0310-9956-ffa450edef68
Speed up the transmission of log data over ra_svn. Instead of the parsed /
interpreted write_tuple API, use statically typed functions to send the
data.

As part of this, add a variant of svn_compat_log_revprops_out to our API
that returns svn_string_t instead of C-style strings.  While the new API
preserves more information from the revprops hash,  the return values of
the old one is often easier to use with other functions.  So, instead of
rev'ing a gazillion APIs, don't deprecate the old one.

* subversion/include/private/svn_ra_svn_private.h
  (svn_ra_svn__write_data_log_changed_path,
   svn_ra_svn__write_data_log_entry): declare explicit API for those parts
                                      of the ra_svn protocol

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn__write_data_log_changed_path,
   svn_ra_svn__write_data_log_entry): implement them

* subversion/include/svn_compat.h
  (svn_compat_log_revprops_out_string): declare a new, faster public API

* subversion/libsvn_subr/compat.c
  (svn_compat_log_revprops_out_string): implement it
  (svn_compat_log_revprops_out): call the new API to factor out common code

* subversion/svnserve/serve.c
  (log_receiver): use the new API make things more efficient


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1486033 13f79535-47bb-0310-9956-ffa450edef68
On the fsfs-format7 branch: sync with /trunk up to and including r1486033.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsfs-format7@1486034 13f79535-47bb-0310-9956-ffa450edef68