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

« back to all changes in this revision

Viewing changes to subversion/include/svn_pools.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:
30
30
#ifndef SVN_POOLS_H
31
31
#define SVN_POOLS_H
32
32
 
33
 
#include <apr_pools.h>
 
33
#include "svn_types.h"
34
34
 
35
35
#ifdef __cplusplus
36
36
extern "C" {
86
86
 */
87
87
#define svn_pool_destroy apr_pool_destroy
88
88
 
 
89
/** Return a new allocator.  This function limits the unused memory in the
 
90
 * new allocator to #SVN_ALLOCATOR_RECOMMENDED_MAX_FREE and ensures
 
91
 * proper synchronization if the allocator is used by multiple threads.
 
92
 *
 
93
 * If your application uses multiple threads, creating a separate
 
94
 * allocator for each of these threads may not be feasible.  Set the
 
95
 * @a thread_safe parameter to @c TRUE in that case; otherwise, set @a
 
96
 * thread_safe to @c FALSE to maximize performance.
 
97
 *
 
98
 * @note Even if @a thread_safe is @c TRUE, pools themselves will
 
99
 * still not be thread-safe and their access may require explicit
 
100
 * serialization.
 
101
 *
 
102
 * To access the owner pool, which can also serve as the root pool for
 
103
 * your sub-pools, call @c apr_allocator_get_owner().
 
104
 *
 
105
 * @since: New in 1.8
 
106
 */
 
107
apr_allocator_t *
 
108
svn_pool_create_allocator(svn_boolean_t thread_safe);
89
109
 
90
110
#ifdef __cplusplus
91
111
}