[git] GpgEX - branch, master, updated. gpgex-0.9.7-26-gb5d1172

by Werner Koch cvs at cvs.gnupg.org
Thu Jul 4 16:45:45 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnupG extension for the Windows Explorer".

The branch, master has been updated
       via  b5d1172f5fc2cddfbdfeb473c65b6508c5a73287 (commit)
       via  7329e9a8d0ef661d8c306cc2f996bac718990f14 (commit)
      from  e84489cd5e3b2e6c6c8a8a252cb5b2028dbf3dd9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b5d1172f5fc2cddfbdfeb473c65b6508c5a73287
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Jun 27 17:39:01 2013 +0200

    Minor fixes to the help texts.
    
    --
    
    We definitely need beter help texts.

diff --git a/doc/gpgex-de.html b/doc/gpgex-de.html
index a54778c..e7fce25 100644
--- a/doc/gpgex-de.html
+++ b/doc/gpgex-de.html
@@ -1,4 +1,4 @@
-<!doctype html public "-//WC3//DTD HTML 4.0 Transitional//EN">
+<!doctype html public "-//WC3//DTD HTML 4.0 Transitional//DE">
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
@@ -18,47 +18,46 @@
     <h3>Entschlüsseln und überprüfen, Entschlüsseln, Überprüfen</h3>
     <p>
       Entschlüsselt und/oder überprüft die ausgewählten Dateien.
-      FIXME: Hier wird ein Link zur Kleopatra-Dokumentation für die
-      Entschlüssel- und Verifizier-Funktionen eingestellt.
+      FIXME: Einen Link zur Gpg4win Dokumentation für die
+      Entschlüssel- und Verifizier-Funktionen einbauen.
     </p>
     <h3>Signieren und verschlüsseln, Signieren, Verschlüsseln</h3>
     <p>
       Signiert und/oder verschlüsselt die ausgewählten Dateien.
-      FIXME: Hier wird ein Link zur Kleopatra-Dokumentation für die
-      Verschlüssel- und Signier-Funktionen eingestellt.
+      FIXME: Einen Link zur Gpg4win Dokumentation für die
+      Verschlüssel- und Signier-Funktionen einbauen.
     </p>
     <h3>Zertifikate importieren</h3>
     <p>
-      Import die Zertifikate in den ausgewählten Dateien.  FIXME: Hier
-      wird ein Link zur Kleopatra-Dokumentation für die
-      Import-Funktion eingestellt.
+      Import die Zertifikate in den ausgewählten Dateien.
     <p>
     <h3>Hilfe zu GpgEX</h3>
     <p>
       Stellt diese Hilfe dar.
     </p>
+    <h3>Über GpgEX</h3>
+    <p>
+      Zeigt die Version von GpgEX an.
+    </p>
+
     <h2>Debugging</h2>
     <p>
-      Falls nicht auf Kleopatra zugegriffen werden kann, wird ein
+      Falls nicht auf die GnuPG Benutzerschnittstelle zugegriffen werden kann, wird ein
       Nachrichtenfenster mit einer Fehlermeldung angezeigt.  Um mehr
       Informationen zu erhalten, kann der Fehlerbericht von Kleopatra
-      eingesehen werden (Anleitung siehe Gpg4win-Kompendium), 
+      oder GPA eingesehen werden (Anleitung siehe Gpg4win-Kompendium),
       oder es kann eine GpgEX-Diagnosedatei angegeben werden. Dazu
       im Registrierungs-Editor den Schlüssel
       <code><acronym title="HKEY_LOCAL_MACHINE">HKLM</acronym>\Software\GNU\GnuPG</code>
-      auswählen, eine neue "Zeichenfolge" mit dem Namen <code>GpgEX Debug File</code> 
-      anlegen und als Wert einen Dateinamen (z.B. <code>c:\temp\gpgex-debug-file.log</code>)
-      angeben. Informationen zum Protokoll werden dann nach
-      einem Neustart von Windows an diese Datei angehangen.
+      auswählen, eine neue "Zeichenfolge" mit dem Namen <code>GpgEX
+      Debug File</code> anlegen und als Wert einen Dateinamen
+      (z.B. <code>c:\temp\gpgex-debug-file.log</code>)
+      angeben. Informationen zum Protokoll werden dann nach einem
+      Neustart von Windows an diese Datei angehangen.
     </p>
     <h2>Hinweis</h2>
     <p>
-      Mehr Informationen über die Krypto-Operationen befinden sich im
-      <a href="../HTML/en/kleopatra/index.html">Kleopatra Handbuch</a>
-      (Englisch).
-    </p>
-    <p>
-      Mehr Informationen und aktuelle Programmversionen sind auf der 
+      Mehr Informationen und aktuelle Programmversionen sind auf der
       <a href="http://www.gpg4win.de">Gpg4win Webpräsenz</a>
       verfügbar.
     </p>
diff --git a/doc/gpgex-en.html b/doc/gpgex-en.html
index 95c799f..7e7f255 100644
--- a/doc/gpgex-en.html
+++ b/doc/gpgex-en.html
@@ -11,37 +11,43 @@
     </p>
     <p>
       The GNU Privacy Guard extensions for the Windows Explorer shell
-      allow you to access cryptographic functions in Kleopatra using
-      the context menu to files.
+      allow you to access cryptographic functions of the GnuPG user
+      interface using the context menu to files.
     </p>
     <h2>Commands</h2>
     <h3>Decrypt and verify, Decrypt, Verify</h3>
     <p>
-      Decrypt and/or verify the selected files.  FIXME: Here will be a
-      link to the Kleopatra documentation for the decrypt and verify
+      Decrypt and/or verify the selected files.  FIXME: Add a link
+      to the Gpg4win documentation for the decrypt and verify
       functions.
     </p>
     <h3>Encrypt and sign, Encrypt, Sign</h3>
     <p>
-      Encrypt and/or sign the selected files.  FIXME: Here will be a
-      link to the Kleopatra documentation for the sign and encrypt
+      Encrypt and/or sign the selected files.  FIXME: Add a link to the
+      Gpg4win documentation for the sign and encrypt
       functions.
     </p>
     <h3>Import keys</h3>
     <p>
-      Import certificates in the selected files.  FIXME: Here will be
-      a link to the Kleopatra documentation for the import function.
+      Import certificates in the selected files.  FIXME: Add a link to the
+      Gpg4win documentation for the import function.
     <p>
     <h3>Help on GpgEX</h3>
     <p>
       Display this help.
     </p>
+    <h3>About GpgEX</h3>
+    <p>
+      Display the version number.
+    </p>
+
     <h2>Debugging</h2>
     <p>
-      If Kleopatra can not be accessed, a message box with an error
-      message will be displayed.  To get more information, you can
-      either check the error log of Kleopatra, or specify a debug
-      file: Select the key <code><acronym title="HKEY_LOCAL_MACHINE">HKLM</acronym>\Software\GNU\GnuPG</code>
+      If the GnuPG user interface (either GPA or Kleopatra) can not be
+      accessed, a message box with an error message will be displayed.
+      To get more information, you can either check the error log, or
+      specify a debug file: Select the
+      key <code><acronym title="HKEY_LOCAL_MACHINE">HKLM</acronym>\Software\GNU\GnuPG</code>
       in the registry editor, create a new string value with the name
       <code>GpgEX Debug File</code> and the value of the debug filename
       (e.g. <code>c:\temp\gpgex-debug-file.log</code>).  To this file
@@ -49,10 +55,6 @@
     </p>
     <h2>Reference</h2>
     <p>
-      More information about these crypto operations can be found in
-      the <a href="../HTML/en/kleopatra/index.html">Kleopatra
-      manual</a>.
-
       Please find more information and new software versions at
       the <a href="http://www.gpg4win.org/">Gpg4win website</a>.
     </p>

commit 7329e9a8d0ef661d8c306cc2f996bac718990f14
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Jun 27 17:38:25 2013 +0200

    Improve error message from the UI-server.
    
    * client.cc (call_assuan): Distinguish between connection and and
    server errors.
    --
    
    I consider it better not to use the term "server" here.  To the user
    it is a user interface and not a server.

diff --git a/src/ChangeLog b/src/ChangeLog
index a6f7a7c..05ecb0c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-27  Werner Koch  <wk at gnupg.org>
+
+	* client.cc (call_assuan): Distinguish between connection and and
+	server errors.
+
 2013-06-26  Werner Koch  <wk at gnupg.org>
 
 	* client.cc (default_uiserver_cmdline): Replace code with code
diff --git a/src/client.cc b/src/client.cc
index 6fc9162..37fe7ef 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -356,6 +356,8 @@ bool
 client_t::call_assuan (const char *cmd, vector<string> &filenames)
 {
   int rc = 0;
+  int connect_failed = 0;
+
   assuan_context_t ctx = NULL;
   string msg;
 
@@ -364,7 +366,10 @@ client_t::call_assuan (const char *cmd, vector<string> &filenames)
 
   rc = uiserver_connect (&ctx, this->window);
   if (rc)
-    goto leave;
+    {
+      connect_failed = 1;
+      goto leave;
+    }
 
   try
     {
@@ -405,12 +410,21 @@ client_t::call_assuan (const char *cmd, vector<string> &filenames)
   if (rc)
     {
       char buf[256];
-      snprintf (buf, sizeof (buf),
-                _("Can not access the UI-server%s%s%s:\r\n%s"),
-                gpgex_server::ui_server? " (":"",
-                gpgex_server::ui_server? gpgex_server::ui_server:"",
-                gpgex_server::ui_server? ")":"",
-		gpg_strerror (rc));
+
+      if (connect_failed)
+        snprintf (buf, sizeof (buf),
+                  _("Can not connect to the GnuPG user interface%s%s%s:\r\n%s"),
+                  gpgex_server::ui_server? " (":"",
+                  gpgex_server::ui_server? gpgex_server::ui_server:"",
+                  gpgex_server::ui_server? ")":"",
+                  gpg_strerror (rc));
+      else
+        snprintf (buf, sizeof (buf),
+                  _("Error returned by the GnuPG user interface%s%s%s:\r\n%s"),
+                  gpgex_server::ui_server? " (":"",
+                  gpgex_server::ui_server? gpgex_server::ui_server:"",
+                  gpgex_server::ui_server? ")":"",
+                  gpg_strerror (rc));
       MessageBox (this->window, buf, "GpgEX", MB_ICONINFORMATION);
     }
 

-----------------------------------------------------------------------

Summary of changes:
 doc/gpgex-de.html |   39 +++++++++++++++++++--------------------
 doc/gpgex-en.html |   34 ++++++++++++++++++----------------
 src/ChangeLog     |    5 +++++
 src/client.cc     |   28 +++++++++++++++++++++-------
 4 files changed, 63 insertions(+), 43 deletions(-)


hooks/post-receive
-- 
GnupG extension for the Windows Explorer
http://git.gnupg.org




More information about the Gnupg-commits mailing list