Philipp Wolfer
bb36e781c3
PICARD-2092: Extend list of autocompleted variables
...
Add known hidden variables to the autocompletion.
2021-01-14 10:34:55 +01:00
Philipp Wolfer
12a22eeb7f
PICARD-2092: Improved script auto completion
...
- Fixed popup not getting removed and triggering unexpectedly
- Allow explicitly opening the completion popup with Ctrl+Space
- More intelligent replacement of opening ( for functions and trailing % for variables
- Match text only up to current cursor position
2021-01-14 10:21:49 +01:00
Philipp Wolfer
3dbbcadb1b
PICARD-2092: Use UnfilteredPopupCompletion for script autocomplete
2021-01-13 16:16:20 +01:00
Philipp Wolfer
e72aecb107
PICARD-2092: Make script autocompletion less annoying
...
Trigger script autocompletion only on text input, allow accepting a suggestion with return key.
2021-01-13 16:16:20 +01:00
Philipp Wolfer
1cc105d528
PICARD-2097: Fixed format strings in zh_CN localization
2021-01-10 21:44:03 +01:00
Philipp Wolfer
336a9271a8
Updated changelog for 2.5.6 release
2021-01-05 15:02:59 +01:00
Philipp Wolfer
16ea2a594c
Register the Unity LauncherEntry interface on /com/canonical/unity/launcherentry/1
...
For better compatibility with libunity. Fixes issues with allowing access to this interface in snapd, maybe improves compatibility with other implementations as well.
2021-01-05 13:47:54 +01:00
Philipp Wolfer
134f3efea6
Run upgrade hooks on config upgrade only
...
For newly created configs there is no need to run upgrade hooks, the config defaults are already set accordingly.
This also allows having hooks that do changes that apply only on upgrade.
2021-01-05 10:40:56 +01:00
Philipp Wolfer
0ac28e7ff7
Get extensions for all supported image formats from imageinfo
...
Avoids maintaining a separate list of image extensions in coverartbox.
2021-01-04 13:28:19 +01:00
Philipp Wolfer
71a500318e
Fixed fetching remote images other then PNG and JPEG
...
Refactored coverartbox to use imageinfo for getting supported mimetypes and directly try to initialize cover images instead of trying imageinfo.identify first.
2021-01-04 13:28:19 +01:00
Philipp Wolfer
6aeb1f2de4
Merge pull request #1730 from zas/imageread
...
Use classes for image type identification code
2021-01-03 13:05:53 +01:00
Laurent Monin
433af6c0aa
TIFF: only test h and w properties when one is set
2021-01-03 12:56:17 +01:00
Laurent Monin
7bf8e06c77
Rework IdentifyTiff a bit
2021-01-03 12:46:50 +01:00
Laurent Monin
8013506f19
Use a set for JPEG Start Of Frame markers, and add one that was missing
...
0xC3 was forgotten
https://en.wikibooks.org/wiki/JPEG_-_Idea_and_Practice/The_header_part
https://www.disktuna.com/list-of-jpeg-markers/
https://de.wikipedia.org/wiki/JPEG_File_Interchange_Format
2021-01-03 11:08:19 +01:00
Laurent Monin
31b89e8d5c
Convert image type identifying code to classes
2021-01-03 11:08:19 +01:00
Philipp Wolfer
0b7522f84d
Restructured util.imageinfo
2021-01-03 10:06:38 +01:00
Philipp Wolfer
60087bfc3b
PICARD-2090: Add TIFF support again
2021-01-03 10:06:38 +01:00
Philipp Wolfer
d4476ba02d
Fixed file.metadata.deleted_tags not cleared after saving for ID3 v2.3 files
...
Behavior was wrong, even if I could not produce an actual visible wrong behavior.
2021-01-02 22:16:08 +01:00
Philipp Wolfer
a5479719a2
Merge pull request #1728 from phw/PICARD-2089-webp
...
PICARD-2089: Support WebP for cover art images
2021-01-02 22:05:10 +01:00
Philipp Wolfer
4eee1ad4d0
Add util.bitreader instead of importing private API from mutagen
2021-01-02 14:34:52 +01:00
Philipp Wolfer
7dbf56c557
PICARD-2089: Read dimensions of WebP simple format (lossy)
2021-01-02 12:24:20 +01:00
Philipp Wolfer
0d01615498
PICARD-2089: Support WebP for cover art images
2021-01-02 12:18:40 +01:00
Philipp Wolfer
9f57e09be4
PICARD-2088: Remove now obsolete locking mechanism from config.ConfigSection
2021-01-01 23:51:33 +01:00
Philipp Wolfer
0b2454fa6f
Use get_config() instead of direct config access.
2021-01-01 23:51:33 +01:00
Philipp Wolfer
be7b578c75
PICARD-1943: Fix macOS app signature breaking on macOS 10.12/10.13
...
Avoid signature being written to extended file system attributes by moving resource files to Contents/Resources.
2020-12-31 20:15:54 +01:00
Philipp Wolfer
7cb9605e29
Updated translations
2020-12-31 14:52:37 +01:00
Philipp Wolfer
b7f4f3f11b
Bump version to 2.6.0dev1
...
The changes to the config system with per thread config instances is considered an internal API change.
2020-12-31 12:38:00 +01:00
Philipp Wolfer
91943d1f14
PICARD-2087: Fix crash with Qt < 5.10 when adding new tag
...
QListWidget.isPersistentEditorOpen is only available in Qt 5.10 or later.
2020-12-31 12:32:58 +01:00
Philipp Wolfer
a2eec8bda7
Merge pull request #1723 from phw/modern-macos-build
...
PICARD-1950: Provide updated builds for macOS 10.12+ and 10.14+
2020-12-29 10:17:29 +01:00
Philipp Wolfer
999846c1ae
Unity progress indicator is supposed to return an APP URI
...
See https://wiki.ubuntu.com/Unity/LauncherAPI#Progress
2020-12-28 12:44:45 +01:00
Philipp Wolfer
643ab1dc60
PICARD-2083: Allow empty fpcalc path, auto detect path if empty
2020-12-27 12:22:37 +01:00
Philipp Wolfer
19bafa2999
macOS: Only test package after build if it was codesigned
...
Without code signing this will likely fail due to signature errors
2020-12-26 16:53:41 +01:00
Philipp Wolfer
3c50b3ea4e
More verbose output in macOS build script
2020-12-26 16:41:54 +01:00
Philipp Wolfer
293c2c730f
macos: build with Python 3.9.1
2020-12-26 15:30:13 +01:00
Philipp Wolfer
09aa1b7467
macos: verify notarization and code signature
2020-12-26 15:30:12 +01:00
Philipp Wolfer
8d8e8c186c
Create separate builds for macOS 10.12+ and 10.14+
2020-12-26 15:30:12 +01:00
RomFouq
11ab537679
Set the AcoustID port to 443, to use TLS
...
Set the AcoustID port to 443, to use TLS, otherwise requests are sent in plain, unencrypted HTTP.
2020-12-26 15:10:02 +01:00
Philipp Wolfer
998828c6f2
Merge pull request #1720 from phw/PICARD-1926
...
PICARD-1926: Use for per-thread config instances
2020-12-26 15:05:19 +01:00
Tim Gates
30f782b2b8
docs: fix simple typo, temporarly -> temporarily
...
There is a small typo in picard/util/settingsoverride.py.
Should read `temporarily` rather than `temporarly`.
2020-12-26 09:18:43 +01:00
Philipp Wolfer
8053e59eda
Refactor config.purge_config_instances
2020-12-25 17:06:32 +01:00
Philipp Wolfer
0e81f72385
metadatabox: pass top_tags as a set
2020-12-25 12:37:17 +01:00
Philipp Wolfer
710ca70f00
Removed now obsolete workaround for PICARD-1590
...
PICARD-1590 was also a result of the threading issue and a dirty hack to work around this.
2020-12-25 12:37:16 +01:00
Philipp Wolfer
dbc95baf50
PICARD-1926: Use per-thread config in worker threads
2020-12-25 12:37:16 +01:00
Philipp Wolfer
c0e6243a13
PICARD-1926: Adjust test cases for new config structure
2020-12-25 12:37:15 +01:00
Philipp Wolfer
bc7a393778
PICARD-1926: Prepare for per-thread config instances
...
QSettings is not thread safe, but instead each thread must use its own instance of QSettings. Otherwise this leads to deadlocks when reading settings shortly after writing settings in different threads.
Prepare per-thread config instances by adding config.get_config() and using it to fix deadlocks experienced in the metadatabox.
2020-12-25 12:37:15 +01:00
Philipp Wolfer
0abf11a88e
Fixed interface_colors test when dark UI is in use
2020-12-24 14:33:58 +01:00
Felix Schwarz
1a4c5bdfdb
Avoid exception when editing metadata but no tag was selected
...
If "self.selected_tags()" returns no tags "tags[0]" will trigger an
exception.
2020-12-18 10:02:23 +01:00
Philipp Wolfer
a521e529ac
Bump version to 2.5.6dev1
2020-12-17 15:59:45 +01:00
Philipp Wolfer
7e4c106087
Release 2.5.5
2020-12-17 15:58:17 +01:00
Laurent Monin
fc416684cb
Resync de translation
2020-12-17 15:52:05 +01:00