[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] JavaHL list API update

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-04-20 23:32:49 CEST

-----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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.