Follow-up to r1381800: there's a nasty 32 / 64 bit signed / unsigned mixup
causing the file pointer to be set to invalid offsets.

Found by: pburba

* subversion/libsvn_subr/io.c:
  (svn_io_read_length_line): convert to the wider, signed type before 
   subtracting

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382196 13f79535-47bb-0310-9956-ffa450edef68
Make clear that this is, in fact, the *UTF*_validate file.
So, we are not dealing with true ASCII representations here
but 1-byte encoded UTF-8 codepoints.

Also, support platforms with unsigned chars being default
without giving away any of the efficiency on the others.

* subversion/libsvn_subr/utf_validate.c
  (first_non_ascii_char,
   first_non_ascii_char_cstring): rename to ...
  (first_non_fsm_start_char,
   first_non_fsm_start_char_cstring): ... this; support platforms
   on which chars are not signed by default
  (svn_utf__last_valid,
   svn_utf__cstring_is_valid,
   svn_utf__is_valid,
   svn_utf__last_valid2): update callers

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382204 13f79535-47bb-0310-9956-ffa450edef68
On the inheritable-props branch: Sync with ^/subversion/trunk through
r1381334.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/inheritable-props@1382205 13f79535-47bb-0310-9956-ffa450edef68
Fix a minor issue with props deltification: Deltify against a props
representation instead of some text rep.

* subversion/libsvn_fs_fs/fs_fs.c
  (choose_delta_base, write_hash_delta_rep): add "props" flag to parameters
  (rep_write_get_baton, write_final_rev): update callers


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382304 13f79535-47bb-0310-9956-ffa450edef68
Follow-up to r1381808: move logic around.  No externally-visible change.

* subversion/libsvn_fs_fs/fs_fs.h
  (svn_fs_fs__read_noderev): Remove ALLOW_FOR_TXN_ROOTS parameter.

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__read_noderev): Implement signature change.
  (get_node_revision_body): Track signature change, move workaround here.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382333 13f79535-47bb-0310-9956-ffa450edef68
Followup to r1382333: fix reversed logic.

* subversion/libsvn_fs_fs/fs_fs.c
  (get_node_revision_body): s/==/!=/

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382336 13f79535-47bb-0310-9956-ffa450edef68
[in tools/server-side/svnpubsub]

Remove the '.revision' feature.  Those who want it can implement it via
the post-update hook.

* svnwcsub.py
  (BackgroundWorker._update): Remove code.
  
* README.txt:
    Remove documentation.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382749 13f79535-47bb-0310-9956-ffa450edef68
Make the expensive bits of version retreival optional.

* subversion/libsvn_subr/opt.h (svn_opt__get_version_info):
  Change prototype: add verbose flag.
* subversion/libsvn_subr/opt.h (svn_opt__get_version_info):
  Gather runtime system info only when verbose is set.
  (svn_opt_print_help4): Update.
* subversion/libsvn_subr/deprecated.c (svn_opt_print_help): Update.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382762 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/opt.c (svn_opt__get_version_info):
  Reformat the copyright message. The wording didn't change.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382764 13f79535-47bb-0310-9956-ffa450edef68
For issue #4226 ("svnversion output not always a number")...

* subversion/svnversion/main.c
  (help): Refer to "version identifier" rather than "version number",
    since what is printed is often not merely numeric.

* subversion/svnversion/svnversion.1
  Also here.

Reported by: chealer{__AT__}tigris.org


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382776 13f79535-47bb-0310-9956-ffa450edef68
* subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
  Adjust expected stdout in light of the change in r1382764.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382782 13f79535-47bb-0310-9956-ffa450edef68
[in tools/server-side/svnpubsub]

svnwcsub: log hook runs.

* svnwcsub.py
  (BackgroundWorker._update):
    Log at the INFO level before running the hook.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382801 13f79535-47bb-0310-9956-ffa450edef68
[in tools/server-side/svnpubsub]

Fix a copy-paste error.

* svnwcsub.py
  (BackgroundWorker._update):
    Fix NameError in argument list.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382803 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: List 1.6.19 changes.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382843 13f79535-47bb-0310-9956-ffa450edef68
[in tools/server-side/svnpubsub]

Fix a bogus logging.critical().

Found by: joes

* svnwcsub.py
  (BackgroundWorker.run): Fix if/else chain.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382864 13f79535-47bb-0310-9956-ffa450edef68
* tools/server-side/svnpubsub/svnwcsub.py
  (BackgroundWorker.run): Coding style tweak.

Patch by: gstein

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382933 13f79535-47bb-0310-9956-ffa450edef68
On the inheritable-props branch: Add a test which checks that property
inheritance is disallowed from parents which the user doesn't have read
access to.

* subversion/tests/cmdline/iprop_authz_tests.py: New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/inheritable-props@1382961 13f79535-47bb-0310-9956-ffa450edef68
On the inheritable-props branch: Cruft removal.

* subversion/tests/cmdline/iprop_tests.py
  (iprops_pegged_url_targets): Remove some pointless comments and an unused
   variable.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/inheritable-props@1382966 13f79535-47bb-0310-9956-ffa450edef68
* subversion/libsvn_subr/utf_validate.c
  (): Include svn_dep_compat.h to fix build with old apr.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1382989 13f79535-47bb-0310-9956-ffa450edef68
Make the extended version info retrieval a public API.

* subversion/include/svn_version.h: Include apr_tables.h.
  (svn_version_extended_t): Move here, rename from svn_opt__version_info_t.
  (svn_version_linked_lib_t): Move here, rename from svn_sysinfo__linked_lib_t.
  (svn_version_loaded_lib_t): Move here, rename from svn_sysinfo__loaded_lib_t.
  (svn_version_extended): Move here, rename from svn_opt__get_version_info.

* subversion/libsvn_subr/version.c: Include sysinfo.h.
  (svn_version_extended): Move here, renamed and updated from
   svn_opt__get_version_info.

* subversion/libsvn_subr/sysinfo.h
  (svn_sysinfo__linked_lib_t, svn_sysinfo__loaded_lib_t): Moved and
   renamed to subversion/include/svn_version.h.
  (svn_sysinfo__linked_libs, svn_sysinfo__loaded_libs): Update docstring.
* subversion/libsvn_subr/sysinfo.c: Include svn_version.h.
  (svn_sysinfo__linked_libs, svn_sysinfo__loaded_libs):
   Update, using new type names.

* subversion/libsvn_subr/opt.h:
   Include svn_version.h. Do not include apr_tables.h.
   (svn_opt__version_info_t, svn_opt__get_version_info):
    Moved and renamed to subversion/include/svn_version.h
   (svn_opt__print_version_info): Update type name in prototype.

* subversion/libsvn_subr/opt.c: Do not include sysinfo.h.
  (svn_opt__get_version_info): Moved and renamed to
   subversion/libsvn_subr/version.c.
  (svn_opt__print_version_info, svn_opt_print_help):
   Update, use public svn_version_extended API.
* subversion/libsvn_subr/deprecated.c: Include svn_version.h.
  (svn_opt_print_help): Update, use public svn_version_extended API.

* subversion/tests/cmdline/getopt_tests.py
  (switch_res_line, switched_del_lines_res, switched_rep_lines_res):
   New filters for extended version information.
  (process_lines): Use the new filters.
  (getopt__version__verbose): New test for "svn --version --verbose".

* subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout,
  subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stderr: New.


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