resistance:resistance.git
7 years agoPreparing 0.8.6 release 0.8.6
Sergio Villar Senín [Sat, 29 Jan 2011 09:50:49 +0000 (10:50 +0100)]
Preparing 0.8.6 release

7 years agoShow a banner when loading feeds takes more than 1 sec
Sergio Villar Senín [Sat, 29 Jan 2011 09:33:51 +0000 (10:33 +0100)]
Show a banner when loading feeds takes more than 1 sec

7 years agoSave once the list of feeds when removing multiple feeds. We were calling save
Sergio Villar Senín [Sat, 29 Jan 2011 09:32:11 +0000 (10:32 +0100)]
Save once the list of feeds when removing multiple feeds. We were calling save
for every single removed feed

7 years agoDo not forget number of visists and sync values after updating a feed
Sergio Villar Senín [Sat, 29 Jan 2011 09:18:44 +0000 (10:18 +0100)]
Do not forget number of visists and sync values after updating a feed

7 years agoAsk unread items in chunks of at least 1000 elements to reduce network traffic
Sergio Villar Senín [Sat, 29 Jan 2011 08:52:12 +0000 (09:52 +0100)]
Ask unread items in chunks of at least 1000 elements to reduce network traffic

7 years agoDo not automatically save to disk after an update
Sergio Villar Senín [Sat, 29 Jan 2011 08:51:13 +0000 (09:51 +0100)]
Do not automatically save to disk after an update

7 years agoRemove progress indicator if sync with google reader fails
Sergio Villar Senín [Sat, 29 Jan 2011 08:49:51 +0000 (09:49 +0100)]
Remove progress indicator if sync with google reader fails

7 years agoSome more regressions fixed 0.8.5
Sergio Villar Senin [Fri, 28 Jan 2011 13:17:41 +0000 (14:17 +0100)]
Some more regressions fixed

7 years agoPreparing 0.8.5 release
Sergio Villar Senin [Fri, 28 Jan 2011 12:14:43 +0000 (13:14 +0100)]
Preparing 0.8.5 release

7 years agoUpdating was terribly broken when adding the tree filter model
Sergio Villar Senin [Fri, 28 Jan 2011 12:09:46 +0000 (13:09 +0100)]
Updating was terribly broken when adding the tree filter model

Replaced some invalid function calls by the right ones

7 years agoShow the feed title as content if there is no 'content' field in the feed
Sergio Villar Senin [Wed, 26 Jan 2011 16:54:32 +0000 (17:54 +0100)]
Show the feed title as content if there is no 'content' field in the feed
item.

7 years agoImprove entry date detection. Now we look through updated, published and
Sergio Villar Senin [Wed, 26 Jan 2011 16:53:16 +0000 (17:53 +0100)]
Improve entry date detection. Now we look through updated, published and
created dates. If we find none at the end then we show no date.

7 years agoPreparing 0.8.4 release 0.8.4
Sergio Villar Senin [Tue, 25 Jan 2011 18:23:25 +0000 (19:23 +0100)]
Preparing 0.8.4 release

7 years agoFixes for add_feed. Now it properly raises exceptions on failures
Sergio Villar Senin [Sat, 22 Jan 2011 12:33:52 +0000 (13:33 +0100)]
Fixes for add_feed. Now it properly raises exceptions on failures

7 years agoAdded support to properly cancel existing AsyncItems
Sergio Villar Senin [Sat, 22 Jan 2011 12:33:22 +0000 (13:33 +0100)]
Added support to properly cancel existing AsyncItems

Improved shutdown sequence. Window is not properly hidden while the
remaining items in the queue are being canceled

7 years agoAdded a filter to show only unread entries in EntriesWindow
Sergio Villar Senín [Tue, 18 Jan 2011 19:41:54 +0000 (20:41 +0100)]
Added a filter to show only unread entries in EntriesWindow

Fixes https://bugs.maemo.org/show_bug.cgi?id=11762

7 years agoWhen switching between sort options in the menu filters we were performing
Sergio Villar Senín [Tue, 18 Jan 2011 18:46:32 +0000 (19:46 +0100)]
When switching between sort options in the menu filters we were performing
three sorts for each click in the filter buttons as we were not checking the
toggle state of the buttons in the callbacks. All of the buttons in the radio
button group receive the event.

7 years agoNew implementation for AsyncWorker. Now it is no longer a Thread but a "normal"
Sergio Villar Senín [Tue, 18 Jan 2011 09:07:05 +0000 (10:07 +0100)]
New implementation for AsyncWorker. Now it is no longer a Thread but a "normal"
object. It creates a pool of threads that continuously get items from a
thread-safe PriorityQueue and execute them. This way we could have multiple
threads consuming async items at the same time.

7 years agoRemoved safe_callback as it's no longer needed \o/
Sergio Villar Senín [Fri, 14 Jan 2011 17:40:38 +0000 (18:40 +0100)]
Removed safe_callback as it's no longer needed \o/

7 years agoMigrated mark_as_read_synchronize() to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 17:38:12 +0000 (18:38 +0100)]
Migrated mark_as_read_synchronize() to asyncWorker

7 years agoMigrated sync_google_reader_read_status() to asyncWorker
Sergio Villar Senin [Fri, 14 Jan 2011 17:09:09 +0000 (18:09 +0100)]
Migrated sync_google_reader_read_status() to asyncWorker

7 years agoMigrated subscribe_to_google_reader() to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 16:34:45 +0000 (17:34 +0100)]
Migrated subscribe_to_google_reader() to asyncWorker

7 years agoMigrated sync_with_google_reader() to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 12:28:56 +0000 (13:28 +0100)]
Migrated sync_with_google_reader() to asyncWorker

7 years agoMigrated download(_all)_item() to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 12:28:00 +0000 (13:28 +0100)]
Migrated download(_all)_item() to asyncWorker

7 years agoMigrated find_feed() to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 11:52:09 +0000 (12:52 +0100)]
Migrated find_feed() to asyncWorker

7 years agoBeautification of multiple_add_cb()
Sergio Villar Senin [Fri, 14 Jan 2011 11:15:59 +0000 (12:15 +0100)]
Beautification of multiple_add_cb()

7 years agoMigrated import_opml() to asyncWorker
Sergio Villar Senin [Fri, 14 Jan 2011 11:15:33 +0000 (12:15 +0100)]
Migrated import_opml() to asyncWorker

7 years agoMigrated export_opml() to asyncWorker
Sergio Villar Senin [Fri, 14 Jan 2011 11:15:00 +0000 (12:15 +0100)]
Migrated export_opml() to asyncWorker

7 years agoMigrated update_feed() method to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 08:19:21 +0000 (09:19 +0100)]
Migrated update_feed() method to asyncWorker

7 years agoMigrated add_feed() method to asyncWorker
Sergio Villar Senín [Fri, 14 Jan 2011 07:43:10 +0000 (08:43 +0100)]
Migrated add_feed() method to asyncWorker

7 years agoWait for asyncWorker on program exit
Sergio Villar Senin [Thu, 13 Jan 2011 20:55:45 +0000 (21:55 +0100)]
Wait for asyncWorker on program exit

7 years agoMigrated save() to asyncWorker
Sergio Villar Senin [Thu, 13 Jan 2011 20:55:22 +0000 (21:55 +0100)]
Migrated save() to asyncWorker

7 years agoMigrated load() method to asyncWorker
Sergio Villar Senin [Thu, 13 Jan 2011 20:37:41 +0000 (21:37 +0100)]
Migrated load() method to asyncWorker

7 years agoDo not add the asyncWorker to the methods that are still not migrated
Sergio Villar Senin [Thu, 13 Jan 2011 19:51:25 +0000 (20:51 +0100)]
Do not add the asyncWorker to the methods that are still not migrated

7 years agoMigrated get_favicon to the AsyncWorker
Sergio Villar Senin [Thu, 13 Jan 2011 19:24:35 +0000 (20:24 +0100)]
Migrated get_favicon to the AsyncWorker

7 years agoImproved the requireWorker decorator. Now it checks that the thread is
Sergio Villar Senin [Thu, 13 Jan 2011 19:21:13 +0000 (20:21 +0100)]
Improved the requireWorker decorator. Now it checks that the thread is
alive. It also starts the thread after calling the decorated function if the
thread was created just before

7 years agoAsyncWorker to put the user_data argument after the method results when calling
Sergio Villar Senín [Thu, 13 Jan 2011 19:14:17 +0000 (20:14 +0100)]
AsyncWorker to put the user_data argument after the method results when calling
the callback

7 years agoAdded decorator to ensure asyncworker is created
Sergio Villar Senín [Thu, 13 Jan 2011 16:33:42 +0000 (17:33 +0100)]
Added decorator to ensure asyncworker is created

7 years agoImported asyncworker.py from SeriesFinale
Sergio Villar Senín [Thu, 13 Jan 2011 15:45:04 +0000 (16:45 +0100)]
Imported asyncworker.py from SeriesFinale

7 years agoMerge branch 'master' of gitorious.org:resistance/resistance
Sergio Villar Senin [Mon, 17 Jan 2011 16:36:26 +0000 (17:36 +0100)]
Merge branch 'master' of gitorious.org:resistance/resistance

7 years agoPreparing 0.8.3 release 0.8.3
Sergio Villar Senín [Mon, 17 Jan 2011 16:26:20 +0000 (17:26 +0100)]
Preparing 0.8.3 release

Added the bugtracker link to debian/control

7 years agoPreparing 0.8.3 release
Sergio Villar Senín [Mon, 17 Jan 2011 16:26:20 +0000 (17:26 +0100)]
Preparing 0.8.3 release

7 years agoRemoved the take_screenshot() thing as it's not working and issuing some errors
Sergio Villar Senín [Thu, 13 Jan 2011 12:33:11 +0000 (13:33 +0100)]
Removed the take_screenshot() thing as it's not working and issuing some errors
on console

7 years agoAdded a new parametter to add_feed to prevent feedmanager from saving the feed
Sergio Villar Senín [Thu, 13 Jan 2011 12:22:43 +0000 (13:22 +0100)]
Added a new parametter to add_feed to prevent feedmanager from saving the feed
data to disk. This allows us to save it once when adding a lot of feeds in a
row, for example, when importing an OPML, or getting them from Google Reader

7 years agoDo not add feeds the XML parser failed to parse. Most of them are usually
Sergio Villar Senin [Thu, 13 Jan 2011 10:58:35 +0000 (11:58 +0100)]
Do not add feeds the XML parser failed to parse. Most of them are usually
feeds that no longer exist and were replaced by an HTML web page.

Also do not try to synchronize read/unread status if there is no feed synced
with Google Reader

7 years agoDebian changelog had invalid dates, let's see if that does not break 0.8.2
Sergio Villar Senin [Wed, 12 Jan 2011 17:41:18 +0000 (18:41 +0100)]
Debian changelog had invalid dates, let's see if that does not break
updates

7 years agoPreparing 0.8.2 release
Sergio Villar Senin [Wed, 12 Jan 2011 17:36:42 +0000 (18:36 +0100)]
Preparing 0.8.2 release

7 years agoFixes https://bugs.maemo.org/show_bug.cgi?id=11768
Sergio Villar Senin [Wed, 12 Jan 2011 17:10:31 +0000 (18:10 +0100)]
Fixes https://bugs.maemo.org/show_bug.cgi?id=11768

7 years agoDo not use built-in function id() to generate an unique id for feeds as the 0.8.1
Sergio Villar Senin [Wed, 12 Jan 2011 12:35:45 +0000 (13:35 +0100)]
Do not use built-in function id() to generate an unique id for feeds as the
value it generates does not have a logical maximum size but depends on
system's memory. We better use the also built-in hash(). Renderers must now
accept integer negative values

7 years agoDo only take into account actual RSS feeds when importing them from Google
Sergio Villar Senin [Wed, 12 Jan 2011 12:33:19 +0000 (13:33 +0100)]
Do only take into account actual RSS feeds when importing them from Google
Reader. Google Reader provides some other services that are not actual RSS
feeds.

7 years agoCheck the HTTP status code after calling parse over a URL. It could not
Sergio Villar Senin [Wed, 12 Jan 2011 12:31:55 +0000 (13:31 +0100)]
Check the HTTP status code after calling parse over a URL. It could not
exist anymore. 3XX redirections are accepted tough as feedparser handles them
transparently for us.

7 years agoDo not import Google Reader labels/folders/categories as feeds
Sergio Villar Senín [Wed, 12 Jan 2011 10:08:34 +0000 (11:08 +0100)]
Do not import Google Reader labels/folders/categories as feeds

7 years agoLast minute change: show time as hour:minute instead of hour:minute:second 0.8
Sergio Villar Senin [Tue, 11 Jan 2011 08:54:11 +0000 (09:54 +0100)]
Last minute change: show time as hour:minute instead of hour:minute:second

7 years agoPreparing 0.8 release
Sergio Villar Senín [Tue, 11 Jan 2011 08:47:03 +0000 (09:47 +0100)]
Preparing 0.8 release

7 years agoShow the whole content of RSS feeds by default instead of the summary. How
Sergio Villar Senin [Mon, 10 Jan 2011 12:38:21 +0000 (13:38 +0100)]
Show the whole content of RSS feeds by default instead of the summary. How
the hell this was always there? Holy smokes...

7 years agoEscape text to be passed as markup to pango
Sergio Villar Senin [Mon, 10 Jan 2011 12:35:50 +0000 (13:35 +0100)]
Escape text to be passed as markup to pango

7 years agoDo not emit the item-read signal if the item is in read status
Sergio Villar Senín [Mon, 10 Jan 2011 11:47:49 +0000 (12:47 +0100)]
Do not emit the item-read signal if the item is in read status

7 years agoRemoved the special case for read/unread status sync when there are no
Sergio Villar Senin [Mon, 10 Jan 2011 11:38:33 +0000 (12:38 +0100)]
Removed the special case for read/unread status sync when there are no
unread items in none of the synchronized feeds.

The new code properly handles this situation and some others.

7 years agoDo not connect to connection-changed before actually creating all the UI
Sergio Villar Senin [Mon, 10 Jan 2011 10:52:16 +0000 (11:52 +0100)]
Do not connect to connection-changed before actually creating all the UI
items

7 years agoUse an actual unique identifier for each row in the models to be used by
Sergio Villar Senín [Sun, 9 Jan 2011 18:15:59 +0000 (19:15 +0100)]
Use an actual unique identifier for each row in the models to be used by
cellrenderers

7 years agoUpdated info from the next release
Sergio Villar Senín [Sun, 9 Jan 2011 17:18:24 +0000 (18:18 +0100)]
Updated info from the next release

7 years agoMark all entries as read when importing a feed from Google Reader that has no
Sergio Villar Senín [Sun, 9 Jan 2011 17:16:04 +0000 (18:16 +0100)]
Mark all entries as read when importing a feed from Google Reader that has no
unread items. This is an special case of our read/unread status sync algorithm
that was assuming that there is always one feed with one unread item at least

7 years agoFixed feed detection algorithm
Sergio Villar Senín [Sun, 9 Jan 2011 16:36:14 +0000 (17:36 +0100)]
Fixed feed detection algorithm

7 years agoDo not add currently subscribed feeds again when synchronizing with Google
Sergio Villar Senín [Sun, 9 Jan 2011 15:59:07 +0000 (16:59 +0100)]
Do not add currently subscribed feeds again when synchronizing with Google
Reader. Instead we just add the new ones, and update the sync status of the old
ones

7 years agoHandle item's body decoding exceptions
Sergio Villar Senín [Sun, 9 Jan 2011 12:53:13 +0000 (13:53 +0100)]
Handle item's body decoding exceptions

7 years agoReworked the code that updates the entries, now we properly add only the actual
Sergio Villar Senín [Sun, 9 Jan 2011 11:25:19 +0000 (12:25 +0100)]
Reworked the code that updates the entries, now we properly add only the actual
new entries while not touching the old ones

7 years agoUnescape author for ItemWindow title
Sergio Villar Senín [Sun, 9 Jan 2011 10:24:40 +0000 (11:24 +0100)]
Unescape author for ItemWindow title

7 years agoDo not try to synchronize read/unread status with Google when offline
Sergio Villar Senín [Sun, 9 Jan 2011 10:05:03 +0000 (11:05 +0100)]
Do not try to synchronize read/unread status with Google when offline

7 years agoImproved entries time representation
Sergio Villar Senín [Sun, 9 Jan 2011 02:51:03 +0000 (03:51 +0100)]
Improved entries time representation

7 years agoAdded a column to EntriesView model for sorting
Sergio Villar Senín [Sun, 9 Jan 2011 02:20:18 +0000 (03:20 +0100)]
Added a column to EntriesView model for sorting

7 years agoEntriesView to use EntriesWindow's model constants
Sergio Villar Senín [Sun, 9 Jan 2011 02:19:35 +0000 (03:19 +0100)]
EntriesView to use EntriesWindow's model constants

7 years agoFixed a funny bug when redrawing the unread count. We were getting the row
Sergio Villar Senín [Sun, 9 Jan 2011 01:55:02 +0000 (02:55 +0100)]
Fixed a funny bug when redrawing the unread count. We were getting the row
reference of the activated row AFTER changing the visit count. That forced a
reordering of the tree model BEFORE we create the row reference from a path.
That's the reason why we were creating (and then using) a valid row reference
to an incorrect path

7 years agoremoved hildon.Program.get_instance().add_window(). Why do we need them?
Sergio Villar Senín [Sun, 9 Jan 2011 01:54:26 +0000 (02:54 +0100)]
removed hildon.Program.get_instance().add_window(). Why do we need them?

7 years agoImproved google reader parser robustness
Sergio Villar Senín [Sun, 9 Jan 2011 01:00:56 +0000 (02:00 +0100)]
Improved google reader parser robustness

7 years agoProperly update unread count and sync status when closing (hidding actually)
Sergio Villar Senín [Sun, 9 Jan 2011 00:38:12 +0000 (01:38 +0100)]
Properly update unread count and sync status when closing (hidding actually)
the entries window

7 years agoupdate sync status after closing the entrieswindow in order to properly render the...
Sergio Villar Senín [Sat, 8 Jan 2011 23:57:43 +0000 (00:57 +0100)]
update sync status after closing the entrieswindow in order to properly render the feeds

7 years agotext colors are no longer specified in constants.py
Sergio Villar Senín [Sat, 8 Jan 2011 23:37:36 +0000 (00:37 +0100)]
text colors are no longer specified in constants.py

7 years agoAdded new icons to the files to distribute
Sergio Villar Senín [Sat, 8 Jan 2011 19:42:52 +0000 (20:42 +0100)]
Added new icons to the files to distribute

7 years agoCommiting constants.py changes forgotten by mistake
Sergio Villar Senin [Sat, 8 Jan 2011 19:31:30 +0000 (20:31 +0100)]
Commiting constants.py changes forgotten by mistake

7 years agoRemoved sytem fonts and colors from constants, they're not really constants and break...
Sergio Villar Senín [Sat, 8 Jan 2011 19:29:28 +0000 (20:29 +0100)]
Removed sytem fonts and colors from constants, they're not really constants and break the setup.py file

7 years agoDo not call mark_as_read_synchronize twice
Sergio Villar Senín [Sat, 8 Jan 2011 18:45:44 +0000 (19:45 +0100)]
Do not call mark_as_read_synchronize twice
Protect idle callback with gdk_threads_enter/leave

7 years agoDo not reuse the cached text in roundedText cell renderers
Sergio Villar Senín [Sat, 8 Jan 2011 18:44:51 +0000 (19:44 +0100)]
Do not reuse the cached text in roundedText cell renderers

7 years agoFixed a regression with dummy feeds
Sergio Villar Senín [Sat, 8 Jan 2011 18:38:07 +0000 (19:38 +0100)]
Fixed a regression with dummy feeds

7 years agoSet ellipsize to cellrenderertext. Even though the dots are not shown this prevents...
Sergio Villar Senín [Sat, 8 Jan 2011 18:29:56 +0000 (19:29 +0100)]
Set ellipsize to cellrenderertext. Even though the dots are not shown this prevents cell renderers to grow outside the screen limits

7 years agoDo not render an empty rectangle if there are no unread feeds
Sergio Villar Senín [Sat, 8 Jan 2011 18:17:54 +0000 (19:17 +0100)]
Do not render an empty rectangle if there are no unread feeds

7 years agoAdded default RSS feed icon from epiphany-extensions
Sergio Villar Senín [Sat, 8 Jan 2011 17:59:33 +0000 (18:59 +0100)]
Added default RSS feed icon from epiphany-extensions

7 years agoFixed several mistakes when refactoring code
Sergio Villar Senín [Sat, 8 Jan 2011 17:58:26 +0000 (18:58 +0100)]
Fixed several mistakes when refactoring code

7 years agoReplaced old icon with a 24x24 Tango version
Sergio Villar Senin [Sat, 8 Jan 2011 17:12:42 +0000 (18:12 +0100)]
Replaced old icon with a 24x24 Tango version

7 years agoUse System selection color for unread background
Sergio Villar Senín [Sat, 8 Jan 2011 17:01:22 +0000 (18:01 +0100)]
Use System selection color for unread background

7 years agoAdded renderers.py file
Sergio Villar Senin [Sat, 8 Jan 2011 16:54:55 +0000 (17:54 +0100)]
Added renderers.py file
Moved custom cell renderers to the new file

7 years agoMoved system fonts&colors to the constants file
Sergio Villar Senin [Sat, 8 Jan 2011 16:54:09 +0000 (17:54 +0100)]
Moved system fonts&colors to the constants file

7 years agoRemoved ellipsization, Maemo's gtk does not support it
Sergio Villar Senin [Fri, 7 Jan 2011 19:55:55 +0000 (20:55 +0100)]
Removed ellipsization, Maemo's gtk does not support it

7 years agoAdded some padding
Sergio Villar Senín [Fri, 7 Jan 2011 19:53:42 +0000 (20:53 +0100)]
Added some padding

7 years agoUse system fonts
Sergio Villar Senin [Fri, 7 Jan 2011 19:32:16 +0000 (20:32 +0100)]
Use system fonts

7 years agoAdded Google Reader like icon
Sergio Villar Senín [Fri, 7 Jan 2011 19:05:34 +0000 (20:05 +0100)]
Added Google Reader like icon
Google Reader like icon added to constants

7 years agoSet FeedsView columns sizing policy
Sergio Villar Senin [Fri, 7 Jan 2011 18:57:44 +0000 (19:57 +0100)]
Set FeedsView columns sizing policy

7 years agoUse style.paint_layout to draw text
Sergio Villar Senin [Fri, 7 Jan 2011 18:56:09 +0000 (19:56 +0100)]
Use style.paint_layout to draw text

7 years agoimported first version of the new cell renderer.
Sergio Villar Senin [Tue, 4 Jan 2011 19:06:01 +0000 (20:06 +0100)]
imported first version of the new cell renderer.

Problems working out the width of the column

7 years agoAdded sync column to FeedsView model
Sergio Villar Senín [Sat, 1 Jan 2011 18:33:58 +0000 (19:33 +0100)]
Added sync column to FeedsView model

7 years agoRemoved Google Reader sync from TODO
Sergio Villar Senin [Wed, 29 Dec 2010 08:32:41 +0000 (09:32 +0100)]
Removed Google Reader sync from TODO