On the javahl-diff-summarize branch: Work-in-progress bindings for
svn_client_diff_summarize(). Development on the bindings is basically
done, but there's a bug hiding somewhere which is throwing an
exception (in native code, I believe), and subsequently causing a
segfault when the JNI ExceptionDescribe() API is invoked by JavaHL's
exception handling code.
[ in subversion/bindings/java/javahl/ ]
* native/SVNClient.h
Forward declare the DiffSummaryReceiver class.
(diffSummarize): Declare new method.
* native/SVNClient.cpp
Add include of DiffSummarReceiver.h.
(SVNClient::diffSummarize): Add new method which invokes
svn_client_diff_summarize().
* native/DiffSummaryReceiver.h
* native/DiffSummaryReceiver.cpp
Add DiffSummaryReceiver class.
* native/org_tigris_subversion_javahl_SVNClient.cpp
Include DiffSummaryReceiver.h.
(Java_org_tigris_subversion_javahl_SVNClient_diffSummarize): Add JNI
binding.
* src/org/tigris/subversion/javahl/SVNClientInterface.java
* src/org/tigris/subversion/javahl/SVNClient.java
* src/org/tigris/subversion/javahl/SVNClientSynchronized.java
(diffSummarize): Add new API
* src/org/tigris/subversion/javahl/DiffSummaryReceiver.java
A new Subversion diff summarization interface.
* src/org/tigris/subversion/javahl/DiffSummary.java
A new data object for use with the DiffSummaryReceiver interface.
* src/org/tigris/subversion/javahl/tests/BasicTests.java
Import java.util.ArrayList.
(testDiffSummarize): New test for SVNClientInterface.diffSummarize(),
which performs a recursive diff summary, ignoring ancestry. This
test is currently failing, causing a JVM segfault.
(DiffSummaries): Basic implementation of the DiffSummaryReceiver
interface, for testDiffSummarize().
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-diff-summarize@862670 13f79535-47bb-0310-9956-ffa450edef68
13 files changed