Sambhav Kothari
5185379b5f
High-DPI support for Cover art pixmaps
2017-05-11 14:48:55 +05:30
Laurent Monin
e905a5f716
Merge pull request #709 from Sophist-UK/PICARD-1075_Add-unit-tests-for-Metadata-object-variables
...
PICARD-1075: Add unit tests for Metadata object variables
2017-05-11 11:07:06 +02:00
Laurent Monin
82280ce64f
Merge pull request #710 from Sophist-UK/PICARD-922_improve-inmulti-as-per-1.4.1
...
PICARD-922: Make multi-value script functions work correctly
2017-05-11 11:05:34 +02:00
Sophist
c067bd5e26
Merge branch 'master' into PICARD-922_improve-inmulti-as-per-1.4.1
2017-05-11 08:26:15 +01:00
Laurent Monin
313efbf071
Merge pull request #721 from samj1912/pip
...
Update setup script to allow submitting pip packages
2017-05-11 08:20:50 +02:00
Laurent Monin
d9dbe87a3f
Merge pull request #722 from samj1912/fixes
...
Fix python version check
2017-05-11 08:18:58 +02:00
samj1912
9d4d7c9bfc
Merge pull request #725 from samj1912/high-dpi
...
PICARD-817: Enable high DPI support for Picard
2017-05-11 00:54:56 +05:30
Sambhav Kothari
868432badc
PICARD-817: Enable high DPI support for Picard
...
Picard with Qt5 now supports high-dpi displays. To render icons for
higher resolutions, simply add a 2x scaled png files along with the
normal file with the name as image@2x.png
See http://blog.qt.io/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
for more details
Fixes: https://tickets.metabrainz.org/browse/PICARD-817
2017-05-10 23:24:11 +05:30
samj1912
458839d8f7
Merge pull request #724 from samj1912/fix-mutable
...
Avoid mutable default arguments
2017-05-10 19:23:02 +05:30
samj1912
094eff232c
Merge branch 'master' into fix-mutable
2017-05-10 19:08:50 +05:30
samj1912
ce71a05dd8
Merge pull request #717 from samj1912/ibmi
...
Recompress all png files and data
2017-05-10 18:13:05 +05:30
samj1912
11ac00d153
Merge branch 'master' into ibmi
2017-05-10 18:01:02 +05:30
samj1912
242fd33968
Merge pull request #723 from samj1912/version
...
Update version_to_string to follow PEP440
2017-05-10 18:00:39 +05:30
Sambhav Kothari
d03c66033e
Avoid mutable default arguments
2017-05-10 17:23:02 +05:30
samj1912
ab54c17c10
Merge branch 'master' into version
2017-05-10 17:19:47 +05:30
Sambhav Kothari
bdd3c90d50
Add instructions for uploading to PyPi
2017-05-10 13:29:24 +05:30
Sambhav Kothari
b1271c2f8e
Update setup script to allow submitting pip packages
...
Since all of Picard's requirements are available on pip,
this PR makes changes to the setup script to allow submitting a
distribution file to PyPi. A MANIFEST.in was included to add data dirs.
New packages can be submitted via python setup.py sdist upload -r pypi
2017-05-10 13:29:24 +05:30
Sambhav Kothari
6daf4e9b6e
Fix python version check
2017-05-10 13:23:31 +05:30
Sambhav Kothari
93c46dbce8
Update version_to_string to follow PEP440
2017-05-09 14:53:30 +05:30
Laurent Monin
be13e40048
Merge pull request #720 from samj1912/1.4.2new
...
Update NEWS for 1.4.2 release
2017-05-08 16:58:17 +02:00
samj1912
328be9b4d6
Update NEWS for 1.4.2 release
2017-05-08 19:31:49 +05:30
samj1912
38976a54f3
Merge pull request #719 from samj1912/picard1070
...
PICARD-1070: Fix apply_func being applied on preserved tags
2017-05-08 19:24:25 +05:30
Sambhav Kothari
e0d8bcb054
PICARD-1070: Fix apply_func being applied on file attribute tags
2017-05-08 15:08:35 +05:30
Sambhav Kothari
178345c347
Update Qt5 resources with new images
2017-05-08 14:13:03 +05:30
Shen-Ta Hsieh
d0d9711a37
Update test/data/mb.png size for test_png
...
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com >
2017-05-05 17:54:13 +08:00
Shen-Ta Hsieh
a3f74679e1
Recompress all png files
...
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com >
2017-05-05 16:57:30 +08:00
Shen-Ta Hsieh
2080ec4416
Recompress all png data inside all ico files
...
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com >
2017-05-05 16:49:42 +08:00
Sophist
303cf79390
Use assertScriptResultEquals...
...
... instead of assertEqual(self.parser.eval
2017-05-03 09:09:27 +01:00
Wieland Hoffmann
2884f9543d
Merge pull request #714 from mineo/reject-kwonly
...
Reject functions with required keyword-only arguments
2017-05-01 18:36:04 +02:00
Wieland Hoffmann
05b343a232
Reject functions with required keyword-only arguments
...
Python 3 / PEP3102 introduced keyword-only arguments, like in
def foo(a, *, b):
pass
where `b` can't be set as a positional argument. This can't be expressed in
tagger script, so reject calls to register such functions.
This also gets rid of a DeprecationWarning for inspect.getargspec.
Signed-off-by: Wieland Hoffmann <themineo@gmail.com >
2017-05-01 18:27:07 +02:00
Sambhav Kothari
cdc552afb2
Merge pull request #712 from samj1912/picard1077
...
PICARD-1077: Fix update encoding logic on id3 version change
2017-05-01 20:12:05 +05:30
Sambhav Kothari
c54cd694c4
PICARD-1077: Fix update encoding logic on id3 version change
...
Fixes https://tickets.metabrainz.org/browse/PICARD-1077
2017-05-01 19:31:00 +05:30
Sambhav Kothari
fce8155dbc
Merge pull request #715 from mineo/patch-version-default
...
patch_version: Use sys.platform as the default platform name
2017-05-01 19:30:21 +05:30
Sophist
9bb4802144
Add explanatory comments
2017-05-01 13:50:35 +01:00
Sophist
f4ce8e2ca6
Add tests for override with standard sep
2017-05-01 13:44:33 +01:00
Sophist
fca5061a11
Add seperator override tests for $lenmulti
2017-05-01 13:36:29 +01:00
Wieland Hoffmann
399993fef2
patch_version: Use sys.platform as the default platform name
...
The names which sys.platform uses are not well-known across all users (darwin
for macOS for example), so this doesn't change the values used in the packaging
scripts.
2017-05-01 14:32:07 +02:00
Sophist
64e3c89180
Fix bug with default separator overridden.
2017-05-01 13:28:56 +01:00
Sambhav Kothari
e6fcbc077e
Merge pull request #713 from samj1912/remove_unicode
...
Remove unneeded unicode prefix
2017-05-01 16:18:36 +05:30
Sambhav Kothari
33edfd33e6
Fix setup.py update_constants to not include unicode prefix
2017-04-30 19:12:18 +05:30
Sambhav Kothari
6ef1a565c6
Remove unneeded unicode prefix
2017-04-30 18:51:34 +05:30
Sophist
764dacd6a2
Simplify copymerge
2017-04-30 12:59:09 +01:00
Sophist
325c7b403b
Move multi-value code into worker function
2017-04-30 12:55:14 +01:00
Sophist
a763a6ce31
Use existing behaviour if user overrides separator
2017-04-29 21:26:49 +01:00
Sophist
23087cf8c3
Python3 strings are all unicode
2017-04-29 14:01:50 +01:00
Sophist
602dfbb36e
Add $lenmulti function
2017-04-29 14:01:50 +01:00
Sophist
60983a2a22
Fix copymerge
...
1. Newsvals deduped
2. Oldvals in original sequence
2017-04-29 14:01:50 +01:00
Sophist
f2e855771c
Clarify docstring
2017-04-29 14:01:49 +01:00
Sophist
0b4b14ce9c
Fix $inmulti as per #623
2017-04-29 14:01:22 +01:00
Sophist
6474915c00
Remove unneeded imports, refactor code.
2017-04-27 12:26:08 +01:00