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

« back to all changes in this revision

Viewing changes to subversion/include/svn_path.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:
106
106
 * for the base.
107
107
 *
108
108
 * @deprecated Provided for backward compatibility with the 1.6 API.
109
 
 * New code should use svn_dirent_join(), svn_uri_join(),
110
 
 * svn_relpath_join() or svn_fspath__join().
 
109
 * New code should use svn_dirent_join(), svn_relpath_join() or
 
110
 * svn_fspath__join().
111
111
 */
112
112
SVN_DEPRECATED
113
113
char *
296
296
 
297
297
/** Return an integer greater than, equal to, or less than 0, according
298
298
 * as @a path1 is greater than, equal to, or less than @a path2.
 
299
 *
 
300
 * This function works like strcmp() except that it orders children in
 
301
 * subdirectories directly after their parents. This allows using the
 
302
 * given ordering for a depth first walk.
299
303
 */
300
304
int
301
305
svn_path_compare_paths(const char *path1, const char *path2);
509
513
 *       identify the remainder path.
510
514
 *
511
515
 * @deprecated Provided for backward compatibility with the 1.6 API.
512
 
 * New code should use svn_dirent_is_child(), svn_uri_is_child(),
513
 
 * svn_relpath_is_child() or svn_fspath__is_child().
 
516
 * For replacement functionality, see svn_dirent_skip_ancestor(),
 
517
 * svn_dirent_is_child(), svn_uri_skip_ancestor(), and
 
518
 * svn_relpath_skip_ancestor().
514
519
 */
515
520
SVN_DEPRECATED
516
521
const char *
522
527
 * @since New in 1.3.
523
528
 *
524
529
 * @deprecated Provided for backward compatibility with the 1.6 API.
525
 
 * New code should use svn_dirent_is_ancestor(), svn_uri_is_ancestor(),
526
 
 * svn_relpath_is_ancestor() or svn_fspath__is_ancestor().
 
530
 * For replacement functionality, see svn_dirent_skip_ancestor(),
 
531
 * svn_uri_skip_ancestor(), and svn_relpath_skip_ancestor().
527
532
 */
528
533
SVN_DEPRECATED
529
534
svn_boolean_t
665
670
 
666
671
/** @} */
667
672
 
 
673
 
 
674
/** Repository relative URLs
 
675
 *
 
676
 * @defgroup svn_path_repos_relative_urls Repository relative URLs
 
677
 * @{
 
678
 */
 
679
 
 
680
/**
 
681
 * Return @c TRUE iff @a path is a repository-relative URL:  specifically
 
682
 * that it starts with the characters "^/"
 
683
 *
 
684
 * @a path is in UTF-8 encoding.
 
685
 *
 
686
 * Does not check whether @a path is a properly URI-encoded, canonical, or
 
687
 * valid in any other way.
 
688
 *
 
689
 * @since New in 1.8.
 
690
 */
 
691
svn_boolean_t
 
692
svn_path_is_repos_relative_url(const char *path);
 
693
 
 
694
/**
 
695
 * Set @a absolute_url to the absolute URL represented by @a relative_url
 
696
 * relative to @a repos_root_url, preserving any peg revision
 
697
 * specifier present in @a relative_url.  Allocate @a absolute_url
 
698
 * from @a pool.
 
699
 *
 
700
 * @a relative_url is in repository-relative syntax: "^/[REL-URL][@PEG]"
 
701
 *
 
702
 * @a repos_root_url is the absolute URL of the repository root.
 
703
 *
 
704
 * All strings are in UTF-8 encoding.
 
705
 *
 
706
 * @a repos_root_url and @a relative_url do not have to be properly
 
707
 * URI-encoded, canonical, or valid in any other way.  The caller is
 
708
 * expected to perform canonicalization on @a absolute_url after the
 
709
 * call to the function.
 
710
 *
 
711
 * @since New in 1.8.
 
712
 */
 
713
svn_error_t *
 
714
svn_path_resolve_repos_relative_url(const char **absolute_url,
 
715
                                    const char *relative_url,
 
716
                                    const char *repos_root_url,
 
717
                                    apr_pool_t *pool);
 
718
 
 
719
/* Return a copy of @a path, allocated from @a pool, for which control
 
720
 * characters have been escaped using the form \NNN (where NNN is the
 
721
 * octal representation of the byte's ordinal value).
 
722
 * 
 
723
 * @since New in 1.8. */
 
724
const char *
 
725
svn_path_illegal_path_escape(const char *path, apr_pool_t *pool);
 
726
 
 
727
/** @} */
 
728
 
668
729
#ifdef __cplusplus
669
730
}
670
731
#endif /* __cplusplus */