Commit Graph

7535 Commits

Author SHA1 Message Date
Philipp Wolfer
0ca427c608 Tag deletion: Fixed deletion of lyrics tag in MP4 2015-09-23 21:24:38 +02:00
Philipp Wolfer
645873d544 Added unit tests for tag deletion.
Currently fails for all formats but MP4 (since its only implemented there).
2015-09-23 21:01:16 +02:00
Philipp Wolfer
d4109ede10 Mark removed tags in metadata box, alway allow removing tags. 2015-09-23 20:51:44 +02:00
Philipp Wolfer
d3499c6ca2 Basic functionality to mark tags for deletion.
The deletion itself is only implemented for MP4 right now.
2015-09-23 20:51:44 +02:00
Philipp Wolfer
f784f9406f Fix for Gnome 3 Alt-Tab application name and window grouping.
Fixes PICARD-761
2015-09-23 20:47:33 +02:00
Philipp Wolfer
a959a1d019 Merge pull request #426 from Freso/PICARD-760-update-logo
PICARD-760: Update logo and derived icons
2015-09-23 13:07:54 +02:00
Frederik “Freso” S. Olesen
d1f85b11d9 Update picard/resources.py.
Via `python2 setup.py build_ui`.
2015-09-23 12:45:49 +02:00
Philipp Wolfer
d2c01fa564 Include icons in 8bit without alpha transparency.
> looks like this is needed by py2exe and/or windows

http://chatlogs.metabrainz.org/brainzbot/metabrainz/msg/3359455/
2015-09-23 12:43:24 +02:00
Frederik “Freso” S. Olesen
ad0f7ee9fa Update logo image for Windows installer.
Replaced the logo in the SVG in Inkscape and exported the BMP from
within The GIMP following the directions at
https://stackoverflow.com/questions/1341321/missing-welcome-image-in-nsis-mui2/26471885#26471885

Removing the PNG since it's not used by anything and was probably just
an intermediary step between the SVG and the BMP.
2015-09-23 12:37:04 +02:00
Frederik “Freso” S. Olesen
1881d4e001 Revise interface attribution text in AUTHORS.txt.
As per discussion at
https://github.com/musicbrainz/picard/pull/426/files#r40100628
2015-09-23 10:38:41 +02:00
Frederik “Freso” S. Olesen
a2d23f9ad9 Add note about updated logo/icons to NEWS.txt. 2015-09-22 16:54:56 +02:00
Frederik “Freso” S. Olesen
1462e9060b Update AUTHOR icon/logo attribution. 2015-09-22 16:54:55 +02:00
Frederik “Freso” S. Olesen
e3ac0456fe Update icon resources.
ICNS: `png2icns picard.icns resources/images/{16x16,32x32,48x48,128x128,256x256}/picard.png`
ICO: `convert resources/images/{16x16,24x24,32x32,48x48,128x128,256x256}/picard.png picard.ico`
2015-09-22 16:54:55 +02:00
Frederik “Freso” S. Olesen
7afe746dac Export new PNG log-icons from Inkscape.
16x16, 24x24, and 32x32 are based on Picard_logo_icon.svg.
48x48 is based on Picard_logo_small_no_text.svg.
128x128 and 256x256 are based on Picard_logo_no_text.svg.

All PNGs were processed with `pngcrush -brute -reduce` afterwards, for
reduced filesize.
2015-09-22 16:54:55 +02:00
Frederik “Freso” S. Olesen
cbb6ff00ed Make SVG source images square. 2015-09-22 16:54:55 +02:00
Frederik “Freso” S. Olesen
0048e591de Replace Picard logo sources with redesigned ones.
New versions copied from @metabrainz/metabrainz-logos :
https://github.com/metabrainz/metabrainz-logos/tree/master/final-logos/Picard/VECTOR/SVG
2015-09-22 16:54:55 +02:00
Laurent Monin
704197bc55 Merge pull request #421 from zas/queues_improvement
Rework network requests queues and counting
2015-09-14 08:24:18 +02:00
Laurent Monin
ca29d646fb Rework network requests queues and counting
- get rid of XmlWebService._hosts list, create queues on the fly
- only emit tagger_stats_changed when needed
- recalculate number of pending requests based on actual queues, fix PICARD-751
- ensure replies are removed from from _active_requests dict in any case
- fix a minor issue where few first requests to an host could be sent without honouring delay
- do not store last request time for hosts having no delay set
2015-09-13 14:19:15 +02:00
Laurent Monin
4d4ddadc3c Merge pull request #423 from zas/picard_753_fix
PICARD-753: ignore downvoted tags
2015-09-12 22:57:58 +02:00
Laurent Monin
df718753f9 Merge pull request #424 from Jeroonk/master
PICARD-754: fix sorting in filebrowser
2015-09-12 22:11:47 +02:00
Jeroen Kromwijk
2b07cc99ab PICARD-754: fix sorting in filebrowser
Enables sorting of directories/files on drives other than the system
root (c:) on Windows.
2015-09-10 01:40:17 +02:00
Laurent Monin
e37540e46a PICARD-753: ignore downvoted tags
When all tags have 0 votes, maxcount is 0, leading to a division by zero exception.

So filter the tags dict to only keep tags having positive votes count.
2015-09-08 11:41:40 +02:00
Laurent Monin
e2b1932feb Save/restore plugin list state on load/reload 2015-09-07 13:38:46 +02:00
Laurent Monin
5c58c1c8f1 Display a textual message instead of numerical error code 2015-09-06 17:19:21 +02:00
Laurent Monin
4f1bad19c8 Forbid user interaction during plugins reload
Suggested by @Mineo
2015-09-06 17:14:33 +02:00
Laurent Monin
a2c3b4990d Fix whitespaces, add a whiteline 2015-09-04 14:42:24 +02:00
Laurent Monin
288ccbd1f8 Enable plugin list sorting 2015-09-04 14:41:16 +02:00
Laurent Monin
1b0c902904 Change details after user closed the message dialog 2015-09-04 14:38:57 +02:00
Laurent Monin
8bcf03eef2 Resize plugin list headers 2015-09-04 14:38:21 +02:00
Laurent Monin
b5ce4e982a Fix plugin installation via drag'n'drop 2015-09-04 14:37:58 +02:00
Laurent Monin
762e616c1d Update plugins at next run when replacing files is needed
Replacing during runtime is leading to many issues, either with .zip plugins or
on Windows platform.

So, when it is necessary, require the user to restart Picard to update the module.
2015-09-04 14:37:01 +02:00
Laurent Monin
cef369de3f Simplify code related to existent plugin files 2015-09-02 12:09:13 +02:00
Laurent Monin
1090feff30 Make saving new zipped plugin more robust 2015-09-02 11:59:22 +02:00
Laurent Monin
33e245937f Add a button to reload available plugins list 2015-09-01 13:25:48 +02:00
Laurent Monin
95720f94de Disallow checkbox toggling if plugin isn't installed 2015-09-01 12:51:27 +02:00
Laurent Monin
90b9806de2 Replace plugin flags with properties 2015-09-01 12:37:12 +02:00
Laurent Monin
e70486b91f Get rid of USER_DOWNLOADS_DIR, save zipped module in user plugin directory
Suggested by @mineo.
2015-09-01 11:06:47 +02:00
Laurent Monin
642d7d720a install_plugin(): no need of plugin_dir param, use USER_PLUGIN_DIR 2015-09-01 10:18:33 +02:00
Laurent Monin
3159e82bd0 Installation of zipped modules is now just a copy of the zip file
No need to unzip anything since we now support loading of zipped modules
2015-09-01 10:12:54 +02:00
Laurent Monin
399f501143 Support for direct loading of zipped modules using zipimport
Suggested by @mineo
2015-09-01 10:01:29 +02:00
Laurent Monin
9c871977fc Allow user to install plugins from local zip archives 2015-08-31 21:33:10 +02:00
Laurent Monin
f5d8dae0fd Implement update/download plugins from the web directly from UI
- plugin installation code is modified to support zip archives
- USER_DOWNLOADS_DIR is introduced to store downloaded files
- based on the work of Shadab Zafar
2015-08-31 21:32:36 +02:00
Laurent Monin
fe5400b4aa Display Update or Download buttons for each plugin installed or available
Actions not yet implemented
2015-08-31 21:22:19 +02:00
Laurent Monin
961e3866e0 Refresh details after plugin installation 2015-08-31 21:16:50 +02:00
Laurent Monin
0ab4b5499e Display a message when no plugins are installed. 2015-08-31 21:15:31 +02:00
Laurent Monin
3aa92d6190 Fix up imports 2015-08-31 21:13:50 +02:00
Laurent Monin
bf70cd04de Set CAN_BE_DOWNLOADED flag, if plugin is available online and not installed 2015-08-31 21:08:32 +02:00
Laurent Monin
8eb20f124c Set PluginFlags.CAN_BE_UPDATED flag if a new version is available 2015-08-31 21:01:35 +02:00
Laurent Monin
97bfd3dfdb Display new version in plugin details if one is available 2015-08-31 20:58:10 +02:00
Laurent Monin
35f3f5ca66 Query plugins JSON API for available plugins 2015-08-31 20:52:07 +02:00