Commit Graph

7832 Commits

Author SHA1 Message Date
Philipp Wolfer
bf2eceeea2 Release 2.6.1 2021-04-15 11:37:14 +02:00
Philipp Wolfer
45620e9082 Update translations from Transifex 2021-04-15 11:26:40 +02:00
Philipp Wolfer
de45f3cd9d Update picard.pot 2021-04-13 13:24:20 +02:00
Philipp Wolfer
a1eed74432 PICARD-2187: Fixed display of scripting error in renaming options 2021-04-13 11:52:17 +02:00
Wieland Hoffmann
307176fe76 Merge pull request #1790 from rdswift/Update_map_function
PICARD-2185: Remove empty elements from $map() output
2021-04-13 11:07:33 +02:00
Bob Swift
83074c3c9a Strip empty elements in MultiValue class. Fix $replacemulti() test. 2021-04-12 09:54:39 -06:00
Bob Swift
ba862a14f8 Add one test line to better check the return value of the function 2021-04-11 13:29:23 -06:00
Bob Swift
61f9a6e04e Refactor code slightly and improve test to better reflect the process 2021-04-11 13:13:30 -06:00
Bob Swift
65afbbf2a1 Remove duplication from test 2021-04-11 12:03:01 -06:00
Bob Swift
58148d6118 Remove empty elements from $map() output 2021-04-11 11:46:46 -06:00
Wieland Hoffmann
0d92ddbdaf PICARD-2182: Fix the no-op codepath of $replacemulti
Previously,

> $replacemulti(%foo%,A,,)

fails with

> "Expected str instance, ScriptExpression found"

Eval the ScriptExpression to get the real value.
2021-04-11 11:41:57 +02:00
Laurent Monin
7faa203709 Define default cover art filename in DEFAULT_COVER_IMAGE_FILENAME 2021-04-09 16:06:32 +02:00
Philipp Wolfer
24d0f6e0da Update picard.pot 2021-04-09 08:54:08 +02:00
Adam James
4c2bc9801b Add script function to replace entries in multi-value variables 2021-04-09 08:50:49 +02:00
Laurent Monin
b58448b7ea Use defaultdict + a class for memoization 2021-04-08 19:56:37 +02:00
Philipp Wolfer
46ee770295 Removed unused method ConfigSection._subkeys 2021-04-08 19:56:37 +02:00
Gabriel Ferreira
9f005b54e4 Use memoization for config variables 2021-04-08 19:56:37 +02:00
Philipp Wolfer
f032b68470 resources/README.md: Fixed indentation of code blocks 2021-04-06 18:12:16 +02:00
Philipp Wolfer
6ac80aaf82 Double quote parameters in shell scripts 2021-04-06 17:58:19 +02:00
Philipp Wolfer
9279216c5f Fixed link to Codacy project 2021-04-06 14:06:55 +02:00
Laurent Monin
803ac38925 Update Codacy Badge 2021-04-06 13:38:06 +02:00
Philipp Wolfer
0142b9e067 Avoid crashes in main window actions which require at least one selected item 2021-04-02 15:42:10 +02:00
Philipp Wolfer
4c84600b24 PICARD-2173: Disable "Search for similar tracks" until items get selected 2021-04-02 15:42:10 +02:00
Gabriel Ferreira
c5cf29c1c2 PICARD-2166: Prevent selection changes during tag removal and tag rollback 2021-04-02 12:28:04 +02:00
Philipp Wolfer
2b973c7c26 Bump version to 2.6.1dev1 2021-04-02 12:18:14 +02:00
Philipp Wolfer
c944ee2e40 Merge pull request #1769 from rdswift/add_uniquemulti
PICARD-2161: Add function to remove duplicate entries from multi-value variable
2021-04-01 22:08:24 +02:00
Philipp Wolfer
b0648b7625 Merge pull request #1770 from Gabrielcarvfer/Selection_CoverArtBox_Performance
PICARD-2162: Improve performance of coverart box when selecting multiple files
2021-04-01 22:06:35 +02:00
Philipp Wolfer
bbb98f1bfc PICARD-2170: Guessed title / tracknumber should show up as changed tags
When title / tracknumber are not present in the file's tags and are guessed from filename they should show up as changed tags.
2021-04-01 21:59:05 +02:00
Philipp Wolfer
46fd3fb951 PICARD-2168: Use Control+Space for script edit autocompletion on macOS
Command+Space is reserved for Spotlight search. Control+Space is also what is used by XCode for autocompletion.
2021-04-01 21:52:16 +02:00
Philipp Wolfer
ce08d00c8a Merge pull request #1773 from Gabrielcarvfer/PICARD-2160-DarkThemeBugMac
PICARD-2160: Dark Mode switching does not change list elements leading to mix of light and dark mode.
2021-04-01 21:49:41 +02:00
Philipp Wolfer
2192b25a6a Merge pull request #1766 from Gabrielcarvfer/Logging_Window_Performance
PICARD-2157: Reduce comparison overhead of logging window
2021-04-01 21:47:30 +02:00
Philipp Wolfer
efe5fbb616 Generic feature detection of dark theme support on macOS
Instead of relying on version numbers check the API for dark appearance support.
2021-04-01 08:58:21 +02:00
Philipp Wolfer
c89df12f78 Release 2.6 2021-03-30 11:34:31 +02:00
Philipp Wolfer
da18aed25f Updated translations from Transifex 2021-03-30 11:16:08 +02:00
Gabriel Ferreira
c39510ec62 Single import per _update_state 2021-03-29 10:21:53 -03:00
Gabriel Ferreira
ee401958ad Improve performance of coverart box when selecting multiple files 2021-03-29 10:21:40 -03:00
Philipp Wolfer
5a6c90e7e9 Update picard.pot 2021-03-29 09:41:46 +02:00
Philipp Wolfer
2a0b0fcdeb PICARD-2164: Make "Search for similar tracks" available globally
This is needed to make the shortcut accessible.
2021-03-29 09:40:06 +02:00
petitminion
a917e366f0 Adding shortcut for search similar track : crtl+T 2021-03-29 09:26:18 +02:00
Philipp Wolfer
10b47a3a53 Handle dark theme on macOS without AppKit
If AppKit is not available fall back to generic dark background color detection
.
2021-03-29 09:15:32 +02:00
Gabriel Ferreira
6e9368da67 Fix theme issues on MacOS 2021-03-28 17:50:44 -03:00
Bob Swift
33b4d1dec2 Correct examples 2021-03-28 12:47:53 -06:00
Gabriel Ferreira
3ade6b8b03 Reduce number of log format changes 2021-03-28 15:32:04 -03:00
Gabriel Ferreira
adf051cb65 Reduce comparison overhead of logging window 2021-03-28 15:31:57 -03:00
Bob Swift
d0335e71a8 Clean up sorted() parameter. Change name to $unique() 2021-03-28 11:47:44 -06:00
Bob Swift
fb0a0147b5 Fix example output order to match sorted output 2021-03-27 11:51:49 -06:00
Bob Swift
6604d38c60 Add function to remove duplicate entries from multi-value variable 2021-03-27 11:35:07 -06:00
Philipp Wolfer
663459a84b PICARD-2159: Fixed script doc dialog opening behind parent dialog on macOS 2021-03-25 00:43:09 +01:00
Philipp Wolfer
c797d7a985 PICARD-2158: Use Scripting Documentation dialog in renaming options 2021-03-25 00:43:09 +01:00
Philipp Wolfer
c5d2aeaa5f PICARD-2156: Use ⌘+⇧+H as shortcut for history window on macOS
On macOS ⌘+H is a system shortcut to hide the window
2021-03-25 00:42:44 +01:00