evolution-rss r276 - in trunk: . src



Author: lucilanga
Date: Fri May 16 17:12:09 2008
New Revision: 276
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=276&view=rev

Log:
number of fetched articles

Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/src/rss-config-factory.c
   trunk/src/rss.c
   trunk/src/rss.h

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Fri May 16 17:12:09 2008
@@ -1,6 +1,5 @@
 
 	* maybe implement md5 for uniqueing articles (for broken feeds)
-	* make setup dialog modal when fetch_feed active
 	* add syndicate icon for News&Blogs folder
 	* probably move to soup_unblocking when rendering of an article
 	* when browsing a different feed/mail folder cancel all sessions
@@ -13,13 +12,10 @@
 	* check mozembed widget / thread when quitting
 	* test cancelation signal check rf->cancel fetch feed might reset it always 0 and crashing when finish_feed
 	* jump to folder when adding through d-bus
-	* make Cancel All from S&R work
 	* move evolution detection to m4 to ease up integration in other plugins
-	* disable javascript alerts !?
 	* check memory consumption when S&R
 	* implement other engines besides soup
 	* implement USM (universal subscription mechanism)
-	* feed://
 	* fix authentication for proxy dialog
 	* make auth dialog not intrusive (peek other software)
 	* fix move->rename
@@ -29,16 +25,15 @@
 	* prefetch html content for all webkits (perhaps temp file)
 	* offline storage for article's home page
 	* implement web controls for diferent redering <Webkits> or <Gecko>
-	* convert reading feeds progress bar to articles number that will actually be read
 	* force soup to follow redirects (304) test on fedora weekly news
 	* check loading of images in certain feeds
 	* convert rest of non-intrusive error messages 
 	* search in the content of page for feed
 	* obey ttl entity
-	* present alt with feed folder in preferences window
 	* make feed message forwardable/replayable
 	* check rename feed when evo 2.24 x86_64 
 	* disable browser alerts messages
 	* make cancel all button work
-	* add debug points for showing steps of current operation
-	* make ellipsize play nice with feeds list
+	* add debug points for showing steps of current operation (group operations)
+	* when adding a feed as opml file offer to import (file detection)
+	* convert reading feeds progress bar to articles number that will actually be read

Modified: trunk/src/rss-config-factory.c
==============================================================================
--- trunk/src/rss-config-factory.c	(original)
+++ trunk/src/rss-config-factory.c	Fri May 16 17:12:09 2008
@@ -1693,6 +1693,7 @@
 	gtk_tree_view_column_set_sort_column_id (column, 2);
 	gtk_tree_view_set_search_column (GTK_TREE_VIEW (treeview),
                                                    2);
+	gtk_tree_view_set_tooltip_column (treeview, 1);
 
 	if (rf->hr != NULL)
         	g_hash_table_foreach(rf->hrname, construct_list, store);

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Fri May 16 17:12:09 2008
@@ -126,7 +126,8 @@
 #include "rss-config-factory.c"
 
 int pop = 0;
-int article;
+guint ftotal;
+guint farticle;
 //#define RSS_DEBUG 1
 
 #define DEFAULT_FEEDS_FOLDER "News&Blogs"
@@ -2373,12 +2374,16 @@
 		if (r->version)
 			g_free(r->version);
 	}
+	ftotal+=r->total;
+	g_print("feed articles:%d\n", ftotal);
 	g_free(r);
 	g_string_free(response, 1);
 
 	if (!deleted)
+	{
 		if (g_hash_table_lookup(rf->hrdel_feed, lookup_key(user_data)))
 			get_feed_age(user_data, lookup_key(user_data));
+	}
 //tout:	
 
 #ifdef EVOLUTION_2_12
@@ -3674,6 +3679,8 @@
 		layer_find(channel->children, "pubDate", 
 		layer_find(channel->children, "updated", NULL))));
 
+	r->total = item->len;
+
 	r->feedid = update_channel(
 			//atempt to find real_channel name using url
 			t,

Modified: trunk/src/rss.h
==============================================================================
--- trunk/src/rss.h	(original)
+++ trunk/src/rss.h	Fri May 16 17:12:09 2008
@@ -39,6 +39,7 @@
 	gchar		*version;	//feed version
         gchar		*feedid;  	//md5 string id of feed
 	GtkWidget	*progress;
+	guint		total;		//total articles
         /* Soup stuff */
         SoupMessage *message;
 } RDF;



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