Commit Graph

7535 Commits

Author SHA1 Message Date
Laurent Monin
5289f7b461 transifex.net is deprecated, use transifex.com instead
http://support.transifex.com/customer/portal/questions/1160404-improve-ssl-security-for-transifex-net
tx client is giving a message about it too

Also add translation type 'PO'.
2013-12-30 12:08:57 +01:00
Laurent Monin
960bb9811a Merge pull request #200 from zas/percentenc
Drop urllib dependency.
According to @JonnyJD, it saves around 250kb in win .exe.
2013-12-30 01:40:29 -08:00
Johannes Dewender
5d5e8def93 update NEWS for 123 2013-12-30 01:09:24 +01:00
Johannes Dewender
d2a3e3ad2d refactor cdrom code a bit 2013-12-30 01:02:49 +01:00
Laurent Monin
1342343659 Exclude socket module again, since it was only needed by urllib 2013-12-29 21:01:43 +01:00
Laurent Monin
e633bcde11 Drop urllib dependency, use QUrl.toPercentEncoding instead of urllib.quote 2013-12-29 21:01:14 +01:00
Laurent Monin
da84ba2e26 Merge pull request #199 from JonnyJD/exe_urllib
PICARD-544: include socket module in exe
2013-12-29 11:28:55 -08:00
Johannes Dewender
fa11a96b41 PICARD-544: include socket module in exe
This is needed by urllib, which is imported since
26f20228eb.
2013-12-29 19:48:04 +01:00
Johannes Dewender
e41bf6b054 remove generic try-except
If we do want to catch generic unexpected tracebacks,
this shouldn't be done here.

Note that `import discid` might raise OSError
when the python module is found, but not libdiscid itself.
We might want to catch that explicitely,
but that is supposed to be prevented by whoever made `discid` available.
2013-12-29 17:14:41 +01:00
Johannes Dewender
971927529f use only one definition of get_cdrom_drives() 2013-12-29 17:00:27 +01:00
Laurent Monin
1e8743a9c6 Merge pull request #197 from zas/fix_limit_encoding
Fix encoding of limit parameter value in webservice query (limit=%19)
2013-12-29 02:59:50 -08:00
Laurent Monin
e436d24da0 Merge pull request #196 from zas/bunch_of_cleanups
Bunch of cleanups
2013-12-29 02:59:26 -08:00
Laurent Monin
ecce0fcfe5 Merge pull request #195 from zas/unused_imports
Remove unused imports
2013-12-29 02:59:09 -08:00
Laurent Monin
b9a91c671c Merge pull request #194 from zas/decimal_fix
bytes2human fixes and improvements
2013-12-29 02:58:44 -08:00
Johannes Dewender
1a398fb5cf PICARD-123: actually use default drive on Mac
This doesn't implement an automatic list of available drives on Mac,
but adds the libdiscid default drive to the list of drive candidates.

This should make disc lookups available on Mac without specifying
the drive (as /dev/rdisk*) in the settings.

Note that setting things like "1" or "2" as drives should also work
with a recent libdiscid. (>= 0.6.0).
2013-12-29 03:09:34 +01:00
Laurent Monin
f79f981ac4 Fix encoding of limit parameter value in webservice query (limit=%19)
This is a very old bug it seems, it was indirectly introduced by
commit 9092a7abca

The missing str() was causing integer value 25 to be encoded as
ascii char 25, then, after percent encoding, limit=%19 in the search url.
2013-12-29 01:27:27 +01:00
Laurent Monin
220710b046 coding: UTF-8 -> coding: utf-8, as all other files 2013-12-28 13:24:44 +01:00
Laurent Monin
aed7091c3a Add missing header 2013-12-28 13:24:44 +01:00
Laurent Monin
88ae83de78 Rewrite loop as expression value is unused 2013-12-28 13:24:44 +01:00
Laurent Monin
60b6cbddab Rewrite test as expression value is unused 2013-12-28 13:24:44 +01:00
Laurent Monin
b84380fd70 Rewrite loop as expression value is unused 2013-12-28 13:24:44 +01:00
Laurent Monin
cac1e3dd89 Unused variable e removed 2013-12-28 13:24:44 +01:00
Laurent Monin
17bb6df137 Indentation fix 2013-12-28 13:24:44 +01:00
Laurent Monin
e4852cf0d4 File._load(): makes proto matches subclass definitions, add filename parameter 2013-12-28 13:24:43 +01:00
Laurent Monin
4b0239fc0c get_cdrom_drives(): code cleanup 2013-12-28 13:24:43 +01:00
Laurent Monin
ff0de4e382 ClusterEngine.cluster(): remove unused return value 2013-12-28 13:24:43 +01:00
Laurent Monin
5a02f9d719 prec -> scale 2013-12-28 02:16:05 +01:00
Laurent Monin
7c6d3e9c3b decimal(): fix missing parameter prec and update tests 2013-12-28 00:17:42 +01:00
Laurent Monin
1b84102265 Remove unused code 2013-12-28 00:17:38 +01:00
Laurent Monin
be75583546 Remove unused imports 2013-12-28 00:15:35 +01:00
Laurent Monin
30b166fba1 Fix missing QtCore import 2013-12-27 21:57:29 +01:00
Michael Wiencek
fcc1088647 Merge branch 'master' of github.com:musicbrainz/picard into artists-tag 2013-12-27 14:09:48 -06:00
Laurent Monin
faffa6db01 Add "ignore_regex ..." to NEWS.txt 2013-12-27 11:11:15 +01:00
Laurent Monin
8102061860 Add ignore_regex option to Advanced options
Filepaths matching this regex will be ignored.
2013-12-27 11:11:15 +01:00
Laurent Monin
100cc348d4 Move STYLESHEET_ERROR to parent class as it may be used in any page 2013-12-27 11:11:15 +01:00
Laurent Monin
8cc0a57803 Add "Ignore files according to show_hidden_files" to NEWS.txt 2013-12-27 11:11:15 +01:00
Laurent Monin
a0598bdc6f Ignore hidden files and directories based on show_hidden_files option.
http://tickets.musicbrainz.org/browse/PICARD-528
2013-12-27 11:09:23 +01:00
Wieland Hoffmann
94ae22aade Make the usages of enabledSlot more readable 2013-12-25 16:35:28 +01:00
Wieland Hoffmann
7edcf81dba Remove an unused import 2013-12-25 16:35:28 +01:00
Laurent Monin
79221a6ca8 Merge branch 'sophist_compilation_TCMP_adjustments' of git://github.com/Sophist-UK/picard into Sophist-UK-sophist_compilation_TCMP_adjustments
Conflicts:
	NEWS.txt
2013-12-25 15:42:48 +01:00
Laurent Monin
6993249fc1 Revert "Merge branch 'sophist_compilation_TCMP_adjustments' of git://github.com/Sophist-UK/picard into Sophist-UK-sophist_compilation_TCMP_adjustments"
This reverts commit 2f7581b19a.
2013-12-25 15:39:18 +01:00
Laurent Monin
2f7581b19a Merge branch 'sophist_compilation_TCMP_adjustments' of git://github.com/Sophist-UK/picard into Sophist-UK-sophist_compilation_TCMP_adjustments 2013-12-25 15:21:58 +01:00
Laurent Monin
0b40037aa6 Merge branch 'sophist_change_preserve_tags_delimiter_to_comma' of git://github.com/Sophist-UK/picard into Sophist-UK-sophist_change_preserve_tags_delimiter_to_comma
Bump Picard version to 1.3.0dev2 and update config upgrade hooks
2013-12-25 10:57:22 +01:00
Sophist
807e41e064 Fix code formatting 2013-12-25 07:48:29 +00:00
Laurent Monin
a559656809 Merge pull request #193 from zas/pep8
Indentation and spacing fixes, according to PEP8, only cosmetic changes.
2013-12-24 17:05:16 -08:00
Laurent Monin
96d5e3aceb Indentation and spacing fixes, according to PEP8 2013-12-24 18:12:29 +01:00
Laurent Monin
5ebd2cc070 Merge pull request #191 from zas/PICARD-539
PICARD-539: ensure we append preferred encoding to normalized locale
2013-12-20 09:11:33 -08:00
Laurent Monin
e79d6e82d1 Merge pull request #190 from zas/useragent
Append system info to user-agent string, and build it from constants
2013-12-20 09:10:37 -08:00
Michael Wiencek
ae56e438b7 Merge branch 'master' of github.com:musicbrainz/picard into artists-tag 2013-12-18 10:24:25 -06:00
Laurent Monin
1950c5bdeb Update NEWS.txt 2013-12-15 10:55:26 +01:00