You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Hyrum K. Wright" <hy...@mail.utexas.edu> on 2008/11/25 04:13:56 UTC

Re: svn commit: r34399 - in trunk/subversion: bindings/javahl/native include libsvn_subr tests/libsvn_subr

jwhitlock@tigris.org wrote:
> Author: jwhitlock
> Date: Mon Nov 24 20:02:43 2008
> New Revision: 34399
> 
> Log:
> Greatly simplify how to get a list of available platform-specific auth
> providers.
> 
> * subversion/libsvn_subr/auth.c,
>   subversion/include/svn_auth.h
>   (svn_auth_get_platform_specific_client_providers): Added.
> 
> * subversion/libsvn_subr/cmdline.c (svn_cmdline_create_auth_baton),
>   subversion/bindings/javahl/native/SVNClient.cpp (getContext): Use the new
>    function added above.
> 
> * subversion/tests/libsvn_subr/auth-test.c
>   (test_platform_specific_auth_providers): Test the new function added above.
> 
> Modified:
>    trunk/subversion/bindings/javahl/native/SVNClient.cpp
>    trunk/subversion/include/svn_auth.h
>    trunk/subversion/libsvn_subr/auth.c
>    trunk/subversion/libsvn_subr/cmdline.c
>    trunk/subversion/tests/libsvn_subr/auth-test.c

btw, Thanks for showing some love to the JavaHL bindings with this change!  Does
this mean you can look at implementing the required prompters for the two
deprecated functions we're still using in JavaHL? ;)

-Hyrum


Re: svn commit: r34399 - in trunk/subversion: bindings/javahl/native include libsvn_subr tests/libsvn_subr

Posted by Jeremy Whitlock <jc...@gmail.com>.
> btw, Thanks for showing some love to the JavaHL bindings with this change!  Does
> this mean you can look at implementing the required prompters for the two
> deprecated functions we're still using in JavaHL? ;)

No sweat.  I also have plans of even making this better.  I haven't
figured it out yet but I want to be able to either have one call to
get all providers, native and platform-specific, and/or just make the
auth provider stuff invisible to the user of our libraries.  One step
at a time of course, and probably no more refactorings until 1.6 is
out.  Let me take a peek at the two providers you speak of.

-- 
Take care,

Jeremy Whitlock
http://www.thoughtspark.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org