svn commit: r1150709 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_subr/auth.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:10:54 2011 New Revision: 1150709 URL: http://svn.apache.org/viewvc?rev=1150709view=rev Log: On the gpg-agent-password-store branch, fix a typo in a comment. * subversion/libsvn_subr/auth.c (svn_auth_get_platform_specific_client_providers): Typo in comment.

svn commit: r1150711 - /subversion/site/publish/packages.html

2011-07-25 Thread ivan
Author: ivan Date: Mon Jul 25 14:11:04 2011 New Revision: 1150711 URL: http://svn.apache.org/viewvc?rev=1150711view=rev Log: * publish/packages.html: Link VisualSVN Server pre-release binaries. Modified: subversion/site/publish/packages.html Modified: subversion/site/publish/packages.html

svn commit: r1150713 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:13:42 2011 New Revision: 1150713 URL: http://svn.apache.org/viewvc?rev=1150713view=rev Log: On the gpg-agent-password-store branch: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Mark a couple of local variables 'const'. Modified:

svn commit: r1150716 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:24:53 2011 New Revision: 1150716 URL: http://svn.apache.org/viewvc?rev=1150716view=rev Log: On the gpg-agent-password-store branch, ensure that messages are always read in their entirety from the agent's socket. The GPG-Agent protocol terminates messages with

svn commit: r1150720 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:28:55 2011 New Revision: 1150720 URL: http://svn.apache.org/viewvc?rev=1150720view=rev Log: On the gpg-agent-password-store branch, ensure that the gpg-agent socket is always closed. * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Close

svn commit: r1150723 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:33:32 2011 New Revision: 1150723 URL: http://svn.apache.org/viewvc?rev=1150723view=rev Log: On the gpg-agent-password-store branch, send the values of the LC_CTYPE and DISPLAY variables to gpg-agent. These might be useful for the pinentry program. *

svn commit: r1150728 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:45:59 2011 New Revision: 1150728 URL: http://svn.apache.org/viewvc?rev=1150728view=rev Log: On the gpg-agent-password-store branch, improve the pinentry program's prompt. Put the name of the authentication realm into the prompt. Change the password prompt to

svn commit: r1150729 - /subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 14:47:34 2011 New Revision: 1150729 URL: http://svn.apache.org/viewvc?rev=1150729view=rev Log: On the gpg-agent-password-store branch, avoid a potential NULL-derefernce. * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Do not crash if the

svn commit: r1150751 [3/5] - in /subversion/branches/gpg-agent-password-store: ./ build/ac-macros/ build/generator/swig/ notes/ subversion/bindings/swig/perl/native/t/ subversion/include/ subversion/i

2011-07-25 Thread stsp
Modified: subversion/branches/gpg-agent-password-store/subversion/libsvn_wc/adm_crawler.c URL: http://svn.apache.org/viewvc/subversion/branches/gpg-agent-password-store/subversion/libsvn_wc/adm_crawler.c?rev=1150751r1=1150750r2=1150751view=diff

svn commit: r1150751 [5/5] - in /subversion/branches/gpg-agent-password-store: ./ build/ac-macros/ build/generator/swig/ notes/ subversion/bindings/swig/perl/native/t/ subversion/include/ subversion/i

2011-07-25 Thread stsp
Modified: subversion/branches/gpg-agent-password-store/subversion/tests/libsvn_client/client-test.c URL: http://svn.apache.org/viewvc/subversion/branches/gpg-agent-password-store/subversion/tests/libsvn_client/client-test.c?rev=1150751r1=1150750r2=1150751view=diff

svn commit: r1150760 - /subversion/branches/gpg-agent-password-store/notes/moves

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 15:54:54 2011 New Revision: 1150760 URL: http://svn.apache.org/viewvc?rev=1150760view=rev Log: On the gpg-agent-password-store branch, remerge (that is, reverse-merge and then merge again) r1146165, r1146496, r1146501. For some reason the right set of changes was not

svn commit: r1150762 - /subversion/branches/gpg-agent-password-store/subversion/tests/cmdline/svnmucc_tests.py

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 15:58:20 2011 New Revision: 1150762 URL: http://svn.apache.org/viewvc?rev=1150762view=rev Log: For some reason, when r1144381 was merged into the gpg-agent-password-store branch, the file subversion/tests/cmdline/svnmucc_tests.py didn't get added. So do this now.

svn commit: r1150783 - in /subversion/trunk: ./ subversion/include/ subversion/include/private/ subversion/libsvn_auth_gpg_agent/ subversion/libsvn_subr/

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 17:14:15 2011 New Revision: 1150783 URL: http://svn.apache.org/viewvc?rev=1150783view=rev Log: Reintegrate the gpg-agent-password-store branch. It is now working quite well. Further cleanup can happen on trunk. The merge was an interesting experience. In addition to

svn commit: r1150789 - /subversion/trunk/subversion/include/svn_auth.h

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 17:18:33 2011 New Revision: 1150789 URL: http://svn.apache.org/viewvc?rev=1150789view=rev Log: * subversion/include/svn_auth.h (svn_auth_gpg_agent_version): Add @since tag. (svn_auth_get_gpg_agent_simple_provider): Fix @since tag. Modified:

svn commit: r1150799 - /subversion/site/publish/roadmap.html

2011-07-25 Thread danielsh
Author: danielsh Date: Mon Jul 25 17:37:19 2011 New Revision: 1150799 URL: http://svn.apache.org/viewvc?rev=1150799view=rev Log: * roadmap.html: Start documenting 1.8. Modified: subversion/site/publish/roadmap.html Modified: subversion/site/publish/roadmap.html URL:

svn commit: r1150801 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 17:43:18 2011 New Revision: 1150801 URL: http://svn.apache.org/viewvc?rev=1150801view=rev Log: Some refactoring in the gpg-agent code. No functional change. * subversion/libsvn_auth_gpg_agent/gpg_agent.c (send_option): New helper function that sends an option to

svn commit: r1150803 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 17:45:07 2011 New Revision: 1150803 URL: http://svn.apache.org/viewvc?rev=1150803view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Do not ignore errors thrown by the send() function. Modified:

svn commit: r1150807 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 17:48:52 2011 New Revision: 1150807 URL: http://svn.apache.org/viewvc?rev=1150807view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (send_option, password_get_gpg_agent): Use write() instead of send(). We don't set any flags for send() so we might as

svn commit: r1150833 - in /subversion/trunk/subversion: include/svn_auth.h libsvn_subr/config_file.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 18:36:16 2011 New Revision: 1150833 URL: http://svn.apache.org/viewvc?rev=1150833view=rev Log: Small cleanups related to the new gpg-agent feature. No functional change. * subversion/include/svn_auth.h (svn_auth_get_platform_specific_provider,

svn commit: r1150841 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 18:45:57 2011 New Revision: 1150841 URL: http://svn.apache.org/viewvc?rev=1150841view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): We can pass the full BUFFER_SIZE to receive_from_gpg_agent() and send_option() because they

svn commit: r1150868 - /subversion/trunk/tools/client-side/detatch.py

2011-07-25 Thread hwright
Author: hwright Date: Mon Jul 25 19:56:35 2011 New Revision: 1150868 URL: http://svn.apache.org/viewvc?rev=1150868view=rev Log: Add a rudimentary detatch script to the client-side tools. This is far from comprehensive or exhaustively tested, but should work in most scenarios. Improvements,

svn commit: r1150869 - in /subversion/trunk/tools/client-side: detach.py detatch.py

2011-07-25 Thread hwright
Author: hwright Date: Mon Jul 25 19:59:37 2011 New Revision: 1150869 URL: http://svn.apache.org/viewvc?rev=1150869view=rev Log: My spelling is horrible. * tools/client-side/detatch.py: Renamed to... * tools/client-side/detach.py: ...this. Added:

svn commit: r1150870 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 20:00:58 2011 New Revision: 1150870 URL: http://svn.apache.org/viewvc?rev=1150870view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Write the correct number of bytes to the socket when sending the GET_PASSPHRASE command. We

svn commit: r1150872 - /subversion/trunk/tools/client-side/detach.py

2011-07-25 Thread hwright
Author: hwright Date: Mon Jul 25 20:02:33 2011 New Revision: 1150872 URL: http://svn.apache.org/viewvc?rev=1150872view=rev Log: * tools/client-side/detach.py (migrate_sqlite): Wrap a string in a tuple. Modified: subversion/trunk/tools/client-side/detach.py Modified:

svn commit: r1150873 - /subversion/trunk/tools/client-side/detach.py

2011-07-25 Thread hwright
Author: hwright Date: Mon Jul 25 20:03:38 2011 New Revision: 1150873 URL: http://svn.apache.org/viewvc?rev=1150873view=rev Log: This really is untested. I mean it. * tools/client-side/detach.py: Raise an exception by default to prevent accidental usage. Modified:

svn commit: r1150875 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 20:07:30 2011 New Revision: 1150875 URL: http://svn.apache.org/viewvc?rev=1150875view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Verify that the agent shares our idea about which socket we used to connect to the agent. The

Re: svn commit: r1150875 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread Daniel Shahaf
This function uses p in two places now, don't you need to re-initialize it to NULL before the second usage? s...@apache.org wrote on Mon, Jul 25, 2011 at 20:07:30 -: Author: stsp Date: Mon Jul 25 20:07:30 2011 New Revision: 1150875 URL: http://svn.apache.org/viewvc?rev=1150875view=rev

svn commit: r1150884 - /subversion/trunk/subversion/libsvn_auth_gpg_agent/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 20:24:17 2011 New Revision: 1150884 URL: http://svn.apache.org/viewvc?rev=1150884view=rev Log: * subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Reinitialise local variable P to NULL before using it a second time. Found by: danielsh

svn commit: r1150924 - /subversion/trunk/tools/client-side/detach.py

2011-07-25 Thread danielsh
Author: danielsh Date: Mon Jul 25 21:35:28 2011 New Revision: 1150924 URL: http://svn.apache.org/viewvc?rev=1150924view=rev Log: * tools/client-side/detach.py (migrate_pristines): Make the regex a bit more liberal. Tested by: none Modified: subversion/trunk/tools/client-side/detach.py

svn commit: r1150950 - in /subversion/trunk: ./ build/generator/ subversion/bindings/swig/ subversion/include/ subversion/libsvn_auth_gpg_agent/ subversion/libsvn_subr/

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 23:00:20 2011 New Revision: 1150950 URL: http://svn.apache.org/viewvc?rev=1150950view=rev Log: Remove libsvn_auth_gpg_agent and move gpg-agent support into libsvn_subr. There is no need to put gpg-agent support into a library loaded at runtime. The svn code talks to

svn commit: r1150952 - /subversion/trunk/subversion/libsvn_subr/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 23:07:56 2011 New Revision: 1150952 URL: http://svn.apache.org/viewvc?rev=1150952view=rev Log: * subversion/libsvn_subr/gpg_agent.c: Wrap everything in this file within #ifndef WIN32 to avoid build problems on Windows. Modified:

svn commit: r1150954 - in /subversion/trunk/subversion: include/svn_auth.h libsvn_subr/auth.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 23:25:39 2011 New Revision: 1150954 URL: http://svn.apache.org/viewvc?rev=1150954view=rev Log: Move gpg-agent behind GNOME Keyring, Kwallet, and Keychain, by default. We don't want to disturb existing setups that use existing password caching mechanisms on *NIX

svn commit: r1150958 - /subversion/trunk/subversion/tests/libsvn_subr/auth-test.c

2011-07-25 Thread stsp
Author: stsp Date: Mon Jul 25 23:40:35 2011 New Revision: 1150958 URL: http://svn.apache.org/viewvc?rev=1150958view=rev Log: * subversion/tests/libsvn_subr/auth-test.c (test_platform_specific_auth_providers): Now that gpg-agent support is linked into libsvn_subr, this test will find it if

svn commit: r1150961 - /subversion/trunk/subversion/libsvn_subr/gpg_agent.c

2011-07-25 Thread stsp
Author: stsp Date: Tue Jul 26 00:05:09 2011 New Revision: 1150961 URL: http://svn.apache.org/viewvc?rev=1150961view=rev Log: * subversion/libsvn_subr/gpg_agent.c (password_get_gpg_agent): While having the CLI prompt and GPG-Agent prompt match up is kind of neat, we should try to minimise the