Vladimir Berezniker <vmpn@hitechman.com> (vmpn)


Patch
r1426654, r1426650, r1426116, r1426114, r1426113, r1426112, r1426111, r1426110, r1426108, r1426107, r1426106, r1426105, r1426104, r1426103, r1426101, r1426100, r1425692, r1425690, r1425689, r1425687, r1425584, r1425583, r1425580, r1425578, r1425568, r1425508, r1425424, r1425423, r1425420, r1425419, r1425418, r1425417, r1425416, r1425415, r1425414, r1425413, r1425412, r1425411, r1353382, r1353380, r1353377, r1353376, r1353373, r1352751, r1352742, r1352737, r1352736, r1352734, r1352729, r1352727, r1352422, r1352419, r1352418, r1352411, r1352403, r1352402, r1352401, r1352400, r1350598, r1350219, r1349098, r1347595, r1347345, r1346842, r1344983, r1344982, r1344977, r1343456, r1343452, r1343450, r1343447, r1342810, r1342682, r1342676, r1342673, r1340253, r847643, r846735

r1426654 | vmpn | 2012-12-28 17:03:51 -0600 (Fri, 28 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1426572


r1426650 | vmpn | 2012-12-28 16:52:09 -0600 (Fri, 28 Dec 2012)

On the javahl-ra branch:

Merge build changes from trunk@1423219


r1426116 | vmpn | 2012-12-26 22:03:49 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1423218


r1426114 | vmpn | 2012-12-26 21:42:18 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1409228


r1426113 | vmpn | 2012-12-26 21:21:18 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1409227


r1426112 | vmpn | 2012-12-26 21:18:31 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1409165


r1426111 | vmpn | 2012-12-26 21:15:45 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

* BRANCH-README: Add review item for a JavaHL commit merged from trunk

r1426110 | vmpn | 2012-12-26 21:13:29 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1409164


r1426108 | vmpn | 2012-12-26 21:02:49 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1407274


r1426107 | vmpn | 2012-12-26 21:00:07 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1407273


r1426106 | vmpn | 2012-12-26 20:55:12 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1405969


r1426105 | vmpn | 2012-12-26 20:50:50 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1405871


r1426104 | vmpn | 2012-12-26 20:38:24 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Merge JavaHL changes from trunk@1405539


r1426103 | vmpn | 2012-12-26 20:27:39 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1405538


r1426101 | vmpn | 2012-12-26 20:23:45 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1405529


r1426100 | vmpn | 2012-12-26 20:16:35 -0600 (Wed, 26 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1405528


r1425692 | vmpn | 2012-12-24 17:11:33 -0600 (Mon, 24 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1405517


r1425690 | vmpn | 2012-12-24 16:47:14 -0600 (Mon, 24 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1405516


r1425689 | vmpn | 2012-12-24 16:40:26 -0600 (Mon, 24 Dec 2012)

On the javahl-ra branch:

Merge JavaHL changes from trunk@1399494


r1425687 | vmpn | 2012-12-24 16:11:43 -0600 (Mon, 24 Dec 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest changes

r1425584 | vmpn | 2012-12-23 21:55:50 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1399486


r1425583 | vmpn | 2012-12-23 21:44:17 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1399485


r1425580 | vmpn | 2012-12-23 21:22:06 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1399072


r1425578 | vmpn | 2012-12-23 20:59:18 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1399063


r1425568 | vmpn | 2012-12-23 19:08:43 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1398941


r1425508 | vmpn | 2012-12-23 12:34:14 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1398940


r1425424 | vmpn | 2012-12-23 00:48:04 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1379426


r1425423 | vmpn | 2012-12-23 00:44:10 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1379425


r1425420 | vmpn | 2012-12-23 00:28:21 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1367113


r1425419 | vmpn | 2012-12-23 00:23:59 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1367112


r1425418 | vmpn | 2012-12-23 00:19:36 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1366334


r1425417 | vmpn | 2012-12-23 00:17:09 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1366214


r1425416 | vmpn | 2012-12-23 00:14:09 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1366031


r1425415 | vmpn | 2012-12-23 00:03:14 -0600 (Sun, 23 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1366020


r1425414 | vmpn | 2012-12-22 23:58:52 -0600 (Sat, 22 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1355758


r1425413 | vmpn | 2012-12-22 23:52:44 -0600 (Sat, 22 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1354652


r1425412 | vmpn | 2012-12-22 23:45:42 -0600 (Sat, 22 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with JavaHL changes on trunk@1354626


r1425411 | vmpn | 2012-12-22 23:42:30 -0600 (Sat, 22 Dec 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1354625


r1353382 | vmpn | 2012-06-24 21:46:05 -0500 (Sun, 24 Jun 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest changes


r1353380 | vmpn | 2012-06-24 20:40:28 -0500 (Sun, 24 Jun 2012)

On the javahl-ra branch:

JavaHL: Add support for the svn_ra_get_session_url() function

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRa.cpp
  (Java_org_apache_subversion_javahl_ra_SVNRa_getUrl): New

* SVNRa.h,
  SVNRa.cpp
  (getUrl): New

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

* ISVNRa.java,
  SVNRa.java
  (getUrl): New

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

* SVNRATests.java
  (getSession, getTestRepoUrl): New function for obtaining URL of the test
    repository
  (testGetUrl): New test for getUrl()


r1353377 | vmpn | 2012-06-24 20:25:18 -0500 (Sun, 24 Jun 2012)

On the javahl-ra branch:

JavaHL: Add support for the svn_ra_get_uuid2() function

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRa.cpp
  (Java_org_apache_subversion_javahl_ra_SVNRa_getUUID): New

* SVNRa.h,
  SVNRa.cpp
  (getUUID): New

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

* ISVNRa.java,
  SVNRa.java
  (getUUID): New

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

* SVNRATests.java
  (testGetUUID): New test for getUUID()

r1353376 | vmpn | 2012-06-24 20:18:45 -0500 (Sun, 24 Jun 2012)

On the javahl-ra branch:

Pass timestamp (nano seconds) rather than date (milli seconds) to avoid
precison loss (issue #2359)

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRa.cpp
  (Java_org_apache_subversion_javahl_ra_SVNRa_getDatedRevision): Switch from
    Date to long as means of passing the timestamp

* SVNRa.h,
  SVNRa.cpp
  (getDatedRev): Switch from Date to long as means of passing the timestamp

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

* ISVNRa.java,
  SVNRa.java
  (getDatedRevision): Switch from Date to long as means of passing the
   timestamp and provide backwards compatible function accepting Date
   as the parameter


r1353373 | vmpn | 2012-06-24 20:10:50 -0500 (Sun, 24 Jun 2012)

On the javahl-ra branch:

Move logic from the JNI functions into their C++ counterpart classes for
consistency with the rest of the code

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRa.cpp
  (Java_org_apache_subversion_javahl_ra_SVNRa_getDatedRevision,
   Java_org_apache_subversion_javahl_ra_SVNRa_getLocks,
   Java_org_apache_subversion_javahl_ra_SVNRa_checkPath):
    Move logic into SVNRa class

* SVNRa.h,
  SVNRa.cpp
  (getDatedRev, getLocks, checkPath): Move logic from SVNRa JNI functions


r1352751 | vmpn | 2012-06-21 20:58:24 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest changes


r1352742 | vmpn | 2012-06-21 20:41:24 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Update whitespace to be compliant with project standards

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

* ISVNRa.java,
  SVNRa.java

r1352737 | vmpn | 2012-06-21 20:38:50 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Merge two SVN RA session implementations into one

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_SVNReposAccess.cpp
  (Java_org_apache_subversion_javahl_SVNReposAccess_ctNative,
   Java_org_apache_subversion_javahl_SVNReposAccess_dispose
   Java_org_apache_subversion_javahl_SVNReposAccess_finalize
   Java_org_apache_subversion_javahl_SVNReposAccess_getDatedRevision
   Java_org_apache_subversion_javahl_SVNReposAccess_getLocks
   Java_org_apache_subversion_javahl_SVNReposAccess_checkPath):
    Functionality merged into org_apache_subversion_javahl_ra_SVNRa

* org_apache_subversion_javahl_ra_SVNRa.cpp
 (Java_org_apache_subversion_javahl_ra_SVNRa_getDatedRevision,
  Java_org_apache_subversion_javahl_ra_SVNRa_getLocks,
  Java_org_apache_subversion_javahl_ra_SVNRa_checkPath): Functionality merged
   from org_apache_subversion_javahl_SVNReposAccess.cpp

* SVNReposAccess.h,
  SVNReposAccess.cpp,
  SVNRa.h,
  SVNRa.cpp
  (getDatedRev, getLocks, checkPath): Functionality merged from
    SVNReposAccess into SVNRa class

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

* ISVNReposAccess.java,
  SVNReposAccess.java
  (getDatedRevision, getLocks, checkPath) Functionality
    merged from SVNReposAccess into SVNRa

[ in subversion/bindings/javahl/src/org/tigris/subversion/javahl/ra ]
   
* SVNRa.java,
  ISVNRa.java
  (getDatedRevision, getLocks, checkPath) Functionality
    merged into SVNRa from SVNReposAccess

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

* SVNRATests.java
  (testDatedRev, testGetLocks, testCheckPath): Migrate test to use ISVNRa
    interface

r1352736 | vmpn | 2012-06-21 20:35:05 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Implement a test for getLatestRevision() function

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

* SVNRATests.java
  (getSession): New support functions for RA testing
  (testGetLatestRevision): New test for the getLatestRevision function

r1352734 | vmpn | 2012-06-21 19:11:49 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Update whitespace to be compliant with project standards

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRa.cpp,
  org_apache_subversion_javahl_ra_SVNRaFactory.cpp,
  RaContext.h,
  RaContext.cpp,
  SVNRa.h,
  SVNRa.cpp

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

* RaContext.java,
  SVNRaFactory.java

r1352729 | vmpn | 2012-06-21 18:53:35 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:
JavaHL: Declare cppAddr immutable as per Blair Zajac suggestion

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

* JNIObject.java (cppAddr): Declare that cppAddr is an immutable value

r1352727 | vmpn | 2012-06-21 18:48:44 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Update whitespace to be compliant with project standards

[ in subversion/bindings/javahl/native ]

* SVNBase.cpp, 
  SVNBase.h

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

* JNIObject.java

r1352422 | vmpn | 2012-06-21 01:09:34 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest progress


r1352419 | vmpn | 2012-06-21 01:03:20 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

JavaHL: Implement getLatestRevision function using the factory based approach
to the SVN remote access layer implementation

* build.conf
  (options): Don't try to find new jni header files before they are generated
  (javahl-java): compile classes in the src/org/apache/subversion/javahl/ra
   directory
  (javahl-ra-javah): new section for generating jni header files for the Ra
   classes
  (libsvnjavahl): make the javahl library depend on the ra jni files

[ in subversion/bindings/javahl/native ]

* org_apache_subversion_javahl_ra_SVNRaFactory.cpp
   (Java_org_apache_subversion_javahl_ra_SVNRaFactory_createRaSession): New JNI
     method to create SVNRa session

* org_apache_subversion_javahl_ra_SVNRa.cpp
   (Java_org_apache_subversion_javahl_ra_SVNRa_finalize, 
    Java_org_apache_subversion_javahl_ra_SVNRa_dispose): Implement lifecycle
     JNI methods for the SVNRa session
   (Java_org_apache_subversion_javahl_ra_SVNRa_getLatestRevision): Implement
     the JNI wrapper around SVNRa::getLatestRevision function

* SVNRa.h,
  SVNRa.cpp 
  (SVNRa, ~SVNRa, dispose): Implement lifecycle methods for the SVNRa session
  (getLatestRevision): Implement the wrapper around svn_ra_get_latest_revnum

* RaContext.h,
  RaContext.cpp
  (RaContext, getCallbackBaton, getCallbacks): Implement JNI wrapper around
    svn_ra_create_callbacks function

[ in subversion/bindings/javahl/src/org/tigris/subversion/javahl/ra ]
   
* SVNRaFactory.java
  (<static>): Implement library initialization and version check
  (createRaSession): New method to obtain ISVNRa ra session implementation

* SVNRa.java,
  ISVNRa.java
  (SVNRa, finalize, dispose): Implement lifecycle methods
  (getLatestRevision): Implement the java wrapper around JNI getLatestRevision
    function

* RaContext.java: Marker class for Ra context

* ISVNRaConfig.java,
  SVNRaConfigDefault.java
  (getUsername, getPassword, getPrompt, getConfigDirectory): New functions to
    specify setting to be used in creating of RA session


r1352418 | vmpn | 2012-06-21 00:54:42 -0500 (Thu, 21 Jun 2012)

On the javahl-ra branch:

Bring up-to-date with trunk@1352411


r1352411 | vmpn | 2012-06-21 00:03:52 -0500 (Thu, 21 Jun 2012)

JavaHL: Factor out test username and password into shared constants allowing
for reuse by child classes

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

* SVNTests.java:
  (USERNAME, PASSWORD): make test username and password available as constants
  (DefaultPromptUserPassword): make the class protected.


r1352403 | vmpn | 2012-06-20 23:06:11 -0500 (Wed, 20 Jun 2012)

On the javahl-ra branch:

JavaHL: Factor out common context to be shared between SVNClient and SVNRa
classes

[ in subversion/bindings/javahl/native ]

* RaSharedContext.cpp: Update whitespace to be compliant with project standards

r1352402 | vmpn | 2012-06-20 23:02:04 -0500 (Wed, 20 Jun 2012)

On the javahl-ra branch:

JavaHL: Factor out common context to be shared between SVNClient and SVNRa
classes

[ in subversion/bindings/javahl/native ]

* RaSharedContext.cpp,
  RaSharedContext.h,
  ClientContext.cpp,
  ClientContext.h
  (username, password, getConfigDirectory, setConfigDirectory, setPrompt,
   cancelOperation, progress): Move from ClientContext to RaSharedContext

* RaSharedContext.cpp,
  RaSharedContext.h
  (attachJavaObject): New function to hold common logic of attaching to the
    java CommonContext class used for callbacks
  (getConfigData, getAuthBaton): Split getContext into separate configuration
    data setup and authentication data setup to better reflect their different life cycles
  (getClientName): New function providing client name to be used in callbacks

* ClientContext.cpp,
  ClientContext.h
  (ClientContext, getContext): Use the factored out RaSharedContext member
    variables and functions

r1352401 | vmpn | 2012-06-20 22:51:02 -0500 (Wed, 20 Jun 2012)

On the javahl-ra branch:

JavaHL: Factor out common context to be shared between SVNClient and SVNRa
classes

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

* RaSharedContext.java,
  CommonContext.java,
  SVNClient.java: Rename CommonContext to RaSharedContext as it better
   describes the purpose of the class

r1352400 | vmpn | 2012-06-20 22:34:05 -0500 (Wed, 20 Jun 2012)

On the javahl-ra branch:

JavaHL: New method for creating java objects linked to their C++ counterpart

[ in subversion/bindings/javahl/native ]

* SVNBase.cpp, 
  SVNBase.h
  (createCppBoundObject): New method for creating java objects linked to their
    C++ counterpart

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

* JNIObject.java: Base class for JNI linked java objects


r1350598 | vmpn | 2012-06-15 07:30:45 -0500 (Fri, 15 Jun 2012)

* COMMITTERS
  (vmpn): Add myself as a partial committer for JavaHL


r1350219 | vmpn | 2012-06-14 07:52:52 -0500 (Thu, 14 Jun 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to include Ev2 work item


r1349098 | vmpn | 2012-06-11 21:31:44 -0500 (Mon, 11 Jun 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest plan

r1347595 | vmpn | 2012-06-07 07:57:43 -0500 (Thu, 07 Jun 2012)

On the javahl-ra branch: 

Bring up-to-date with trunk@1347593


r1347345 | vmpn | 2012-06-06 22:07:50 -0500 (Wed, 06 Jun 2012)

On the javahl-ra branch:

JavaHL: Replace tabs introduced by mistake in the r1343452 with spaces

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

* CommonContext.java
  (getListener, setListener): Replace tabs with spaces


r1346842 | vmpn | 2012-06-06 07:11:19 -0500 (Wed, 06 Jun 2012)

JavaHL: Support logging of the static method calls

[ in subversion/bindings/javahl/native ]

* JNIStackElement.cpp
  (JNIStackElement): Add logic to deal with NULL jthis, which happens with
    static method calls

Approved by: hwright


r1344983 | vmpn | 2012-05-31 23:24:51 -0500 (Thu, 31 May 2012)

JavaHL: Make handling of expr and whitespace after ret_val parameters
consistent accross macros

[ in subversion/bindings/javahl/native ]

* JNIUtil.h
  (SVN_JNI_NULL_PTR_EX): parenthesize expr for safety
  (SVN_JNI_NULL_PTR_EX, SVN_JNI_ERR, POP_AND_RETURN): eliminate unnecessary
    whitespace after ret_val

Approved by: gstein


r1344982 | vmpn | 2012-05-31 23:22:15 -0500 (Thu, 31 May 2012)

Merge r1344977 from the javahl-ra branch. 

Approved by: gstein


r1344977 | vmpn | 2012-05-31 22:10:46 -0500 (Thu, 31 May 2012)

JavaHL: Added CPPADDR_NULL_PTR macro to reduce amount of duplicate code
checking C++ pointer extracted from the java object

[ in subversion/bindings/javahl/native ]

* JNIUtil.h
  (CPPADDR_NULL_PTR): New macro to test for NULL pointer and raise java
    exception if necessary

Approved by: gstein

r1343456 | vmpn | 2012-05-28 21:57:05 -0500 (Mon, 28 May 2012)

On the javahl-ra branch:

JavaHL: Support returning non const, empty rather than NULL hash as required
by (svn_ra_get_commit_editor3) apr_hash_t *revprop_table parameter

[ in subversion/bindings/javahl/native ]

* RevpropTable.cpp,
  RevpropTable.h
  (hash): Removed const qualifier and added bool nullIfEmpty parameter to
    specify whether empty hash or NULL should be returned


r1343452 | vmpn | 2012-05-28 21:51:12 -0500 (Mon, 28 May 2012)

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


r1343450 | vmpn | 2012-05-28 20:48:55 -0500 (Mon, 28 May 2012)

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


r1343447 | vmpn | 2012-05-28 20:39:41 -0500 (Mon, 28 May 2012)

On the javahl-ra branch:
Bring up-to-date with trunk@1342809



r1342810 | vmpn | 2012-05-25 15:56:06 -0500 (Fri, 25 May 2012)

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

[ in subversion/bindings/javahl/native ]

* SVNBase.cpp,
  SVNBase.h
  (dispose, jthis): Accept jobject jthis as explicit parameter to dispose() and
                    delete the member variable jthis

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

* org_apache_subversion_javahl_SVNClient.cpp,
  org_apache_subversion_javahl_SVNRepos.cpp
  (Java_org_apache_subversion_javahl_SVNClient_dispose, 
   Java_org_apache_subversion_javahl_SVNRepos_dispose): 
   Pass object jthis as explicit parameter and pass it to the C++ wrapper class

Approved by: hwright


r1342682 | vmpn | 2012-05-25 10:19:21 -0500 (Fri, 25 May 2012)

On the javahl-ra branch:

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

r1342676 | vmpn | 2012-05-25 10:12:56 -0500 (Fri, 25 May 2012)

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

r1342673 | vmpn | 2012-05-25 10:08:09 -0500 (Fri, 25 May 2012)

On the javahl-ra branch:

* BRANCH-README: Updated to reflect the latest plan


r1340253 | vmpn | 2012-05-18 16:12:26 -0500 (Fri, 18 May 2012)

* COMMITTERS: Added myself as partial committer for the javahl-ra branch

r847643 | striker | 2003-10-30 13:23:08 -0600 (Thu, 30 Oct 2003)

Issue #1571: svnadmin hotcopy

Patch by: Vladimir Berezniker <vmpn@hitechman.com>

* subversion/include/svn_io.h
* subversion/libsvn_subr/io.c

  (svn_io_file_create): Factored out function for file creation.
  
  (svn_io__file_clear_and_close): Moved from
    subversion/libsvn_repos/repos.c (clear_and_close).
    
  (svn_io_file_lock): Factored out function for file locking.
  
  (svn_io_dir_file_copy): Implemented function for copying a file between
    two directories.


* subversion/include/svn_fs.h

  (svn_fs_hotcopy_berkeley): Added prototype for Berkeley hot copy function.


* subversion/include/svn_repos.h

  (svn_repos_hotcopy): Added prototype for subversion repository hot copy
    function.
  
  (svn_repos_db_logs_lockfile): Added prototype.


* subversion/libsvn_fs/fs.c:

  (svn_fs__clean_logs): Implemented function that deletes only copied
    unused Berkeley DB logs.

  (svn_fs_hotcopy_berkeley): Implemented hot copy functionality in accordance
    with Berkeley DB documentation.


* subversion/libsvn_repos/repos.h

  (SVN_REPOS__DB_LOGS_LOCKFILE): Added new definition for BDB logs files lock
    file.


* subversion/libsvn_repos/repos.c

  (create_db_lock): Factored out function for creation of db lock file.
  
  (create_locks): Cleanup. Deleted redundant path parameter.
  
  (create_hooks): Cleanup. Deleted redundant path parameter. Updated code to
    use (svn_io_file_create).
    
  (hotcopy_ctx_t): New structure for use by (hotcopy_structure).
  
  (hotcopy_structure): Adapted, deleted, (copy_structure) for copying
    repository structure with exception of /db and /locks directories.
    
  (svn_repos_db_logs_lockfile): Implemented function to return path to db
    logs lock file.
    
  (create_db_logs_lock): Implemented function for creation of db logs lock
    file.
    
  (lock_db_logs_file): Function for locking db logs lock file.
  
  (svn_repos_hotcopy): Implemented function to make a hot copy of a
    repository.
  
  (get_repos): Cleanup. Updated code to use (svn_io_file_lock).
  
  (clear_and_close): Moved to
    subversion/libsvn_subr/io.c (svn_io__file_clear_and_close).
  
  (create_repos_structure): Cleanup. Updated code to use (svn_io_file_create).


* subversion/svnadmin/main.c

  Added new flag "--clean-logs" to specify that unused copied logs are to be
  deleted after the hot copy is complete.
  
  (parse_local_repos_path): Factored out function for parsing and validating
    local repository path.
  
  (subcommand_hotcopy): Implemented new hotcopy subcommand.


* tools/backup/hot-backup.py.in

  Updated hot backup script to utilize the new hot copy functionality.


r846735 | cmpilato | 2003-08-07 10:53:51 -0500 (Thu, 07 Aug 2003)

Rename 'svnadmin archive' to 'svnadmin lsdblogs', and support display
of all or only the unused logs.  After this commit, we should be able
to revert my reversion of Ben Collins-Sussman's tweaks to
hot-backup.py.in which replaced usages of db_archive and db_recover
with their svnadmin counterparts.

Patch by: Vladimir Berezniker <vberezniker@siuh.edu>
(Tweaked by me.)

* subversion/include/svn_fs.h
  (svn_fs_berkeley_logfiles): Renamed from svn_fs_berkeley_archive to
    be more in line with actual purpose of the function. Change return
    pointer to apr_array_header_t type from pointer to NULL-terminated
    array of const char *.  Add parameter specifying whether to return
    all or only unused log file names.

* subversion/libsvn_fs/fs.c
  (svn_fs_berkeley_logfiles): Implement the function as specified in
    include/svn_fs.h.

* subversion/include/svn_repos.h
  (svn_repos_db_logfiles): Created wrapper function around
    svn_fs_berkeley_logfiles to return log paths relative to the
    repository root.

* subversion/libsvn_repos/repos.c
  (svn_repos_db_logfiles): Implement the function as specified in
    include/svn_repos.h.

* subversion/svnadmin/main.c
  Rename "archive" sub command to "lsdblogs" and change default
  behavior from listing only unused logs to listing all log files, to
  be consistent with the name of sub command.  Added --only-unused
  option to mimic the behavior of replaced "archive" sub command.