2009-01-31 [paul] 3.7.0cvs49
authorPaul Mangan <paul@claws-mail.org>
Sat, 31 Jan 2009 10:09:53 +0000 (10:09 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 31 Jan 2009 10:09:53 +0000 (10:09 +0000)
* src/compose.c
fix bug 1836, 'Quoted text still blue after
removal of quote-character'
comment out some debug_print's that needlessly
slow things down
* src/undo.c
comment out a debug_print that needlessly slows
things down

ChangeLog
PATCHSETS
configure.ac
src/compose.c
src/undo.c

index 839a6d6..281076b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-01-31 [paul]      3.7.0cvs49
+
+       * src/compose.c
+               fix bug 1836, 'Quoted text still blue after
+               removal of quote-character'
+               comment out some debug_print's that needlessly
+               slow things down
+       * src/undo.c
+               comment out a debug_print that needlessly slows
+               things down
+
 2009-01-31 [paul]      3.7.0cvs48
 
        * src/summaryview.c
index 6635bbb..7ea98eb 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.404 -r 1.395.2.405 src/summaryview.c;  ) > 3.7.0cvs46.patchset
 ( cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/prefs_compose_writing.c;  cvs diff -u -r 1.1.2.29 -r 1.1.2.30 src/prefs_message.c;  ) > 3.7.0cvs47.patchset
 ( cvs diff -u -r 1.395.2.405 -r 1.395.2.406 src/summaryview.c;  ) > 3.7.0cvs48.patchset
+( cvs diff -u -r 1.382.2.496 -r 1.382.2.497 src/compose.c;  cvs diff -u -r 1.13.2.18 -r 1.13.2.19 src/undo.c;  ) > 3.7.0cvs49.patchset
index 39dd77f..ef07eaf 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=48
+EXTRA_VERSION=49
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 339d1b6..e189941 100644 (file)
@@ -3866,7 +3866,7 @@ static gboolean compose_get_line_break_pos(GtkTextBuffer *buffer,
                can_break = TRUE;
        }
 
-       debug_print("compose_get_line_break_pos(): do_break = %d, pos = %d, col = %d\n", do_break, pos, col);
+//     debug_print("compose_get_line_break_pos(): do_break = %d, pos = %d, col = %d\n", do_break, pos, col);
 
        g_free(attrs);
        g_free(str);
@@ -4111,7 +4111,7 @@ static gboolean compose_beautify_paragraph(Compose *compose, GtkTextIter *par_it
                quote_str = compose_get_quote_str(buffer, &iter, &quote_len);
 
                if (quote_str) {
-                       debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
+//                     debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
                        if (startq_offset == -1) 
                                startq_offset = gtk_text_iter_get_offset(&iter);
                        quotelevel = get_quote_level(quote_str, prefs_common.quote_chars);
@@ -4357,11 +4357,11 @@ colorize:
                        }
                }
                if (!modified) {
-                       debug_print("not modified, out after %d lines\n", lines);
+//                     debug_print("not modified, out after %d lines\n", lines);
                        goto end;
                }
        }
-       debug_print("modified, out after %d lines\n", lines);
+//     debug_print("modified, out after %d lines\n", lines);
 end:
        g_free(itemized_chars);
        if (par_iter)
@@ -10012,6 +10012,7 @@ static void compose_grab_focus_cb(GtkWidget *widget, Compose *compose)
 static void compose_changed_cb(GtkTextBuffer *textbuf, Compose *compose)
 {
        compose->modified = TRUE;
+       compose_beautify_paragraph(compose, NULL, TRUE);
 #ifndef GENERIC_UMPC
        compose_set_title(compose);
 #endif
index a99d6bc..bbb6022 100644 (file)
@@ -526,7 +526,7 @@ void undo_unblock(UndoMain *undostruct)
 
 void undo_wrapping(UndoMain *undostruct, gboolean wrap)
 {
-       debug_print("undo wrapping now %d\n", wrap);
+//     debug_print("undo wrapping now %d\n", wrap);
        undostruct->wrap = wrap;
 }