Add the gtest_addition branch which will be used for testing the
Subversion C++ bindings.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/gtest_addition@1452117 13f79535-47bb-0310-9956-ffa450edef68
Add the optional dependency Googletest (aka Gtest) to be compiled by
the build system.
 
* trunk/get-deps.sh (gtest): change gtest dir to libgtest and
  add user information.

* trunk/build/generator/gen_base.py (TargetLinked.add_dependencies): 
  Add .cc extension.

* trunk/gen-make.py (_usage_exit): add gtest flag help info. 

* trunk/Makefile.in(): various entries for gtest flags
 
* trunk/build.conf (install): Add Gtest target.

* trunk/configure.ac (): Add AC_ARG_ENABLE command hook and test
  (build rules): add gtest build rules

* INSTALL (Dependency Overview): add entry for Gtest
  (Dependencies in Detail): add entry for Gtest

* doc/programmer/gtest-guide.txt(): Documentation for Subversion's
  installation of Gtest.

* subversion/bindings/cxxhl/gtests/GtestAcceptance.cpp(): Sample test
  for gtest.

* subversion/bindings/cxxhl/gtests/Makefile(): Makefile for sample
  test for gtest.
  

  


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/gtest_addition@1452120 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Typo fix of shared to sharded.

Found by: Konstantin Kolinko <knst.kolinko{_AT_}gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501807 13f79535-47bb-0310-9956-ffa450edef68
* gen_win.py
  (errno_filter): The SOC* errors are from the python system error
    import, not from apr.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501912 13f79535-47bb-0310-9956-ffa450edef68
* win-tests.py
  (locate_libs): Fix static apr check. Simplify none checks.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501921 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/ssl_server_trust_providers.c
  (ssl_server_trust_file_first_credentials): Use svn_cstring_atoui() instead
   of strtoul(). No functional change apart from error cases.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501961 13f79535-47bb-0310-9956-ffa450edef68
Make svnauth show certificate verification failures in human-readable form.

Since the certificates are already cached, they've been permanently
accepted. The information displayed shows why the certificate could
not be verified automatically.

* subversion/svnauth/svnauth.c
  (AUTHN_FAILURES_KEY): New macro, copied from ssl_server_trust_providers.c.
  (show_cert_failures): New helper function.
  (list_credentials): Use new helper function to display cert failures.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501976 13f79535-47bb-0310-9956-ffa450edef68
* tools/dist/backport.pl
  (vote): Tweak an error message and rename a local variable for clarity.
    No functional change.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501977 13f79535-47bb-0310-9956-ffa450edef68
* tools/dist/backport.pl
  (vote): Fix use of undef as hash key when committing an edit.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1501995 13f79535-47bb-0310-9956-ffa450edef68
backport.pl: Fix a bug with concurrent edits to STATUS.

* tools/dist/backport.pl
  (vote): Simplify the "votes we have successfully entered in the file" tally
    and tolerate failures (e.g., due to an update having edited one of the
    indexed-by-digest entries we wanted to vote on).  While at it, cache the
    correct digest for the edit+approve case.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502023 13f79535-47bb-0310-9956-ffa450edef68
* tools/dist/backport.pl
  (vote): Bail out on unsafe filenames, just like the error message says we do.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502024 13f79535-47bb-0310-9956-ffa450edef68
* tools/dist/backport.pl
  (vote): Generate a correct log message for the 'Edit and approve' case.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502027 13f79535-47bb-0310-9956-ffa450edef68
Sync the gtest_addition branch with trunk up to r1502047.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/gtest_addition@1502060 13f79535-47bb-0310-9956-ffa450edef68
C++HL Infrastructure: Insert an InternalError base class
into the exception hierarchy.

* subversion/bindings/cxxhl/include/svncxxhl/exception.hpp
  (InternalError): New class. Derives from std::exception.
  (Error): Derive from InternalError instead of std::exception.
  (Cancelled): Add docstring.

* subversion/bindings/cxxhl/src/exception.cpp
  (InternalError): Implement.
  (Error): Update implementation.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502086 13f79535-47bb-0310-9956-ffa450edef68
C++HL Infrastructure: Add C++ wrappers for APR pools, arrays and hash tables.

* build.conf (private-includes): Add C++HL private header files.
  (libsvncxxhl): Include sources from the aprwrap subdirectory.

* subversion/bindings/cxxhl/src/aprwrap.hpp: New file.
   Includes all the APR wrapper API headers.

* subversion/bindings/cxxhl/src/aprwrap/pool.hpp: New file.
  (Pool): New class.
* subversion/bindings/cxxhl/src/aprwrap/array.hpp: New file
  (Array, ConstArray): New template classes.
* subversion/bindings/cxxhl/src/aprwrap/hash.hpp: New file.
  (Hash): New template class.
* subversion/bindings/cxxhl/src/aprwrap/impl.cpp: New file.
  (Pool::get_root_pool, Hash<void, void>::iterate): Implement.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502087 13f79535-47bb-0310-9956-ffa450edef68
Resolve concerns about the chunked detection config "knob".

Proposed by: danielsh, breser

* subversion/include/svn_config.h:
  (SVN_CONFIG_OPTION_BUSTED_PROXY): rename to ...
  (SVN_CONFIG_OPTION_HTTP_DETECT_CHUNKING): ... this

* subversion/libsvn_ra_serf/ra_serf.h:
  (svn_ra_serf__session_t): rename BUSTED_PROXY to DETECT_CHUNKING and
    relocate in the structure to a more appropriate location.

* subversion/libsvn_ra_serf/serf.c:
  (load_config, svn_ra_ser__open): switch structure member and config symbol

* subversion/libsvn_subr/config_file.c:
  (svn_config_ensure): adjust help text, mostly cribbed from breser,
    with edits to reduce word/line count.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502097 13f79535-47bb-0310-9956-ffa450edef68
Revise the 411 help message, added in r1500837 and r1500857

* subversion/libsvn_ra_serf/util.c:
  (svn_ra_serf__error_on_status): update config option name


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502109 13f79535-47bb-0310-9956-ffa450edef68
Fix a bug in the JavaHL RA API where the default config directory was not used
when a remote session was created through RemoteFactory.

* subversion/bindings/javahl/native/RemoteSession.cpp
  (RemoteSession::open): Use NULL for the config directory path, not an empty
   string, if the Java string parameter was null.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502115 13f79535-47bb-0310-9956-ffa450edef68
Minor enhancements to C++HL infrastructure.

* subversion/bindings/cxxhl/src/aprwrap/array.hpp
  (Array::Array): When constructing an array proxy from an APR array,
   double-check that the element size and value type match.
  (ConstArray::ConstArray): Likewise.

* subversion/bindings/cxxhl/src/aprwrap/hash.hpp
  (Hash<void,void>::iterate): Move declaration to the top of the class.
  (Hash<void,void>::Key): Constrain friendshipt to Hash::iterate.
  (Hash::Key::Key): Replace private constructor with a
   downcast conversion constructor.
  (Hash::Iteration::operator()): Use the new conversion constructor.

* subversion/bindings/cxxhl/src/aprwrap/impl.cpp
  (Hash<void,void>::iterate): Rename argument 'pool' to 'scratch_pool'.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502137 13f79535-47bb-0310-9956-ffa450edef68
In svnauth, label simple credential fields with translatable strings.

* subversion/svnauth/svnauth.c
  (AUTHN_USERNAME_KEY, AUTHN_PASSWORD_KEY, AUTHN_PASSTYPE_KEY): New macros,
   copied from libsvn_subr/simple_providers.c (at some point we'll have
   to move all these AUTHN_* macros into a shared header file).
  (list_credentials): Pretty-print simple credentials.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1502163 13f79535-47bb-0310-9956-ffa450edef68