-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The following patch updates the JavaHL list implementation to use the
most recent version of svn_client_list. The callback addition and other
changes were straightforward, except for the implementation of the
compatibility wrapper.
There was a semantic change between svn_client_ls3() and
svn_client_list() which accounted for in svn_client_ls3()'s
implementation of the wrapper. I believe that I've captured the same
changes in the MyListCallback class, but want to make sure.
- -Hyrum
[[[
JavaHL: Update to the most recent version of the client API.
[ in subversion/bindings/javahl/ ]
* native/org_tigris_subversion_javahl_SVNClient.cpp
(list): Use the new list interface in SVNClient.
* native/SVNClient.h,
native/SVNClient.cpp
(createJavaDirEntry): Move to ListCallback.
(list): Update to use svn_client_list2().
* native/ListCallback.h,
native/ListCallback.cpp
New callback class. Include createJavaDirEntry() from SVNClient.
* src/org/tigris/subversion/javahl/DirEntry.java
(absPath): New data member.
(DirEntry): Add the absolute path to the constructor.
(getAbsPath): Getter function.
(setPath): Setter function. Used by the compatibility wrapper.
* src/org/tigris/subversion/javahl/SVNClient.java
(list): New overloaded function.
(list): Implement as a thin wrapper around the new version of list().
(MyListCallback): Callback used to implement the thin wrapper.
* src/org/tigris/subversion/javahl/SVNClientInterface.java,
src/org/tigris/subversion/javahl/SVNClientSynchronized.java
(list): New overloaded function.
* src/org/tigris/subversion/javahl/ListCallback.java
New callback interface.
]]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGKTFbCwOubk4kUXwRAr7MAJ4sdj95LJA22RFKrG8piTeJQb2MJwCgumV8
tMXKVOOqJWoBiS1C/MPrzcE=
=lgQ0
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 20 23:31:39 2007