resistance:resistance.git
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

7 years agoFixed a bug when synchronizing read/unread status.
Sergio Villar Senín [Wed, 29 Dec 2010 08:31:12 +0000 (09:31 +0100)]
Fixed a bug when synchronizing read/unread status.

We were not passing the correct number of parameters to _mark_as_read_synchronize_in_thread

7 years agoShow the unread count only as a number (no need to show "unread items")
Sergio Villar Senín [Tue, 28 Dec 2010 12:59:19 +0000 (13:59 +0100)]
Show the unread count only as a number (no need to show "unread items")

7 years agoBumped python-gobject dependency up
Sergio Villar Senín [Tue, 28 Dec 2010 11:13:56 +0000 (12:13 +0100)]
Bumped python-gobject dependency up

7 years agoSynchronize read/unread status with Google Reader when updating feeds. Do not
Sergio Villar Senín [Tue, 28 Dec 2010 10:04:01 +0000 (11:04 +0100)]
Synchronize read/unread status with Google Reader when updating feeds. Do not
do it when subscribing.

7 years agoImproved robustness of read/unread synchronization with Google Reader
Sergio Villar Senín [Tue, 28 Dec 2010 10:01:21 +0000 (11:01 +0100)]
Improved robustness of read/unread synchronization with Google Reader

Sometimes local and remote entries were not matching because links could
include queries, i.e, http://example.com is not equal to
http://example.com?display=awesomeness

7 years agoSync read/unread status when feeds are added to Google Reader
Sergio Villar Senín [Mon, 27 Dec 2010 20:48:29 +0000 (21:48 +0100)]
Sync read/unread status when feeds are added to Google Reader
Refactored entries drawing code

7 years agoFix for sync_google_reader_read_status whenever Google Reader reports about feeds...
Sergio Villar Senín [Mon, 27 Dec 2010 20:44:16 +0000 (21:44 +0100)]
Fix for sync_google_reader_read_status whenever Google Reader reports about feeds that are not in ReSiStance

7 years agoFixed a couple of bugs in the multiple add patch
Sergio Villar Senin [Mon, 27 Dec 2010 18:49:40 +0000 (19:49 +0100)]
Fixed a couple of bugs in the multiple add patch

7 years agoRemoved debugging code
Sergio Villar Senín [Mon, 27 Dec 2010 18:26:04 +0000 (19:26 +0100)]
Removed debugging code

7 years agoMerge branch 'master' of gitorious.org:resistance/resistance
Sergio Villar Senin [Mon, 27 Dec 2010 18:24:01 +0000 (19:24 +0100)]
Merge branch 'master' of gitorious.org:resistance/resistance

7 years agoSynchronize with Google Reader (patch 4/4)
Sergio Villar Senín [Mon, 27 Dec 2010 18:00:58 +0000 (19:00 +0100)]
Synchronize with Google Reader (patch 4/4)
https://bugs.maemo.org/show_bug.cgi?id=11020

Originally based on a patch by Chus Picos <chuspicos@gmail.com> which was
later heavily reworked. Added a method to synchronize read/unread status
with Google Reader. Users will get updated read/unread status of entries
just after retrieving feeds from Google Reader.

This patch also fixed a long awaited (from code POV) feature:
  * Added a callback for _add_multiple_feeds which is executed when all
  feeds are added. This allow us for example to properly stop progress
  information when that happens. In the past it was removed after the first
  feed was updated

7 years agoSynchronize with Google Reader (patch 4/4)
Sergio Villar Senín [Mon, 27 Dec 2010 18:00:58 +0000 (19:00 +0100)]
Synchronize with Google Reader (patch 4/4)
https://bugs.maemo.org/show_bug.cgi?id=11020

Originally based on a patch by Chus Picos <chuspicos@gmail.com> which was
later heavily reworked. Added a method to synchronize read/unread status
with Google Reader. Users will get updated read/unread status of entries
just after retrieving feeds from Google Reader.

This patch also fixed a long awaited (from code POV) feature:
  * Added a callback for _add_multiple_feeds which is executed when all
  feeds are added. This allow us for example to properly stop progress
  information when that happens. In the past it was removed after the first
  feed was updated

7 years ago* Use feed_data.href as feed base url instead of feed_data.feed.title_detail.base
Sergio Villar Senín [Mon, 27 Dec 2010 16:18:51 +0000 (17:18 +0100)]
* Use feed_data.href as feed base url instead of feed_data.feed.title_detail.base
* Use constants to refer to model columns

7 years agoAdded _safe_callback. Perform callback existance checks and then call the
Sergio Villar Senin [Sun, 26 Dec 2010 18:09:23 +0000 (19:09 +0100)]
Added _safe_callback. Perform callback existance checks and then call the
callback function with its arguments

7 years agoGoogle Reader refactorings
Sergio Villar Senin [Sun, 26 Dec 2010 12:23:51 +0000 (13:23 +0100)]
Google Reader refactorings

7 years agoSeparate the get_auth
Sergio Villar Senin [Sun, 26 Dec 2010 11:53:55 +0000 (12:53 +0100)]
Separate the get_auth

7 years agoSynchronize with Google Reader (patch 3/4)
Sergio Villar Senín [Mon, 20 Dec 2010 13:18:58 +0000 (14:18 +0100)]
Synchronize with Google Reader (patch 3/4)
https://bugs.maemo.org/show_bug.cgi?id=11020

Based on a patch from Chus Picos <chuspicos@gmail.com>
Subscribe and unsubscribe feeds in Google Reader. The user can:
* add a feed from ReSiStance to Google Reader
* remove a feed from Google Reader when removed in ReSiStance
* remove a feed from Google Reader keeping it in ReSiStance

7 years agoDo not call callbacks if not provided
Sergio Villar Senín [Mon, 20 Dec 2010 13:18:01 +0000 (14:18 +0100)]
Do not call callbacks if not provided

7 years agoDo not sync read status with Google Reader in ItemsWindow. Do it in the handler of...
Sergio Villar Senín [Mon, 20 Dec 2010 13:15:46 +0000 (14:15 +0100)]
Do not sync read status with Google Reader in ItemsWindow. Do it in the handler of item-read as it is done locally.

Do ask Google Reader to sync the read status in an idle. This way we will let item to render first

7 years agoUpdated TODO
Sergio Villar Senin [Sun, 19 Dec 2010 12:38:26 +0000 (13:38 +0100)]
Updated TODO

7 years agoSynchronize with Google Reader (patch 2/4)
Chus Picos [Sun, 19 Dec 2010 12:29:04 +0000 (13:29 +0100)]
Synchronize with Google Reader (patch 2/4)
https://bugs.maemo.org/show_bug.cgi?id=11020

A patch to mark as read or unread (from ReSiStance to Google Reader).

7 years agoComplete the refactoring of adding multiple feeds. Import OPML now uses the new method.
Sergio Villar Senín [Sun, 19 Dec 2010 11:35:03 +0000 (12:35 +0100)]
Complete the refactoring of adding multiple feeds. Import OPML now uses the new method.

Fixed a bug in the refactoring. Added a sync parametter to _add_multiple_feeds

7 years agoUser username and password from Settings to authenticate with Google Reader
Sergio Villar Senin [Sun, 19 Dec 2010 10:59:33 +0000 (11:59 +0100)]
User username and password from Settings to authenticate with Google Reader

7 years agoSettings dialog needs 2 arguments.
Sergio Villar Senin [Sun, 19 Dec 2010 10:45:54 +0000 (11:45 +0100)]
Settings dialog needs 2 arguments.

Also added a banner to notify user that username or password are missing and
must be entered in order to successfully complete a connection to Google
Reader.

7 years agosync_with_google_reader() should not automatically add feeds to the UI. We
Sergio Villar Senin [Sun, 19 Dec 2010 10:43:30 +0000 (11:43 +0100)]
sync_with_google_reader() should not automatically add feeds to the UI. We
better return a list of urls and UI will decide whether to add them or not
(creating the needed dummy feeds to improve user experience as it looks like
far more responsive). It's also more consistent with other actions like
adding feeds using the Find Feeds dialog or simply typing a feed url in the
add feed dialog.

7 years agoSynchronize with Google Reader (patch 1/4)
Chus Picos [Sun, 19 Dec 2010 09:39:34 +0000 (10:39 +0100)]
Synchronize with Google Reader (patch 1/4)
https://bugs.maemo.org/show_bug.cgi?id=11020

A patch to synchronize with Google Reader. It allows you to add the feeds that
are in Google Reader to ReSiStance UI.

7 years agoFixed a bug in _update_feeds_in_thread
Chus Picos [Mon, 6 Dec 2010 09:05:24 +0000 (10:05 +0100)]
Fixed a bug in _update_feeds_in_thread

7 years agoPreparing release 0.7
Sergio Villar Senín [Sun, 21 Nov 2010 23:10:02 +0000 (00:10 +0100)]
Preparing release 0.7

7 years agoSeveral fixes to the libconic stuff
Sergio Villar Senín [Sun, 21 Nov 2010 22:52:51 +0000 (23:52 +0100)]
Several fixes to the libconic stuff

7 years agoDo not show ItemWindow menu when an entry is activated (regression)
Sergio Villar Senín [Sun, 21 Nov 2010 21:52:37 +0000 (22:52 +0100)]
Do not show ItemWindow menu when an entry is activated (regression)

7 years agoChanged connection handling algorithm
Sergio Villar Senín [Sun, 21 Nov 2010 21:45:35 +0000 (22:45 +0100)]
Changed connection handling algorithm

7 years agoFixed libconic initialization
Sergio Villar Senín [Sun, 21 Nov 2010 21:27:49 +0000 (22:27 +0100)]
Fixed libconic initialization

7 years agoAdded ConnectionManager using libconic
Sergio Villar Senín [Sun, 21 Nov 2010 20:43:13 +0000 (21:43 +0100)]
Added ConnectionManager using libconic

Added basic connection handling to the UI

Added python-conic dependency

7 years agoSet update button as non-sensitive while updating
Sergio Villar Senín [Sun, 21 Nov 2010 18:55:34 +0000 (19:55 +0100)]
Set update button as non-sensitive while updating

7 years agoShow initial dialog if there is any problem with feeds DB
Sergio Villar Senín [Sun, 21 Nov 2010 18:46:57 +0000 (19:46 +0100)]
Show initial dialog if there is any problem with feeds DB

7 years agoDo not destroy initial dialog before using its buttons
Sergio Villar Senín [Sun, 21 Nov 2010 14:22:04 +0000 (15:22 +0100)]
Do not destroy initial dialog before using its buttons

7 years agoReordered menu items in Feeds Window. Settings must be the last item
Sergio Villar Senín [Sun, 21 Nov 2010 13:10:20 +0000 (14:10 +0100)]
Reordered menu items in Feeds Window. Settings must be the last item

7 years agoImport Feeds is also shown in the initial dialog
Sergio Villar Senín [Sun, 21 Nov 2010 13:06:52 +0000 (14:06 +0100)]
Import Feeds is also shown in the initial dialog

7 years agoFeed import controlled by UI. Overall feeling is much better now
Sergio Villar Senín [Sun, 21 Nov 2010 13:01:03 +0000 (14:01 +0100)]
Feed import controlled by UI. Overall feeling is much better now
OPML import does only retrieve feed URL's

7 years agoMyDocs dir is now a constant
Sergio Villar Senín [Sun, 21 Nov 2010 12:26:26 +0000 (13:26 +0100)]
MyDocs dir is now a constant

7 years agoHide main window on exit. Keep it alive while we wait for the manager which is saving...
Sergio Villar Senín [Sun, 21 Nov 2010 12:14:30 +0000 (13:14 +0100)]
Hide main window on exit. Keep it alive while we wait for the manager which is saving feeds

7 years agoSubtitle might not exist
Sergio Villar Senín [Sun, 21 Nov 2010 12:01:31 +0000 (13:01 +0100)]
Subtitle might not exist

7 years agoFeedManager and Settings are no longer global variables
Sergio Villar Senín [Sun, 21 Nov 2010 12:00:42 +0000 (13:00 +0100)]
FeedManager and Settings are no longer global variables

7 years agoFavicons are now asynchronously retrieved
Sergio Villar Senín [Sat, 20 Nov 2010 23:53:42 +0000 (00:53 +0100)]
Favicons are now asynchronously retrieved

7 years agoFeedManager needs to know about settings v0.6
Sergio Villar Senín [Fri, 19 Nov 2010 09:27:35 +0000 (10:27 +0100)]
FeedManager needs to know about settings

7 years agoPreparing 0.6 release
Sergio Villar Senín [Fri, 19 Nov 2010 09:13:29 +0000 (10:13 +0100)]
Preparing 0.6 release

7 years agoAdded python-dbus dependency (needed by portrait mode). Thanks to Istvan
Sergio Villar Senín [Fri, 19 Nov 2010 09:00:42 +0000 (10:00 +0100)]
Added python-dbus dependency (needed by portrait mode). Thanks to Istvan
Visegradi for spotting this

7 years agoRemoved a pdb.set_trace added by mistake
Sergio Villar Senín [Thu, 18 Nov 2010 09:58:56 +0000 (10:58 +0100)]
Removed a pdb.set_trace added by mistake

7 years agoAdding support to download feed enclosures
Chus Picos [Wed, 17 Nov 2010 15:48:35 +0000 (16:48 +0100)]
Adding support to download feed enclosures

7 years agoSet feed title as ItemWindow title if it does not exist
Sergio Villar Senín [Tue, 19 Oct 2010 18:10:23 +0000 (20:10 +0200)]
Set feed title as ItemWindow title if it does not exist

7 years agoUnescape HTML escape codes
Sergio Villar Senín [Mon, 18 Oct 2010 11:06:30 +0000 (13:06 +0200)]
Unescape HTML escape codes

7 years agoFixed a regression when adding feeds
Sergio Villar Senín [Mon, 18 Oct 2010 10:41:06 +0000 (12:41 +0200)]
Fixed a regression when adding feeds