Laurent Monin
fcce5421d4
Convert expanded_sections to a set
...
But keep loaded/saved value as a sorted list
2024-04-17 12:41:53 +02:00
Laurent Monin
1253ad7f89
Simplify child item creation
2024-04-17 12:30:51 +02:00
Laurent Monin
33044ca58d
Simplify code related to restoration of last profile on load
2024-04-17 12:19:55 +02:00
Laurent Monin
330f2f57d1
update_config_overrides(): drop reset argument, never used
2024-04-17 12:03:14 +02:00
Laurent Monin
8e319e0d21
Merge pull request #2404 from zas/PICARD-2857
...
PICARD-2857: exit with 0 code if no error when connecting to an exist…
2024-04-16 19:03:29 +02:00
Laurent Monin
84e12fe6e7
Merge pull request #2405 from zas/fix_attached_profiles
...
Fix Attached Profiles Dialog after setting title changes
2024-04-16 19:03:07 +02:00
Laurent Monin
c32f16ec41
Fix Attached Profiles Dialog after setting title changes
2024-04-16 16:00:31 +02:00
Laurent Monin
8e60795aa8
PICARD-2857: exit with 0 code if no error when connecting to an existing instance
...
We had EXIT_NO_NEW_INSTANCE = 30403 code in this case, but it's a non-zero code and that's not expected when everything was normal.
Only 8 bits were preserved on actual exit code (195).
2024-04-16 15:49:51 +02:00
Laurent Monin
3a1c79d88e
Merge pull request #2402 from rdswift/plugin_path_logging
...
Update plugin path shortening logic
2024-04-16 10:31:34 +02:00
Bob Swift
495736a369
Include zip file in short path. Improve tests regarding plugin paths.
2024-04-15 12:47:16 -06:00
Bob Swift
44b1d028a8
Revert change removing the leading "plugins/"
2024-04-15 11:05:06 -06:00
Bob Swift
e827942a5a
Remove leading "path/". Start all absolute paths with "/".
2024-04-15 09:36:29 -06:00
Bob Swift
28f9f930af
Update plugin path shortening logic
2024-04-13 22:58:58 -06:00
Bob Swift
c74e6975f0
Merge pull request #2397 from zas/debug_opt_short_plugin_path
...
PICARD-2856: Introduce DebugOpt.PLUGIN_FULLPATH and shorten plugin paths in logs
2024-04-13 16:00:46 -06:00
Laurent Monin
e7c0d26211
Merge pull request #2400 from zas/options_titles
...
Move titles from profiles to Option declarations
2024-04-13 21:02:59 +02:00
Laurent Monin
fac0ed5155
Add support for title to Option.add_if_missing()
2024-04-13 18:20:36 +02:00
Laurent Monin
ba5c8dbc2b
Rename Advanced Options groupBox_2 to groupBox_ignore_tags
2024-04-13 14:24:59 +02:00
Laurent Monin
4bc839ee64
Ensure options are declared on one line
2024-04-13 14:09:30 +02:00
Laurent Monin
3f000ae036
Use textual name in options, to ease search/replace
2024-04-13 14:09:30 +02:00
Laurent Monin
13b8fe1132
Remove titles from profiles
2024-04-13 14:09:30 +02:00
Laurent Monin
45a21a9081
Set titles in Option declarations
2024-04-13 14:09:30 +02:00
Laurent Monin
8049aaa899
Use Option title in Profiles Option dialog
2024-04-13 14:09:30 +02:00
Laurent Monin
006944294e
Add option.get_title() method
...
Similar to Option.get_default()
2024-04-13 14:09:30 +02:00
Laurent Monin
94189f8ecf
Option: Add support for an optional title
2024-04-13 14:09:30 +02:00
Laurent Monin
93623cb8d3
Merge pull request #2399 from zas/improve_changes_on_restart
...
Improve changes applied on restart dialog
2024-04-12 16:52:41 +02:00
ShubhamBhut
48aa24ecf8
PICARD-2580: Add keyboard shortcut for Artwork/Show more details
2024-04-12 16:06:42 +02:00
Laurent Monin
490ce9daf8
Use changes_require_restart_warning() in Interface Colors
2024-04-12 15:11:55 +02:00
Laurent Monin
86e43780b8
Improve changes applied on restart dialog
...
- display all changes as a list (it fixes an issue where if you changed both theme and language only warning about theme was displayed)
- reformat using richtext
- use an actual warning dialog
- modifies the API so we can pass multiples warnings and notes
- make title and last sentence fixed
- since we detect changes in options not need to write to them if unchanged
2024-04-12 15:07:37 +02:00
Laurent Monin
eb21f7edb0
Introduce DebugOpt.PLUGIN_FULLPATH and shorten plugin paths in logs
2024-04-12 13:40:48 +02:00
Laurent Monin
fb91b929da
Merge pull request #2398 from zas/fix_picard_module_path
...
Fix inconsistency in picard_module_path
2024-04-12 13:39:41 +02:00
Laurent Monin
b282a593ae
Fix inconsistency with relative paths
...
`picard_module_path` can be a file path or a dir path.
When it's a frozen package, that's always a directory, and when running from source it is always a file path.
Ensure it is always a directory (that is the parent of the file path if it happens)
2024-04-12 12:26:56 +02:00
Laurent Monin
607f923dec
Merge pull request #2391 from zas/debug_replies
...
Add a way to select extra debug output
2024-04-12 10:32:41 +02:00
Laurent Monin
6598f01e1f
Merge pull request #2395 from zas/network_cache_size_option
...
PICARD-2855: Let the user configure network cache size via Network Options
2024-04-12 10:31:54 +02:00
Laurent Monin
61dbae164b
Add a way to select extra debug output
...
Web service replies can be very long, and it makes debug output rather hard to read.
A debug option mechanism is now added, it is controlled by a new class
`DebugOpt`.
A command-line option `--debug-opts` allows selection of extra debug
output, for now the sole option is `ws_replies`.
A matching menu was added in View Debug Log dialog.
It is important to note those aren't saved in config file, as they are
meant to be disabled by default and only enabled when needed.
2024-04-12 10:21:51 +02:00
Laurent Monin
839e02f154
Webservice: split set_cache() in _init_cache() and set_cache_size()
...
- changing the cache size can be done dynamically
2024-04-12 10:16:38 +02:00
toineenzo
f9e38eaeba
Translated using Weblate (Dutch)
...
Currently translated at 99.6% (1173 of 1177 strings)
Co-authored-by: toineenzo <toinerademacher@hotmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/nl/
Translation: Picard/App
2024-04-12 01:28:58 +00:00
Philipp Wolfer
265aedae93
Merge pull request #2396 from zas/log_test
...
Add tests for `log.name_filter()`
2024-04-11 18:29:24 +02:00
Laurent Monin
e6c65b7f52
network_cache_size_bytes == 0 will totally disable the cache
2024-04-11 10:34:23 +02:00
Laurent Monin
40856d9875
Add new option network_cache_size_bytes to profiles
2024-04-11 10:21:19 +02:00
Laurent Monin
c5a64d4e50
Unify Win/Posix output
2024-04-10 18:29:41 +02:00
Laurent Monin
6fbf76b075
Add win-specific tests
2024-04-10 18:12:39 +02:00
Laurent Monin
aad9be0088
Correctly handle __init__ within path (unlikely, but...)
2024-04-10 18:03:21 +02:00
Laurent Monin
577c90928f
Do not run test on Win (yet)
2024-04-10 17:58:57 +02:00
Laurent Monin
9804f736df
Fix weird case
2024-04-10 17:49:23 +02:00
Laurent Monin
6d5bb0ccfc
Use PurePosixPath
2024-04-10 17:42:58 +02:00
Laurent Monin
2fbeceb9dc
Add tests for log.name_filter()
2024-04-10 17:36:58 +02:00
Laurent Monin
b379abd7fb
Fix up tests
2024-04-09 18:02:15 +02:00
Laurent Monin
ff238e2b62
Let the user configure network cache size via Network Options
2024-04-09 17:47:00 +02:00
Vac31
0a36d1e0d5
Translated using Weblate (Lithuanian)
...
Currently translated at 64.7% (762 of 1177 strings)
Co-authored-by: Vac31 <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translation: Picard/App
2024-04-07 12:29:10 +00:00
Philipp Wolfer
e2ce34eaf7
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1128 of 1177 strings)
Translated using Weblate (Turkish)
Currently translated at 30.6% (361 of 1177 strings)
Translated using Weblate (Swedish)
Currently translated at 54.1% (637 of 1177 strings)
Translated using Weblate (Albanian)
Currently translated at 22.3% (263 of 1177 strings)
Translated using Weblate (Slovenian)
Currently translated at 23.6% (278 of 1177 strings)
Translated using Weblate (Slovak)
Currently translated at 26.4% (311 of 1177 strings)
Translated using Weblate (Polish)
Currently translated at 56.1% (661 of 1177 strings)
Translated using Weblate (Dutch)
Currently translated at 99.6% (1173 of 1177 strings)
Translated using Weblate (Malay)
Currently translated at 79.6% (937 of 1177 strings)
Translated using Weblate (Korean)
Currently translated at 59.9% (706 of 1177 strings)
Translated using Weblate (Japanese)
Currently translated at 83.7% (986 of 1177 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (1177 of 1177 strings)
Translated using Weblate (Indonesian)
Currently translated at 14.1% (166 of 1177 strings)
Translated using Weblate (Hebrew)
Currently translated at 92.9% (1094 of 1177 strings)
Translated using Weblate (French)
Currently translated at 99.3% (1169 of 1177 strings)
Translated using Weblate (Finnish)
Currently translated at 99.1% (1167 of 1177 strings)
Translated using Weblate (Estonian)
Currently translated at 62.8% (740 of 1177 strings)
Translated using Weblate (German)
Currently translated at 100.0% (1177 of 1177 strings)
Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/de/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/et/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/fi/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/fr/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/he/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/id/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/it/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/ja/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/ko/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/ms/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/nl/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/pl/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/sk/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/sl/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/sq/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/sv/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/tr/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/zh_Hans/
Translation: Picard/App
2024-04-07 12:29:09 +00:00