sync with 0.8.5cvs15
authorPaul Mangan <paul@claws-mail.org>
Mon, 28 Oct 2002 08:29:39 +0000 (08:29 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 28 Oct 2002 08:29:39 +0000 (08:29 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/codeconv.c
src/html.c
src/html.h

index b85f4c2f641a52ac8f897ddd5fb401a1186ed280..442057cd78b0e65e7cce32434cd9f993d7e574f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2002-10-28
+
+       * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
+         infinite loop if a invalid code appeared.
+
+2002-10-25
+
+       * src/codeconv.c: conv_codeset_strdup()
+         src/html.[ch]: html_read_line(): don't output conversion failure
+         warnings.
+         Added HTML_CONV_FAILED to the enum HTMLState.
+
+2002-10-24
+
+       * implemented per-folder auto-set address (still in progress).
+       * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
+         and set entries from it (if mailto is empty).
+         compose_entry_append(): activate menu if required.
+         compose_entries_set_from_item(): new.
+       * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
+         auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
+         ac_apply_sub.
+         folder_build_tree(), folder_read_folder_func(),
+         folder_write_list_recursive(): added the above members.
+       * src/prefs_folder_item.[ch]: added auto-set addresses.
+       * src/pop.[ch]: removed Pop3State::prev_folder.
+
 2002-10-11
 
        * src/compose.c: allow dropping files by also "moving" files from a
index 178909457b690d098db6c7116cccae829c6cb3c2..8921a0562ea7a05d99d08f3a9a6b467766ce3525 100644 (file)
@@ -1,3 +1,10 @@
+2002-10-28 [paul]      0.8.5claws57
+
+       * sync with 0.8.5cvs15
+               see ChangeLog 2002-10-28 and 2002-10-25
+               
+       Note: ChangeLog entry 2002-10-24 is not sync'ed.
+
 2002-10-27 [oliver]    0.8.5claws56
 
        * src/pop.c
index 1e5afcba4a8e767756d85836ebe117eae0eb5c57..12892e52cc5416d83535f702bf0f287041aa6b47 100644 (file)
@@ -1,3 +1,30 @@
+2002-10-28
+
+       * src/codeconv.c: conv_euctojis(): ÉÔÀµ¤Ê¥³¡¼¥É¤¬½Ð¸½¤·¤¿¤é̵¸Â
+         ¥ë¡¼¥×¤Ë´Ù¤ë¥Ð¥°¤ò½¤Àµ¡£
+
+2002-10-25
+
+       * src/codeconv.c: conv_codeset_strdup()
+         src/html.[ch]: html_read_line(): ÊÑ´¹¼ºÇԤηٹð¤ò½Ð¤µ¤Ê¤¤¤è¤¦¤Ë
+         ¤·¤¿¡£
+         enum HTMLState ¤Ë HTML_CONV_FAILED ¤òÄɲá£
+
+2002-10-24
+
+       * ¥Õ¥©¥ë¥ÀËè¤Î¼«Æ°»ØÄꥢ¥É¥ì¥¹¤ò¼ÂÁõ(¤Þ¤Àºî¶ÈÃæ)¡£
+       * src/compose.[ch]: compose_new(): °ú¿ô¤Ë FolderItem ¤òÄɲä·¡¢
+         (mailto ¤¬¶õ¤Ç¤¢¤ì¤Ð)¤½¤ì¤«¤é¥¨¥ó¥È¥ê¤òÀßÄê¡£
+         compose_entry_append(): É¬ÍפǤ¢¤ì¤Ð¥á¥Ë¥å¡¼¤òÍ­¸ú¤Ë¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£
+         compose_entries_set_from_item(): ¿·µ¬¡£
+       * src/folder.[ch]: auto_to, use_auto_to_on_reply, auto_cc, auto_bcc,
+         auto_replyto ¤ò FolderItem ¤ËÄɲä·¡¢ apply_sub ¤ò ac_apply_sub
+         ¤Ë̾¾ÎÊѹ¹¡£
+         folder_build_tree(), folder_read_folder_func(),
+         folder_write_list_recursive(): ¾åµ­¥á¥ó¥Ð¤òÄɲá£
+       * src/prefs_folder_item.[ch]: ¼«Æ°»ØÄꥢ¥É¥ì¥¹¤òÄɲá£
+       * src/pop.[ch]: Pop3State::prev_folder ¤òºï½ü¡£
+
 2002-10-11
 
        * src/compose.c: ¥Õ¥¡¥¤¥ë¥Þ¥Í¡¼¥¸¥ã¤«¤é¥Õ¥¡¥¤¥ë¤ò¡Ö°ÜÆ°¡×¤¹¤ë¤³¤È¤Ç
index a8ee10f201d0cbb4f692442e3662a8e20f5375b8..c81c17a5b48a1dcdf902e1219ecf1a6520d33745 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws56
+EXTRA_VERSION=claws57
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 83df42bb2d5a2aadc1be04265ccb03abeffb0d70..f0c072256f1701ee39ac1f3c27e3a23614e11e9d 100644 (file)
@@ -231,6 +231,10 @@ void conv_euctojis(gchar *outbuf, gint outlen, const gchar *inbuf)
                                        }
                                }
                        }
+               } else {
+                       K_OUT();
+                       *out++ = SUBST_CHAR;
+                       in++;
                }
        }
 
@@ -626,9 +630,11 @@ gchar *conv_codeset_strdup(const gchar *inbuf,
            == 0)
                return buf;
        else {
+#if 0
                g_warning("code conversion from %s to %s failed\n",
                          codesets && codesets[0] ? codesets[0] : "(unknown)",
                          dest_codeset);
+#endif /* 0 */
                return NULL;
        }
 #else /* !HAVE_LIBJCONV */
index fddb6533849804ead8400af54d9fc7c19e15002f..9758d6e1f15e68c05fdad3ed8fad4cab3ad7de09 100644 (file)
@@ -451,15 +451,13 @@ static HTMLState html_read_line(HTMLParser *parser)
        }
 
        if (conv_convert(parser->conv, buf2, sizeof(buf2), buf) < 0) {
-               g_warning("html_read_line(): code conversion failed\n");
-
                index = parser->bufp - parser->buf->str;
 
                g_string_append(parser->buf, buf);
 
                parser->bufp = parser->buf->str + index;
 
-               return HTML_ERR;
+               return HTML_CONV_FAILED;
        }
 
        index = parser->bufp - parser->buf->str;
index 41853b582843f66909305da8cb2b2130658d05ff..5b17dc222e35deca2c3391ee29bcb83061d45a19 100644 (file)
@@ -36,6 +36,7 @@ typedef enum
        HTML_FONT,
        HTML_PRE,
        HTML_UNKNOWN,
+       HTML_CONV_FAILED,
        HTML_ERR,
        HTML_EOF
 } HTMLState;