subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Berezniker <v...@hitechman.com>
Subject [RFC][PATCH 13/22] JavaHL Ra API Implementation
Date Sun, 22 Apr 2012 04:06:09 GMT
[[[
    JavaHL: Factor out common progress and cancellation callbacks as well
as configuration and authentication context into CommonContext class from
SVNClient specific code in the ClientContext class so that it can be shared
with the Ra JNI code

    [ in subversion/bindings/javahl/native ]

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

    * CommonContext.cpp, CommonContext.h
      (attachJavaObject): Create 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 to return client name that should be
used in callbacks

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

Mime
View raw message