Note a problem that svn.apache.org runs into occasionally.

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__commit): Note a potential problem with the approach and suggest
    a general solution.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481577 13f79535-47bb-0310-9956-ffa450edef68
Significantly reduce I/O during 'svn log -v' and 'svn log' with authz.
There is no need to read the copy-from info from the repository
if it is already available in the changed path list.

* subversion/libsvn_repos/log.c
  (detect_changed): use the copyfrom info of the change, if available

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481594 13f79535-47bb-0310-9956-ffa450edef68
Significant I/O and CPU load reduction for 'svn log -g'. Repositories
with sub-tree merge info seem to benefit from this the most.

* subversion/libsvn_repos/log.c
  (get_combined_mergeinfo_changes): exit early when there is no
   svn:mergeinfo change in REV

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481596 13f79535-47bb-0310-9956-ffa450edef68
Mark messages from our utf8proc wrapper as translatable.

* subversion/libsvn_subr/utf8proc.c
  (encode_ucs4, svn_utf__glob): Make messages translatable and more neutral.
  (svn_utf__glob): Fix escape-token length check.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481619 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/libsvn_subr/utf-test.c (test_utf_pattern_match):
   Add test case for empty custom escape token in LIKE mode.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481620 13f79535-47bb-0310-9956-ffa450edef68
Expose a static helper function in libsvn_subr/path.c as a public API.

Copies of this function exist in libsvn_fs_fs and libsvn_repos, and
subsequent commits will remove this code duplication. I'm committing this
change in isolation to simplify potential future merges to 1.8.x/1.7.x.

* subversion/include/svn_path.h
  (svn_path_illegal_path_escape): Declare.

* subversion/libsvn_subr/path.c
  (illegal_path_escape): Rename to ...
  (svn_path_illegal_path_escape): ... this. Docstring has been moved to
   the public header. Otherwise unchanged.
  (svn_path_check_valid): Update caller.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481625 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs_fs/tree.c
  (escape_newline): Remove.
  (check_newline): Update caller, use svn_path_illegal_path_escape() instead.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481627 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_repos/commit.c
  (illegal_path_escape): Remove.
  (check_valid_path): Update caller, use svn_path_illegal_path_escape() instead.


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

* subversion/libsvn_subr/path.c
  (svn_path_illegal_path_escape): As above.  Duplicate is at the declaration.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481629 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/path.c
  (svn_path_illegal_path_escape): Fix an off-by-one allocation.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481631 13f79535-47bb-0310-9956-ffa450edef68
Remove another redundant function definition in libsvn_repos.

* subversion/libsvn_repos/commit.c
  (check_valid_path): Remove. Was identical to svn_path_check_valid().
  (add_file_or_directory): Update caller, use svn_path_check_valid().


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481632 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/path.c
  (svn_path_check_valid): Remove space-before-paren, as per our coding style.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481633 13f79535-47bb-0310-9956-ffa450edef68
Second attempt at dealing with newer clang's propensity to accept, yet warn
about, unknown warning flags.

* build/ac-macros/compiler.m4 (SVN_CC_MODE_SETUP, SVN_CXX_MODE_SETUP):
   Instead of trying to use -Wno-unknown-warning-option, add the invoerse
   -Werror=unknown-warning-option to the default C(XX)FLAGS.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481772 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/libsvn_wc/conflict-data-test.c
  (test_prop_conflicts): Allocate correct size.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481782 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_wc/conflicts.c
  (svn_wc__read_conflicts): Elements of the locations array become part
   of the returned array so allocate in result_pool.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481800 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_wc/conflicts.c
  (conflict__read_location): Allocate output strings in result_pool.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481813 13f79535-47bb-0310-9956-ffa450edef68
ra_local: use symbolic error names in the maintainer-mode warnings function.

* subversion/libsvn_ra_local/ra_plugin.c
  (ignore_warnings): Print the symbolic names of the rror that is
    being ignored.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481823 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_fs/fs-loader.c
  (default_warning_func): Try and print something anyway before abort()ing.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1481827 13f79535-47bb-0310-9956-ffa450edef68
Followup to r1481827: don't spam stderr by default for API consumers who are
not going to 'just abort()'.

This may introduce compiler warnings on windows, but those were deemed to be
acceptable.

Suggested by: rhuijben
Review by: rhuijben

* subversion/include/svn_error.h
  (svn_error_get_malfunction_handler): New API.

* subversion/libsvn_subr/error.c
  (svn_error_get_malfunction_handler): Implement it.

* subversion/libsvn_fs/fs-loader.c
  (default_warning_func):
    Only use stderr if the next line will abort().


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

* configure.ac: Typo fix in output string.

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