Commit Graph

4662 Commits

Author SHA1 Message Date
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
Sambhav Kothari
dd0da64ced Merge pull request #707 from Sophist-UK/fix-apply_func-2
PICARD-1070: 2.0 Make apply_func work on all metadata
2017-04-25 16:05:20 +05:30
Sophist
43b6bffca8 Make apply_func work on all metadata
apply_func currently only used for ascii translation in track.py and
album.py.
2017-04-25 15:58:29 +05:30
Sambhav Kothari
35d88d4897 Merge pull request #708 from zas/picard-1073
PICARD-1073: cast dict_keys to list, fixing unsupported operand type …
2017-04-23 19:07:13 +05:30
Laurent Monin
2348db7ec9 PICARD-1073: cast dict_keys to list, fixing unsupported operand type error
https://tickets.metabrainz.org/browse/PICARD-1073
2017-04-23 14:02:33 +02:00
Wieland Hoffmann
a841fe08c4 Merge pull request #675 from mineo/picard-1052
PICARD-1052: Only enable search for similar tracks if the selection contains objects
2017-04-21 23:04:12 +02:00
Wieland Hoffmann
9e02049644 update_actions: Use bool(sequence) for testing emptyness 2017-04-21 22:59:12 +02:00
Wieland Hoffmann
bcfcbe68e8 PICARD-1052: Only enable search for similar tracks if the selection contains objects 2017-04-21 22:59:12 +02:00
Laurent Monin
275e19cc20 Merge pull request #704 from mineo/scripttest-function
Move the self.assertEqual(self.parser.eval(...), ...) pattern to a function
2017-04-17 21:28:57 +02:00
Laurent Monin
ed3a9c3687 Merge pull request #705 from mineo/travis-fork-tx
Don't run steps involving transifex if credentials are not available
2017-04-17 21:28:42 +02:00
Wieland Hoffmann
25498c1a93 Don't run steps involving transifex if credentials are not available
I have activated travis for my fork of picard and get emails about builds
failing because this step fails.
2017-04-17 18:53:40 +02:00
Wieland Hoffmann
a749e996e7 Remove unused imports 2017-04-17 18:14:46 +02:00
Wieland Hoffmann
06dd81b78e Move the self.assertEqual(self.parser.eval(...), ...) pattern to a function 2017-04-17 18:14:20 +02:00
Sambhav Kothari
c18db063b5 Merge pull request #694 from samj1912/picard1062
PICARD-1062: Sort results by similarity
2017-04-17 02:50:59 +05:30
Sambhav Kothari
69b8522864 PICARD-1062: Sort results by similarity (first member of tuple match) 2017-04-17 02:43:48 +05:30
Laurent Monin
47ada573ab Merge pull request #702 from samj1912/more_tests
Add distutil testing to travis
2017-04-15 17:54:55 +02:00
Laurent Monin
6d3c008760 Merge pull request #703 from samj1912/updatetov2
Update API end point to v2
2017-04-15 17:48:59 +02:00
Sambhav Kothari
b2c865ad0d Update API end point to v2 2017-04-13 18:26:44 +05:30
Sambhav Kothari
dd4d3e0994 Add distutil testing to travis 2017-04-13 16:39:34 +05:30
Laurent Monin
7a84879040 Merge pull request #701 from mineo/astrcmp-wording
test_astrcmp: Rephrase the skip message to not refer to a not existing file
2017-04-11 19:32:12 +02:00
Wieland Hoffmann
896b62a3b5 test_astrcmp: Rephrase the skip message to not refer to a not existing file 2017-04-11 19:03:34 +02:00
Wieland Hoffmann
fb89d5e93c Remove unused imports 2017-04-11 19:00:32 +02:00
Laurent Monin
be5e172f52 Merge pull request #699 from samj1912/picard1065
PICARD-1065: Fix patch_version
2017-04-11 00:26:32 +02:00
Laurent Monin
2b0ef89653 Merge pull request #698 from samj1912/picard1066
PICARD-1066: Fix update_constants
2017-04-11 00:25:39 +02:00
Laurent Monin
1906b743f2 Merge pull request #696 from Sophist-UK/PICARD-1063_Fix-astrcmp-tests-if-not-compiled
PICARD-1063: Fix astrcmp tests if not compiled
2017-04-11 00:21:44 +02:00
Laurent Monin
be6a4ce703 Merge pull request #697 from samj1912/picard1064
PICARD-1064: Fix verbose tests
2017-04-11 00:02:50 +02:00
Sambhav Kothari
3db758f4e0 PICARD-1065: Fix patch_version 2017-04-11 01:35:50 +05:30
Sambhav Kothari
dd8e521a6e PICARD-1066: Fix update_constants 2017-04-11 00:52:17 +05:30
Sambhav Kothari
f851aea75c PICARD-1064: Fix verbose tests 2017-04-11 00:25:42 +05:30
Sophist
ef67ba9b88 Address review comments
Thanks to @mineo for his help.
2017-04-10 18:19:07 +01:00
Laurent Monin
532f42cd44 Merge pull request #685 from samj1912/doc
Add documentation for string conversion and load_json functions
2017-04-10 19:16:45 +02:00
Sophist
9c9335439e Fix astrcmp tests if not compiled 2017-04-10 16:18:01 +01:00
Laurent Monin
890583637a Merge pull request #693 from samj1912/picard1058
PICARD-1058: Fix save file as images
2017-04-10 10:33:16 +02:00
Sambhav Kothari
2ee60dadad PICARD-1058: Fix save file as images
There was a str/bytes issue that was causing error on
saving CA images as files

Fixes: https://tickets.metabrainz.org/browse/PICARD-1058
2017-04-10 05:20:40 +05:30
Sambhav Kothari
d36bcb6980 Change docstring verbiage 2017-04-09 01:45:10 +05:30
Sambhav Kothari
de52215062 Fix whitelines for google type docstrings 2017-04-09 01:45:10 +05:30
Sambhav Kothari
b4f094eb54 Rename json_load to load_json to follow picard.util naming convention 2017-04-09 01:45:10 +05:30
Sambhav Kothari
e64b79f713 Add documentation for string conversion and json_load functions 2017-04-09 01:45:10 +05:30
Laurent Monin
76144e9bdd Merge pull request #691 from samj1912/tagger
Fix crash on Browser lookups
2017-04-08 21:54:54 +02:00
Sambhav Kothari
f672df46fc Fix crash on Browser lookups
Crash due to unexpected type string.
Bytes/str issue with QT
2017-04-09 00:01:57 +05:30
Laurent Monin
36da848b46 Merge pull request #690 from mineo/python3-docs
INSTALL, resources/README: Explicitly refer to python3
2017-04-08 19:13:19 +02:00
Wieland Hoffmann
77b62e153b INSTALL, resources/README: Explicitly refer to python3
PEP 394 makes it clear that python should only be used for applications that can
be run with both Python 2 and Python 3, python3 should be used for Python 3.

pip3 is used because that's what Python 3 compatible pip is called on at least
Arch, Debian, Fedora and Ubuntu.
2017-04-08 17:53:32 +02:00
Lukáš Lalinský
13ad1b37b3 Merge pull request #689 from lalinsky/py-astrcmp
Add pure Python fallback for astrcmp
2017-04-08 15:39:29 +02:00
Lukáš Lalinský
bf7934d848 Add astrcmp tests 2017-04-08 15:29:12 +02:00
Lukáš Lalinský
355c0a2ab0 Add pure Python fallback for astrcmp 2017-04-08 15:29:12 +02:00
Laurent Monin
0738b419ae Merge pull request #682 from Sophist-UK/patch-7
PICARD-1034: Add missing definitions for MBIDs for TOAL TOPE
2017-04-08 15:27:52 +02:00
Laurent Monin
9ad6d5f04a Merge pull request #686 from samj1912/nsurl
Remove unneeded NSURL code
2017-04-08 15:27:29 +02:00