Ticket #16597: patch-keychain.diff
File patch-keychain.diff, 2.8 KB (added by bahamut@…, 16 years ago) |
---|
-
./build/generator/gen_make.py
old new 187 187 opts = self.swig.opts[objname.lang] 188 188 if not self.release_mode: 189 189 self.ofile.write('$(top_builddir)/%s: %s\n' % (objname, deps) + 190 '\t$(SWIG) $(SWIG_ INCLUDES) %s ' % opts +190 '\t$(SWIG) $(SWIG_DEFINES) $(SWIG_INCLUDES) %s ' % opts + 191 191 '-o $@ $(top_srcdir)/%s\n' % source 192 192 ) 193 193 -
./subversion/bindings/javahl/native/SVNClient.cpp
old new 1125 1125 /* The main disk-caching auth providers, for both 1126 1126 * 'username/password' creds and 'username' creds. */ 1127 1127 svn_auth_provider_object_t *provider; 1128 #ifdef DARWIN 1129 svn_client_get_keychain_simple_provider (&provider, pool); 1130 APR_ARRAY_PUSH (providers, svn_auth_provider_object_t *) = provider; 1131 #endif 1128 1132 #ifdef WIN32 1129 1133 svn_client_get_windows_simple_provider(&provider, pool); 1130 1134 APR_ARRAY_PUSH(providers, svn_auth_provider_object_t *) = provider; -
./subversion/include/svn_client.h
old new 150 150 svn_client_get_simple_provider(svn_auth_provider_object_t **provider, 151 151 apr_pool_t *pool); 152 152 153 #if defined(DARWIN) || defined(DOXYGEN) 154 155 /** 156 * Create and return @a *provider, an authentication provider of type @c 157 * svn_auth_cred_simple_t that gets/sets information from the user's 158 * ~/.subversion configuration directory. Allocate @a *provider in 159 * @a pool. 160 * 161 * This is like svn_client_get_simple_provider(), except that the 162 * password is stored in the Mac OS KeyChain. 163 * 164 * @since New in 1.4 165 * @note This function is only available on Mac OS 10.2 and higher. 166 */ 167 void 168 svn_client_get_keychain_simple_provider(svn_auth_provider_object_t **provider, 169 apr_pool_t *pool); 170 171 #endif /* DARWIN || DOXYGEN */ 153 172 154 173 #if (defined(WIN32) && !defined(__MINGW32__)) || defined(DOXYGEN) 155 174 /** -
./subversion/libsvn_client/compat_providers.c
old new 57 57 svn_auth_get_simple_provider(provider, pool); 58 58 } 59 59 60 #if defined(DARWIN) 61 void 62 svn_client_get_keychain_simple_provider(svn_auth_provider_object_t **provider, 63 apr_pool_t *pool) 64 { 65 svn_auth_get_keychain_simple_provider(provider, pool); 66 } 67 #endif /* DARWIN */ 68 60 69 #if defined(WIN32) && !defined(__MINGW32__) 61 70 void 62 71 svn_client_get_windows_simple_provider(svn_auth_provider_object_t **provider,