Commit graph

164 commits

Author SHA1 Message Date
Nick
b63a79a62a Fri, 11 Jul 2008 13:09:55 -0400 <me@nikosapi.org>
Update podcast tab title when adding or removing channels

	* src/gpodder/gui.py: Add update_podcasts_tab() and call it when a
	channel is added or removed



git-svn-id: svn://svn.berlios.de/gpodder/trunk@764 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-11 17:13:04 +00:00
Thomas Perl
ce7aff70de Thu, 10 Jul 2008 23:54:57 +0200 <thp@perli.net>
Update list of donators

	* src/gpodder/gui.py: Update list of donators



git-svn-id: svn://svn.berlios.de/gpodder/trunk@763 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-10 21:55:13 +00:00
Thomas Perl
c4c346c930 Wed, 09 Jul 2008 12:19:26 +0200 <thp@perli.net>
Simply advanced configuration editor, implement usability suggestions

	* data/gpodder.glade: Implement usability suggestions from
	http://gpodder.org/files/user_test_2008-05.pdf: Rename "Player" tab in
	preferences to "Device"; change "Filter:" to "Search for:" in advanced
	configuration editor
	* src/gpodder/config.py: Support code for changes in the advanced
	configuration editor dialog (model)
	* src/gpodder/gui.py: Modify the advanced configuration editor to have
	check boxes for boolean values, remove the "Type" column and rename
	the columns as suggested by the May 2008 user test; use italic font
	instead of bold for values set to something other than the default



git-svn-id: svn://svn.berlios.de/gpodder/trunk@761 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-09 10:21:49 +00:00
Nick
faaac2ce63 Tue, 08 Jul 2008 21:25:24 -0400 <me@nikosapi.org>
Merge check free space before syncing patch

	* src/gpodder/gui.py: Display a dialog box informing the user in the
	event that there is insufficient free space on their device before
	syncing begins.
	* src/gpodder/sync.py: Added Device.tracks_list which is populated by
	Device.get_all_tracks() when Device.open() is called. 
	Added Device.episode_on_device(episode)
	Added Device.get_free_space()



git-svn-id: svn://svn.berlios.de/gpodder/trunk@760 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-09 01:43:01 +00:00
Nick
a42d4ee087 Tue, 08 Jul 2008 21:10:48 -0400 <me@nikosapi.org>
Small bugfixes

	* src/gpodder/gui.py: for bluetooth file transfer make sure
	episode.sync_filename()	doesn't contain any troublesome characters
	eg. some episodes include / in the title
	* src/gpodder/libpodcasts.py: comment out mimetype logging, it gets
	annoying after a while...
	* src/gpodder/util.py: remove "path = os.path.dirname(path)" from
	get_free_disk_space(path), this prevented the real free disk space
	from being reported



git-svn-id: svn://svn.berlios.de/gpodder/trunk@759 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-09 01:19:14 +00:00
Thomas Perl
fbcbc9fbdd Sun, 06 Jul 2008 23:11:33 +0200 <thp@perli.net>
Update book donators list

	* src/gpodder/gui.py: Add PhilF to list of book donators



git-svn-id: svn://svn.berlios.de/gpodder/trunk@758 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-06 21:11:55 +00:00
Nick
6d252bf571 Fri, 04 Jul 2008 13:25:12 -0400 <me@nikosapi.org>
* src/gpodder/gui.py: fix traceback when deleting episodes from device



git-svn-id: svn://svn.berlios.de/gpodder/trunk@756 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-04 17:27:26 +00:00
Nick
9eb1ade8f5 Thu, 03 Jul 2008 20:09:18 -0400 <me@nikosapi.org>
Display message if user tries to sync to iPod without gpod installed

	* src/gpodder/gui.py: Add an informative self.notification() if the user
	attempts to sync an iPod without the libgpod python bindings installed
	* src/gpodder/sync.py: Add sync.gpod_available, Add Device.errors to
	prevent a crash in the event of an error



git-svn-id: svn://svn.berlios.de/gpodder/trunk@754 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-04 00:30:28 +00:00
Thomas Perl
9f03a48832 Thu, 03 Jul 2008 20:26:50 +0200 <thp@perli.net>
Update list of book donators

	* src/gpodder/gui.py: Add Franz Seidl to list of book donators



git-svn-id: svn://svn.berlios.de/gpodder/trunk@753 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-03 18:27:13 +00:00
Nick
d4ea5b78b2 Tue, 01 Jul 2008 22:46:52 -0400 <me@nikosapi.org>
Better file extension detection using feed items' mimetypes

	* src/gpodder/gui.py: Use episode.file_type() instead of 
	util.file_type_by_extension(util.file_extension_from_url(url))
	* src/gpodder/libgpodder.py: Use episode.file_type() instead of          
        util.file_type_by_extension(util.file_extension_from_url(url))
	* src/gpodder/libpodcasts.py: Add new column to the channel list
	gtk.ListStore for holding the file extension. Add extension()
	function to podcastItem which makes use mimetype in the event that
	filename_from_url()[1] returns None
	* src/gpodder/util.py: file_extension_from_url is renamed to 
	filename_from_url and returns (filename, extension)
	Added extension_from_mimetype(mimetype)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@752 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-07-02 23:36:39 +00:00
Thomas Perl
2560aac326 Mon, 30 Jun 2008 17:39:36 +0200 <thp@perli.net>
Do not update podcast list when closing channel window (patch by Justin Forest)

	* src/gpodder/gui.py: Do not update podcast list when closing the
	channel window, saves some CPU cycles. Patch by Justin Forest
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=135)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@751 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-30 15:40:48 +00:00
Nick
a86b127309 Sun, 29 Jun 2008 16:59:30 -0400 <me@nikosapi.org>
Merge patch from Justin Forest and Thomas Perl:
- Use SQLite instead of cPickle to store all data, including feed summary
and entries, download and play history. 
- Migration assistant to import the old cPickle files in to the SQLite DB
	* src/gpodder/cache.py: SQLite-related accomodations 
	* src/gpodder/console.py: SQLite-related accomodations
	* src/gpodder/dbsqlite.py: New file, SQLite interface for gPodder
	* src/gpodder/gui.py: Lots of changes to accomodate the new SQLite
	DB + new migration assistant code
	* src/gpodder/libgpodder.py: Added gPodderLib.migrate_to_sqlite().
	HistoryStore and ChannelSettings are marked as DEPRECATED
	* src/gpodder/libpodcasts.py: SQLite-related accomodations and new 
	code for setting/determining episode state
	* src/gpodder/sync.py: SQLite-related accomodations
	* src/gpodder/trayicon.py: Use episode.was_downloaded() instead
	of episode.is_downloaded()
	* src/gpodder/util.py: SQLite-related accomodations


git-svn-id: svn://svn.berlios.de/gpodder/trunk@750 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-30 01:10:18 +00:00
Thomas Perl
ffa944ae2d Thu, 19 Jun 2008 10:50:11 +0200 <thp@perli.net>
Fix OPML dialog button sensitivity; sensitivity+totals for Episode Selector

	* src/gpodder/gui.py: Fix the sensitivity setting of the OPML lister
	when using the "Select All"/"Select None" buttons; add button
	sensitivity setting code to Episode Selector and add episode count



git-svn-id: svn://svn.berlios.de/gpodder/trunk@748 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-19 08:51:37 +00:00
Thomas Perl
93d3186bb6 Thu, 19 Jun 2008 09:46:38 +0200 <thp@perli.net>
Fix alignment of "pill" pixbuf

	* src/gpodder/gui.py: Align the "pill" pixbuf all to the right



git-svn-id: svn://svn.berlios.de/gpodder/trunk@747 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-19 07:47:03 +00:00
Thomas Perl
72abb0c3bb Thu, 19 Jun 2008 09:30:53 +0200 <thp@perli.net>
Use as much space as possible for podcast title and description

	* src/gpodder/gui.py: Hide the "pill" pixbuf cell when we don't have a
	value to display, so we can show more of the channel title +
	description
	* src/gpodder/libpodcasts.py: Add a new boolean value to tell the
	treeview column if we need to show the "pill" cell or not



git-svn-id: svn://svn.berlios.de/gpodder/trunk@746 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-19 07:31:58 +00:00
Nick
95fbbaabca Tue, 17 Jun 2008 19:41:33 -0400 <me@nikosapi.org>
Add 'Select All' and 'Select None' buttons to gPodderOpmlLister

	* data/gpodder.glade: add 'Select All' and 'Select None' buttons to 
	the the bottom-left of the gPodderOpmlLister window
	* src/gpodder/gui.py: add button signal handlers and a function
	( select_all(bool) ) to facilitate selecting all or no channels



git-svn-id: svn://svn.berlios.de/gpodder/trunk@745 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-17 23:49:47 +00:00
Thomas Perl
2f3071d2cf Tue, 17 Jun 2008 14:49:12 +0200 <thp@perli.net>
Make handling pubDates a bit safer when reading it externally

	* src/gpodder/libpodcasts.py: Make handling of pubDates a bit more
	secure and easier
	* src/gpodder/gui.py: Add Daniel Ramos to list of donators and bug
	reporters



git-svn-id: svn://svn.berlios.de/gpodder/trunk@744 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-17 12:50:27 +00:00
Thomas Perl
5f02de291e Sun, 15 Jun 2008 14:44:29 +0200 <thp@perli.net>
Merge "Allows user command execution after certain events" from Paul Rudkin

	* src/gpodder/config.py: Add two new configuration options:
	cmd_all_downloads_complete and cmd_download_complete
	* src/gpodder/download.py: Call the user-specific command when a
	download finishes (if configured)
	* src/gpodder/gui.py: If all downloads have been completed, execute
	the user-specific command (if configured)
	* src/gpodder/libgpodder.py: Add ext_command_thread function that
	handles calling an external command
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=4)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@743 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-15 12:46:34 +00:00
Thomas Perl
c1bf2ceaf2 Sun, 15 Jun 2008 14:23:40 +0200 <thp@perli.net>
Support tooltips for the episode list; improve tooltip appearance

	* src/gpodder/gui.py: Add tooltips to treeAvailable (episode list);
	avoid showing tooltips while the context menu of the treeChannels and
	treeAvailable is open, so the tooltip doesn't appear over the context
	menu; add Sebastian Krause to list of bug reporters
	* src/gpodder/util.py: Try to convert some HTML tags to text-only
	characters (<br> to newline, <li> to a "*", etc..) so the description
	of an episode is easier to read and looks more structured; also,
	convert more than two subsequent newlines to maximum two newlines
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=126)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@742 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-15 12:28:24 +00:00
Thomas Perl
5b137db2cb Sat, 14 Jun 2008 18:50:29 +0200 <thp@perli.net>
Improve performance related to pubDate parsing; Download button; update feeds

	* src/gpodder/gui.py: Notify user when we are building the list of
	channels instead of staying at "updating [last feed]".; Make the "OK"
	button of the gPodderEpisodeSelector a "Downlaod" button, because
	that's what the button does when clicking it - downloading episodes
	* src/gpodder/libpodcasts.py: pubDate is now an Unix timestamp
	everywhere and not a string, which has to be parsed quite often; Fix
	up and improve the creation of the channel list model
	* src/gpodder/sync.py: Customizations for the new pubDate code
	* src/gpodder/util.py: Remove updated_parsed_to_rfc2822, because we
	don't need it anymore with the new pubDate code



git-svn-id: svn://svn.berlios.de/gpodder/trunk@740 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-14 16:53:16 +00:00
Thomas Perl
1174dd057c Sat, 14 Jun 2008 15:56:53 +0200 <thp@perli.net>
Make things less verbose and fix a problem with cover art handling

	* src/gpodder/gui.py: Fix problem when trying to remove a non-existent
	podcast cover art from the cache; make things less verbose
	* src/gpodder/*.py: Make things less verbose



git-svn-id: svn://svn.berlios.de/gpodder/trunk@739 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-14 13:57:34 +00:00
Thomas Perl
02192cc97a Sat, 14 Jun 2008 15:16:09 +0200 <thp@perli.net>
Detect HTML and OPML content when adding a podcast subscription

	* src/gpodder/gui.py: Detect HTML and OPML content when adding a
	podcast feed that is not parseable by feedparser; when the content
	suggests the file is an OPML file, open the OPML dialog, when it looks
	like an HTML file, ask the user if she wants to browse the content
	with the web browser and look for a suitable XML/feed URL
	(This fixes the first suggestion in the May 2008 Usability Evaluation)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@738 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-14 13:17:55 +00:00
Thomas Perl
d3533acc1f Fri, 13 Jun 2008 21:32:57 +0200 <thp@perli.net>
Automatically download channel cover file; improve channel cover handling

	* data/gpodder.glade: Simplify and clean-up the podcast editor dialog,
	especially with respect to the cover art stuff
	* src/gpodder/config.py: Add configuration option
	"podcast_list_icon_size" that determines the pixel size of the cover
	art displayed in the podcast list
	* src/gpodder/gui.py: Add cover cache, register with the cover
	downloader service in the main window, handle messages from the cover
	downloader (removed and download finished); request covers for
	channels when refreshing the channel list; make sure drag'n'drop of
	image files to the channel list works directly and sets the
	corresponding channel cover; Rework cover download handling and add an
	open dialog as suggested by the May 2008 Usability Evaluation
	* src/gpodder/libgpodder.py: Remove old, attic image downloading code
	from gPodderLib, because it now has its own service class
	* src/gpodder/libpodcasts.py: Remove unneeded get_cover_pixbuf helper
	function for podcastChannel; improve channels_to_model to take
	advantage of the new cover downloader service
	* src/gpodder/services.py: Add CoverDownloader service that acts as a
	central hub for all downloading and modifying of channel cover art,
	including notification of observers (through ObservableService)
	* src/gpodder/util.py: Add resize_pixbuf_keep_ratio helper function to
	resize a gtk pixbuf while keeping the aspect radio (with optional
	caching support through a dictionary parameter)
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=88)

Fri, 13 Jun 2008 20:10:13 +0200 <thp@perli.net>
Fix a bug in the experimental file naming support

	* src/gpodder/util.py: Fix bug that stopped the experimental file
	naming patch from working; thanks to Shane Donohoe for reporting



git-svn-id: svn://svn.berlios.de/gpodder/trunk@737 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-14 11:43:53 +00:00
Thomas Perl
ed11f1eef9 Fri, 13 Jun 2008 14:27:30 +0200 <thp@perli.net>
Merge patch from Justin Forest to speed up pubDate detection

	* src/gpodder/gui.py: Add Justin Forest to the list of contributors
	and make sure we clear the pubDate cache in the channel when changing
	episode downloaded status manually
	* src/gpodder/libpodcasts.py: Merge patch from Justin Forest to speed
	up the newest_pubdate_downloaded() function by caching its value
	instead of re-calculating it on every call



git-svn-id: svn://svn.berlios.de/gpodder/trunk@735 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-13 12:30:42 +00:00
Thomas Perl
905014fc1b Fri, 13 Jun 2008 09:37:45 +0200 <thp@perli.net>
Merge patch from Nick to add support for deleting played files on sync

	* data/gpodder.glade: Add check button for "Delete episodes on device
	that have been marked played in gPodder"
	* src/gpodder/config.py: Add two new config options:
	"mp3_player_delete_played" and "mp3_player_max_filename_length"
	* src/gpodder/gui.py: 
	* src/gpodder/libpodcasts.py: Add "is_deleted()" convenience function
	for a podcast episode
	* src/gpodder/sync.py: Clean-up and simplify parts of the code to make
	it better-structured and avoid code duplication; use the configuration
	variable for the MAX_FILENAME_LENGTH instead of hard-coding it to 100
	* src/gpodder/util.py: Split sanitize_filename() into two functions,
	detect_os_encoding() and sanitize_filename() for better code re-use
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=56; code written by
	Nick (nikosapi) and initial idea by Shane Donohoe, see the bug page)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@734 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-13 07:41:36 +00:00
Thomas Perl
d5aba0355e Sun, 08 Jun 2008 20:08:58 +0200 <thp@perli.net>
Patch from Jérôme Chabod to fix "minimize on start" bug (#123)

	* src/gpodder/gui.py: Patch from Jérôme Chabod to fix "minimize on
	start" bug by moving the minimizing code after the "show window" code
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=123)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@733 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-08 18:10:09 +00:00
Thomas Perl
64f48e95e8 Thu, 05 Jun 2008 18:16:05 +0200 <thp@perli.net>
Improve/fix podcast list tooltips as suggested by the Usability Test

	* src/gpodder/gui.py: Restructure and redesign the podcast list
	according to the suggestions in the Usability Test
	* src/gpodder/libpodcasts.py: Add helping code for the new tooltips



git-svn-id: svn://svn.berlios.de/gpodder/trunk@731 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-05 16:17:09 +00:00
Thomas Perl
a87a5ba7d2 Thu, 05 Jun 2008 18:10:11 +0200 <thp@perli.net>
Merge Support for Rockbox Cover Art patch (by David Spreen and Nick)
	* src/gpodder/config.py: Add configuration options for rockbox cover
	art, thanks to Nick for providing the patch and integration
	* src/gpodder/gui.py: Add David Spreen to the list of contributors
	* src/gpodder/sync.py: Merge patch from David Spreen and Nick to
	support Rockbox cover art synchronization



git-svn-id: svn://svn.berlios.de/gpodder/trunk@729 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-06-05 16:11:25 +00:00
Thomas Perl
523d476127 Sun, 25 May 2008 17:17:10 +0200 <thp@perli.net>
Fix problem with BitTorrent preferences

	* src/gpodder/gui.py: Merge bugfix patch by Nick (nikosapi) to make
	the BitTorrent preferences work correctly



git-svn-id: svn://svn.berlios.de/gpodder/trunk@723 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-25 15:17:48 +00:00
Thomas Perl
562fb4f2aa Sun, 25 May 2008 17:10:36 +0200 <thp@perli.net>
Updated Spanish and Swedish translations

	* data/po/es.po: Updated Spanish translation by Marcos Hernández
	* data/po/sv.po: Updated Swedish translation by Anders Kvist
	* src/gpodder/gui.py: Add Marcos Hernández to list of contributors,
	because he did the updated Spanish translation



git-svn-id: svn://svn.berlios.de/gpodder/trunk@721 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-25 15:11:49 +00:00
Thomas Perl
d004bdaf21 Fri, 16 May 2008 10:02:23 +0200 <thp@perli.net>
Add option to not hide channel cover and pill when the sidebar gets smaller

	* src/gpodder/config.py: Add "podcast_sidebar_save_space" option
	* src/gpodder/gui.py: Don't hide the channel cover and pill in the
	podcast list when the sidebar gets smaller; idea by Shane Donohoe



git-svn-id: svn://svn.berlios.de/gpodder/trunk@716 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-16 08:03:13 +00:00
Thomas Perl
bb4f2f11c5 Wed, 14 May 2008 15:34:25 +0200 <thp@perli.net>
Download start performance improvements; fix podcast list handling

	* data/gpodder.glade: Convert the gPodderAddPodcastDialog from a
	GtkWindow to a real GtkDialog to make Escape key work and set the URL
	entry box to activate the "Add" button when Enter is pressed in it
	* src/gpodder/gui.py: Fix podcast selection in updateComboBox, so the
	currect podcast is selected when removing/adding podcasts; allow to
	pass a URL which should be selected after the update; use
	DownloadStatusManager's new batch mode to speed up starting many
	downloads at once (very visible speed improvement); adding podcasts
	has also been improved a bit with the new code
	* src/gpodder/services.py: Support batch mode (i.e. only notify after
	all episodes have been added to th download list); this speeds up the
	UI when multiple episodes are downloaded at once



git-svn-id: svn://svn.berlios.de/gpodder/trunk@715 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-14 13:38:06 +00:00
Thomas Perl
40aa357a50 Mon, 12 May 2008 11:38:55 +0200 <thp@perli.net>
Fix a crasher with ExpatError when trying to parse an invalid itms:// URL

	* src/gpodder/gui.py: Give an error message when adding a channel that
	doesn't result in a valid URL being returned
	* src/gpodder/util.py: Improve handling of itms:// URLs that are not
	valid iTunes Podcast links, so they don't crash; thanks to Ralph on
	Launchpad for reporting this bug
	(Closes: https://bugs.launchpad.net/ubuntu/+source/gpodder/+bug/214113)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@713 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-12 09:40:55 +00:00
Thomas Perl
dd2300e727 Mon, 12 May 2008 11:26:43 +0200 <thp@perli.net>
Fix race condition in is_download_in_progress()

	* src/gpodder/services.py: Make sure we behave correctly when items in
	the download list disappear while we are iterating over the list of
	downloads when trying to find out if a download is already in progress
	* src/gpodder/gui.py: Add SPGoetze to list of bug reporters
	(Closes: https://bugs.launchpad.net/ubuntu/+source/gpodder/+bug/208964)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@712 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-12 09:29:05 +00:00
Thomas Perl
9ba9d6bbbd Mon, 12 May 2008 11:04:53 +0200 <thp@perli.net>
Fix bugs in the calculate_size utility function

	* src/gpodder/util.py: Fix problem when accessing files or folders is
	not possible in calculate_size(); thanks to Scott Wegner for reporting
	this bug on Launchpad
	* src/gpodder/gui.py: Add Scott Wegner to list of bug reporters
	(Closes: https://bugs.launchpad.net/ubuntu/+source/gpodder/+bug/201276)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@711 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-12 09:07:05 +00:00
Thomas Perl
9c8978d5a6 Sat, 10 May 2008 16:45:36 +0200 <thp@perli.net>
Make gPodder respect the user's GNOME toolbar style settings

	* src/gpodder/gui.py: Add Stefan Lohmaier to list of bug reporters
	* data/gpodder.glade: Remove the preset toolbar style (use user's
	configured toolbar style) and set the episode-related toolbar buttons
	to be "important" (so the text is displayed in the mixed mode); thanks
	to Stefan Lohmaier on gPodder Bugzilla for reporting this bug
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=105)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@708 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-10 14:47:29 +00:00
Thomas Perl
6afb9bd97f Sat, 10 May 2008 13:38:34 +0200 <thp@perli.net>
Improve feed cache update speed, thanks to the users at ITT

	* src/gpodder/cache.py: fetch() now returns an (updated, feed) tuple,
	where "updated" is a boolean value telling if the feed has been
	updated since the last run and "feed" is the feedparser feed data; fix
	a bug where the etag and the last-modified time were never used in a
	conditional download of not-changed feeds (my fault ;)
	* src/gpodder/console.py: Sync the feed cache to disk after adding a
	new podcast to the subscription list
	* src/gpodder/gui.py: Pass the list of old channels to the
	load_channels() function call, so we can save some CPU cycles when the
	feed has not changed and we are allowed to re-use the old, parsed one
	* src/gpodder/libpodcasts.py: Don't auto-sync the feed cache when
	getting the podcastChannel for a feed; add podcastChannel.sync_cache()
	function that saves the feed cache to disk; make it possible to pass a
	list of old channels to load_channels() and use the old channel
	objects in case the new one hasn't changed since the last run
	(see http://www.internettablettalk.com/forums/showpost.php?p=179261&postcount=62)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@707 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-10 11:43:43 +00:00
Thomas Perl
05308b2e2f Sat, 10 May 2008 13:33:49 +0200 <thp@perli.net>
Fix problem on Maemo when window open sound occurs twice on start

	* data/gpodder.glade: Don't show gPodder main window initially
	* src/gpodder/gui.py: Show gPodder main window only after the UI
	elements have been set up (on Desktop) and don't destroy old main
	window after re-parenting the vbox to the hildonized window (on Maemo)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@706 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-10 11:35:06 +00:00
Thomas Perl
b768ba7122 Sat, 10 May 2008 13:24:19 +0200 <thp@perli.net>
Don't change the menu item text for subscription remove and edit

	* src/gpodder/gui.py: Don't change the text of the subscription menu
	items when changing the active channel



git-svn-id: svn://svn.berlios.de/gpodder/trunk@705 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-10 11:24:58 +00:00
Thomas Perl
b2a409cdbb Mon, 05 May 2008 15:55:02 +0200 <thp@perli.net>
Add bug reporter for previous bug to list of contributors

	* src/gpodder/gui.py: Add Jerry Moss to list of bug reporters



git-svn-id: svn://svn.berlios.de/gpodder/trunk@703 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-05 13:55:27 +00:00
Thomas Perl
271829ceb0 Mon, 05 May 2008 15:52:49 +0200 <thp@perli.net>
Make sure we have a valid channel on which to call get_new_episodes()

	* src/gpodder/gui.py: Refactor on_btnDownloadNewer_clicked into the
	single calling code and remove the callback; this should really fix
	the problem described in LP bug 217113
	(Closes: https://bugs.launchpad.net/ubuntu/+source/gpodder/+bug/217113)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@702 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-05 13:54:23 +00:00
Thomas Perl
51af42fd25 Fri, 02 May 2008 17:42:54 +0200 <thp@perli.net>
Maemo-related changes; allow custom player on Maemo (optional)

	* data/gpodder.glade: gPodder maemo preferences window should be
	modal; Add "Ask before closing gPodder" checkbox to Maemo preferences
	* src/gpodder/config.py: Add option "maemo_allow_custom_player" that
	allows setting the "player" and "videoplayer" variables to a command
	that will be called, like on the Desktop version (instead of always
	opening Nokia's Media Player with all files)
	* src/gpodder/gui.py: Maemo-specific UI tweaks
	* src/gpodder/libgpodder.py: Only call Nokia's Mediaplayer when we are
	on Maemo and when "maemo_allow_custom_player" is set to False



git-svn-id: svn://svn.berlios.de/gpodder/trunk@701 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-02 15:45:45 +00:00
Thomas Perl
40cef59a49 Fri, 02 May 2008 17:28:22 +0200 <thp@perli.net>
Change "Channel" to "Podcast"; new main menu; URL entry updated; +niceties

	* data/gpodder.glade: Change "Channel" to "Podcast"; re-structure main
	menu in gPodder window
	* src/gpodder/config.py: Add "show_podcast_url_entry" configuration
	option that controls whether the podcast url entry box is shown in the
	main window or not; add observer functionality to the configuration
	manager, so UI elements can "watch" the configuration manager for
	changes of UI-related configuration options
	* src/gpodder/console.py: Change "Channel" to "Podcast"
	* src/gpodder/gui.py: Hildon-specific file open/save dialogs; default
	"Enter podcast URL..." test for the URL entry box; size-dependent
	showing and hiding of podcast icon and downloaded count pixmap also
	for the Desktop version; change "Channel" to "Podcast"; offer
	first-time users to see a list of example podcasts to subscribe to;
	dynamic main menu; code supporting the main menu changes; add code for
	sending the subscription list via e-mail; import from OPML file in
	addition to import from OPML URL; remove unneeded callbacks (wishlist,
	select all, ...); optionally set title and hide url entry in the
	gPodderOpmlLister (OPML import GUI); Add Frank Harper to list of
	contributors (initial reporter of bug #82)
	* src/gpodder/libgpodder.py: Add "send_subscriptions" function that
	sends the user's channels.opml file via E-Mail (using xdg-email);
	rename "Channel" to "Podcast"
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=82)
	(Closes: http://bugs.gpodder.org/show_bug.cgi?id=103)



git-svn-id: svn://svn.berlios.de/gpodder/trunk@700 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-02 15:36:43 +00:00
Thomas Perl
42a3b5be44 Fri, 02 May 2008 15:52:31 +0200 <thp@perli.net>
Updated Portuguese translation by João Trindade

	* data/gpodder.desktop: Updated Portuguese translation
	* data/po/pt.po: Updated Portuguese translation
	* src/gpodder/gui.py: Add João Trindade to list of contributors



git-svn-id: svn://svn.berlios.de/gpodder/trunk@699 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-05-02 13:53:23 +00:00
Thomas Perl
e94647da6b Tue, 29 Apr 2008 20:21:45 +0200 <thp@perli.net>
Fix problems with resizing the treeview on Maemo

	* src/gpodder/gui.py: Fix problems with treeview resizing and remove
	printing the percentage
	* bin/gpodder: We're in development again, so "+svn"



git-svn-id: svn://svn.berlios.de/gpodder/trunk@697 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-29 18:22:55 +00:00
Thomas Perl
5a743b6845 Thu, 24 Apr 2008 19:40:55 +0200 <thp@perli.net>
Maemo-specific dialogs and UI improvements

	* data/gpodder.glade: Maemo-specific "Add Podcast" dialog and
	Maemo-specific, stripped-down "Preferences" dialog added
	* src/gpodder/gui.py: Hide channel add UI from main window; make label
	for update button even shorter; hide cover and pill cells in the
	channel list if it gets too small; Maemo-specific dialogs for both
	adding channels and editing preferences



git-svn-id: svn://svn.berlios.de/gpodder/trunk@691 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-24 17:42:57 +00:00
Thomas Perl
ed5bf9eab1 Thu, 24 Apr 2008 18:19:02 +0200 <thp@perli.net>
Maemo finger-friendly updates; minor UI changes

	* data/gpodder.glade: Ellipsize the feed update progressbar in the
	middle instead of the end (to show progress)
	* src/gpodder/gui.py: Add support for finger-friendly widget (buttons,
	scroll areas, popup menus, etc..); text is "Loading [...]" when
	loading feed cache and "Updating [...]" when updating feeds; on Maemo,
	don't set the tab title to the current episode title; hide the heading
	in gPodderEpisodeSelector on Maemo (to save screen space); add
	finger_friendly_widgets class attribute to several gPodder windows;
	make the tabs in the main window a bit taller, but remove the border
	around the main window to gain some space on the screen



git-svn-id: svn://svn.berlios.de/gpodder/trunk@690 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-24 16:28:39 +00:00
Thomas Perl
4e137b290e Wed, 23 Apr 2008 22:31:42 +0200 <thp@perli.net>
Merge patch from Junio C Hamano to fix problems with zero-length in feeds

	* src/gpodder/gui.py: Update list of contributors/patch writers
	* src/gpodder/services.py: Patch from Junio C Hamano to fix a problem
	when a feed has zero length, which would otherwise result in a
	divide-by-zero error



git-svn-id: svn://svn.berlios.de/gpodder/trunk@687 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-23 20:33:27 +00:00
Thomas Perl
d63f123e36 Revert traceback-related changes from r682
git-svn-id: svn://svn.berlios.de/gpodder/trunk@686 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-22 20:24:19 +00:00
Thomas Perl
e3b4d2176e Tue, 22 Apr 2008 21:54:01 +0200 <thp@perli.net>
Diverse changes, code clean-ups and other small annoyances

	* src/gpodder/config.py: Make sure we can load a default set of
	configuration options, even if we are in CLI mode
	* src/gpodder/download.py: Don't display a traceback when logging a
	cancelled download
	* src/gpodder/gui.py: Add Doug Hellmann to contributors/coders list in
	the about dialog (Doug Hellmann has done the feed cache code); do not
	center the gPodderEpisode dialog on the treeAvailable widget (this
	looks ugly ;)
	* src/gpodder/libpodcasts.py: Clean up import statements; Make sure we
	always have icon names, even in CLI mode; Remove "is_music_channel"
	property of podcastChannel (not needed anymore); 



git-svn-id: svn://svn.berlios.de/gpodder/trunk@684 b0d088ad-0a06-0410-aad2-9ed5178a7e87
2008-04-22 19:57:02 +00:00