Commit Graph

5062 Commits

Author SHA1 Message Date
Laurent Monin
e1108d2c4a Reduce search/lookup code redundancy
- drop filelookup.<entity>_search()
- rename filelookup._search() to filelookup.search_entity()
- use a dict to describe different possibilities in tagger.search()
- use filelookup.search_entity() instead of building a methode name to call
2018-02-08 14:18:24 +01:00
Laurent Monin
1dabaaf1ff Set builtin search dialog horizontal to pixel mode
Without this option, it may be hard to resize very wide columns.
2018-02-08 14:16:53 +01:00
Laurent Monin
cbc989d00e Prevent multiple calls to tagger.exit()
When Picard is stopped by signal (ie. CTRL-C from linux command line), exit() may be called more than once.
2018-02-08 01:04:40 +01:00
Sambhav Kothari
3e96089617 Merge pull request #831 from samj1912/macos
Fix OSX builds by adding libdiscid binaries
2018-02-07 02:22:43 +05:30
Sambhav Kothari
7843124c9e Build discid from source 2018-02-06 23:23:34 +05:30
Sambhav Kothari
2b9ef3c6bd Use an env. variable for discid version 2018-02-06 22:25:37 +05:30
Sambhav Kothari
cd5800a2e6 Add brew caching 2018-02-06 19:42:26 +05:30
Sambhav Kothari
22cb70a8cf Fix OSX builds by adding libdiscid binaries 2018-02-06 19:22:06 +05:30
Sambhav Kothari
bca576744d Only build releases on tags 2018-02-06 16:46:09 +05:30
Sambhav Kothari
d08499c3e7 Merge pull request #821 from samj1912/macos
Build OSX packages for Picard
2018-02-06 16:31:59 +05:30
Sambhav Kothari
1c3378d3a3 Use OSX 10.11 to build packages 2018-02-06 16:10:47 +05:30
Sambhav Kothari
16311cabc9 Add Picard version string to dmg and generate md5 hashes 2018-02-06 15:40:29 +05:30
Sambhav Kothari
d13d257ade Use pyinstaller to modify info.plist 2018-02-06 15:12:42 +05:30
Sambhav Kothari
0d57653529 Fix artifact upload 2018-02-05 22:02:57 +05:30
Sambhav Kothari
ae6afb9e0c Update OSX scripts with shebang and execution bits 2018-02-05 22:02:57 +05:30
Sambhav Kothari
b89f70bcd1 Enable high-dpi mode while building app 2018-02-05 22:02:57 +05:30
Sambhav Kothari
0626c2e890 Build OSX packages on travis 2018-02-05 22:02:57 +05:30
Sambhav Kothari
0d3cd674fe Fix OSX builds 2018-02-05 22:02:57 +05:30
Laurent Monin
e2ed569233 Python3 doesn't need to import print_function
This is now a standard feature and no longer needs to be imported from __future__.

https://www.python.org/dev/peps/pep-3105/
2018-02-05 14:43:55 +01:00
Laurent Monin
41b49eccc2 Merge pull request #829 from vishichoudhary/PICARD-1184
PICARD-1184: Fix multi click weird issues
2018-02-02 19:41:42 +01:00
vishichoudhary
41e02c3c24 move variable to const 2018-02-02 19:39:53 +05:30
vishichoudhary
180da8965d Merge branch 'master' into PICARD-1184 2018-02-02 19:05:32 +05:30
vishichoudhary
774c239d3f Remove duplicate code 2018-02-02 19:05:03 +05:30
Laurent Monin
f6c17d89e7 Merge pull request #827 from zas/PICARD-994
PICARD-994: Show all release countries in CD lookup
2018-02-02 13:06:55 +01:00
Laurent Monin
ab56cbaf28 Merge branch 'master' into PICARD-994 2018-02-02 12:57:31 +01:00
Laurent Monin
a982bdc36e Merge pull request #826 from zas/cdlookup_states
PICARD-1175: save and restore CD Lookup dialog and headers states
2018-02-02 12:30:01 +01:00
Laurent Monin
f6daaefaa0 Merge branch 'master' into cdlookup_states 2018-02-02 12:11:30 +01:00
Laurent Monin
ce4894d0ee Merge pull request #828 from zas/searchdialog_altcolor
SearchDialog: alternate row color
2018-02-01 21:18:53 +01:00
vishichoudhary
170cf996c6 Fix multi click wierd issues 2018-02-01 23:12:23 +05:30
Laurent Monin
13942f220c SearchDialog: alternate row color 2018-02-01 17:18:30 +01:00
Laurent Monin
eaa5ffa501 PICARD-994: display all values in columns for dates, countries, labels, catno
To ease reading, use alternate row colors
2018-02-01 17:01:09 +01:00
Laurent Monin
e01896ee76 PICARD-1175: save and restore CD Lookup dialog and headers states 2018-02-01 16:18:59 +01:00
Sambhav Kothari
e3002811a2 Merge pull request #825 from samj1912/discid
Add discid to windows builds
2018-02-01 17:35:43 +05:30
Sambhav Kothari
a8b355a901 Add discid to windows builds 2018-02-01 17:24:14 +05:30
Sambhav Kothari
48285795eb Merge pull request #824 from samj1912/fpcalc
Bundle fpcalc with distributables
2018-01-31 23:32:42 +05:30
Sambhav Kothari
62efdb1c48 Move pyinstaller related env variables to utils and add documentation 2018-01-31 23:22:09 +05:30
Sambhav Kothari
9f3cb9ced8 Re-search for fpcalc path on each execution if running as a packaged distributable 2018-01-31 23:22:09 +05:30
Sambhav Kothari
f5632873e3 Use 64 bit binaries for fpcalc 2018-01-31 23:22:09 +05:30
Sambhav Kothari
bb0b04ec16 Add fpcalc to data files 2018-01-31 21:56:46 +05:30
Sambhav Kothari
060560ce18 Search for fpcalc in MEIPASS if packaged 2018-01-31 21:56:46 +05:30
Laurent Monin
470c953803 Merge pull request #823 from zas/searchdialog_minorcleanup
Search dialog code minor cleanup
2018-01-31 16:21:22 +01:00
Laurent Monin
c7e45a6134 Object name string shouldn't be translated, remove _() 2018-01-31 12:06:33 +01:00
Laurent Monin
9de7041597 Remove obsolete FIXME comment 2018-01-31 12:04:00 +01:00
Laurent Monin
15365a21d9 Update attributes 2018-01-30 16:14:18 +01:00
Laurent Monin
1cafd84fe4 Update picard.pot 2018-01-30 16:09:35 +01:00
Laurent Monin
d86cf1b007 Merge pull request #822 from zas/search_sort
Fix sorting in SearchDialog
2018-01-30 10:33:40 +01:00
Laurent Monin
9244e01a6e SearchDialog: return the correct row (in the data array) on accept
There was a mix up between row in the data and in the table widget.
Without sorting, those are the same (no row re-ordering), but when sorting is enabled it breaks.
2018-01-30 00:22:55 +01:00
Laurent Monin
038eac0295 SearchDialog: Fix sorting for numbers and durations 2018-01-30 00:22:55 +01:00
Laurent Monin
ee4f4831da Merge pull request #820 from zas/searchdialog_nosort
searchdialog: disable sorting as it is broken by design
2018-01-29 21:00:19 +01:00
Laurent Monin
be29f5e5e1 Merge branch 'master' into searchdialog_nosort 2018-01-29 20:39:00 +01:00