view release on metacpan or search on metacpan
src/subversion/subversion/tests/tests.conf
src/subversion/tools/backup/hot-backup.py.in
src/subversion/tools/bdb/erase-all-text-data.py
src/subversion/tools/bdb/skel.py
src/subversion/tools/bdb/svn-bdb-view.py
src/subversion/tools/bdb/svnfs.py
src/subversion/tools/bdb/whatis-rep.py
src/subversion/tools/buildbot/master/Feeder.py
src/subversion/tools/buildbot/master/master.cfg
src/subversion/tools/buildbot/master/private-sample.py
src/subversion/tools/buildbot/master/public_html/buildbot.css
src/subversion/tools/buildbot/master/public_html/index.html
src/subversion/tools/buildbot/master/public_html/robots.txt
src/subversion/tools/buildbot/master/SVNMailNotifier.py
src/subversion/tools/buildbot/slaves/bb-openbsd/svnbuild.sh
src/subversion/tools/buildbot/slaves/bb-openbsd/svncheck-bindings.sh
src/subversion/tools/buildbot/slaves/bb-openbsd/svncheck.sh
src/subversion/tools/buildbot/slaves/bb-openbsd/svnclean.sh
src/subversion/tools/buildbot/slaves/centos/svnbuild.sh
src/subversion/tools/buildbot/slaves/centos/svncheck-bindings.sh
src/subversion/tools/buildbot/slaves/centos/svncheck.sh
src/subversion/tools/buildbot/slaves/centos/svnclean.sh
src/subversion/tools/buildbot/slaves/centos/svnlog.sh
src/subversion/CHANGES view on Meta::CPAN
* improved operational logging for 'svn switch' (r30517)
* new 'Header' keyword, similar to 'Id' but with full URL (r35386)
* warn/disallow when storing plain-text passwords (r31046)
* support KWallet and GNOME keyring for password storage (r31241, -337)
* client now caches SSL client cert passphrases (issue #2489)
* add '--prefix-file' option to 'svndumpfilter' (issue #2697)
* add '--ignore-externals' option to 'svn cp' (issue #3365)
* add '--with-no-revprops' to 'svn log' (issue #3286)
* new 'svnadmin pack' command to compress FSFS filesystems
* new SVNAllowBulkUpdates mod_dav_svn directive (issue #3121)
* new public mod_dav_svn URI syntax: path?[p=PEG][&r=REV] (r34076)
* new 'svnsync info' command to show synchronization information (r35053)
* conflict resolver supports display-conflict, mine-conflict and theirs-conflict
- Client-side bugfixes:
* faulty reflexive merges (issue #2897)
* buffer overflow on a 0 byte string buffer (r35968, -74)
* conflict resolver needed more useful 'diff' option (issue #3048)
* disable username assumption (issue #2324)
* more accurate usage message for 'svn log' (r30449)
* do not repeat merge if target has explicit mergeinfo (issue #2821)
src/subversion/CHANGES view on Meta::CPAN
* allow the use of an in-tree SQLite amalgamation (r35263)
* svn_log_changed_path_t now includes a 'kind' field (issue #1967)
* BDB `changes' table inconsistency when APIs are misused (issue #3349)
* configure should prefer apr-1 over apr-0 if both are present (issue #2671)
* make 'Not Found' errors consistent between RA layers (issue #3137)
* fix a potential buffer overrun (r34374)
* many bug fixes and improvements to the test suite
- API changes:
* notification system for properties and revision properties (issue #783)
* make ra_svn's merge commit-revprops public (r30462, r30453)
* mod_dav_svn operational logging compatible with svnserve logging (r30518)
* improve speed of svn_client__get_copy_source() (issue #3356)
* if fsfs commit fails return SVN_INVALID_REVNUM (r35950)
- Bindings:
* new: ctypes python bindings
* many improvements to all bindings (Java, Perl, Python, and Ruby)
* respect CFLAGS in SWIG bindings (r35879)
* fix building Ruby bindings with Ruby 1.9 (r35852, r35883)
src/subversion/CHANGES view on Meta::CPAN
Developer-visible changes:
* require APR >= 0.9.7 to improve error detection for FSFS repos (r19915)
* require zlib, for svndiff1 delta encoding (r18363)
* support SWIG 1.3.29 (r19968)
* support autoconf 2.60-dev (r19919 20632 -36)
* removed no-longer-supported Red Hat 7.x RPMs (r20462)
* add support for building RPMs for x86-64 architecture (r20548 -552)
* numerous improvements to gen-make.py build system, especially on win32
* removed Visual Studio.NET APR 0.9 project files (r20170)
* numerous improvements to the test suite
* new public APIs:
- keyword / eol translation helpers and generic streams (see svn_subst.h)
- 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
src/subversion/CHANGES view on Meta::CPAN
* faster multiple (un)locks in a single svn:// request (issue #2264)
* the Subversion Book is no longer bundled (r17466)
Developer-visible changes:
* reorganization of automated tests, including ability to run on ramdisk
* lots of Doxygen/API documentation cleanup
* numerous improvements to gen-make.py build system, especially on win32
* working copy is now storing repos_root as separate field (issue #960)
* keywords are now stored in an internal hash (issue #890)
* client status APIs now makes more server-side info available (r16344)
* new public APIs:
- new transfer progress callback for DAV (r15948)
- svn_ra_initialize(), svn_client_open_ra_session()
- svn_fs_closest_copy(), svn_fs_type()
- several rev'd APIs, see doxygen docs
* SWIG bindings: No more compile-time or runtime SWIG dependencies
- SWIG/python bindings:
- automatic memory management: APIs no longer require pool arguments!
- improved stability, as shown by our new testsuite
- better error messages
- SWIG/ruby bindings:
src/subversion/CHANGES view on Meta::CPAN
Developer-visible changes:
* API change: Rewrite of date parser (r8327, r8328, r8329) (issue #408)
* bugfix: svn_fs__bdb_changes_fetch() fouls up change ordering (issue #1695)
* require SWIG >=1.3.19 (issue #1690)
* numerous changes to language bindings, to keep up with C API.
* fix: apr build issues (r8279, r8280, r8318) (issue #1666)
* changed the auth-provider C API to use 'realmstring' on all funcs
* check the ra plugin ABI versions.
* fix: ABI problem with blame. (r8494) (issue #1705)
* remove svn_io_file_printf from public API. (r8492) (issue #1653)
* extensive changes in the perl client bindings. (r8270)
* too many big and small internal code cleanups and fixes to mention here
Version 0.36.0 [Beta Interim 1]
(branching 13 January 2004, from /branches/1.0-stabilization)
http://svn.apache.org/repos/asf/subversion/tags/0.36.0
User-visible changes:
src/subversion/CHANGES view on Meta::CPAN
User-visible changes:
* fs schema change (#1578, #1595) **NOTE: repos dump/load cycle required!**
* Berkeley DB 4.2.50 is now the recommended Berkeley version
* Fix: 'svn status' thought replaced items were unversioned (#1609)
* SSL server cert error prompt improvement (r7849)
* many error message improvements (r7745, r7763, r7824 and 7827 - #897)
* don't show update-completion message until all wc work completes (#1556)
* many other enhancements, minor features, and bugfixes not listed here
Developer-visible changes:
* public client APIs changes (r7799) after fixing #1556
* many improvements and fixes on Perl bindings (perl => 5.8.0 are required)
* improvements, fixes on misc. test scripts
* many other changes not listed here
Merged revisions after release branching:
* r7868 - Java bindings
* r7888 - Security fix for svnserve
Version 0.33.1 (released 17 November 2003, revision r7782)
src/subversion/CHANGES view on Meta::CPAN
* reorganization of the ~/.subversion/ run-time config files.
* more entry caching: approx. 3x speedup on checkouts & updates.
* option rename: --non-recursive instead of --nonrecursive
* option rename: --no-diff-deleted instead of --no-diff-on-delete
* new 'svn log --quiet'
* new 'svn diff --no-diff-deleted'
* fix keyword expansion behaviors ($keyword:$ / $keyword$ / $keyword: $)
* handle win32 non-ascii config-file paths (#968, #1048, part of #872)
Developer-visible changes:
* most public header files now using doxygen markup
* new (untested) internal difflib (#405)
* neon debugging now tweakable via run-time config file
* more progress on Subversion Book rewrite.
* new ./configure --with-diffutils
* begin work on client/server checksums (#649)
* regression tests now depend on svnadmin dump/load
* lose src_err field of svn_error_t
* many fs function renames: begins fs database back-end abstraction.
* new libsvn_repos prop-validating wrappers
* lots of work on build-system dependency graph generation (for SWIG building)
src/subversion/CHANGES view on Meta::CPAN
User-visible changes:
* repositories have a new database schema; existing ones must be upgraded!
- new svnadmin 'dump'/'load' commands to migrate repositories
- read http://svn.apache.org/repos/asf/subversion/trunk/notes/repos_upgrade_HOWTO
Developer-visible changes:
* complete rewrite of filesystem schema!
- skels are abstracted away, opening the door to SQL backends
- node-ids now have copy IDs
* huge progress on module system [only checkouts work at the moment]
* massive conversion of stringbufs to char* in our public APIs
* vsn-rsc-urls are now based on created-rev/path instead of fs_id_t's.
* reinstate 'deleted' flag on entries, to ensure accurate update reports
* dir_delta learns how to send copy history
- svnlook no longer sends 10MB emails when we make a branch
- dumpfiles get much smaller
* memory consumption reduced via new apr-pool code that reuses/frees mem
* client can now parse ISO-8601 timestamps (start of issue 614)
* added script for stress-testing concurrent repository access
* auto-locate apache's apr libraries at build-time
* beginnings of ra_pipe library
src/subversion/LICENSE view on Meta::CPAN
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
src/subversion/build.conf view on Meta::CPAN
path = subversion/tests
install = test
libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
msvc-static = yes
undefined-lib-symbols = yes
# ----------------------------------------------------------------------------
# Tests for libsvn_fs_base
[fs-base-test]
description = Tests for *public* fs API (svn_fs.h)
type = exe
path = subversion/tests/libsvn_fs_base
sources = fs-base-test.c
install = bdb-test
libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
libsvn_fs_util libsvn_subr apriconv apr
[strings-reps-test]
description = Test strings/reps in libsvn_fs_base
type = exe
src/subversion/build/generator/gen_base.py view on Meta::CPAN
result.append(build_path(file))
else:
# if we have paths, then we need to record how each source is located
# relative to the specified path
reldir = build_path_dirname(base_pat)
for file in files:
result.append((build_path(file), reldir))
return result
_re_public_include = re.compile(r'^subversion/include/(\w+)\.h$')
def _is_public_include(fname):
return _re_public_include.match(build_path(fname))
def _swig_include_wrapper(fname):
return native_path(_re_public_include.sub(
r"subversion/bindings/swig/proxy/\1_h.swg", build_path(fname)))
def _path_endswith(path, subpath):
"""Check if SUBPATH is a true path suffix of PATH.
"""
path_len = len(path)
subpath_len = len(subpath)
return (subpath_len > 0 and path_len >= subpath_len
and path[-subpath_len:] == subpath
src/subversion/build/generator/gen_base.py view on Meta::CPAN
"""
# This defines the domain (i.e. set of files) in which dependencies are
# being located. Its structure is:
# { 'basename.h': [ 'path/to/something/named/basename.h',
# 'path/to/another/named/basename.h', ] }
self._domain = {}
for fname in filenames + fnames_nonexist:
bname = os.path.basename(fname)
self._domain.setdefault(bname, []).append(fname)
if _is_public_include(fname):
swig_fname = _swig_include_wrapper(fname)
swig_bname = os.path.basename(swig_fname)
self._domain.setdefault(swig_bname, []).append(swig_fname)
# This data structure is:
# { 'full/path/to/header.h': { 'full/path/to/dependency.h': TYPECODE, } }
# TYPECODE is '#', denoting a C include, or '%' denoting a SWIG include.
self._deps = {}
for fname in filenames:
self._deps[fname] = self._scan_for_includes(fname)
if _is_public_include(fname):
hdrs = { self._domain["proxy.swg"][0]: '%',
self._domain["apr.swg"][0]: '%',
fname: '%' }
for h in self._deps[fname].keys():
if (_is_public_include(h)
or h == os.path.join('subversion', 'include', 'private',
'svn_debug.h')):
hdrs[_swig_include_wrapper(h)] = '%'
else:
raise RuntimeError("Public include '%s' depends on '%s', " \
"which is not a public include! What's going on?" % (fname, h))
swig_fname = _swig_include_wrapper(fname)
swig_bname = os.path.basename(swig_fname)
self._deps[swig_fname] = hdrs
for fname in fnames_nonexist:
self._deps[fname] = {}
# Keep recomputing closures until we see no more changes
while True:
changes = 0
for fname in self._deps.keys():
src/subversion/build/install-sh view on Meta::CPAN
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
nl='
'
src/subversion/build/libtool.m4 view on Meta::CPAN
dnl not a library. It's possible we should let each
dnl tag define a new lt_????_link_test_code variable,
dnl but it's only used here...
m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
int a;
void foo (void) { a = 0; }
_LT_EOF
], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
class Foo
{
public:
Foo (void) { a = 0; }
private:
int a;
};
_LT_EOF
], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
subroutine foo
implicit none
integer*4 a
a=0
src/subversion/build/libtool.m4 view on Meta::CPAN
_LT_EOF
], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
subroutine foo
implicit none
integer a
a=0
return
end
_LT_EOF
], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
public class foo {
private int a;
public void bar (void) {
a = 0;
}
};
_LT_EOF
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
package foo
func foo() {
}
_LT_EOF
])
src/subversion/build/libtool.m4 view on Meta::CPAN
ac_ext=java
# Object file extension for compiled Java test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
# Code to be used in simple compile tests
lt_simple_compile_test_code="class foo {}"
# Code to be used in simple link tests
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
_LT_TAG_COMPILER
# save warnings/boilerplate of simple test code
_LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments.
lt_save_CC=$CC
src/subversion/configure view on Meta::CPAN
# Dependencies to place before and after the object being linked:
predep_objects_CXX=
postdep_objects_CXX=
predeps_CXX=
postdeps_CXX=
compiler_lib_search_path_CXX=
cat > conftest.$ac_ext <<_LT_EOF
class Foo
{
public:
Foo (void) { a = 0; }
private:
int a;
};
_LT_EOF
_lt_libdeps_save_CFLAGS=$CFLAGS
case "$CC $CFLAGS " in #(
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
src/subversion/doc/doxygen.conf view on Meta::CPAN
# diagrams that involve STL classes more complete and accurate.
BUILTIN_STL_SUPPORT = NO
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# enable parsing support.
CPP_CLI_SUPPORT = NO
# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
# Doxygen will parse them like normal C++ but will assume all classes use public
# instead of private inheritance when no explicit protection keyword is present.
SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate getter
# and setter methods for a property. Setting this option to YES (the default)
# will make doxygen to replace the get and set methods by a property in the
# documentation. This will only work if the methods are indeed getting or
# setting a simple type. If this is not the case, or you want to show the
# methods anyway, you should set this option to NO.
src/subversion/doc/doxygen.conf view on Meta::CPAN
IDL_PROPERTY_SUPPORT = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
DISTRIBUTE_GROUP_DOC = NO
# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
# the same type (for instance a group of public functions) to be put as a
# subgroup of that type (e.g. under the Public Functions section). Set it to
# NO to prevent subgrouping. Alternatively, this can be done per class using
# the \nosubgrouping command.
SUBGROUPING = YES
# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
# is documented as struct, union, or enum with the name of the typedef. So
# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
# with name TypeT. When disabled the typedef will appear as a member of a file,
src/subversion/doc/user/lj_article.txt view on Meta::CPAN
Rectifying CVS's problems is a huge task -- and we've only listed just
a few of the many common complaints here.
Enter Subversion
----------------
In 1995, Karl Fogel and Jim Blandy founded Cyclic Software, a company
for commercially supporting and improving CVS. Cyclic made the first
public release of a network-enabled CVS (contributed by Cygnus
software.) In 1999, Karl Fogel published a book about CVS and the
open-source development model it enables (cvsbook.red-bean.com). Karl
and Jim had long talked about writing a replacement for CVS; Jim had
even drafted a new, theoretical repository design. Finally, in
February of 2000, Brian Behlendorf of CollabNet (www.collab.net)
offered Karl a full-time job to write a CVS replacement. Karl
gathered a team together and work began in May.
The team settled on a few simple goals: it was decided that Subversion
would be designed as a functional replacement for CVS. It would do
src/subversion/doc/user/svn-best-practices.html view on Meta::CPAN
<h3>The Branch-When-Needed system</h3>
<p>(This is the system used by the Subversion project.)
<ul>
<li>Users commit their day-to-day work on <tt>/trunk</tt>.</li>
<li>Rule #1: <tt>/trunk</tt> must compile and pass regression tests at
all times. Committers who violate this rule are publically
humiliated.</li>
<li>Rule #2: a single commit (changeset) must not be so large
so as to discourage peer-review.</li>
<li>Rule #3: if rules #1 and #2 come into conflict (i.e. it's
impossible to make a series of small commits without disrupting the
trunk), then the user should create a branch and commit a series of
smaller changesets there. This allows peer-review without disrupting
the stability of <tt>/trunk</tt>.</li>
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp view on Meta::CPAN
namespace compat {} // Announce the compat namespace for shared_ptr lookup
namespace detail {
// Forward declaration of implementation-specific structure
class error_description;
} // namespace detail
namespace version_1_9_dev {
class error : public std::exception
{
public:
typedef compat::shared_ptr<error> shared_ptr;
error(const char* description, int error_code);
error(const char* description, int error_code, shared_ptr nested_error);
error(const error& that) throw();
error& operator=(const error& that) throw();
virtual ~error() throw();
/**
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp view on Meta::CPAN
*
* @note
* Traceback is only available if the Subversion libraries were
* compiled with tracing enabled.
*/
virtual message_list traced_messages() const
{
return compile_messages(true);
}
public:
/** Used internally by the implementation. */
static void throw_svn_error(svn_error_t*);
protected:
error(int error_code, detail::error_description* description) throw();
private:
std::vector<message> compile_messages(bool show_traces) const;
int m_errno; /**< The (SVN or APR) error code. */
shared_ptr m_nested; /**< Optional pointer to nessted error. */
/** Error description and trace location information. */
detail::error_description* m_description;
};
class cancelled : public error
{
friend void error::throw_svn_error(svn_error_t*);
protected:
cancelled(int error_code, detail::error_description* description) throw()
: error(error_code, description)
{}
};
} // namespace version_1_9_dev
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/tristate.hpp view on Meta::CPAN
#ifndef SVN_CXXHL_TRISTATE_HPP
#define SVN_CXXHL_TRISTATE_HPP
namespace subversion {
namespace cxxhl {
namespace version_1_9_dev {
class tristate
{
public:
static const tristate TRUE;
static const tristate FALSE;
static const tristate UNKNOWN;
tristate(const tristate& that) throw()
: m_value(that.m_value)
{}
bool operator==(const tristate& that) const throw()
{ return m_value == that.m_value; }
src/subversion/subversion/bindings/cxxhl/src/exception.cpp view on Meta::CPAN
#undef TRUE
#undef FALSE
namespace subversion {
namespace cxxhl {
namespace detail {
class error_description
{
public:
static error_description* create(const char* message,
const char *loc_file, long loc_line,
bool trace_link)
{
bool empty_message = (message == NULL);
const std::size_t length = (empty_message ? 0 : std::strlen(message));
void *memblock = ::operator new(length + sizeof(error_description));
error_description* description = new(memblock) error_description(
loc_file, loc_line, trace_link, empty_message);
src/subversion/subversion/bindings/javahl/native/Array.h view on Meta::CPAN
struct apr_array_header_t;
#include <vector>
class Array
{
private:
jobjectArray m_objectArray;
std::vector<jobject> m_objects;
void init(jobjectArray jobjects);
public:
Array(jobjectArray jobjects);
Array(jobject jobjectsCollection);
virtual ~Array();
const std::vector<jobject> &vector(void) const;
};
#endif // ARRAY_H
src/subversion/subversion/bindings/javahl/native/BlameCallback.h view on Meta::CPAN
#include <jni.h>
#include "svn_client.h"
/**
* This class holds a Java callback object, which will receive every
* line of the file for which the callback information is requested.
*/
class BlameCallback
{
public:
BlameCallback(jobject jcallback);
~BlameCallback();
static svn_error_t *callback(void *baton,
svn_revnum_t start_revnum,
svn_revnum_t end_revnum,
apr_int64_t line_no,
svn_revnum_t revision,
apr_hash_t *rev_props,
svn_revnum_t merged_revision,
src/subversion/subversion/bindings/javahl/native/ChangelistCallback.h view on Meta::CPAN
#include <jni.h>
#include "svn_client.h"
/**
* This class holds a Java callback object, each status item
* for which the callback information is requested.
*/
class ChangelistCallback
{
public:
ChangelistCallback(jobject jcallback);
~ChangelistCallback();
static svn_error_t *callback(void *baton,
const char *path,
const char *changelist,
apr_pool_t *pool);
protected:
void doChangelist(const char *path, const char *changelist, apr_pool_t *pool);
src/subversion/subversion/bindings/javahl/native/ClientContext.h view on Meta::CPAN
static void progress(apr_off_t progressVal, apr_off_t total,
void *baton, apr_pool_t *pool);
static svn_error_t *resolve(svn_wc_conflict_result_t **result,
const svn_wc_conflict_description2_t *desc,
void *baton,
apr_pool_t *result_pool,
apr_pool_t *scratch_pool);
static svn_wc_conflict_result_t *javaResultToC(jobject result,
apr_pool_t *pool);
public:
ClientContext(jobject jsvnclient, SVN::Pool &pool);
~ClientContext();
static svn_error_t *checkCancel(void *cancelBaton);
svn_client_ctx_t *getContext(CommitMessage *message, SVN::Pool &in_pool);
void username(const char *pi_username);
void password(const char *pi_password);
void setPrompt(Prompter *prompter);
src/subversion/subversion/bindings/javahl/native/CommitCallback.h view on Meta::CPAN
#include <jni.h>
#include "svn_client.h"
/**
* This class holds a Java callback object, which will receive every
* log message for which the callback information is requested.
*/
class CommitCallback
{
public:
CommitCallback(jobject jcallback);
~CommitCallback();
static svn_error_t *callback(const svn_commit_info_t *commit_info,
void *baton,
apr_pool_t *pool);
protected:
svn_error_t *commitInfo(const svn_commit_info_t *commit_info,
apr_pool_t *pool);
src/subversion/subversion/bindings/javahl/native/CommitMessage.h view on Meta::CPAN
#include <jni.h>
#include "svn_client.h"
/**
* This class stores a Java object implementing the CommitMessage
* interface.
*/
class CommitMessage
{
public:
CommitMessage(jobject jcommitMessage);
~CommitMessage();
static svn_error_t *callback(const char **log_msg,
const char **tmp_file,
const apr_array_header_t *commit_items,
void *baton,
apr_pool_t *pool);
protected:
src/subversion/subversion/bindings/javahl/native/CopySources.h view on Meta::CPAN
#include "Pool.h"
#include "Array.h"
/**
* A container for our copy sources, which can convert them into an
* array of svn_client_copy_item_t's.
*/
class CopySources
{
public:
/**
* Create a CopySources object.
* @param jobjectArray An array of CopySource Java objects.
*/
CopySources(Array ©Sources);
/**
* Destroy a CopySources object
*/
~CopySources();
src/subversion/subversion/bindings/javahl/native/CreateJ.h view on Meta::CPAN
#include <vector>
/**
* This class passes centralizes the creating of Java objects from
* Subversion's C structures.
* @since 1.6
*/
class CreateJ
{
public:
static jobject
ConflictDescriptor(const svn_wc_conflict_description2_t *desc);
static jobject
Checksum(const svn_checksum_t *checksum);
static jobject
Info(const char *path, const svn_client_info2_t *info);
static jobject
src/subversion/subversion/bindings/javahl/native/DiffOptions.h view on Meta::CPAN
#ifndef JAVAHL_DIFF_OPTIONS_H
#define JAVAHL_DIFF_OPTIONS_H
#include <apr_tables.h>
#include "svn_types.h"
#include "Pool.h"
#include "JNIUtil.h"
class DiffOptions
{
public:
DiffOptions(jobject joptions);
apr_array_header_t *optionsArray(SVN::Pool &resultPool) const;
svn_boolean_t useGitDiffFormat() const
{
return (flags & USE_GIT_DIFF_FORMAT ? TRUE : FALSE);
}
private:
src/subversion/subversion/bindings/javahl/native/DiffSummaryReceiver.h view on Meta::CPAN
#define DIFFSUMMARYRECEIVER_H
#include <jni.h>
#include "svn_client.h"
/**
* A diff summary receiver callback.
*/
class DiffSummaryReceiver
{
public:
/**
* Create a DiffSummaryReceiver object.
* @param jreceiver The Java callback object.
*/
DiffSummaryReceiver(jobject jreceiver);
/**
* Destroy a DiffSummaryReceiver object
*/
~DiffSummaryReceiver();
src/subversion/subversion/bindings/javahl/native/EnumMapper.h view on Meta::CPAN
#include "svn_types.h"
class JNIStringHolder;
/**
* This class contains all the mappers between the C enum's and the
* matching Java enums's.
*/
class EnumMapper
{
public:
/* Converting to C enum's */
static svn_depth_t toDepth(jobject jdepth);
static svn_opt_revision_kind toRevisionKind(jobject jkind);
static svn_wc_conflict_choice_t toConflictChoice(jobject jchoice);
static int toMergeinfoLogKind(jobject jLogKind);
static int toLogLevel(jobject jLogLevel);
/* Converting from C enum's */
static jint mapCommitMessageStateFlags(apr_byte_t flags);
static jobject mapChangePathAction(const char action);
src/subversion/subversion/bindings/javahl/native/File.h view on Meta::CPAN
* implements the functions read & close of svn_stream_t.
*/
class File
{
private:
/**
* A local reference to the Java object.
*/
jobject m_jthis;
JNIStringHolder *stringHolder;
public:
File(jobject jthis);
~File();
const char *getAbsPath();
const char *getInternalStyle(const SVN::Pool &pool);
bool isNull() const;
};
#endif // FILE_H
src/subversion/subversion/bindings/javahl/native/ImportFilterCallback.h view on Meta::CPAN
#include <jni.h>
#include "svn_client.h"
/**
* This class holds a Java callback object, which will receive every
* directory entry for which the callback information is requested.
*/
class ImportFilterCallback
{
public:
ImportFilterCallback(jobject jcallback);
~ImportFilterCallback();
static svn_error_t *callback(void *baton,
svn_boolean_t *filtered,
const char *local_abspath,
const svn_io_dirent2_t *dirent,
apr_pool_t *scratch_pool);
protected:
src/subversion/subversion/bindings/javahl/native/InfoCallback.h view on Meta::CPAN
#include "svn_client.h"
struct info_entry;
/**
* This class holds a Java callback object, which will receive every line of
* the file for which the callback information is requested.
*/
class InfoCallback
{
public:
InfoCallback(jobject jcallback);
~InfoCallback();
static svn_error_t *callback(void *baton,
const char *path,
const svn_client_info2_t *info,
apr_pool_t *pool);
protected:
svn_error_t *singleInfo(const char *path,
src/subversion/subversion/bindings/javahl/native/InputStream.h view on Meta::CPAN
*/
class InputStream
{
private:
/**
* A local reference to the Java object.
*/
jobject m_jthis;
static svn_error_t *read(void *baton, char *buffer, apr_size_t *len);
static svn_error_t *close(void *baton);
public:
InputStream(jobject jthis);
~InputStream();
svn_stream_t *getStream(const SVN::Pool &pool);
};
#endif // INPUT_STREAM_H
src/subversion/subversion/bindings/javahl/native/JNIByteArray.h view on Meta::CPAN
/**
* The cache bytes of the byte array.
*/
jbyte *m_data;
/**
* Flag that the underlying byte array reference should be deleted
* at destruction.
*/
bool m_deleteByteArray;
public:
bool isNull() const;
const signed char *getBytes() const;
int getLength();
JNIByteArray(jbyteArray jba, bool deleteByteArray = false);
~JNIByteArray();
};
#endif // JNIBYTEARRAY_H