Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix various typos detected by codespell

[in subversion/bindings]

* cxx/README, cxx/include/svnxx/tristate.hpp, cxx/src/aprwrap/array.hpp,

javahl/README, javahl/native/JNIStackElement.cpp, javahl/native/JNIUtil.h,

javahl/native/NativeStream.hpp, javahl/native/OperationContext.cpp,

javahl/native/org_apache_subversion_javahl_util_PropLib.cpp,

javahl/src/org/apache/subversion/javahl/ClientNotifyInformation.java,

javahl/src/org/apache/subversion/javahl/ISVNClient.java,

javahl/src/org/apache/subversion/javahl/ISVNRemote.java,

javahl/src/org/apache/subversion/javahl/ISVNRepos.java,

javahl/src/org/apache/subversion/javahl/NativeResources.java,

javahl/src/org/apache/subversion/javahl/SVNClient.java,

javahl/src/org/apache/subversion/javahl/SVNRepos.java,

javahl/src/org/apache/subversion/javahl/SVNUtil.java,

javahl/src/org/apache/subversion/javahl/callback/TunnelAgent.java,

javahl/src/org/apache/subversion/javahl/callback/UserPasswordCallback.java,

javahl/src/org/apache/subversion/javahl/types/Property.java,

javahl/src/org/apache/subversion/javahl/types/Revision.java,

javahl/src/org/apache/subversion/javahl/types/Status.java,

javahl/src/org/apache/subversion/javahl/types/VersionExtended.java,

javahl/src/org/tigris/subversion/javahl/Notify.java,

javahl/src/org/tigris/subversion/javahl/PromptUserPassword2.java,

javahl/src/org/tigris/subversion/javahl/PropertyData.java,

javahl/src/org/tigris/subversion/javahl/Revision.java,

javahl/src/org/tigris/subversion/javahl/SVNAdmin.java,

javahl/src/org/tigris/subversion/javahl/SVNClient.java,

javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java,

javahl/src/org/tigris/subversion/javahl/Status.java,

javahl/src/org/tigris/subversion/javahl/StatusKind.java,

swig/include/proxy.py, swig/perl/libsvn_swig_perl/swigutil_pl.c,

swig/perl/native/Client.pm, swig/perl/native/Core.pm,

swig/python/tests/client.py, swig/python/tests/ra.py,

swig/python/tests/typemap.py:

(): Spelling fixes

  1. … 25 more files in changeset.
Increment the trunk version number to 1.15, and introduce a new CHANGES

section, following the creation of the 1.14.x release branch.

* subversion/include/svn_version.h,

subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,

subversion/tests/cmdline/svntest/main.py

(SVN_VER_MINOR): Increment to 15.

* CHANGES: New section for 1.15.0.

  1. … 3 more files in changeset.
Increment the trunk version number to 1.14, and introduce a new CHANGES

section, following the creation of the 1.13.x release branch.

* subversion/include/svn_version.h,

subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,

subversion/tests/cmdline/svntest/main.py

(SVN_VER_MINOR): Increment to 14.

* CHANGES: New section for 1.14.0.

  1. … 3 more files in changeset.
Increment the trunk version number to 1.13, and introduce a new CHANGES

section, following the creation of the 1.12.x release branch.

* subversion/include/svn_version.h,

subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,

subversion/tests/cmdline/svntest/main.py

(SVN_VER_MINOR): Increment to 13.

* CHANGES: New section for 1.13.0.

  1. … 3 more files in changeset.
Expose the output arguments of svn_client_blame6 in JavaHL.

[in subversion/bindings/javahl/src/org/apache/subversion]

* callback/BlameRangeCallback.java: New callback for ISVNClient.blame.

* callback/BlameLineCallback.java: Remove unused import.

* ISVNClient.java

(ISVNClient.blame): Add range callback parameter. Update docstring.

* SVNClient.java

(SVNClient.blame): Update wrapper and native method declaration.

[in subversion/bindings/javahl/native]

* BlameCallback.h

(BlameCallback::BlameCallback): Change constructor signature.

(BlameCallback::get_start_revnum_p, BlameCallback::get_end_revnum_p): New.

(BlameCallback::setRange): New.

(BlameCallback::m_start_revnum, BlameCallback::m_start_revnum,

BlameCallback::m_range_callback_invoked, BlameCallback::m_range_callback): New.

(BlameCallback::m_line_callback): Renamed from m_callback.

* BlameCallback.cpp: Include svn_private_config.h.

(BlameCallback::BlameCallback): Update constructor implementation.

(BlameCallback::callback): Update static callback implementation.

(BlameCallback::setRange): Implement.

(BlameCallback::singleLine): Notice changed member variable name.

* SVNClient.cpp

(SVNClient::blame): Set blame output arguments from the callback.

* org_apache_subversion_javahl_SVNClient.cpp

(Java_org_apache_subversion_javahl_SVNClient_blame): Update native method.

[in subversion/bindings/javahl/tests/org/apache/subversion/javahl]

* BasicTests.java

(BlameRangeCallbackImpl): New helper class.

(testBinaryBlame): Also test the returned revision range.

* ExceptionTests.java

(testBlameCallback): Check that a null range callback doesn't cause exceptions.

    • ?
    ./javahl/callback/BlameRangeCallback.java
  1. … 6 more files in changeset.
Fix issue #4801: Make JavaHL blame return byte[] file contents in the

blame callback instead of assuming they can be converted to String.

[in subversion/bindings/javahl/src/org/apache/subversion/javahl]

* ISVNClient.java

(ISVNClient.blame): Add a new overload that uses the new BlameLineCallback.

Deprecate the other two overloads that use BlameCallback.

* SVNClient.java

(SVNClient.blame): Implement new native overload and deprecate the old ones.

(SVNClient.BlameCallbackAdapter): New helper class.

* callback/BlameCallback.java

(BlameCallback): Deprecated.

* callback/BlameLineCallback.java

(BlameLineCallback): New, replaces BlameCallback.

[in subversion/bindings/javahl/tests/org/apache/subversion/javahl]

* BasicTests.java

(testBasicBlame, testBlameWithDiffOptions): Suppress deprecation warnings

as these tests use the old API, and should continue to do so in order to

test the callback adapter.

(testBinaryBlame): New test case.

(collectBlameLines, BlameCallbackImpl): Suppress deprecation warnings.

(BlameLineCallbackImpl): New helper class.

* ExceptionTests.java

(testBlameCallback): Use the new API in this test case.

[in subversion/bindings/javahl/native]

* org_apache_subversion_javahl_SVNClient.cpp

(Java_org_apache_subversion_javahl_SVNClient_blame): Update parameter order.

* BlameCallback.cpp

(BlameCallback::singleLine): Use BlameLineCallback instead of BlameCallback.

    • ?
    ./javahl/callback/BlameLineCallback.java
  1. … 4 more files in changeset.
Fix various warnings in javahl

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/types/RevisionRange.java,

tests/org/apache/subversion/javahl/BasicTests.java,

tests/org/apache/subversion/javahl/SVNRemoteTests.java:

Use "Long.valueOf(long)" instead of deprecated "new Long(long)"

* native/RemoteSession.cpp, native/RemoteSession.h,

native/org_apache_subversion_javahl_remote_RemoteSession.cpp,

native/org_apache_subversion_javahl_util_ConfigImpl_Category.cpp,

native/org_apache_subversion_javahl_util_PropLib.cpp: Rename "jvalue"

variables to fix -Wshadow warnings for jvalue symbol in jni.h

  1. … 7 more files in changeset.
Increment the trunk version number to 1.12, and introduce a new CHANGES

section, following the creation of the 1.11.x release branch.

* subversion/include/svn_version.h,

subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,

subversion/tests/cmdline/svntest/main.py

(SVN_VER_MINOR): Increment to 12.

* CHANGES: New section for 1.12.0.

  1. … 3 more files in changeset.
Add @Native annotations to ensure header files are generated when using "javac -h".

Unlike javah, which generates header files corresponding to all of the classes

it's pointed at, "javac -h" only generates a header file if there is native

content.

[in subversion/bindings/src/org/apache/subversion/javahl]

* CommitItemStateFlags.java:

(): Add @Native annotation to all flags

* callback/UserPasswordCallback.java:

(Reject, AcceptTemporary, AcceptPermanently): Add @Native annotation

* types/Revision.java:

(SVN_INVALID_REVNUM): Add @Native annotation

Patch by: Emmanuel Bourg <ebourg_{AT}_apache.org>

Fix deprecation warning in JavaHL's SVNRepos API.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/ISVNRepos.java (ISVNRepos.load):

Add new overload that includes the normalizeProps parameter.

* src/org/apache/subversion/javahl/SVNRepos.java (SVNRepos.load):

Update native method signature and add compatibility wrapper.

* native/org_apache_subversion_javahl_SVNRepos.cpp

(Java_org_apache_subversion_javahl_SVNRepos_load): Update native method.

* native/SVNRepos.h (SVNRepos::load): Update signature.

* native/SVNRepos.cpp (SVNRepos::load): Update implementation.

  1. … 3 more files in changeset.
* subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java

Consolidate two instances of the minor version number.

Patch by: danielsh

* subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java

Update the second instance of the minor version, following r1817837.

Found by: danielsh

Increment the trunk version number, and introduce a new CHANGES

section for the upcoming 1.11.0 release.

c: [skip]

* subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,

subversion/include/svn_version.h (SVN_VER_MINOR),

subversion/tests/cmdline/svntest/main.py (SVN_VER_MINOR):

Increment version number.

* CHANGES: New section for 1.11.0.

  1. … 3 more files in changeset.
Expose svn_client_list4() in JavaHL.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/ISVNClient.java

(ISVNClient.list): Add new overload and deprecate the old variant.

* src/org/apache/subversion/javahl/SVNClient.java

(SVNClient.list): Update the native method signature and reimplement

the old overloaded variant as a wrapper for the new native method.

* src/org/apache/subversion/javahl/callback/ListItemCallback.java:

New callback interface for ISVNClient.list.

* native/org_apache_subversion_javahl_SVNClient.cpp

(Java_org_apache_subversion_javahl_SVNClient_list): Update native method.

* native/SVNClient.h (SVNClient::list): Update method prototype.

* native/SVNClient.cpp (SVNClient::list): Update implementation.

* native/ListCallback.h (ListCallback::doList): Update prototype.

* native/ListCallback.cpp

(ListCallback::doList): Update implementation.

(ListCallback::callback): Pass externals info to doList.

    • ?
    ./javahl/callback/ListItemCallback.java
  1. … 5 more files in changeset.
Add an overload to JavaHL's ISVNClient.logMessages() that allows

the API user to retreive all revision properties with each log message.

[in subversion/bindings/javahl/]

* src/org/apache/subversion/javahl/ISVNClient.java

(ISVNClient.logMessages): Add new overload for 1.10.

* src/org/apache/subversion/javahl/SVNClient.java

(ISVNClient.logMessages): Update native signature. Implement the old,

deprecated method.

* native/org_apache_subversion_javahl_SVNClient.cpp

(Java_org_apache_subversion_javahl_SVNClient_logMessages):

Update implementation of native method.

* native/SVNClient.h (SVNClient::logMessages): Update signature.

* native/SVNClient.cpp (SVNClient::logMessages): Update implementation.

* tests/org/apache/subversion/javahl/BasicTests.java,

tests/org/apache/subversion/javahl/ExceptionTests.java: Use the new overload.

  1. … 5 more files in changeset.
Change the access to the constructors of a couple JavaHL classes so that

low-level JavaHL wrappers can instantiate them.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/ISVNRemote.java

(ISVNRemote.LocationSegment): Move constructor to package scope.

(ISVNRemote.FileRevision): Likewise.

Suggestd by: Dmitry Pavlenko

Rename parameter ignoreLocal to onDisk (like at r1583335).

* subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java

(ISVNClient): Rename parameter ignoreLocal to onDisk.

Patch by: Dmitry Pavlenko <pavlenko@tmatesoft.com>

* subversion/bindings/javahl/src/org/apache/subversion/javahl/remote/StatusEditor.java

(addAbsent): Ignore callback instead of throwing error.

Patch by: Marc Strapetz <marc.strapetz{_AT_}syntevo.com>

Fix an ABI compatibility bug in the JavaHL library initialization.

[in subversion/bindings/javahl]

* native/org_apache_subversion_javahl_NativeResources.cpp: Resurrect.

(Java_org_apache_subversion_javahl_NativeResources_initNativeLibrary)

Implement this as a no-op.

* src/org/apache/subversion/javahl/NativeResources.java

(initNativeLibrary): Restore the native function declarationt that

was removed in 1.9.

(init): Call initNativeLibrary which is require to make 1.8 and older

JavaHL JNI libraries initialized far enough to make the version

check work.

  1. … 1 more file in changeset.
Follow up to r1688273:

Minor spelling and documentation fixes, no functional change.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/callback/ReposVerifyCallback.java

(ReposVerifyCallback.onVerifyError): Fix typo in docstring.

* native/ReposVerifyCallback.h

(ReposVerifyCallback::m_jverify_cb): Renamed from m_verify_cb.

(ReposVerifyCallback::ReposVerifyCallback): Add docstring and rename parameter.

(ReposVerifyCallback::callback): Fix docstring.

* native/ReposVerifyCallback.cpp

(ReposVerifyCallback::ReposVerifyCallback): Remove docstring. Rename variables.

(ReposVerifyCallback::onVerifyError): Rename variables.

* tests/org/apache/subversion/javahl/SVNReposTests.java

(SVNReposTests.VerifyCallback.onVerifyError): Add braces to compound conditional.

(SVNReposTests.tryToBreakRepo): Renamed from trytobreakrepo. Update callers.

(SVNReposTests.testVerifyBrokenRepo,

SVNReposTests.testVerifyBrokenRepo_KeepGoing): Make the test setup more explicit.

  1. … 3 more files in changeset.
Follow up to r1687769: Implement semantics equivalent to the new

svn_repos_verify_fs3 in JavaHL.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/callback/ReposVerifyCallback.java

(ReposVerifyCallback): New callback interface.

* src/org/apache/subversion/javahl/ISVNRepos.java

(ISVNRepos.verify): Add the verification callback and update the

documentation of both versions of this method.

* src/org/apache/subversion/javahl/SVNRepos.java

(ISVNRepos.verify): Update native method signature and wrapper

method implementation.

* src/org/apache/subversion/javahl/ReposNotifyInformation.java

(ReposNotifyInformation): Update serial version UID after 1.9 API change.

* native/ReposVerifyCallback.h,

native/ReposVerifyCallback.cpp: New files.

* native/JNIUtil.h

(JNIUtil::createClientException): New.

(JNIUtil::wrappedCreateClientException): Renamed from wrappedHandleSVNError

and changed the the return type.

* native/JNIUtil.cpp

(JNIUtil::wrappedCreateClientException): Return the created exception

instead of throwing it.

(JNIUtil::createClientException): Implement.

(JNIUtil::handleSVNError): Reimplement to call createClientException.

* native/SVNRepos.h: Include ReposVerifyCallback.h.

(SVNRepos::Verify): Add the repository verification callback.

* native/SVNRepos.cpp: Do not include ReposNotifyCallback.h.

(SVNRepos::Verify): Use the repository verification callback.

* native/org_apache_subversion_javahl_SVNRepos.cpp

(Java_org_apache_subversion_javahl_SVNRepos_verify): Add the

repository verification callback and update the implementation.

* tests/org/apache/subversion/javahl/SVNReposTests.java

(SVNReposTests.testVerify): Tweak repository creation.

(SVNReposTests.VerifyCallback, SVNReposTests.trytobreakrepo): New helpers.

(SVNReposTests.testVerifyBrokenRepo,

SVNReposTests.testVerifyBrokenRepo_KeepGoing): New test cases.

    • ?
    ./javahl/callback/ReposVerifyCallback.java
  1. … 8 more files in changeset.
Reimplement svn_repos_verify_fs3() to support an arbitrary callback that

receives the information about an encountered problem and lets the caller

decide on what happens next. This supersedes the keep_going argument for

this API. A callback is optional; the behavior of this API if the callback

is not provided is equivalent to how svn_repos_verify_fs2() deals with

encountered errors. This allows seamless migration to the new API, if the

callback is not necessary. The idea is partly taken from how our existing

svn_fs_lock_many() API works with a svn_fs_lock_callback_t and passes error

information to the caller.

Immediately use the new API to provide an alternative solution for the

encountered problem with 'svnadmin verify --keep-going -q' (see r1684940)

being useless in terms that it was only giving an indication of whether a

particular repository passes the verification or not, without providing a

root cause (details) of what's wrong.

Discussion can be found in http://svn.haxx.se/dev/archive-2015-05/0141.shtml

(Subject: "Possible incompatibility of svn_repos_verify_fs2() in 1.9.0-rc1")

* subversion/include/svn_error_codes.h

(SVN_ERR_REPOS_VERIFY_FAILED): Remove this error code, as we no longer

need to send a specific error from within svn_repos_verify_fs3().

(SVN_ERR_CL_REPOS_VERIFY_FAILED): New.

* subversion/include/svn_repos.h

(svn_repos_notify_action_t): Remove svn_repos_notify_failure.

(svn_repos_notify_t): Remove 'err' field, as it is no longer needed.

(svn_repos_verify_callback_t): New optional callback type to be used with

svn_repos_verify_fs3().

(svn_repos_verify_fs3): Drop 'keep_going' argument in favor of accepting a

svn_repos_verify_callback_t. Update the docstring accordingly.

(svn_repos_verify_fs2): Update the docstring for this deprecated function.

* subversion/libsvn_repos/deprecated.c

(svn_repos_verify_fs2): Update the call to svn_repos_verify_fs3() in this

compatibility wrapper. Don't pass the verify callback.

* subversion/libsvn_repos/dump.c

(notify_verification_error): Remove; this function is no longer required.

(report_error): New helper function.

(svn_repos_verify_fs3): In case we've got a svn_repos_verify_callback_t,

call it upon receiving an FS-specific structure failure or a revision

verification failure. Delegate this action to the new report_error()

helper function. Doing so makes the caller responsible for what's going

to happen with the error. The caller can choose to store the error,

ignore it or use it in any other necessary way. If a callback returns an

error, stop the verification process and immediately return that error.

If no callback is provided, mimic the behavior of svn_repos_verify_fs2()

and return the first encountered error. Drop the logic related to error

formatting, as we no longer need it at this layer. We are going to make

a simpler replacement for it is the UI code (svnadmin.c), where it is

supposed to live.

* subversion/svnadmin/svnadmin.c

(struct repos_verify_callback_baton): New. Contains the fields that are

required to track the --keep-going errors taken from ...

(struct repos_notify_handler_baton): ...this baton. After the previous

step, this baton only contains the 'feedback_stream' field, so inline it

into every calling site.

(repos_notify_handler): Baton is now simply an svn_stream_t. Remove the

boolean-based filtering logic from this handler and drop the handling of

svn_repos_notify_failure. The latter is moved, with a bit of tweaking,

into ...

(repos_verify_callback): ...this new function, that implements a callback

for svn_repos_verify_fs3(). Depending on whether we are in --keep-going

mode or not, either dump the failure details to stderr and track them to

produce a summary, or immediately return it through the callback, thus

ending the verification process. Remember all errors in the --keep-going

mode, not only those that are associated with a particular revision.

Prior to handling the error itself, tell that we failed to verify the

revision or metadata by writing corresponding messages to stderr.

(subcommand_dump, subcommand_load, subcommand_recover, subcommand_upgrade,

subcommand_hotcopy, subcommand_pack): Inline repos_notify_handler_baton

here, as it now contains a single svn_stream_t field.

(subcommand_verify): Inline repos_notify_handler_baton here, as it now

contains a single svn_stream_t field. Avoid manipulations with boolean

fields like b->silent_errors and b->silent_running, because we no longer

need them, and the fields themselves are gone. Create a feedback stream

only in non-quiet mode, as we do in other subcommand implementations.

Create a baton for repos_verify_callback() and adjust the calling site of

svn_repos_verify_fs3(), that now needs a callback. Adjust --keep-going

summary printing to the new approach with the verification callback.

Finally, provide a simple error if we encountered at least one failure

in the --keep-going mode.

* subversion/tests/cmdline/svnadmin_tests.py

(verify_keep_going, verify_keep_going_quiet, verify_invalid_path_changes):

Adjust the expectations, because now errors go straight to stderr in both

--keep-going and ordinary modes. Where possible, make the expectations a

bit stricter by extending the lines that we check with RegexListOutput().

* subversion/tests/libsvn_fs_fs/fs-fs-private-test.c

(load_index, load_index_keep_going): Squash two tests into one; basically,

undo the corresponding hunk from r1683311. As we no longer have separate

keep_going mode in svn_repos_verify_fs3(), and the caller decides if the

verification continues or not, we don't have to check two different

scenarios.

(test_funcs): Track the test changes.

* subversion/tests/libsvn_fs_fs/fs-fs-fuzzy-test.c

(fuzzing_1_byte_1_rev): Adjust the call to svn_repos_verify_fs3().

[in subversion/bindings]

* javahl/src/org/apache/subversion/javahl/ReposNotifyInformation.java

(ReposNotifyInformation.Action): Remove value that used to correspond

to svn_repos_notify_failure.

* javahl/src/org/apache/subversion/javahl/ISVNRepos.java

(ISVNRepos.verify): Remove 'keepGoing' argument from the newest overload

of this method and update the docstring. This patch does not expose

the ability to have control over verification failures through a custom

callback in JavaHL bindings, but we're going to address this separately.

* javahl/src/org/apache/subversion/javahl/SVNRepos.java

(SVNRepos.verify): Adjust two overloads of this method in the ISVNRepos

interface implementation.

* javahl/native/SVNRepos.h

(SVNRepos::verify): Remove 'keepGoing' argument from declaration.

* javahl/native/SVNRepos.cpp

(SVNRepos::verify): Remove 'keepGoing' argument. Do not pass a verify

callback when calling svn_repos_verify_fs3().

* javahl/native/org_apache_subversion_javahl_SVNRepos.cpp

(Java_org_apache_subversion_javahl_SVNRepos_verify): Remove 'jkeepGoing'

argument from this JNI wrapper.

  1. … 11 more files in changeset.
Fix a minor omission in JavaHL's VersionExtended class:

the dispose() and finalize() methods were missing.

[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/types/VersionExtended.java

(VersionExtended.dispose, VersionExtended.finalize): Add methods.

* VersionExtended.h

(VersionExtended::getCppObject): Return a non-const pointer;

the implementation of dispose() cannot use an immutable object.

* VersionExtended.cpp

(VersionExtended::getCppObject): Update implementation.

* org_apache_subversion_javahl_types_VersionExtended.cpp:

Include svn_private_config.h

(Java_org_apache_subversion_javahl_types_VersionExtended_dispose):

Implement native method.

* tests/org/apache/subversion/javahl/BasicTests.java

(BasicTests.testVersionExtendedQuiet,

BasicTests.testVersionExtendedVerbose): Dispose the VersionExtended object.

  1. … 4 more files in changeset.
Fix issue #4575: Wrong default for 1.8-compatilble wrapper of ISVNClient#cleanup(String)

This change makes the JavaHL compatibility wrapper for

svn_client_cleanup behave in the same way as the native function.

[in subversion/bindings/javahl/src/org/apache/subversion/javahl]

* ISVNClient.java

(ISVNClient.cleanup): Fix documentation of the compatibility wrapper.

* SVNClient.java

(SVNClient.cleanup): Default is to break locks.

Make JNI reference handling more robust in RA status callbacks.

This is a follow-up to r1675771.

* subversion/bindings/javahl/native/EditorProxy.cpp

(EditorProxy::cb_add_directory,

EditorProxy::cb_add_file,

EditorProxy::cb_add_symlink,

EditorProxy::cb_add_absent,

EditorProxy::cb_alter_directory,

EditorProxy::cb_alter_file,

EditorProxy::cb_alter_symlink,

EditorProxy::cb_delete,

EditorProxy::cb_copy,

EditorProxy::cb_move,

EditorProxy::cb_complete,

EditorProxy::cb_abort): Use a managed local JNI frame in callbacks.

* subversion/bindings/javahl/native/NativeStream.hpp

(NativeInputStream::get_self_unsafe,

NativeOutputStream::get_self_unsafe): New.

* subversion/bindings/javahl/native/NativeStream.cpp

(NativeInputStream::get_self_unsafe,

NativeOutputStream::get_self_unsafe): Implement.

(Java_org_apache_subversion_javahl_types_NativeInputStream_finalize,

Java_org_apache_subversion_javahl_types_NativeOutputStream_finalize):

Implement missing finalizer methods.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/remote/StatusEditor.java

(StatusEditor.addFile): Check contents stream for null before closing.

  1. … 3 more files in changeset.
[in subversion/bindings/javahl]

* src/org/apache/subversion/javahl/remote/StatusEditor.java

(StatusEditor.alterFile): Avoid null pointer exception when content is null.

Fix a really nifty native memory leak in the JavaHL status editor.

[in subversion/bindings/javahl/src]

* org/apache/subversion/javahl/ISVNEditor.java

(ISVNEditor.addFile, ISVNEditor.alterFile): Document that the contents

stream must be closed by the implementation.

* org/apache/subversion/javahl/remote/StatusEditor.java

(StatusEditor.addFile, StatusEditor.alterFile): Close the contents

stream, otherwise the Java object will be garbage-collected, but

the underlying native C++ object will never be destroyed.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java

(copy): Update docstring.

Expose the metadataOnly option that is already implemented in libsvn_client's

copy support through the api.

This should have been added when revving the api, as this api has been

available at the libsvn_wc level since 1.8 (and at least used by AnkhSVN

since then).

* subversion/bindings/javahl/native/org_apache_subversion_javahl_SVNClient.cpp

(Java_org_apache_subversion_javahl_SVNClient_copy): Pass metadataOnly.

* subversion/bindings/javahl/native/SVNClient.cpp

(SVNClient::copy): Pass metadataOnly.

* subversion/bindings/javahl/native/SVNClient.h

(SVNClient::copy): Pass metadataOnly.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java

(copy): Add and document metadataOnly argument.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java

(copy): Add and document metadataOnly argument.

(copy): Update caller.

* subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java

(testCopy,

testCopyPinExternals_wc2wc,

testCopyPinExternals_wc2repo,

testCopyPinExternals_repo2wc,

testCopyPinExternals_repo2repo,

testCopyPinExternals_repo2repo_explicit,

setupAndPerformMerge): Update caller.

* subversion/include/svn_client.h

(svn_client_copy7): Add argument.

* subversion/libsvn_client/copy.c

(svn_client_copy7): Add argument. Update caller.

* subversion/libsvn_client/deprecated.c

(svn_client_copy6): Update caller.

* subversion/svn/copy-cmd.c

(svn_cl__copy): Update caller.

* subversion/tests/libsvn_client/client-test.c

(test_copy_pin_externals): Update caller.

* subversion/tests/libsvn_wc/utils.c

(sbox_wc_copy_url): Update caller.

  1. … 10 more files in changeset.
Increment the trunk version number to 1.10.0-dev.

* subversion/include/svn_version.h: Increment version number.

* subversion/tests/cmdline/svntest/main.py (SVN_VER_MINOR),

build/run_tests.py (SVN_VER_MINOR):

Increment version number.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java

(NativeResources.init): Increment required library version.

  1. … 3 more files in changeset.