straw-commits
[Top][All Lists]
Advanced

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

[Straw-commits] address@hidden/straw--mainline--0.24--patch-35


From: juri
Subject: [Straw-commits] address@hidden/straw--mainline--0.24--patch-35
Date: Wed, 16 Jun 2004 19:54:40 +0300

Revision: straw--mainline--0.24--patch-35
Archive: address@hidden
Creator: Juri Pakaste <address@hidden>
Date: Wed Jun 16 19:54:40 EEST 2004
Standard-date: 2004-06-16 16:54:40 GMT
Modified-files: src/lib/Event.py src/lib/FeedDataRouter.py
    src/lib/ImageCache.py src/lib/Main.py
    src/lib/MainWindow.py src/lib/PollManager.py
    src/lib/URLFetch.py src/lib/__init__.py
New-patches: address@hidden/straw--mainline--0.24--patch-35
Summary: stop polling functionality
Keywords: 

ConnectionManager.request() now returns a callable. When you invoke it, it
stops the transfer that was started with that request, if it's still going
on.

PollManager.poll* return lists of PollStopper objects that wrap the
abovementioned callable and the Feed or Category objects that are associated
with them. They are also stored in FeedDataRouters. ImageCache stores them
in the cache. PollStopper performs the stopping and emits PollingStoppedSignal 
when its method stop() is called for the first time. ImageCache and
FeedDataRouter react to this signal by removing the PollStopper object, and
so should any other place that is going to store these objects.

Also added a "Stop Refresh" entry to the feed popup menu in main window.
It would be good if it was greyed out when it's not applicable.

All this required a bit of reorganization in URLFetch.py to make it possible
to have a ConsumerAdapter object at hand at the end of request().




reply via email to

[Prev in Thread] Current Thread [Next in Thread]