sync with 0.8.6cvs26
authorPaul Mangan <paul@claws-mail.org>
Fri, 20 Dec 2002 07:33:23 +0000 (07:33 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 20 Dec 2002 07:33:23 +0000 (07:33 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
NEWS
configure.in
src/common/defs.h
src/common/utils.c
src/compose.c
src/mimeview.c
src/prefs_common.c

index efb6c69..aeb1372 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2002-12-20
+
+       * src/textview.c: textview_make_clickable_parts(): fixed incorrect
+         parsing of email addresses.
+
+2002-12-19
+
+       * src/defs.h: added DEFAULT_BROWSER_CMD.
+       * src/mimeview.c: mimeview_view_file()
+         src/prefs_common.c: prefs_other_create()
+         src/utils.c: open_uri(): changed the default web browser to
+         mozilla, and changed 'raise' command (which is undocumented)
+         to 'new-window' in 'netscape -remote'.
+
+2002-12-19
+
+       * src/compose.c: compose_send_control_enter(): fixed crash on
+         Ctrl-Enter when Message/Send has no accelerator key (thanks to
+         Sergey Vlasov).
+
 2002-12-18
 
        * src/mainwindow.c:
index e856889..2eb5e61 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-20 [paul]      0.8.6claws118
+
+       * sync with 0.8.6cvs26
+               see ChangeLog 2002-12-19 and 2002-12-20
+
 2002-12-19 [alfons]    0.8.6claws117
 
        * src/textview.c
index 7d6095c..6be15c1 100644 (file)
@@ -1,3 +1,23 @@
+2002-12-20
+
+       * src/textview.c: textview_make_clickable_parts(): ¸í¤Ã¤¿ email
+         ¥¢¥É¥ì¥¹¤Î¥Ñ¡¼¥¹¤ò½¤Àµ¡£
+
+2002-12-19
+
+       * src/defs.h: DEFAULT_BROWSER_CMD ¤òÄɲá£
+       * src/mimeview.c: mimeview_view_file()
+         src/prefs_common.c: prefs_other_create()
+         src/utils.c: open_uri(): ¥Ç¥Õ¥©¥ë¥È¤Î web ¥Ö¥é¥¦¥¶¤ò mozilla ¤Ë
+         Êѹ¹¤·¡¢ 'netscape -remote' Ãæ¤Î 'remote' ¥³¥Þ¥ó¥É(Èó¸ø³«)¤ò
+         'new-window' ¤ËÊѹ¹¡£
+
+2002-12-19
+
+       * src/compose.c: compose_send_control_enter(): ¥á¥Ã¥»¡¼¥¸/Á÷¿®
+         ¤¬¥¢¥¯¥»¥é¥ì¡¼¥¿¥­¡¼¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë Ctrl-Enter ¤ò²¡¤¹¤È
+         ¥¯¥é¥Ã¥·¥å¤¹¤ëÌäÂê¤ò½¤Àµ(Sergey Vlasov ¤µ¤ó thanks)¡£
+
 2002-12-18
 
        * src/mainwindow.c:
diff --git a/NEWS b/NEWS
index cf6de8d..8af7dcf 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,19 @@
 Changes of Sylpheed
 
+* 0.8.7
+
+    * The extended regular expression has been supported on filtering.
+    * The option to resize images to fit the size of view has been added.
+    * The previous account is now restored on reediting draft messages.
+    * The routine of MIME header encoding has been rewritten completely,
+      and Q-encoding for single-byte locales has been also implemented.
+    * Strings beginning with "www." are now treated as URI.
+    * The common preferences dialog has been reorganized a bit.
+    * Code cleanups for the implementation of SMTP has been made.
+    * Autotools and libtool have been updated.
+    * A fix for font loading problem has been made.
+    * Other minor bugfixes have been made.
+
 * 0.8.6
 
     * Per-folder account setting has been implemented.
index b9de378..6efbc0a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws117
+EXTRA_VERSION=claws118
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 7f33371..db6d514 100644 (file)
@@ -74,6 +74,7 @@
 /* #define DEFAULT_INC_PATH    "/usr/bin/imget" */
 /* #define DEFAULT_INC_PROGRAM "imget" */
 #define DEFAULT_SENDMAIL_CMD   "/usr/sbin/sendmail -t"
+#define DEFAULT_BROWSER_CMD    "mozilla -remote 'openURL(%s, new-window)'"
 
 #ifdef _PATH_MAILDIR
 #  define DEFAULT_SPOOL_PATH   _PATH_MAILDIR
index d655e7e..8db5018 100644 (file)
@@ -2751,7 +2751,6 @@ void decode_uri(gchar *decoded_uri, const gchar *encoded_uri)
 
 gint open_uri(const gchar *uri, const gchar *cmdline)
 {
-       static gchar *default_cmdline = "netscape -remote openURL(%s,raise)";
        gchar buf[BUFFSIZE];
        gchar *p;
        gchar encoded_uri[BUFFSIZE];
@@ -2769,7 +2768,7 @@ gint open_uri(const gchar *uri, const gchar *cmdline)
                if (cmdline)
                        g_warning("Open URI command line is invalid: `%s'",
                                  cmdline);
-               g_snprintf(buf, sizeof(buf), default_cmdline, encoded_uri);
+               g_snprintf(buf, sizeof(buf), DEFAULT_BROWSER_CMD, encoded_uri);
        }
        
        execute_command_line(buf, TRUE);
index ea71409..a9e5d85 100644 (file)
@@ -7081,8 +7081,11 @@ static gboolean compose_send_control_enter(Compose *compose)
        ifactory = gtk_item_factory_from_widget(compose->menubar);
        send_menu = gtk_item_factory_get_widget(ifactory, "/Message/Send");
        list = gtk_accel_group_entries_from_object(GTK_OBJECT(send_menu));
+       if (!list)
+               return FALSE;
+
        accel = (GtkAccelEntry *)list->data;
-       if (accel->accelerator_key == kev->keyval &&
+       if (accel && accel->accelerator_key == kev->keyval &&
            (accel->accelerator_mods & ~ignored_mods) ==
            (kev->state & ~ignored_mods)) {
                compose_send_cb(compose, 0, NULL);
index bb5da71..03d31a6 100644 (file)
@@ -976,8 +976,7 @@ static void mimeview_view_file(const gchar *filename, MimeInfo *partinfo,
 {
        static gchar *default_image_cmdline = "display '%s'";
        static gchar *default_audio_cmdline = "play '%s'";
-       static gchar *default_html_cmdline =
-               "netscape -remote 'openURL(%s,raise)'";
+       static gchar *default_html_cmdline = DEFAULT_BROWSER_CMD;
        static gchar *mime_cmdline = "metamail -d -b -x -c %s '%s'";
        gchar buf[1024];
        gchar m_buf[1024];
index d51161b..a31673b 100644 (file)
@@ -779,7 +779,7 @@ static PrefParam param[] = {
         &interface.entry_pixmap_theme, prefs_set_data_from_entry, prefs_set_entry},
        
        /* Other */
-       {"uri_open_command", "netscape -remote 'openURL(%s,raise)'",
+       {"uri_open_command", DEFAULT_BROWSER_CMD,
         &prefs_common.uri_cmd, P_STRING,
         &other.uri_entry, prefs_set_data_from_entry, prefs_set_entry},
        {"print_command", "lpr %s", &prefs_common.print_cmd, P_STRING,
@@ -2890,11 +2890,13 @@ static void prefs_other_create(void)
        gtk_table_attach (GTK_TABLE (ext_table), uri_combo, 1, 2, 0, 1,
                          GTK_EXPAND | GTK_FILL, 0, 0, 0);
        gtkut_combo_set_items (GTK_COMBO (uri_combo),
+                              DEFAULT_BROWSER_CMD,
+                              "galeon --new-tab '%s'",
                               "galeon '%s'",
                               "mozilla -remote 'openurl(%s,new-window)'",
-                              "netscape -remote 'openURL(%s,raise)'",
+                              "netscape -remote 'openURL(%s, new-window)'",
                               "netscape '%s'",
-                              "gnome-moz-remote --raise --newwin '%s'",
+                              "gnome-moz-remote --newwin '%s'",
                               "kfmclient openURL '%s'",
                               "opera -newwindow '%s'",
                               "kterm -e w3m '%s'",