~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/include/svn_utf.h

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 * Initialize the UTF-8 encoding/decoding routines.
50
50
 * Allocate cached translation handles in a subpool of @a pool.
51
51
 *
 
52
 * If @a assume_native_utf8 is TRUE, the native character set is
 
53
 * assumed to be UTF-8, i.e. conversion is a no-op. This is useful
 
54
 * in contexts where the native character set is ASCII but UTF-8
 
55
 * should be used regardless (e.g. for mod_dav_svn which runs within
 
56
 * httpd and always uses the "C" locale).
 
57
 *
52
58
 * @note It is optional to call this function, but if it is used, no other
53
59
 * svn function may be in use in other threads during the call of this
54
60
 * function or when @a pool is cleared or destroyed.
55
61
 * Initializing the UTF-8 routines will improve performance.
56
62
 *
57
 
 * @since New in 1.1.
58
 
 */
 
63
 * @since New in 1.8.
 
64
 */
 
65
void
 
66
svn_utf_initialize2(svn_boolean_t assume_native_utf8,
 
67
                    apr_pool_t *pool);
 
68
 
 
69
/**
 
70
 * Like svn_utf_initialize2() but without the ability to force the
 
71
 * native encoding to UTF-8.
 
72
 *
 
73
 * @deprecated Provided for backward compatibility with the 1.7 API.
 
74
 */
 
75
SVN_DEPRECATED
59
76
void
60
77
svn_utf_initialize(apr_pool_t *pool);
61
78
 
220
237
                                 const svn_string_t *src,
221
238
                                 apr_pool_t *pool);
222
239
 
 
240
/** Return the display width of UTF-8-encoded C string @a cstr.
 
241
 * If the string is not printable or invalid UTF-8, return -1.
 
242
 *
 
243
 * @since New in 1.8.
 
244
 */
 
245
int
 
246
svn_utf_cstring_utf8_width(const char *cstr);
 
247
 
223
248
#ifdef __cplusplus
224
249
}
225
250
#endif /* __cplusplus */