[svn] GpgOL - r300 - in trunk: . po src

svn author wk cvs at cvs.gnupg.org
Thu Jun 18 20:32:37 CEST 2009


Author: wk
Date: 2009-06-18 20:32:36 +0200 (Thu, 18 Jun 2009)
New Revision: 300

Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/configure.ac
   trunk/po/de.po
   trunk/po/sv.po
   trunk/src/ChangeLog
   trunk/src/common.h
   trunk/src/main.c
   trunk/src/mimeparser.c
   trunk/src/olflange.cpp
Log:
About to release 1.0.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/ChangeLog	2009-06-18 18:32:36 UTC (rev 300)
@@ -1,3 +1,7 @@
+2009-06-18  Werner Koch  <wk at g10code.com>
+
+	Release 1.0.0.
+
 2009-02-27  Werner Koch  <wk at g10code.com>
 
 	Release 0.10.19.

Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/src/ChangeLog	2009-06-18 18:32:36 UTC (rev 300)
@@ -1,3 +1,8 @@
+2009-06-18  Werner Koch  <wk at g10code.com>
+
+	* common.h (struct opt): Add ANNOUNCE_NUMBER.
+	* main.c (write_options, read_options): Store and load that number.
+
 2009-02-26  Werner Koch  <wk at g10code.com>
 
 	* mimeparser.c (start_attachment): Try to figure out a good file

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/NEWS	2009-06-18 18:32:36 UTC (rev 300)
@@ -1,3 +1,11 @@
+Noteworthy changes for version 1.0.0 (2009-06-18)
+=================================================
+
+ * Show a notice about portential problems.
+
+ * After about 2 years of development, the 1.0 version is now due.
+
+
 Noteworthy changes for version 0.10.19 (2009-02-27)
 ===================================================
 

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/configure.ac	2009-06-18 18:32:36 UTC (rev 300)
@@ -16,7 +16,7 @@
 # Remember to change the version number immediately *after* a release.
 # Set my_issvn to "yes" for non-released code.  Remember to run an
 # "svn up" and "autogen.sh" right before creating a distribution.
-m4_define([my_version], [0.10.19])
+m4_define([my_version], [1.0.0])
 m4_define([my_issvn], [no])
 
 m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \

Modified: trunk/po/de.po  [not shown]
Modified: trunk/po/sv.po  [not shown]
Modified: trunk/src/common.h
===================================================================
--- trunk/src/common.h	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/src/common.h	2009-06-18 18:32:36 UTC (rev 300)
@@ -135,9 +135,12 @@
   /* The SVN revision as stored in the registry.  */
   int svn_revision; 
 
-  /* The SVN revision of the the binary used to install the forms.  */
+  /* The SVN revision of the binary used to install the forms.  */
   int forms_revision;
 
+  /* The stored number of the binary which showed the last announcement.  */
+  int announce_number;
+
   /* Disable message processing until restart.  This is required to
      implement message reverting as a perparation to remove GpgOL.  */
   int disable_gpgol;

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/src/main.c	2009-06-18 18:32:36 UTC (rev 300)
@@ -639,6 +639,10 @@
   opt.forms_revision = val? atol (val) : 0;
   xfree (val); val = NULL;
 
+  load_extension_value ("announceNumber", &val);
+  opt.announce_number = val? atol (val) : 0;
+  xfree (val); val = NULL;
+
   load_extension_value ("bodyAsAttachment", &val);
   opt.body_as_attachment = val == NULL || *val != '1'? 0 : 1;
   xfree (val); val = NULL;
@@ -717,6 +721,7 @@
     {"preferHtml",               0, opt.prefer_html},
     {"svnRevision",              1, opt.svn_revision},
     {"formsRevision",            1, opt.forms_revision},
+    {"announceNumber",           1, opt.announce_number},
     {"bodyAsAttachment",         0, opt.body_as_attachment},
     {NULL, 0}
   };

Modified: trunk/src/mimeparser.c
===================================================================
--- trunk/src/mimeparser.c	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/src/mimeparser.c	2009-06-18 18:32:36 UTC (rev 300)
@@ -405,7 +405,7 @@
                 }
           }
 
-        snprintf (buf, 100, "gpgol%03d.%s", ctx->part_counter, suffix);
+        snprintf (buf, sizeof buf, "gpgol%03d.%s", ctx->part_counter, suffix);
         prop.Value.lpszA = buf;
       }
     hr = HrSetOneProp ((LPMAPIPROP)newatt, &prop);

Modified: trunk/src/olflange.cpp
===================================================================
--- trunk/src/olflange.cpp	2009-02-27 11:20:26 UTC (rev 299)
+++ trunk/src/olflange.cpp	2009-06-18 18:32:36 UTC (rev 300)
@@ -430,6 +430,40 @@
       g_initdll = TRUE;
       log_debug ("%s:%s: first time initialization done\n",
                  SRCNAME, __func__);
+
+#define ANNOUNCE_NUMBER 1
+      if ( ANNOUNCE_NUMBER > opt.announce_number )
+        {
+          /* Note: If you want to change the announcment, you need to
+             increment the ANNOUNCE_NUMBER above.  The number assures
+             that a user will see this message only once.  */
+          MessageBox 
+            (NULL,
+             _("Welcome to GpgOL 1.0\n"
+               "\n"
+               "GpgOL adds integrated OpenPGP and S/MIME encryption "
+               "and digital signing support to Outlook 2003 and 2007.\n"
+               "\n"
+               "Although we tested this software extensively, we can't "
+               "give you any guarantee that it will work as expected. "
+               "The programming interface we are using has not been properly "
+               "documented by Microsoft and thus the functionality of GpgOL "
+               "may cease to work with an update of your Windows system.\n"
+               "\n"
+               "WE STRONGLY ADVISE TO RUN ENCRYPTION TESTS BEFORE YOU START "
+               "TO USE GPGOL ON ANY SENSITIVE DATA!\n"
+               "\n"
+               "There are some known problems, the most severe being "
+               "that sending encrypted or signed mails using an Exchange "
+               "based account does not work.  Using GpgOL along with "
+               "other Outlook plugins may in some cases not work."
+               "\n"),     
+             "GpgOL", MB_ICONINFORMATION|MB_OK);
+          /* Show this warning only once.  */
+          opt.announce_number = ANNOUNCE_NUMBER;
+          write_options ();
+        }
+
       if ( SVN_REVISION > opt.svn_revision )
         {
           MessageBox (NULL,




More information about the Gnupg-commits mailing list