talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 3a2c2476bd8523bb15ce1b12756947bd79e46208
parent 8330f338cc57889a71f2470c2b0e8218d29b6c4f
Author: Paul Mangan <paul@claws-mail.org>
Date:   Sat, 31 Jan 2009 10:09:53 +0000

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

Diffstat:
MChangeLog | 11+++++++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/compose.c | 9+++++----
Msrc/undo.c | 2+-
5 files changed, 19 insertions(+), 6 deletions(-)

diff --git 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 diff --git a/PATCHSETS b/PATCHSETS @@ -3710,3 +3710,4 @@ ( 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 diff --git a/configure.ac b/configure.ac @@ -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= diff --git a/src/compose.c b/src/compose.c @@ -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 diff --git a/src/undo.c b/src/undo.c @@ -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; }