feedingit
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 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

13 years agoSubscription manager window (with OPML AppMenu)
Thomas Perl [Thu, 3 Jun 2010 13:42:08 +0000 (15:42 +0200)]
Subscription manager window (with OPML AppMenu)

This reduces the amount of buttons in the main app
menu and combines all subscription-related actions
in a new stackable window.

13 years agoFix layout and text in OPML import dialog
Thomas Perl [Thu, 3 Jun 2010 13:21:24 +0000 (15:21 +0200)]
Fix layout and text in OPML import dialog

13 years agoBetter UI and interaction for the settings dialog
Thomas Perl [Thu, 3 Jun 2010 13:09:41 +0000 (15:09 +0200)]
Better UI and interaction for the settings dialog

13 years agoModified TreeView for article listing, and for the widget
Yves Marcoz [Tue, 1 Jun 2010 02:21:20 +0000 (19:21 -0700)]
Modified TreeView for article listing, and for the widget

13 years agoAdded patch #5850 and #5851 from Nelson
Yves Marcoz [Sun, 30 May 2010 23:41:23 +0000 (16:41 -0700)]
Added patch #5850 and #5851 from Nelson
Updated TreeView appearance in Article listing

13 years agoChanged default feed to Maemo News
Yves [Sun, 30 May 2010 01:53:31 +0000 (18:53 -0700)]
Changed default feed to Maemo News
Added exception handling for rotation, so programs runs in scratchbox

13 years ago0.7.0-1, small fix for Archived Articles unread items.
Yves [Sat, 29 May 2010 18:28:06 +0000 (11:28 -0700)]
0.7.0-1, small fix for Archived Articles unread items.

13 years agoAdded THP's patches (5841) and Nelson's patch (#5782)
Yves [Sat, 29 May 2010 18:04:00 +0000 (11:04 -0700)]
Added THP's patches (5841) and Nelson's patch (#5782)

13 years agoRemoved imageHandler class. Expiry of disk cache is time-based now
Yves [Thu, 20 May 2010 05:01:11 +0000 (22:01 -0700)]
Removed imageHandler class. Expiry of disk cache is time-based now

13 years agoAdded documentation.txt from Rui DaCosta
Yves [Sun, 16 May 2010 17:46:57 +0000 (10:46 -0700)]
Added documentation.txt from Rui DaCosta

13 years agoAdded destroy for widget when removed from homescreen
Yves [Thu, 13 May 2010 15:00:19 +0000 (08:00 -0700)]
Added destroy for widget when removed from homescreen

13 years agoFixed bug triggered updates from widget too often.
Yves [Fri, 7 May 2010 14:30:12 +0000 (07:30 -0700)]
Fixed bug triggered updates from widget too often.

13 years ago0.6.1-7, fix for broken feeds
Yves [Tue, 4 May 2010 04:49:45 +0000 (21:49 -0700)]
0.6.1-7, fix for broken feeds

14 years ago0.6.1-5 ArchivedArticles can now be purged manually
Yves [Fri, 30 Apr 2010 05:18:41 +0000 (22:18 -0700)]
0.6.1-5 ArchivedArticles can now be purged manually

14 years ago0.6.1-1 Added dbus locking mechanism, and widget changes
Yves [Sun, 25 Apr 2010 01:20:12 +0000 (18:20 -0700)]
0.6.1-1 Added dbus locking mechanism, and widget changes

14 years ago0.6.0 added widget
Yves [Sun, 11 Apr 2010 21:01:22 +0000 (14:01 -0700)]
0.6.0 added widget

14 years ago0.5.4-3 Article font size, em tags, tweaked swipe gestures
Yves [Sat, 27 Mar 2010 05:36:54 +0000 (22:36 -0700)]
0.5.4-3 Article font size, em tags, tweaked swipe gestures

14 years ago0.5.4-2 Integrated BeautifulSoup library to code
Yves Marcoz [Wed, 24 Mar 2010 18:28:21 +0000 (11:28 -0700)]
0.5.4-2 Integrated BeautifulSoup library to code

14 years ago0.5.4-0 stable version.
Yves [Wed, 24 Mar 2010 05:24:59 +0000 (22:24 -0700)]
0.5.4-0 stable version.

14 years ago0.5.3-4 extras-devel version
Yves [Tue, 23 Mar 2010 14:55:43 +0000 (07:55 -0700)]
0.5.3-4 extras-devel version

14 years ago0.5.3-4 image caching
Yves [Tue, 23 Mar 2010 06:58:02 +0000 (23:58 -0700)]
0.5.3-4 image caching

14 years ago0.5.3 - Image caching, first try
Yves [Mon, 22 Mar 2010 05:12:54 +0000 (22:12 -0700)]
0.5.3 - Image caching, first try

14 years ago0.5.2-3: fix for unread color from theme. Fix for mark all as read button.
Yves [Thu, 18 Mar 2010 04:01:00 +0000 (21:01 -0700)]
0.5.2-3: fix for unread color from theme. Fix for mark all as read button.

14 years agoAdded proxy support
Yves [Wed, 17 Mar 2010 05:05:26 +0000 (22:05 -0700)]
Added proxy support

14 years ago0.5.2
Yves [Tue, 16 Mar 2010 14:06:34 +0000 (07:06 -0700)]
0.5.2

14 years agoAdded unread cyan colour/Fix unread tracking
Yves [Tue, 9 Mar 2010 06:37:53 +0000 (22:37 -0800)]
Added unread cyan colour/Fix unread tracking

14 years ago0.5.1-0: added image caching for webkit Archived Articles
Yves [Mon, 8 Mar 2010 05:14:32 +0000 (21:14 -0800)]
0.5.1-0: added image caching for webkit Archived Articles

14 years agoFeed/Listing refactored
Yves [Thu, 4 Mar 2010 06:08:43 +0000 (22:08 -0800)]
Feed/Listing refactored