sync with 0.7.6cvs13
authorPaul Mangan <paul@claws-mail.org>
Wed, 22 May 2002 18:42:55 +0000 (18:42 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 22 May 2002 18:42:55 +0000 (18:42 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/codeconv.c
src/prefs_common.c

index 5d8b741..238ac3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2002-05-22
+
+       * src/compose.c: compose_redirect_write_to_file(): correct the target
+         for change_file_mode_rw(). Check if fclose() succeeded. Unlink
+         incomplete file when an error occured.
+
+2002-05-22
+
+       * src/compose.c:
+         compose_create(): disable menus for draft on redirection mode.
+         compose_redirect_write_to_file(): correct the error handling of
+         fwrite().
+       * src/prefs_common.c: turned off the "Display recipient on `From'
+         column if sender is yourself" option by default.
+
+2002-05-21
+
+       * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
+         Based on the implementation of the claws branch.
+         compose_redirect(): create a new window and make it uneditable.
+         compose_redirect_write_to_file(): copy headers and body of
+         original message except for some.
+         compose_redirect_write_headers(): add extra "Resent-*" headers.
+         compose_create(): set menu sensitivity for redirection mode.
+
+2002-05-20
+
+       * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
+         space is inserted between encoded string and the following folded
+         one (thanks to Masahiro Tomita).
+
+2002-05-19
+
+       * src/mainwindow.[ch]: some refactoring has been made.
+         main_window_toggle_message_view(): moved summary_toggle_view_real()
+         here.
+       * src/messageview.[ch]: messageview_is_visible(): new.
+       * src/summary_search.c
+         src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
+         Instead use messageview_is_visible().
+
 2002-05-17
 
        * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
index d32d36f..a94e1d2 100644 (file)
@@ -1,3 +1,11 @@
+2002-05-22 [paul]      0.7.6claws11
+
+       * sync with 0.7.6cvs13
+         src/codeconv.c
+               see ChangeLog 2002-05-20
+         src/prefs_common.c
+               see ChangeLog 2002-05-22
+
 2002-05-21 [melvin]    0.7.6claws10
 
        * src/folderview.c
index 87c43d3..2748f92 100644 (file)
@@ -1,3 +1,46 @@
+2002-05-22
+
+       * src/compose.c: compose_redirect_write_to_file():
+         change_file_mode_rw() ¤ÎÂоݤòÄûÀµ¡£ fclose() ¤¬À®¸ù¤·¤¿¤«¤É¤¦¤«
+         ¤ò¥Á¥§¥Ã¥¯¡£¥¨¥é¡¼¤¬µ¯¤³¤Ã¤¿¾ì¹ç¤ÏÉÔ´°Á´¤Ê¥Õ¥¡¥¤¥ë¤ò unlink ¡£
+
+2002-05-22
+
+       * src/compose.c:
+         compose_create(): ¥ê¥À¥¤¥ì¥¯¥È¥â¡¼¥É»þ¤ÏÁð¹Æ´ØÏ¢¤Î¥á¥Ë¥å¡¼¤ò̵¸ú
+         ¤Ë¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£
+         compose_redirect_write_to_file(): fwrite() ¤Î¥¨¥é¡¼¥Ï¥ó¥É¥ê¥ó¥°
+         ¤ò½¤Àµ¡£
+       * src/prefs_common.c: ¡Öº¹½Ð¿Í¤¬¼«Ê¬¤Î¾ì¹ç¤Ï `º¹½Ð¿Í' ¥«¥é¥à¤Ë°¸Àè
+         ¤òɽ¼¨¤¹¤ë¡×¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤Ç¥ª¥Õ¤Ë¤·¤¿¡£
+
+2002-05-21
+
+       * src/compose.[ch]: ¡Ö¥ê¥À¥¤¥ì¥¯¥È¡×(¤Þ¤¿¤Ï Bounce)µ¡Ç½¤ò¼ÂÁõ¡£
+         claws ¥Ö¥é¥ó¥Á¤Î¼ÂÁõ¤Ë´ð¤Å¤¯¡£
+         compose_redirect(): ¿·µ¬¥¦¥£¥ó¥É¥¦¤òºîÀ®¤·¡¢ÊÔ½¸ÉԲĤˤ¹¤ë¡£
+         compose_redirect_write_to_file(): ¤¤¤¯¤Ä¤«¤ò½ü¤¤¤Æ¸µ¤Î¥á¥Ã¥»¡¼¥¸
+         ¤Î¥Ø¥Ã¥À¤ÈËÜʸ¤ò¥³¥Ô¡¼¡£
+         compose_redirect_write_headers(): ¤µ¤é¤Ë "Resent-*" ¥Ø¥Ã¥À¤òÄɲá£
+         compose_create(): ¥ê¥À¥¤¥ì¥¯¥È¥â¡¼¥É»þ¤Î¥á¥Ë¥å¡¼¥»¥ó¥·¥Æ¥£¥Ó¥Æ¥£
+         ¤ò¥»¥Ã¥È¡£
+
+2002-05-20
+
+       * src/codeconv.c: conv_encode_header(): ¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿Ê¸»úÎó¤È
+         ¼¡¤ÎÀÞ¤êÊÖ¤µ¤ì¤¿Ê¸»úÎó¤È¤Î´Ö¤ËÉÔÍפʥ¹¥Ú¡¼¥¹¤¬ÁÞÆþ¤µ¤ì¤ë¥Ð¥°¤ò
+         ½¤Àµ(¤È¤ß¤¿¤Þ¤µ¤Ò¤í¤µ¤ó thanks)¡£
+
+2002-05-19
+
+       * src/mainwindow.[ch]: ¥ê¥Õ¥¡¥¯¥¿¥ê¥ó¥°¤ò¹Ô¤Ã¤¿¡£
+         main_window_toggle_message_view(): summary_toggle_view_real() ¤ò
+         ¤³¤³¤Ë°ÜÆ°¡£
+       * src/messageview.[ch]: messageview_is_visible(): ¿·µ¬¡£
+       * src/summary_search.c
+         src/summaryview.[ch]: SummaryView::msg_is_toggled_on: ºï½ü¡£
+         Âå¤ï¤ê¤Ë messageview_is_visible() ¤ò»ÈÍÑ¡£
+
 2002-05-17
 
        * src/mainwindow.c: ¡Ö¤¹¤Ù¤Æ¤Î¥¹¥ì¥Ã¥É¤òŸ³«/ÊĤ¸¤ë¡×¥á¥Ë¥å¡¼¤òÄɲá£
index c9d3eee..e5acc4d 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws10
+EXTRA_VERSION=claws11
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 5b5ee23..9aac44f 100644 (file)
@@ -1042,6 +1042,7 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src,
        while (*wsrcp) {
                wchar_t *wp, *wtmp, *wtmpp;
                gint nspc = 0;
+               gboolean str_is_non_ascii;
 
                /* irresponsible buffer overrun check */
                if ((len - (destp - dest)) < (MAX_LINELEN + 1) * 2) break;
@@ -1052,8 +1053,11 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src,
                        wp = wsrcp;
                        while ((wp = find_wspace(wp)) != NULL)
                                if (!is_next_nonascii(wp)) break;
-               } else
+                       str_is_non_ascii = TRUE;
+               } else {
                        wp = find_wspace(wsrcp);
+                       str_is_non_ascii = FALSE;
+               }
 
                if (wp != NULL) {
                        wtmp = wcsndup(wsrcp, wp - wsrcp);
@@ -1088,7 +1092,7 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src,
                                if (prev_mbl == 1 && mbl == 2)
                                        mb_seqlen += JIS_SEQLEN * 2;
 
-                               if (mb_seqlen) {
+                               if (str_is_non_ascii) {
                                        gint dlen = mimehdr_len +
                                                B64LEN(tlen + mb_seqlen + mbl);
 
@@ -1145,7 +1149,7 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src,
                                line_len++;
                        }
 
-                       if (mb_seqlen) {
+                       if (str_is_non_ascii) {
                                gchar *tmp_jis;
 
                                tmp_jis = g_new(gchar, tlen + mb_seqlen + 1);
index 33f58a8..f4c2e99 100644 (file)
@@ -484,7 +484,7 @@ static PrefParam param[] = {
         prefs_set_data_from_toggle, prefs_set_toggle},
 
        /* Display: Summary View */
-       {"enable_swap_from", "TRUE", &prefs_common.swap_from, P_BOOL,
+       {"enable_swap_from", "FALSE", &prefs_common.swap_from, P_BOOL,
         &display.chkbtn_swapfrom,
         prefs_set_data_from_toggle, prefs_set_toggle},
        {"enable_hscrollbar", "TRUE", &prefs_common.enable_hscrollbar, P_BOOL,