Commit Graph

4304 Commits

Author SHA1 Message Date
Sambhav Kothari
1fdbdc5396 Introduce new cover-art thumbnail class 2017-02-17 16:32:42 +05:30
Laurent Monin
4e7d49a0ec Merge pull request #621 from antlarr/master
PICARD-980: Fix various cover drop issues
2017-02-17 06:46:56 +01:00
Laurent Monin
f9d9660345 Merge branch 'master' into master 2017-02-17 06:43:02 +01:00
Laurent Monin
21e340e0dd Merge pull request #626 from metabrainz/revert-623-picard-922
Revert "PICARD-922: Fix inmulti behaviour with multi-values"
2017-02-15 11:42:47 +01:00
Laurent Monin
1013cd5ed7 Revert "PICARD-922: Fix inmulti behaviour with multi-values" 2017-02-15 11:38:35 +01:00
Laurent Monin
573232bd02 Merge pull request #615 from Sophist-UK/PICARD-973_Process-events-before-exiting
PICARD-973: process events before exiting
2017-02-15 10:59:40 +01:00
Laurent Monin
12f4aed1ea Merge pull request #609 from Sophist-UK/PICARD-972_Avoid-save-if-file-removed
PICARD-972: Avoid save if file removed
2017-02-15 10:48:44 +01:00
Laurent Monin
02c0561308 Merge pull request #623 from antlarr/picard-922
PICARD-922: Fix inmulti behaviour with multi-values
2017-02-15 10:43:50 +01:00
Laurent Monin
8662de849b Merge pull request #603 from Sophist-UK/patch-3
PICARD-953: Show album with extra tracks unmatched
2017-02-15 10:38:00 +01:00
Laurent Monin
7b75eb6c36 Merge pull request #592 from samj1912/picard943
PICARD-943: Remove monkey patching of windows file write methods
2017-02-15 10:36:41 +01:00
Laurent Monin
8c13708c23 Merge pull request #587 from samj1912/gui
PICARD-961: Add tooltip for Scan toolbar button
2017-02-15 10:34:37 +01:00
Laurent Monin
4a0418eb92 Merge pull request #600 from Freso/PICARD-951-always-https-for-mb
PICARD-951: Always use HTTPS for musicbrainz.org.
2017-02-15 10:33:09 +01:00
Laurent Monin
8f570c4daf Merge pull request #601 from Freso/PICARD-952-caa-over-https
PICARD-952: Use HTTPS for Cover Art Archive.
2017-02-15 10:31:32 +01:00
Antonio Larrosa
93d9dd176f Catch IdentificationError exceptions
Replace the generic catch with a catch for IdentificationError exceptions
which is what we expect anyway and use try...except...else
2017-02-15 10:09:53 +01:00
Laurent Monin
b75c142a37 Update version to 1.4.1 dev 2017-02-14 12:57:10 +01:00
Laurent Monin
01ced0e8b5 Update version to 1.4 2017-02-14 12:57:09 +01:00
Laurent Monin
65dd3508d6 Update pot file 2017-02-14 12:57:09 +01:00
Laurent Monin
baab229df5 Update .po files 2017-02-14 12:57:05 +01:00
Laurent Monin
01c4e89713 Remove reference to contrib/ in setup.py regen_pot_file 2017-02-14 12:51:47 +01:00
Laurent Monin
b86c2dd426 Merge pull request #624 from samj1912/patch-14
Add Picard 1.4 release notes
2017-02-14 11:05:21 +01:00
Sambhav Kothari
195091fcaa Add Picard 1.4 release notes 2017-02-14 14:10:30 +05:30
Laurent Monin
d7a3710816 Update po files from transifex 2017-02-13 20:37:39 +01:00
Antonio Larrosa
5daf2fecda Fix PEP8 issues and rename text to haystack everywhere
The text variable was renamed to haystack except in some lines.
This commit fixes this and also fixes some coding style issues.
2017-02-13 16:24:52 +01:00
Antonio Larrosa
b7c324b4de Fix PEP8 issues (mostly lines too large)
Add a few empty lines and wrap some lines so they're not so large
2017-02-13 15:41:20 +01:00
Antonio Larrosa
9155c0bd8f Fix inmulti behaviour with multi-values
inmulti arguments where evaluated before inmulti was executed, which
resulted in strings being passed as arguments, which breaks cases in which
the strings in multivalue variables contain the separator used to separate
multiple values (see PICARD-922).
This commit changes the behaviour of inmulti so arguments are not evaluated
before they're passed, so it can extract the argument value as a list and
work with that.
This should fix PICARD-922
2017-02-12 20:50:55 +01:00
Antonio Larrosa
85282935f6 Add test for the inmulti function
Add a test to check that the inmulti function works as expected.
2017-02-12 20:47:15 +01:00
Laurent Monin
1117dd637c Update few .po files 2017-02-10 11:01:52 +01:00
Antonio Larrosa
da3bbf414f Use picard.util.imageinfo.py::identify to guess the mimetype of dropped image data
Replace the hack to identify the image format of the dropped
octet-stream with a call to imageinfo.identify which is used
in other parts of picard.
2017-02-09 19:32:40 +01:00
Laurent Monin
e1384b20b4 Merge pull request #622 from samj1912/patch-12
Add Norwegian to UI languages
2017-02-09 12:39:38 +01:00
Sambhav Kothari
33ea56fb54 Add Norwegian to UI languages 2017-02-09 16:51:19 +05:30
Antonio Larrosa
2961ed0333 Rename the imageDropped signal to image_dropped 2017-02-09 10:43:25 +01:00
Antonio Larrosa
31768cf8f9 Rename variables to use snake-case
Also, use log.debug instead of log.warning for a message
2017-02-09 10:40:34 +01:00
Antonio Larrosa
f2e2188ba4 Fix various cover drop issues
This patch adds https support, so users can drag covers from amazon.

Also fixes the imgurl query handling so users can drag covers from
google images thumbnails (but large resolution images will be downloaded).

It also adds support for dropped octet-stream data, so chromium users
can drag "opened" images from google images even if the link actually
points to the url containing the image, since chromium adds the
image data to the drop event. Unfortunately, firefox doesn't do that,
so firefox users will have to drag thumbnails (but the same large
resolution image will be used in any case)
2017-02-09 10:40:34 +01:00
Laurent Monin
0b6207a40d PICARD-947: fix typo in parenthesis causing translation to fail
The string was correctly parsed by gettext, but not translated at runtime.
2017-02-09 00:07:17 +01:00
Laurent Monin
40114def9a Resync translations 2017-02-08 18:19:17 +01:00
Laurent Monin
78273d1722 Merge pull request #617 from samj1912/patch-11
Refactor add_release_to_user_collections
2017-02-03 22:12:03 +01:00
Sambhav Kothari
67da3428a9 Refactor add_release_to_user_collections 2017-02-04 00:58:15 +05:30
Laurent Monin
fc951c4926 Move collection related code to new add_release_to_user_collections()
- it simplifies imports
- it will ease creation of unit tests
- outputs a debug line when it happens
2017-02-03 14:19:14 +01:00
Laurent Monin
1b5a89ba8c Insert missing blankline (PEP8) 2017-02-03 14:15:45 +01:00
Laurent Monin
3980bb0138 Add __repr__() method to Collection class 2017-02-03 14:15:20 +01:00
Laurent Monin
abf3b4621e Fix commit d3cf9e5b: s/collection_list/collection_list[0]/ 2017-02-03 13:58:18 +01:00
Laurent Monin
27acdecaa0 Merge pull request #614 from samj1912/picard798
PICARD-798: Handle empty collection list
2017-02-03 12:21:25 +01:00
Sophist
0f9d5c7677 PICARD-973: Process events before exiting
Resolves [PICARD-973](https://tickets.metabrainz.org/browse/PICARD-973).
2017-02-02 21:04:10 +00:00
Sambhav Kothari
d3cf9e5bf5 PICARD-798: Handle empty collection list 2017-02-03 01:35:31 +05:30
Laurent Monin
2052bd326b Merge pull request #608 from Sophist-UK/PICARD-970_Set-buffer-size-to-data-size
PICARD-970 Read files unbuffered in guess_format
2017-02-02 18:46:15 +01:00
Laurent Monin
5deb33f371 Merge pull request #607 from Sophist-UK/PICARD-958_Fix-stderr-encoding
PICARD-958: Fix-stderr-unicode encoding-errors
2017-02-02 14:09:05 +01:00
Sophist
328762b7be Add debug message showing final file saved. 2017-02-02 09:17:11 +00:00
Sophist
e8d22952d4 Initialise tagger.stopping 2017-02-02 07:36:36 +00:00
Sophist
15901f8660 Also skip save if Picard is stopping 2017-02-02 00:18:36 +00:00
Sophist
b56f9c862e Correct typo. 2017-02-02 00:10:24 +00:00