view release on metacpan or search on metacpan
src/subversion/build/win32/vc6-build.bat.in
src/subversion/CHANGES
src/subversion/COMMITTERS
src/subversion/configure
src/subversion/configure.ac
src/subversion/doc/doxygen.conf
src/subversion/doc/programmer/WritingChangeLogs.txt
src/subversion/doc/README
src/subversion/doc/user/cvs-crossover-guide.html
src/subversion/doc/user/lj_article.txt
src/subversion/doc/user/svn-best-practices.html
src/subversion/gen-make.opts
src/subversion/gen-make.py
src/subversion/get-deps.sh
src/subversion/INSTALL
src/subversion/LICENSE
src/subversion/Makefile.in
src/subversion/NOTICE
src/subversion/README
src/subversion/subversion/bindings/com/README
src/subversion/subversion/bindings/ctypes-python/csvn/__init__.py
src/subversion/CHANGES view on Meta::CPAN
- new generic stream helpers (see svn_io.h)
- authn providers made available to other clients (see svn_auth.h)
- svn_cmdline_setup_auth_baton
- svn_dso_initialize, svn_dso_load
- svn_client_diff_summarize and svn_client_diff_summarize_peg
- svn_client_list
- svn_config_has_section
- svn_txdelta_compose_windows and svn_txdelta_apply_instructions
- svn_txdelta_stream_create
- svn_diff_file_options_create and svn_diff_file_options_parse
- svn_err_best_message
- svn_compat_wrap_commit_callback
- svn_uuid_generate
- svn_user_get_name and svn_user_get_homedir
- svn_io_get_dir_filenames
- svn_ra_reparent
- svn_ra_replay
- svn_wc_revision_status
- several rev'd APIs, see doxygen docs
* flush stdout after each status/notification line (r19476 -656)
* new (experimental) ra_serf repository access module for pipelined DAV
src/subversion/CHANGES view on Meta::CPAN
* fixed: segfault when remotely deleting svn:author property.
* fixed: mod_dav_svn accepting too many authors. (issue #1786)
* fixed: create runtime config files with native EOLs. (Issue #1802)
* fixed: recursive propset can corrupt .svn/entries (issue #1794)
* fixed: allow shared working copies [mostly working now] (issue #1509)
* fixed: mod_authz_svn should ignore uri on MERGE request (partial #1821)
* fixed: svnserve assertion failure on empty error messages
* fixed: commit/update memory leaks when working on many targets (issue #1635)
* fixed: don't display repos-paths or URLs with '\' on win32.
* new example script: svnserve 'sgid' wrapper.
* minor book fixes, new 'best-practices' doc.
Developer-visible changes:
* fixed: deprecation warning from SWIG 1.3.20_
* fixed: broken win32 python-swig bindings compilation.
* fixed: bug in libsvn_fs changes-table change-folding code.
* fixed: perl bindings: wrap root->paths_changed, apply_txdelta return values
* added VC7 support and defines for including debug symbol files.
Version 1.0.1
src/subversion/COMMITTERS view on Meta::CPAN
The following people have commit access to the Subversion sources.
Note that this is not a full list of Subversion's authors, however --
for that, you'd need to look over the log messages to see all the
patch contributors.
If you have a question or comment, it's probably best to mail
dev@subversion.apache.org, rather than mailing any of these people
directly.
Blanket commit access:
jimb Jim Blandy <jimb@red-bean.com>
sussman Ben Collins-Sussman <sussman@red-bean.com>
kfogel Karl Fogel <kfogel@red-bean.com>
gstein Greg Stein <gstein@gmail.com>
brane Branko Äibej <brane@apache.org>
src/subversion/build/PrintPath view on Meta::CPAN
esac
done
##
# Now we make the adjustments required for OS/2 and everyone
# else :)
#
# First of all, all OS/2 programs have the '.exe' extension.
# Next, we adjust PATH (or what was given to us as PATH) to
# be whitespace separated directories.
# Finally, we try to determine the best flag to use for
# test/[] to look for an executable file. OS/2 just has '-r'
# but with other OSs, we do some funny stuff to check to see
# if test/[] knows about -x, which is the preferred flag.
##
if [ "x$os" = "xOS/2" ]
then
ext=".exe"
pathname=`echo -E $pathname |
sed 's/^;/.;/
src/subversion/build/generator/gen_win.py view on Meta::CPAN
buf = buf.replace("@VERSION@", "0.16.1+").replace("@RELEASE@", "4365")
buf = buf.replace("@DBBINDLL@", self.dbbindll)
svnissrel = os.path.join("packages","win32-innosetup","svn.iss.release")
svnissdeb = os.path.join("packages","win32-innosetup","svn.iss.debug")
if self.write_file_if_changed(svnissrel, buf.replace("@CONFIG@", "Release")):
print('Wrote %s' % svnissrel)
if self.write_file_if_changed(svnissdeb, buf.replace("@CONFIG@", "Debug")):
print('Wrote %s' % svnissdeb)
#Make the project files directory if it doesn't exist
#TODO win32 might not be the best path as win64 stuff will go here too
self.projfilesdir=os.path.join("build","win32",subdir)
self.rootpath = self.find_rootpath()
if not os.path.exists(self.projfilesdir):
os.makedirs(self.projfilesdir)
# Generate the build_zlib.bat file
if self.zlib_path:
data = {'zlib_path': os.path.relpath(self.zlib_path, self.projfilesdir),
'zlib_version': self.zlib_version,
'use_ml': self.have_ml and 1 or None}
src/subversion/build/libtool.m4 view on Meta::CPAN
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_ob...
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
_LT_TAGVAR(hardcode_minus_L, $1)=yes
;;
esac
;;
beos*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
# support --undefined. This deserves some investigation. FIXME
_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
;;
cygwin* | mingw* | pw32* | cegcc*)
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
# as there is no search path for DLLs.
src/subversion/build/libtool.m4 view on Meta::CPAN
# This is similar to how AIX traditionally builds its shared
# libraries.
_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
fi
fi
;;
beos*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
# support --undefined. This deserves some investigation. FIXME
_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
;;
chorus*)
case $cc_basename in
*)
src/subversion/build/libtool.m4 view on Meta::CPAN
])
# Old name:
AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([LT_AC_PROG_RC], [])
# _LT_DECL_EGREP
# --------------
# If we don't have a new enough Autoconf to choose the best grep
# available, choose the one first in the user's PATH.
m4_defun([_LT_DECL_EGREP],
[AC_REQUIRE([AC_PROG_EGREP])dnl
AC_REQUIRE([AC_PROG_FGREP])dnl
test -z "$GREP" && GREP=grep
_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
_LT_DECL([], [EGREP], [1], [An ERE matcher])
_LT_DECL([], [FGREP], [1], [A literal string matcher])
dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
AC_SUBST([GREP])
])
# _LT_DECL_OBJDUMP
# --------------
# If we don't have a new enough Autoconf to choose the best objdump
# available, choose the one first in the user's PATH.
m4_defun([_LT_DECL_OBJDUMP],
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
test -z "$OBJDUMP" && OBJDUMP=objdump
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
AC_SUBST([OBJDUMP])
])
# _LT_DECL_DLLTOOL
# ----------------
src/subversion/build/ltmain.sh view on Meta::CPAN
done
IFS=$_G_save_IFS
test -z "$func_path_progs_result" && {
echo "no acceptable sed could be found in \$PATH" >&2
exit 1
}
}
# We want to be able to use the functions in this file before configure
# has figured out where the best binaries are kept, which means we have
# to search for them ourselves - except when the results are already set
# where we skip the searches.
# Unless the user overrides by setting SED, search the path for either GNU
# sed, or the sed that truncates its output the least.
test -z "$SED" && {
_G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
for _G_i in 1 2 3 4 5 6 7; do
_G_sed_script=$_G_sed_script$nl$_G_sed_script
done
src/subversion/build/ltmain.sh view on Meta::CPAN
uninstall)
if test -n "$library_names"; then
# Do each command in the postuninstall commands.
func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
fi
if test -n "$old_library"; then
# Do each command in the old_postuninstall commands.
func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
fi
# FIXME: should reinstall the best remaining shared library.
;;
esac
fi
;;
*.lo)
# Possibly a libtool object, so verify it.
if func_lalib_p "$file"; then
# Read the .lo file
src/subversion/configure view on Meta::CPAN
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary...
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
esac
;;
beos*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
allow_undefined_flag=unsupported
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
# support --undefined. This deserves some investigation. FIXME
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
else
ld_shlibs=no
fi
;;
cygwin* | mingw* | pw32* | cegcc*)
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
# as there is no search path for DLLs.
src/subversion/configure view on Meta::CPAN
# This is similar to how AIX traditionally builds its shared
# libraries.
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
fi
fi
;;
beos*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
allow_undefined_flag_CXX=unsupported
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
# support --undefined. This deserves some investigation. FIXME
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
else
ld_shlibs_CXX=no
fi
;;
chorus*)
case $cc_basename in
*)
src/subversion/doc/programmer/WritingChangeLogs.txt view on Meta::CPAN
* If you have made a change which requires trivial changes throughout
the rest of the program (e.g., renaming a variable), you needn't
name all the functions affected.
* If you have rewritten a file completely, the reader understands that
everything in it has changed, so your log entry may simply give the
file name, and say "Rewritten".
In general, there is a tension between making entries easy to find by
searching for identifiers, and wasting time or producing unreadable
entries by being exhaustive. Use your best judgement --- and be
considerate of your fellow developers.
Group ChangeLog entries into "paragraphs", separated by blank lines.
Each paragraph should be a set of changes that accomplish a single
goal. Independent changes should be in separate paragraphs. For
example:
1999-03-24 Stan Shebs <shebs@andros.cygnus.com>
* configure.host (mips-dec-mach3*): Use mipsm3, not mach3.
src/subversion/doc/user/lj_article.txt view on Meta::CPAN
The release of Subversion 1.0 is currently planned for early 2002.
After the release of 1.0, Subversion is slated for additions such as
i18n support, "intelligent" merging, better "changeset" manipulation,
client-side plugins, and improved features for server administration.
(Also on the wishlist is an eclectic collection of ideas, such as
distributed, replicating repositories.)
A final thought from Subversion's FAQ:
"We aren't (yet) attempting to break new ground in SCM systems, nor
are we attempting to imitate all the best features of every SCM
system out there. We're trying to replace CVS."
If, in three years, Subversion is widely presumed to be the "standard"
SCM system in the open-source community, then the project will have
succeeded. But the future is still hazy: ultimately, Subversion
will have to win this position on its own technical merits.
Patches are welcome.
src/subversion/doc/user/svn-best-practices.html view on Meta::CPAN
h1 {
text-align: center;
}
</style>
</head>
<body>
<h1>Subversion Best Practices</h1>
<p>This is a quick set of guidelines for making the best use of
Subversion in your day-to-day software development work.</p>
<h2>Use a sane repository layout</h2>
<p>There are many ways to lay out your repository. Because branches
and tags are ordinary directories, you'll need to account for them in
your repository structure.</p>
<p>The Subversion project officially recommends the idea of a "project
src/subversion/subversion/bindings/javahl/native/Pool.h view on Meta::CPAN
* won't inadvertently use them for us.
* The default code just copies all the data members, which would create
* two pointers to the same pool, one of which would get destroyed while
* the other thought it was still valid...and BOOM!
*
* Hence the private declaration.
*/
Pool &operator=(Pool &that);
};
// The following one-line functions are best inlined by the compiler, and
// need to be implemented in the header file for that to happen.
inline
apr_pool_t *Pool::getPool() const
{
return m_pool;
}
inline
void Pool::clear() const
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java view on Meta::CPAN
if (specifiedLibraryName != null)
{
System.load(specifiedLibraryName);
init();
return;
}
}
catch (UnsatisfiedLinkError ex)
{
// Since the user explicitly specified this path, this is
// the best error to return if no other method succeeds.
loadException = ex;
}
// Try to load the library by its name. Failing that, try to
// load it by its old name.
String[] libraryNames = {"svnjavahl-1", "libsvnjavahl-1", "svnjavahl"};
for (String libraryName : libraryNames)
{
try
{
src/subversion/subversion/bindings/swig/perl/native/Client.pm view on Meta::CPAN
Any true value, in which case the bindings will generate an svn_error_t object
for you with the error code of SVN_ERR_CANCELLED and the string set to "By
cancel callback".
A string, in which case the bindings will generate an svn_error_t object for you
with the error code of SVN_ERR_CANCELLED and the string set to the string you
returned.
Any other value will be interpreted as wanting to continue the operation.
Generally, it's best to return 0 to continue the operation.
=cut
sub cancel {
my $self = shift;
if (scalar(@_) == 1) {
$self->{'cancel_callback'} = $self->{'ctx'}->cancel_baton(shift);
}
return ${$self->{'cancel_callback'}};
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
XSRETURN(argvi);
fail:
SWIG_croak_null();
}
}
XS(_wrap_svn_err_best_message) {
{
svn_error_t *arg1 = (svn_error_t *) 0 ;
char *arg2 = (char *) 0 ;
apr_size_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[128] ;
int argvi = 0;
char *result = 0 ;
dXSARGS;
{
memset (temp2,0,128); /* paranoia */
arg2 = temp2;
arg3 = 128;
}
if ((items < 1) || (items > 1)) {
SWIG_croak("Usage: svn_err_best_message(err,bufsize);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_error_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_err_best_message" "', argument " "1"" of type '" "svn_error_t *""'");
}
arg1 = (svn_error_t *)(argp1);
{
result = (char *)svn_err_best_message(arg1,arg2,arg3);
}
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
XSRETURN(argvi);
fail:
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
{"SVN::_Core::svn_diff_fns_invoke_token_compare", _wrap_svn_diff_fns_invoke_token_compare},
{"SVN::_Core::svn_diff_fns_invoke_token_discard", _wrap_svn_diff_fns_invoke_token_discard},
{"SVN::_Core::svn_diff_fns_invoke_token_discard_all", _wrap_svn_diff_fns_invoke_token_discard_all},
{"SVN::_Core::svn_diff_output_fns_invoke_output_common", _wrap_svn_diff_output_fns_invoke_output_common},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_modified", _wrap_svn_diff_output_fns_invoke_output_diff_modified},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_latest", _wrap_svn_diff_output_fns_invoke_output_diff_latest},
{"SVN::_Core::svn_diff_output_fns_invoke_output_diff_common", _wrap_svn_diff_output_fns_invoke_output_diff_common},
{"SVN::_Core::svn_diff_output_fns_invoke_output_conflict", _wrap_svn_diff_output_fns_invoke_output_conflict},
{"SVN::_Core::svn_strerror", _wrap_svn_strerror},
{"SVN::_Core::svn_error_symbolic_name", _wrap_svn_error_symbolic_name},
{"SVN::_Core::svn_err_best_message", _wrap_svn_err_best_message},
{"SVN::_Core::svn_error_create", _wrap_svn_error_create},
{"SVN::_Core::svn_error_createf", _wrap_svn_error_createf},
{"SVN::_Core::svn_error_wrap_apr", _wrap_svn_error_wrap_apr},
{"SVN::_Core::svn_error_quick_wrap", _wrap_svn_error_quick_wrap},
{"SVN::_Core::svn_error_compose_create", _wrap_svn_error_compose_create},
{"SVN::_Core::svn_error_compose", _wrap_svn_error_compose},
{"SVN::_Core::svn_error_root_cause", _wrap_svn_error_root_cause},
{"SVN::_Core::svn_error_find_cause", _wrap_svn_error_find_cause},
{"SVN::_Core::svn_error_dup", _wrap_svn_error_dup},
{"SVN::_Core::svn_error_clear", _wrap_svn_error_clear},
src/subversion/subversion/bindings/swig/perl/native/svn_client.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_delta.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_diff.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_fs.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_ra.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/perl/native/svn_wc.c view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/bindings/swig/proxy/swig_perl_external_runtime.swg view on Meta::CPAN
# define PL_errgv errgv
# define PL_sv_no sv_no
# define PL_sv_yes sv_yes
# define PL_markstack_ptr markstack_ptr
#endif
#ifndef IVSIZE
# ifdef LONGSIZE
# define IVSIZE LONGSIZE
# else
# define IVSIZE 4 /* A bold guess, but the best we can make. */
# endif
#endif
#ifndef INT2PTR
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)
# else
# if PTRSIZE == LONGSIZE
# define PTRV unsigned long
src/subversion/subversion/include/private/svn_ra_private.h view on Meta::CPAN
* @a stolen_lock_p is non-NULL, set @a *stolen_lock_p to the token of
* the lock we stole.
*
* Call @a retry_func with @a retry_baton each time the retry loop
* fails to acquire a lock.
*
* Use @a cancel_func and @a cancel_baton to check for early
* cancellation.
*
* @note If the server does not support #SVN_RA_CAPABILITY_ATOMIC_REVPROPS
* (i.e., is a pre-1.7 server), then this function makes a "best effort"
* attempt to obtain the lock, but is susceptible to a race condition; see
* issue #3546.
*
* @since New in 1.7.
*/
svn_error_t *
svn_ra__get_operational_lock(const svn_string_t **lock_string_p,
const svn_string_t **stolen_lock_p,
svn_ra_session_t *session,
const char *lock_revprop_name,
src/subversion/subversion/include/svn_client.h view on Meta::CPAN
svn_boolean_t *filtered,
const char *canon_path_from_patchfile,
const char *patch_abspath,
const char *reject_abspath,
apr_pool_t *scratch_pool);
/**
* Apply a unidiff patch that's located at absolute path
* @a patch_abspath to the working copy directory at @a wc_dir_abspath.
*
* This function makes a best-effort attempt at applying the patch.
* It might skip patch targets which cannot be patched (e.g. targets
* that are outside of the working copy). It will also reject hunks
* which cannot be applied to a target in case the hunk's context
* does not match anywhere in the patch target.
*
* If @a dry_run is TRUE, the patching process is carried out, and full
* notification feedback is provided, but the working copy is not modified.
*
* @a strip_count specifies how many leading path components should be
* stripped from paths obtained from the patch. It is an error if a
src/subversion/subversion/include/svn_dso.h view on Meta::CPAN
#endif /* __cplusplus */
/**
* Initialize the DSO loading routines.
*
* @note This should be called prior to the creation of any pool that
* is passed to a function that comes from a DSO, otherwise you
* risk having the DSO unloaded before all pool cleanup callbacks
* that live in the DSO have been executed. If it is not called
* prior to @c svn_dso_load being used for the first time there
* will be a best effort attempt made to initialize the subsystem,
* but it will not be entirely thread safe and it risks running
* into the previously mentioned problems with DSO unloading and
* pool cleanup callbacks.
*
* Returns svn_error_t object with corresponding apr_err returned by
* underlying calls. In case of no error returns @c SVN_NO_ERROR.
*
* @since New in 1.6.
*/
svn_error_t *
src/subversion/subversion/include/svn_error.h view on Meta::CPAN
#endif /* __cplusplus */
/* For the Subversion developers, this #define turns on extended "stack
traces" of any errors that get thrown. See the SVN_ERR() macro. */
#ifdef SVN_DEBUG
#define SVN_ERR__TRACING
#endif
/** the best kind of (@c svn_error_t *) ! */
#define SVN_NO_ERROR 0
/* The actual error codes are kept in a separate file; see comments
there for the reasons why. */
#include "svn_error_codes.h"
/** Put an English description of @a statcode into @a buf and return @a buf,
* NULL-terminated. @a statcode is either an svn error or apr error.
*/
char *
src/subversion/subversion/include/svn_error.h view on Meta::CPAN
/** If @a err has a custom error message, return that, otherwise
* store the generic error string associated with @a err->apr_err into
* @a buf (terminating with NULL) and return @a buf.
*
* @since New in 1.4.
*
* @note @a buf and @a bufsize are provided in the interface so that
* this function is thread-safe and yet does no allocation.
*/
const char *svn_err_best_message(svn_error_t *err,
char *buf,
apr_size_t bufsize);
/** SVN error creation and destruction.
*
* @defgroup svn_error_error_creation_destroy Error creation and destruction
* @{
*/
src/subversion/subversion/include/svn_fs.h view on Meta::CPAN
/** @} */
/**
* Callers should invoke this function to initialize global state in
* the FS library before creating FS objects. If this function is
* invoked, no FS objects may be created in another thread at the same
* time as this invocation, and the provided @a pool must last longer
* than any FS object created subsequently.
*
* If this function is not called, the FS library will make a best
* effort to bootstrap a mutex for protecting data common to FS
* objects; however, there is a small window of failure. Also, a
* small amount of data will be leaked if the Subversion FS library is
* dynamically unloaded, and using the bdb FS can potentially segfault
* or invoke other undefined behavior if this function is not called
* with an appropriate pool (such as the pool the module was loaded into)
* when loaded dynamically.
*
* If this function is called multiple times before the pool passed to
* the first call is destroyed or cleared, the later calls will have
src/subversion/subversion/include/svn_fs.h view on Meta::CPAN
* exception: the svn:date property will be automatically set on new
* transactions to the date that the transaction was created, and will
* be overwritten when the transaction is committed by the current
* time; changes to a transaction's svn:date property will not affect
* its committed value.)
*
* Transaction names are guaranteed to contain only letters (upper-
* and lower-case), digits, `-', and `.', from the ASCII character
* set.
*
* The Subversion filesystem will make a best effort to not reuse
* transaction names. The Berkeley DB backend generates transaction
* names using a sequence, or a counter, which is stored in the BDB
* database. Each new transaction increments the counter. The
* current value of the counter is not serialized into a filesystem
* dump file, so dumping and restoring the repository will reset the
* sequence and reuse transaction names. The FSFS backend generates a
* transaction name using the hostname, process ID and current time in
* microseconds since 00:00:00 January 1, 1970 UTC. So it is
* extremely unlikely that a transaction name will be reused.
*
src/subversion/subversion/include/svn_fs.h view on Meta::CPAN
void *baton,
apr_pool_t *scratch_pool);
/** Efficiently deliver the contents of the file @a path in @a root
* via @a processor (with @a baton), setting @a *success to @c TRUE
* upon doing so. Use @a pool for allocations.
*
* This function is intended to support zero copy data processing. It may
* not be implemented for all data backends or not applicable for certain
* content. In that case, @a *success will always be @c FALSE. Also, this
* is a best-effort function which means that there is no guarantee that
* @a processor gets called at all for some content.
*
* @note @a processor is expected to be relatively short function with
* at most O(content size) runtime.
*
* @since New in 1.8.
*/
svn_error_t *
svn_fs_try_process_file_contents(svn_boolean_t *success,
svn_fs_root_t *root,
src/subversion/subversion/include/svn_ra_svn.h view on Meta::CPAN
} u;
} svn_ra_svn_item_t;
typedef svn_error_t *(*svn_ra_svn_edit_callback)(void *baton);
/** Initialize a connection structure for the given socket or
* input/output files.
*
* Either @a sock or @a in_file/@a out_file must be set, not both.
* @a compression_level specifies the desired network data compression
* level (zlib) from 0 (no compression) to 9 (best but slowest).
*
* If @a zero_copy_limit is not 0, cached file contents smaller than the
* given limit may be sent directly to the network socket. Otherwise,
* it will be copied into a temporary buffer before being forwarded to
* the network stack. Since the zero-copy code path has to enforce strict
* time-outs, the receiver must be able to process @a zero_copy_limit
* bytes within one second. Even temporary failure to do so may cause
* the server to cancel the respective operation with a time-out error.
*
* To reduce the overhead of checking for cancellation requests from the
src/subversion/subversion/include/svn_types.h view on Meta::CPAN
typedef struct svn_error_t
{
/** APR error value; possibly an SVN_ custom error code (see
* `svn_error_codes.h' for a full listing).
*/
apr_status_t apr_err;
/** Details from the producer of error.
*
* Note that if this error was generated by Subversion's API, you'll
* probably want to use svn_err_best_message() to get a single
* descriptive string for this error chain (see the @a child member)
* or svn_handle_error2() to print the error chain in full. This is
* because Subversion's API functions sometimes add many links to
* the error chain that lack details (used only to produce virtual
* stack traces). (Use svn_error_purge_tracing() to remove those
* trace-only links from the error chain.)
*/
const char *message;
/** Pointer to the error we "wrap" (may be @c NULL). Via this