sync with 0.8.1cvs31
authorPaul Mangan <paul@claws-mail.org>
Mon, 26 Aug 2002 08:41:11 +0000 (08:41 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 26 Aug 2002 08:41:11 +0000 (08:41 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
NEWS
configure.in
src/compose.c

index c268dd7..4527aa8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-26
+
+       * src/compose.c:
+         join_next_line()
+         compose_wrap_line_all(): backed out the change to join lines that
+         are not indented.
+
 2002-08-23
 
        * src/alertpanel.c: alertpanel_create(): minor modification.
index 5a5ce66..b470ee1 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-26 [paul]      0.8.1claws120
+
+       * sync with 0.8.1cvs31
+               see ChangeLog 2002-08-26
+
 2002-08-25 [alfons]    0.8.1claws119
 
        * src/procmsg.c
index ed0e3bb..9fcfca5 100644 (file)
@@ -1,3 +1,10 @@
+2002-08-26
+
+       * src/compose.c:
+         join_next_line()
+         compose_wrap_line_all(): ¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¹Ô¤ò·ë¹ç¤¹¤ëÊѹ¹
+         ¤ò¸µ¤ËÌᤷ¤¿¡£
+
 2002-08-23
 
        * src/alertpanel.c: alertpanel_create(): ¾¯¤·½¤Àµ¡£
diff --git a/NEWS b/NEWS
index f58eccc..75cdae4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -14,7 +14,6 @@ Changes of Sylpheed
       o The ascii-armored encryption and clear text signing has been
         implemented.
     * Line-wrapping improvements and fix
-      o The lines that are not quoted will be wrapped correctly.
       o The cursor movement on auto-wrapping has been fixed.
       o Flickers on auto-wrapping has been repressed.
     * Socket I/O timeout has been implemented.
index 392fff4..e72395a 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws119
+EXTRA_VERSION=claws120
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 0011a93..896c7a7 100644 (file)
@@ -2336,7 +2336,7 @@ static gboolean join_next_line(GtkSText *text, guint start_pos, guint tlen,
 
        indent_len = get_indent_length(text, start_pos, tlen);
 
-       if (indent_len == prev_ilen) {
+       if (indent_len > 0 && indent_len == prev_ilen) {
                GET_CHAR(start_pos + indent_len, cbuf, ch_len);
                if (ch_len > 0 && (cbuf[0] != '\n'))
                        do_join = TRUE;
@@ -2407,7 +2407,7 @@ static void compose_wrap_line_all(Compose *compose)
                        gchar cb[MB_LEN_MAX];
 
                        /* should we join the next line */
-                       if (do_delete &&
+                       if (i_len != cur_len && do_delete &&
                            join_next_line(text, cur_pos + 1, tlen, i_len))
                                do_delete = TRUE;
                        else
@@ -2556,9 +2556,11 @@ static void compose_wrap_line_all(Compose *compose)
                        cur_pos = line_pos - 1;
                        /* start over with current line */
                        is_new_line = TRUE;
-                       line_len = 0;
-                       cur_len = 0;
-                       do_delete = TRUE;
+                       line_len = cur_len = 0;
+                       if (i_len)
+                               do_delete = TRUE;
+                       else
+                               do_delete = FALSE;
 #ifdef WRAP_DEBUG
                        g_print("after CR insert ");
                        dump_text(text, line_pos, tlen, 1);