Create javahl-ra branch, to experiment with exposing some bits of the RA
library over JavaHL.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@991978 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Add the plumbing to start wrapping the ra layer in JavaHL.  This doesn't
actually *do* anything yet, but it does create the initial interface and
test classes.

[ in subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/RunTests.java
  (suite): Add the new RA test suite.

* tests/org/apache/subversion/javahl/SVNRATests.java,
  src/org/apache/subversion/javahl/ISVNReposAccess.java,
  src/org/apache/subversion/javahl/SVNReposAccess.java,
  native/SVNReposAccess.h,
  native/SVNReposAccess.cpp,
  native/org_apache_subversion_javahl_SVNReposAccess.cpp:
  New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@992125 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993368 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Expose the getDatedRevision() RA API through Java.

[ in subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/SVNRATests.java
  (testDatedRev): New.

* native/SVNReposAccess.h
  (getDatedRev, m_sess_pool, m_ra_session): New.
  (SVNReposAccess): Add repos url param.

* native/JNIUtil.cpp
  (getDate): New.

* native/SVNReposAccess.cpp
  (SVNReposAccess): Add repos url param, and create an ra_session.
  (~SVNReposAccess): Destroy the session pool.
  (getDatedRev): New.

* native/JNIUtil.h
  (getDate): New.

* native/org_apache_subversion_javahl_SVNReposAccess.cpp
  (Java_org_apache_subversion_javahl_SVNReposAccess_ctNative):
    Construct the C++ peer with the repos url.
  (Java_org_apache_subversion_javahl_SVNReposAccess_getDatedRevision): New.

* src/org/apache/subversion/javahl/ISVNReposAccess.java
  (getDatedRevision): New.

* src/org/apache/subversion/javahl/SVNReposAccess.java
  (SVNReposAccess): Pass the reposURI to the native constructor.
  (ctNative): Accept the repos URI.
  (getDatedRevision): New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993427 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Implement the getLocks() ra API in JavaHL.

[ in subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/SVNRATests.java
  (setUp): Create a working copy, because it will be useful for out tests.
  (testGetLocks): New.

* native/CreateJ.cpp
  (LockMap): New.

* native/SVNReposAccess.h
  (getLocks): New.

* native/SVNReposAccess.cpp
  (getLocks): New.

* native/org_apache_subversion_javahl_SVNReposAccess.cpp
  (Java_org_apache_subversion_javahl_SVNReposAccess_getLocks): New.

* native/CreateJ.h
  (LockMap): New.

* src/org/apache/subversion/javahl/ISVNReposAccess.java
  (getLocks): New.

* src/org/apache/subversion/javahl/SVNReposAccess.java
  (getLocks): New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993493 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Ensure we inform callers that we may well throw SubversionExceptions.

[ in subversion/bindings/javahl/ ]
* src/org/apache/subversion/javahl/ISVNReposAccess.java,
  src/org/apache/subversion/javahl/SVNReposAccess.java
  (getDatedRevision, getLocks): Add throws SubversionException clause.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993494 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Make a function private which has no need of publicity.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNReposAccess.java
  (getCppAddr): Privatize.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993495 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Implement the checkPath() RA method for JavaHL.

[ in subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/SVNRATests.java
  (testCheckPath): New.

* native/SVNReposAccess.h
  (checkPath): New.

* native/SVNReposAccess.cpp
  (checkPath): New.

* native/org_apache_subversion_javahl_SVNReposAccess.cpp
  (Java_org_apache_subversion_javahl_SVNReposAccess_checkPath): New.

* src/org/apache/subversion/javahl/ISVNReposAccess.java
  (checkPath): New.

* src/org/apache/subversion/javahl/SVNReposAccess.java
  (checkPath): New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@993544 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Add a BRANCH-README file.

* BRANCH-README: New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@995168 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@997216 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1002283 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk@1100000.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1329205 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk@1200000.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1329208 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1329209 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest plan


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1342673 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:

Brought RA implementation up to date with changes merged from trunk in r1329205

[in subversion/bindings/javahl/native]

   * SVNReposAccess.cpp
      (SVNReposAccess): Drop the global pool mutex as it is not necessary, as per r1154119
      (getDatedRev, getLocks, checkPath): Use getPool() instead of pool as per r1154155

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

   * ISVNReposAccess.java, SVNReposAccess.java: Added imports for org.apache.subversion.javahl.types.*  because classes moved from the org.apache.subversion.javahl package

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

   * SVNRATests.java: Added imports for org.apache.subversion.javahl.types.*  because classes moved from the org.apache.subversion.javahl package


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1342676 13f79535-47bb-0310-9956-ffa450edef68
JavaHL: Changed return value from the java svn_stream_t read function to be compatible with the txdelta_next_window function

[ in subversion/bindings/javahl/native ]

* InputStream.cpp
  (read): Return 0 instead of -1 as expected by the txdelta_next_window function


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1342682 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:
Bring up-to-date with trunk@1342809



git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1343447 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:

Merge r1342810 from trunk and bring SVNReposAccess up to date with it.

JavaHL: Explicitly pass jobject jthis when processing dispose() call rather
than stashing a reference in the SVNBase class where it can be missused later

[ in subversion/bindings/javahl/native ]

* SVNReposAccess.cpp, 
  SVNReposAccess.h
  (dispose): Accept object jthis as explicit parameter and pass it to
    SVNBase::dispose

* org_apache_subversion_javahl_SVNReposAccess.cpp
  (Java_org_apache_subversion_javahl_SVNReposAccess_dispose): Pass object jthis
    as explicit parameter and pass it to the C++ wrapper class


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1343450 13f79535-47bb-0310-9956-ffa450edef68
On the javahl-ra branch:

JavaHL: Factored out common context for later use by the SVNRa class

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

* CommonContext.java,
  SVNClient.java
  (ClientContext): Move the progress listener into CommonContext for later
    sharing with the new SVNRa class


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-ra@1343452 13f79535-47bb-0310-9956-ffa450edef68