feedingit
12 years agoAdding PageStack support in qml
Yves Marcoz [Tue, 25 Oct 2011 05:01:38 +0000 (22:01 -0700)]
Adding PageStack support in qml

12 years agoDrop unnecessary imports.
Neal H. Walfield [Thu, 20 Oct 2011 19:52:23 +0000 (21:52 +0200)]
Drop unnecessary imports.

12 years agoIf Woodchuck initialization fails, handle the error gracefully.
Neal H. Walfield [Thu, 20 Oct 2011 19:49:59 +0000 (21:49 +0200)]
If Woodchuck initialization fails, handle the error gracefully.

12 years agoIf Woodchuck schedules an object transfer, tell it not to bother.
Neal H. Walfield [Thu, 20 Oct 2011 19:48:52 +0000 (21:48 +0200)]
If Woodchuck schedules an object transfer, tell it not to bother.

12 years agoFix spelling: it's logger.debug, not log.
Neal H. Walfield [Thu, 20 Oct 2011 19:48:11 +0000 (21:48 +0200)]
Fix spelling: it's logger.debug, not log.

12 years agoMake woodchuck upcalls future proof.
Neal H. Walfield [Thu, 20 Oct 2011 19:47:01 +0000 (21:47 +0200)]
Make woodchuck upcalls future proof.

 - Add *args and **kwargs to the callback functions' parameters.

12 years agoIf the image tag does not contain a src parameter, ignore it.
Neal H. Walfield [Thu, 20 Oct 2011 19:43:49 +0000 (21:43 +0200)]
If the image tag does not contain a src parameter, ignore it.

12 years agoRemove .pyc files
Yves [Wed, 19 Oct 2011 21:04:05 +0000 (14:04 -0700)]
Remove .pyc files

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Sat, 15 Oct 2011 16:23:34 +0000 (09:23 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

12 years agoAdding wip version for meego harmattan
Yves Marcoz [Sat, 15 Oct 2011 16:22:45 +0000 (09:22 -0700)]
Adding wip version for meego harmattan

12 years agoFix exception catching when woodchuck is not installed
Yves [Tue, 20 Sep 2011 18:30:06 +0000 (11:30 -0700)]
Fix exception catching when woodchuck is not installed

12 years agoFix download feed for FeedingIt-Web.py
Yves [Tue, 20 Sep 2011 18:28:59 +0000 (11:28 -0700)]
Fix download feed for FeedingIt-Web.py

12 years agoMerge remote-tracking branch 'woodchuck/master'
Yves Marcoz [Mon, 19 Sep 2011 23:12:24 +0000 (16:12 -0700)]
Merge remote-tracking branch 'woodchuck/master'

12 years agoWhen computing the progress, avoid division by zero.
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Mon, 19 Sep 2011 23:07:06 +0000 (16:07 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

12 years agoWhen computing the progress, avoid division by zero.
Neal H. Walfield [Wed, 14 Sep 2011 12:32:12 +0000 (14:32 +0200)]
When computing the progress, avoid division by zero.

12 years agoChange addImage to not throw an exception but return None on failure.
Neal H. Walfield [Wed, 14 Sep 2011 12:31:38 +0000 (14:31 +0200)]
Change addImage to not throw an exception but return None on failure.

12 years agoFix cache management.
Neal H. Walfield [Wed, 14 Sep 2011 12:30:44 +0000 (14:30 +0200)]
Fix cache management.

 - After determining that the cache is invalid, actually rebuild it.

12 years agoDon't reprocess downloaded articles that are already up to date.
Neal H. Walfield [Tue, 6 Sep 2011 23:03:32 +0000 (01:03 +0200)]
Don't reprocess downloaded articles that are already up to date.

12 years agorss_sqlite: When update a feed: improve statistics reporting.
Neal H. Walfield [Tue, 6 Sep 2011 22:16:45 +0000 (00:16 +0200)]
rss_sqlite: When update a feed: improve statistics reporting.

12 years agoDo less important start up configuration after the main view is shown.
Neal H. Walfield [Tue, 6 Sep 2011 20:57:01 +0000 (22:57 +0200)]
Do less important start up configuration after the main view is shown.

12 years agoIf initializing the Woodchuck connection fails, just disable Woodchuck.
Neal H. Walfield [Tue, 6 Sep 2011 20:54:06 +0000 (22:54 +0200)]
If initializing the Woodchuck connection fails, just disable Woodchuck.

12 years agoModify the DisplayFeed widget so it need not be destroyed.
Neal H. Walfield [Tue, 6 Sep 2011 20:42:34 +0000 (22:42 +0200)]
Modify the DisplayFeed widget so it need not be destroyed.

12 years agoCache data needed to build the feed and feeds overviews.
Neal H. Walfield [Tue, 6 Sep 2011 12:58:36 +0000 (14:58 +0200)]
Cache data needed to build the feed and feeds overviews.

12 years agoChange Listing.getFeedUpdateTime to return a relative time string.
Neal H. Walfield [Tue, 6 Sep 2011 11:06:43 +0000 (13:06 +0200)]
Change Listing.getFeedUpdateTime to return a relative time string.

12 years agoCorrectly set update time to never.
Neal H. Walfield [Tue, 6 Sep 2011 10:20:44 +0000 (12:20 +0200)]
Correctly set update time to never.

 - Check if the update time is 0 in Listing.getFeedUpdateTime.

12 years agoSet the orientation before showing the main window.
Neal H. Walfield [Tue, 6 Sep 2011 08:57:43 +0000 (10:57 +0200)]
Set the orientation before showing the main window.

 - Avoid a gratuitious orientation change and speed up start up time.

12 years agoWhen creating a closure, correctly capture any required local state.
Neal H. Walfield [Mon, 5 Sep 2011 21:57:16 +0000 (23:57 +0200)]
When creating a closure, correctly capture any required local state.

12 years agoMake addImage more robust.
Neal H. Walfield [Mon, 5 Sep 2011 20:48:02 +0000 (22:48 +0200)]
Make addImage more robust.

 - Use with to ensure the output file handle is closed.

12 years agoIn downloader, not check if progress_handler == False, but if it is None.
Neal H. Walfield [Mon, 5 Sep 2011 20:43:09 +0000 (22:43 +0200)]
In downloader, not check if progress_handler == False, but if it is None.

12 years agoFix call to addImage.
Neal H. Walfield [Mon, 5 Sep 2011 20:33:31 +0000 (22:33 +0200)]
Fix call to addImage.

 - When calling addImage, include the opener we are using to gather
   statistics.

12 years agoIf an instance of FeedingIt is running, send it to the front and quit.
Neal H. Walfield [Mon, 5 Sep 2011 12:03:43 +0000 (14:03 +0200)]
If an instance of FeedingIt is running, send it to the front and quit.

 - Grab org.maemo.feedingit exclusively (don't queue).
 - If we fail to get it, invoke org.maemo.feedingit.GrabFocus.
 - Implement org.maemo.feedingit.GrabFocus to bring the application to
   the front.

12 years agoWhen navigating to the next article, reuse the DisplayArticle widget.
Neal H. Walfield [Sun, 4 Sep 2011 21:25:28 +0000 (23:25 +0200)]
When navigating to the next article, reuse the DisplayArticle widget.

 - In the DisplayArticle class, don't propagate the article-next and
   article-previous signals, handle any next and previous article
   actions locally.
 - When initializing a DisplayArticle object, pass it the set of
   acceptable articles.

12 years agoOpen external links asynchronously.
Neal H. Walfield [Sun, 4 Sep 2011 11:19:51 +0000 (13:19 +0200)]
Open external links asynchronously.

12 years agoOffload all downloading logic to updatefeed.py.
Neal H. Walfield [Tue, 23 Aug 2011 15:57:16 +0000 (17:57 +0200)]
Offload all downloading logic to updatefeed.py.

 - Change Woodchuck initialization to only process upcalls if started
   from updatefeed.

 - Add org.marcoz.feedingit.UpdateProgress.

 - In rss_sqlite.py, detect if we are running as updatefeed.py:
  - If so:
   - Perform downloads directly, and
   - Make the appropriate progress calls.
  - Otherwise:
   - Don't update feeds directly, instead, make the appropriate dbus
     calls to updatefeed.py (starting it as necessary).

 - updatedbus.py:
  - Remove get_lock and release_lock, which is no longer needed as
    updating is now centralized.
  - Add dbus methods Update and UpdateProgress.
  - Make methods UpdateAll and StopUpdate abstract.
  - Add function update_server_object to retrieve any UpdateServerObject
  - Ensure that there is only a single instance of UpdateServerObject.

 - update_feeds.py:
  - Move system idle detection from FeedingIt.py to here.
  - Add a '--daemon' option, which does not update all feeds on start.
  - Implement Update, UpdateAll and StopUpdate
  - Make update notifications as appropriate.
  - Update locking mechanism: grab the bus name without queueing.

 - FeedingIt.py:
  - Adapt progress logic appropriately.
  - Don't detect when the program is started only for an update (it
    isn't anymore)

 - FeedingIt:
  - Start updatefeeds.py with the --daemon option.

12 years agoReplace use of print with Python's logging infrastructure.
Neal H. Walfield [Mon, 22 Aug 2011 19:28:36 +0000 (21:28 +0200)]
Replace use of print with Python's logging infrastructure.

12 years agoRedirect output to log files.
Neal H. Walfield [Mon, 22 Aug 2011 19:11:10 +0000 (21:11 +0200)]
Redirect output to log files.

12 years agoImport woodchuck from wc.
Neal H. Walfield [Sun, 21 Aug 2011 15:27:47 +0000 (17:27 +0200)]
Import woodchuck from wc.

12 years agoUpgrade feedparser to 5.0.1
Yves Marcoz [Fri, 19 Aug 2011 04:24:08 +0000 (21:24 -0700)]
Upgrade feedparser to 5.0.1

12 years agoFixed started if woodchuck not installed
Yves Marcoz [Fri, 19 Aug 2011 04:19:12 +0000 (21:19 -0700)]
Fixed started if woodchuck not installed

12 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Fri, 5 Aug 2011 05:04:12 +0000 (22:04 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

Conflicts:
src/rss_sqlite.py

12 years agoRevert "Remove dead code."
Yves Marcoz [Fri, 5 Aug 2011 04:59:03 +0000 (21:59 -0700)]
Revert "Remove dead code."

This reverts commit 60c1e4498944b83eedbd7596e67ba7cd1ece9554.

12 years agoEnsure that use of an sqlite DB is done with a thread-local instance.
Neal H. Walfield [Sun, 17 Jul 2011 21:21:48 +0000 (23:21 +0200)]
Ensure that use of an sqlite DB is done with a thread-local instance.

12 years agoApply Neal's patch - Fixed os.remove
Yves Marcoz [Tue, 2 Aug 2011 04:06:06 +0000 (21:06 -0700)]
Apply Neal's patch - Fixed os.remove

12 years agoBump version.
Neal H. Walfield [Sun, 31 Jul 2011 09:34:30 +0000 (11:34 +0200)]
Bump version.

12 years agoMake the gtk frontend, the default frontend.
Neal H. Walfield [Sun, 31 Jul 2011 08:41:38 +0000 (10:41 +0200)]
Make the gtk frontend, the default frontend.

12 years agoRemove dead code.
Neal H. Walfield [Sat, 30 Jul 2011 20:47:29 +0000 (22:47 +0200)]
Remove dead code.

12 years agoQuit after completing an update triggered by Woodchuck.
Neal H. Walfield [Sat, 30 Jul 2011 20:47:19 +0000 (22:47 +0200)]
Quit after completing an update triggered by Woodchuck.

If started via DBus, an update is trigger, but no user interaction
occurs by the time the update completes, quit when the update
completes.

12 years agoIntegrate BeautifulSoup version 3.2.0.
Neal H. Walfield [Sat, 30 Jul 2011 20:03:15 +0000 (22:03 +0200)]
Integrate BeautifulSoup version 3.2.0.

12 years agoWhen the user is active, reduce the download parallelism.
Neal H. Walfield [Fri, 29 Jul 2011 10:27:12 +0000 (12:27 +0200)]
When the user is active, reduce the download parallelism.

12 years agoWhen creating a unique id for an article, use all available information.
Neal H. Walfield [Sun, 24 Jul 2011 22:29:01 +0000 (00:29 +0200)]
When creating a unique id for an article, use all available information.

12 years agoIf a new feed's title is '', don't abort: set the title to that in the feed.
Neal H. Walfield [Sun, 24 Jul 2011 17:05:15 +0000 (19:05 +0200)]
If a new feed's title is '', don't abort: set the title to that in the feed.

12 years agoAdd support for Woodchuck.
Neal H. Walfield [Sat, 23 Jul 2011 09:13:47 +0000 (11:13 +0200)]
Add support for Woodchuck.

12 years agoMove download management from frontends to rss_sqlite.py.
Neal H. Walfield [Sat, 23 Jul 2011 08:38:18 +0000 (10:38 +0200)]
Move download management from frontends to rss_sqlite.py.

 - Move download logic to rss_sqlite.py:
  - Move thread management to jobmanager.py.
  - Queue jobs in rss_sqlite.py.
  - Manage per-feed DBus locks in rss_sqlite.py.
  - Get config settings in rss_sqlite.py on demand.

 - Make downloading more robust:
  - Only call non-thread-safe code (in particular, DBus and gconf
    functionality) from the main thread using mainthread.py.
  - Improve responsiveness of the frontend but yielding during CPU
    intense activities and only allowing a single slave to parse
    a feed at a time.
  - When downloads are canceled, do our best to quit cleanly and
    quickly.

 - Update frontends to use the new functionality.
  - Remove redundant code, in particular, download functionality.
  - Rework FeedingIt.py's download bar.

12 years agoCall remove, not os.remove.
Neal H. Walfield [Sun, 17 Jul 2011 22:07:04 +0000 (00:07 +0200)]
Call remove, not os.remove.

12 years agoEnsure that use of an sqlite DB is done with a thread-local instance.
Neal H. Walfield [Sun, 17 Jul 2011 21:21:48 +0000 (23:21 +0200)]
Ensure that use of an sqlite DB is done with a thread-local instance.

13 years agoFixed updating issues
Yves Marcoz [Wed, 24 Nov 2010 06:58:43 +0000 (22:58 -0800)]
Fixed updating issues

13 years agoMore 0.9 fixes
Yves Marcoz [Tue, 23 Nov 2010 15:51:13 +0000 (07:51 -0800)]
More 0.9 fixes

13 years agoFixed some dbus calls
Yves Marcoz [Mon, 15 Nov 2010 15:29:21 +0000 (07:29 -0800)]
Fixed some dbus calls

13 years ago0.9 beta 3 - Added features to qml interface (dbus, edit mode...)
Yves Marcoz [Mon, 15 Nov 2010 05:15:04 +0000 (21:15 -0800)]
0.9 beta 3 - Added features to qml interface (dbus, edit mode...)

13 years agoAdded toolbar images
Yves Marcoz [Sun, 7 Nov 2010 17:46:08 +0000 (09:46 -0800)]
Added toolbar images

13 years agoAdded full rotation support to QML interface
Yves Marcoz [Sun, 7 Nov 2010 17:44:59 +0000 (09:44 -0800)]
Added full rotation support to QML interface
Added swipe support for articles to QML interface

13 years ago0.9beta
Yves Marcoz [Fri, 5 Nov 2010 15:02:27 +0000 (08:02 -0700)]
0.9beta
* bug fixes
* 1st iteration of QML interface

13 years agoAdded categories to sort feed
Yves Marcoz [Fri, 17 Sep 2010 06:07:22 +0000 (23:07 -0700)]
Added categories to sort feed

13 years agoFixed date for feeds with a date field (#6398)
Yves Marcoz [Sun, 12 Sep 2010 17:50:32 +0000 (10:50 -0700)]
Fixed date for feeds with a date field (#6398)

13 years agoAdded 144 and 288 hour option for article retention
Yves [Fri, 20 Aug 2010 17:02:08 +0000 (10:02 -0700)]
Added 144 and 288 hour option for article retention

13 years agoChangelog update 0.8.0-8
Yves Marcoz [Sat, 14 Aug 2010 04:59:17 +0000 (21:59 -0700)]
Changelog update 0.8.0-8

13 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Sat, 14 Aug 2010 04:56:11 +0000 (21:56 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

13 years agoFixed typo for widget
Yves [Tue, 10 Aug 2010 20:12:53 +0000 (13:12 -0700)]
Fixed typo for widget

13 years agoFixed database upgrade when not using the widget
Yves Marcoz [Tue, 10 Aug 2010 14:27:55 +0000 (07:27 -0700)]
Fixed database upgrade when not using the widget

13 years ago0.8.0-5
Yves Marcoz [Mon, 9 Aug 2010 14:12:45 +0000 (07:12 -0700)]
0.8.0-5
* Fixed feed listing background colour
* Added author item in articles
* Fixed dates of articles/feeds

13 years agoFixed hide read feeds
Yves Marcoz [Sun, 18 Jul 2010 08:04:32 +0000 (01:04 -0700)]
Fixed hide read feeds

13 years agoAdd use of ellipsize for widget width
Yves Marcoz [Sat, 17 Jul 2010 19:16:43 +0000 (12:16 -0700)]
Add use of ellipsize for widget width

13 years agoChanged external page version, and some widget usability modifications
Yves Marcoz [Sat, 17 Jul 2010 06:30:01 +0000 (23:30 -0700)]
Changed external page version, and some widget usability modifications

13 years ago* Fixed some format upgrade issues
Yves Marcoz [Fri, 16 Jul 2010 16:11:26 +0000 (09:11 -0700)]
* Fixed some format upgrade issues
* New widget with improved functionality

13 years agoModified storage engine to use sqlite3
Yves Marcoz [Wed, 14 Jul 2010 01:20:52 +0000 (18:20 -0700)]
Modified storage engine to use sqlite3

13 years ago[#5946] Make swipe navigation previous article iterate over _generated list_. (njsf)
Yves Marcoz [Tue, 22 Jun 2010 03:15:23 +0000 (20:15 -0700)]
[#5946] Make swipe navigation previous article iterate over _generated list_. (njsf)

13 years agoUpdate changelog for 0.7.0-4 release
Yves Marcoz [Tue, 15 Jun 2010 07:05:27 +0000 (00:05 -0700)]
Update changelog for 0.7.0-4 release

13 years agoAdded a stop button in the application shown if a background update is running when...
Yves Marcoz [Tue, 15 Jun 2010 07:01:34 +0000 (00:01 -0700)]
Added a stop button in the application shown if a background update is running when it is started

13 years agoMerge branch 'patch5884'
Yves Marcoz [Tue, 15 Jun 2010 03:12:27 +0000 (20:12 -0700)]
Merge branch 'patch5884'

Conflicts:
src/config.py

13 years agopatch #5884: Allow option to sort feeds by update time and unread articles (Nelson)
Yves Marcoz [Tue, 15 Jun 2010 03:08:24 +0000 (20:08 -0700)]
patch #5884: Allow option to sort feeds by update time and unread articles (Nelson)

13 years agoFixed widget messages when the application has never been run before
Yves Marcoz [Tue, 15 Jun 2010 02:31:28 +0000 (19:31 -0700)]
Fixed widget messages when the application has never been run before

13 years agoFixed etag value of None if a feed did not contain updates, plus parsing for gzipped...
Yves Marcoz [Mon, 14 Jun 2010 22:44:46 +0000 (15:44 -0700)]
Fixed etag value of None if a feed did not contain updates, plus parsing for gzipped feeds

13 years agoAdded option to always open links in external browser
Yves Marcoz [Mon, 14 Jun 2010 04:01:01 +0000 (21:01 -0700)]
Added option to always open links in external browser

13 years agoRe-added ability to delete ArchivedArticles feed
Yves Marcoz [Sun, 13 Jun 2010 21:37:20 +0000 (14:37 -0700)]
Re-added ability to delete ArchivedArticles feed

13 years agodebian/control: Use 48x48 icon; updated description
Thomas Perl [Sat, 12 Jun 2010 23:07:24 +0000 (01:07 +0200)]
debian/control: Use 48x48 icon; updated description

HAM on Maemo 5 uses 48x48 icons in the application list.
Updated the description to be easier to read / have a
summary of the features in the first line, as it appears
as description line in HAM.

13 years agoAdd "Add new feed" to main menu
Thomas Perl [Sat, 12 Jun 2010 22:58:12 +0000 (00:58 +0200)]
Add "Add new feed" to main menu

This menu item should be in the main menu too,
because it's a feature that might be needed more
often. Of course it's also available in the
subscription manager, but placing it in the main
menu makes it easier accessible.

13 years agoCleaned up "Add feed" and "Edit feed" wizard
Thomas Perl [Sat, 12 Jun 2010 22:51:05 +0000 (00:51 +0200)]
Cleaned up "Add feed" and "Edit feed" wizard

The simple dialog provides a better overview
of the entered data, and allows the user to
use less touches to add a feed. It's possible
to simply use the keyboard ("Enter" goes to
the next field and adds the feed when pressed
in the URL field) for the complete interaction.

13 years agoSubscriptions: Delete confirmation, archived articles
Thomas Perl [Thu, 10 Jun 2010 11:58:13 +0000 (13:58 +0200)]
Subscriptions: Delete confirmation, archived articles

Confirm the deletion of feeds.
Disallow deletion of archived articles.
Disallow editing of archived articles.
Only refresh list when something has changed.

13 years agoFix a bug in isEntryRead for unknwn IDs
Thomas Perl [Thu, 10 Jun 2010 11:42:48 +0000 (13:42 +0200)]
Fix a bug in isEntryRead for unknwn IDs

I experienced a bug that prevented me from opening
a feed in the UI, because the isEntryRead function
raised a KeyError for an unknown entry ID.

13 years agoAdded hard-coded background colour for article listing
Yves Marcoz [Tue, 8 Jun 2010 14:32:18 +0000 (07:32 -0700)]
Added hard-coded background colour for article listing

13 years agoWorkaround for article listing word-wrap when switching portrait/landscare
Yves Marcoz [Tue, 8 Jun 2010 05:23:57 +0000 (22:23 -0700)]
Workaround for article listing word-wrap when switching portrait/landscare

13 years agoFixed config dialog size in portrait mode
Yves Marcoz [Tue, 8 Jun 2010 05:12:19 +0000 (22:12 -0700)]
Fixed config dialog size in portrait mode

13 years agominor edits
Yves Marcoz [Mon, 7 Jun 2010 14:31:17 +0000 (07:31 -0700)]
minor edits

13 years agoMerge branch 'master' of https://git.maemo.org/projects/feedingit
Yves Marcoz [Mon, 7 Jun 2010 03:12:13 +0000 (20:12 -0700)]
Merge branch 'master' of https://git.maemo.org/projects/feedingit

13 years agofix formatting
Yves Marcoz [Mon, 7 Jun 2010 03:11:59 +0000 (20:11 -0700)]
fix formatting

13 years agoMerge landscape rotation fix for PR1.2
Thomas Perl [Fri, 4 Jun 2010 20:52:21 +0000 (22:52 +0200)]
Merge landscape rotation fix for PR1.2

For PR1.2, the semantics of the portrait mode
flags have slightly changed, so we must not
set the "SUPPORT" flag if we want to stay in
landscape-only mode.

13 years agoShow amount of feeds being updated
Thomas Perl [Thu, 3 Jun 2010 13:53:06 +0000 (15:53 +0200)]
Show amount of feeds being updated

13 years agoRemove duplicate code (HTTP opener)
Thomas Perl [Thu, 3 Jun 2010 13:48:02 +0000 (15:48 +0200)]
Remove duplicate code (HTTP opener)

13 years agoProper word case for app menu items
Thomas Perl [Thu, 3 Jun 2010 13:46:00 +0000 (15:46 +0200)]
Proper word case for app menu items