vMain to GtkGrid
hboxUpdateFeeds to GtkGrid
vbox42 to GtkGrid
hbox_search_podcasts to GtkGrid
vboxChannelNavigator to GtkGrid
hbox_search_episodes to GtkGrid
vbox_episode_list to GtkGrid
hboxDownloadRate to GtkGrid
hboxDownloadLimit to GtkGrid
hboxDownloadSettings to GtkGrid
vboxDownloadStatusWidgets to GtkGrid
hboxContainer to GtkGrid
This adds auto-discovery of the channel ID and new-style feed for old-style
(username-based) feed URLs when the V3 API key is available, and also adds an
extra menu item for migrating subscriptions.
Due to the way the QML UI re-uses the search field as
URL entry field, we have to special-case additional
prefixes, so that they are properly detected in the UI.
This gives a visual indication that even while the first few
items in the list are already visible, the list isn't fully
interactive (due to new items coming in regularly) yet.
For some reason, we needed to apply a offset of 36 pixels, so that the
overlay sheet aligns with the window. However, this offset gives
problems in landscape (it also gives a visual glitch when the sheet is
closed, as it could be partially visible at the bottom of the window).
This fixes it by not applying the offset fix when the window is in
landscape mode or when the sheet is closed.
Thanks to Andi for reporting this issue.
The current Sailfish UI is maintained as part of gPodder 4 in
gpodder-core, gpodder-ui-qml and gpodder-sailfish. The code
removed here was part of the old, Qt4-based Sailfish Alpha
SDK-based port that was still using PySide and Python 2.
I'm not opposed to 'for... else' myself, but I admit that even so I still have
to check [1] every time to remember what Raymond Hettinger suggests the 'else'
*should* have been called (hint: 'nobreak')...
[1] https://www.youtube.com/watch?v=OSGv2VnC0go&t=15m50s
'same_second' is a bit of a misleading name: it could be understood to check
whether or not two times are "in the same second" rather than whether two times
are "within a second of each other" (so, 1.999 and 2.001 might be thought to
fail this check).
Indeed, the function was originally implemented as "in the same second"; but
that implementation was incorrect in the context in which we use it, and the
implementation was fixed in [1]; unfortunately, the name was not changed as
part of that fix... Fixing the name, too, now.
[1] da2c5444fe
--HG--
extra : amend_source : 0da64760fe6926460641f9ef158bcd23963bf963
The icon image quality degradation described in the previous changeset is
actually a result of loading by pixbuf, regardless of whether we then draw on
it or not. Interestingly, if the initial load is done by name, then subsequent
loads by pixbuf maintain the higher quality. In any case, in order to minimize
the quality impact, only load the image by pixbuf when actaully doing the
drawing. And the entire thing is still optional -- if download_progress_bar is
not set, the icon is only ever loaded by name.
--HG--
extra : rebase_source : 21233543a2e668bacdd43af1055c99d3e4b8e8e8
On some window manager / panel combinations, drawing on the icon degrades its
quality; make the drawing optional.
--HG--
extra : amend_source : 689f688dc46159cf240773bd9ec39fc02ea1dcbc
The old (gpodder 2) trayicon.py (which was removed in
a198ecc400) had the functionality of showing a
download progress bar on the tray icon itself. The new Gtk status icon
extension did not copy over this functionlity. This changeset ports that
functionality over, and is heavily based on that original code.
--HG--
extra : amend_source : b6cd3349db7f54b8e30b86b9d514073cb80a15fd
Refactored the code to be able to add filetype specific logic.
Until now we used only the mutagen abstraction to implement one
code for all file types, but this don't work for special needs
(e.g: coverart manipulation)
If an extension author adds an flattr url to the extensions metadata
gPodder shows the "Flattr this" menu entry in the popup menu for an
extension in the preference dialog.
Alternative the extension author can add an url to the extensions
metadata to link to the authors donation page (Support the author).
Also the extension author can add an url to the extensions metadata
to link to the extensions user documentation.
From user feedback, the colored text highlight in the podcast list
for podcasts with new episodes has been received better than the
new "triangle" indicator. So we'll now show the colow highlights on
Harmattan (with black background), whereas on Sailfish we still
don't show it (at least with the default background in the emulator,
the white text looks better than the colored text).
There were similar extensions which have been folded into one:
- 2 similar audio extensions -> the audio_converter extension
- 2 similar video extensions -> the video_converter extension
With this change it's now possible to change the video output format in
the advanced settings to mp4 (default) or avi.
Don't go through gpodder.net if the user enters a URL
directly into the search field. This also fixes various
bugs / annoyances related to adding/removing podcasts in
the QML UI (e.g. updating "All episodes" counts).