sync with 0.8.6cvs27
authorPaul Mangan <paul@claws-mail.org>
Fri, 20 Dec 2002 08:40:18 +0000 (08:40 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 20 Dec 2002 08:40:18 +0000 (08:40 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
NEWS
configure.in
src/codeconv.c
src/compose.c

index aeb1372..813ed1b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-12-20
+
+       * src/codeconv.c: conv_encode_header(): fix for redundant space on
+         line-breaking.
+       * src/compose.c: compose_convert_header(): always pass string to
+         conv_encode_header() for line-breaking.
+
 2002-12-20
 
        * src/textview.c: textview_make_clickable_parts(): fixed incorrect
index 2eb5e61..52aac08 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-20 [paul]      0.8.6claws119
+
+       * sync with 0.8.6cvs27
+               see ChangeLog 2002-12-20
+
 2002-12-20 [paul]      0.8.6claws118
 
        * sync with 0.8.6cvs26
index 6be15c1..1411670 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-20
+
+       * src/codeconv.c: conv_encode_header(): ²þ¹Ô»þ¤Î;ʬ¤Ê¶õÇò¤Î½¤Àµ¡£
+       * src/compose.c: compose_convert_header(): ²þ¹Ô¤¹¤ë¤¿¤á¤Ë¾ï¤Ë
+         Ê¸»úÎó¤ò conv_encode_header() ¤ËÅϤ¹¤è¤¦¤Ë¤·¤¿¡£
+
 2002-12-20
 
        * src/textview.c: textview_make_clickable_parts(): ¸í¤Ã¤¿ email
diff --git a/NEWS b/NEWS
index 8af7dcf..62190ab 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,9 @@ Changes of Sylpheed
     * 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 default WWW browser has been changed to Mozilla.
     * The common preferences dialog has been reorganized a bit.
+    * The remote command operation can be executed without X now.
     * 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.
index 6efbc0a..59ccb01 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws118
+EXTRA_VERSION=claws119
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index e7c4cb7..aaddd26 100644 (file)
@@ -1066,6 +1066,8 @@ void conv_unmime_header(gchar *outbuf, gint outlen, const gchar *str,
        if (cond) {                                             \
                if (destp > dest && isspace(*(destp - 1)))      \
                        destp--;                                \
+               else if (isspace(*srcp))                        \
+                       srcp++;                                 \
                *destp++ = '\n';                                \
                *destp++ = ' ';                                 \
                left = MAX_LINELEN - 1;                         \
index a9e5d85..6f74b4b 100644 (file)
@@ -3741,8 +3741,8 @@ static void compose_write_attach(Compose *compose, FILE *fp)
                        fprintf(fp, "Content-Type: %s\n", ainfo->content_type);
                        fprintf(fp, "Content-Disposition: inline\n");
                } else {
-                       conv_encode_header(filename, sizeof(filename),
-                                          ainfo->name, 12);
+                       compose_convert_header(filename, sizeof(filename),
+                                              ainfo->name, 12);
                        fprintf(fp, "Content-Type: %s;\n"
                                    " name=\"%s\"\n",
                                ainfo->content_type, filename);
@@ -4193,12 +4193,7 @@ static void compose_convert_header(gchar *dest, gint len, gchar *src,
 
        remove_return(src);
 
-       if (is_ascii_str(src)) {
-               strncpy2(dest, src, len);
-               dest[len - 1] = '\0';
-               return;
-       } else
-               conv_encode_header(dest, len, src, header_len);
+       conv_encode_header(dest, len, src, header_len);
 }
 
 static void compose_generate_msgid(Compose *compose, gchar *buf, gint len)