[evolution-patches] 69024, nntp not refreshing propeprly



straightforward, we are detecting new messages, just not propagating it
anywhere.

Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/Attic/ChangeLog,v
retrieving revision 1.2251.2.30
diff -u -p -r1.2251.2.30 ChangeLog
--- camel/ChangeLog	6 Jan 2005 09:25:02 -0000	1.2251.2.30
+++ camel/ChangeLog	13 Jan 2005 02:49:02 -0000
@@ -1,3 +1,51 @@
+2005-01-13  Not Zed  <NotZed Ximian com>
+
+	** See bug #69024.
+
+	* providers/nntp/camel-nntp-store.c
+	(nntp_store_get_subscribed_folder_info): emit a folder_changed
+	event if refreshing it added any changes.
+
+2005-01-12  Not Zed  <NotZed Ximian com>
+
+	** See bug #47824.
+
+	* camel-multipart-signed.c (parse_content): re-implemented to use
+	camel-mime-parser.  For the annoying pathalogical case of re-used
+	multipart boundary markers.
+
+	* camel-mime-parser.c (folder_scan_step): modified the multipart
+	state so that we don't try to match the same boundary again if
+	we've already seen an end boundary for this part.  This is for the
+	annoying case of a multipart inside a multipart which shares an
+	identical boundary marker (groupwise!).
+	(camel_mime_parser_tell_start_boundary): new function to indicate
+	the offset of the start of the last boundary.
+
+	* tests/lib/folders.c (test_folder_message_ops): fix test case for
+	deleting message - marks message read too.
+	(test_folder_counts): fix typo.
+
+	* tests/message/test3.c (main): remove the nonfatal fixme & put
+	extra null check for pre/postface text checks.
+
+	* tests/message/test2.c (convert): use size_t for iconv length
+	types.
+
+2005-01-08  Not Zed  <NotZed Ximian com>
+
+	* camel-sasl-ntlm.c: convert all the unsigned long/long stuff to
+	guint32 since it seems to need 32 bit integers.
+
+	* camel-url.c (camel_url_new_with_base): cast length to int.
+
+	* providers/imap/camel-imap-command.c
+	(imap_command_strdup_vprintf): cast strlen to int.
+
+	* camel-mime-utils.c (append_quoted_pair, header_decode_text): use
+	gssize for length to match dumb g-api.
+
+
 2004-12-23  Not Zed  <NotZed Ximian com>
   
 	** See bug #70556.
Index: camel/providers/nntp/camel-nntp-store.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/nntp/Attic/camel-nntp-store.c,v
retrieving revision 1.65.14.9
diff -u -p -r1.65.14.9 camel-nntp-store.c
--- camel/providers/nntp/camel-nntp-store.c	19 Nov 2004 02:13:46 -0000	1.65.14.9
+++ camel/providers/nntp/camel-nntp-store.c	13 Jan 2005 02:49:02 -0000
@@ -626,9 +626,19 @@ nntp_store_get_subscribed_folder_info (C
 
 				folder = (CamelNNTPFolder *)camel_store_get_folder((CamelStore *)store, si->path, 0, ex);
 				if (folder) {
+					CamelFolderChangeInfo *changes = NULL;
+
 					CAMEL_SERVICE_LOCK(store, connect_lock);
 					camel_nntp_command(store, ex, folder, &line, NULL);
+					if (camel_folder_change_info_changed(folder->changes)) {
+						changes = folder->changes;
+						folder->changes = camel_folder_change_info_new();
+					}
 					CAMEL_SERVICE_UNLOCK(store, connect_lock);
+					if (changes) {
+						camel_object_trigger_event((CamelObject *) folder, "folder_changed", changes);
+						camel_folder_change_info_free(changes);
+					}
 					camel_object_unref(folder);
 				}
 				camel_exception_clear(ex);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]