Commit Graph

10001 Commits

Author SHA1 Message Date
Philipp Wolfer
bf798f72ca Ignore .python-version file for pyenv 2023-09-13 09:39:27 +02:00
Philipp Wolfer
bf2fb6832f Mark github releases as pre-release automatically 2023-09-13 08:48:08 +02:00
Philipp Wolfer
cc59c1df76 On plugin import error unset sys.modules again 2023-09-13 08:18:53 +02:00
Philipp Wolfer
d89934e96c Completely moved plugin update UI handling out of pluginmanager 2023-09-12 18:57:05 +02:00
Philipp Wolfer
952e34e506 Moved PluginUpdatesDialog into picard.ui 2023-09-12 18:57:05 +02:00
Philipp Wolfer
25038a6318 PICARD-2751: Restore the ability to load compiled .pyc plugins 2023-09-12 15:05:34 +02:00
Philipp Wolfer
d939dce66d Translated using Weblate (German)
Currently translated at 100.0% (1171 of 1171 strings)

Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/app/de/
Translation: Picard/App
2023-09-12 07:27:36 +00:00
Philipp Wolfer
1d7fbec6ea Merge branch '2.9.x'
# Conflicts:
#	picard/__init__.py
#	scripts/package/win-common.ps1
2023-09-12 08:50:31 +02:00
Philipp Wolfer
e4d031b05e Bump API version 2023-09-12 07:31:17 +02:00
Philipp Wolfer
1cbb7a8522 Release 2.9.2 2023-09-12 07:06:01 +02:00
Philipp Wolfer
e311f84117 Mark package as Python 3.12 compatible 2023-09-11 16:03:29 +02:00
Philipp Wolfer
f3b565a46c macOS: Build with Python 3.11.5 2023-09-11 15:52:38 +02:00
Philipp Wolfer
f69eda2d14 Format playback rate in player toolbar locale aware 2023-09-11 14:36:46 +02:00
Philipp Wolfer
97a8230479 Bump version 2.9.2dev1 2023-09-11 13:01:36 +02:00
Philipp Wolfer
2944e16a20 Bump version 2.10.0dev1 2023-09-11 13:00:29 +02:00
Philipp Wolfer
f89288f16b Build with PyInstaller 5.13.2 2023-09-11 12:39:37 +02:00
Philipp Wolfer
565f332b03 Update pip dependencies 2023-09-11 12:37:49 +02:00
Hosted Weblate
5aa0ddc0c7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/app/
Translation: Picard/App
2023-09-11 07:18:03 +00:00
Philipp Wolfer
86cd204cab Update picard.pot 2023-09-11 09:17:45 +02:00
Philipp Wolfer
b1c2874f4d Merge pull request #2307 from phw/python-3.12-compat
PICARD-2751: Avoid deprecated importlib APIs, full Python 3.12 compatibility
2023-09-11 08:29:56 +02:00
Philipp Wolfer
7d84330c5f PluginManager: Minor code cleanup 2023-09-10 16:40:06 +02:00
Philipp Wolfer
d5ec0152fb PICARD-2720: Add .desktop file action to explicitly open new window 2023-09-10 16:25:17 +02:00
Philipp Wolfer
c8a34046ec PICARD-2712: Fix sanitize date removing 0 values
Sanitize date cleared zero values in between, such turning "YYYY-00-DD"
into "YYYY-DD", which would be a completely different date.

Fix this by keeping empty values if they are not the last element.
2023-09-10 16:24:21 +02:00
Philipp Wolfer
352ba1b4cb PICARD-2733: Fixed crash in save warning dialog with Finnish locale 2023-09-10 15:53:02 +02:00
Philipp Wolfer
1743e94410 PICARD-2724: Move all Qt5 DLLs into main directory on Windows
Avoids import errors if a system wide, incompatible Qt5 installation
is present on the system.
2023-09-10 15:48:24 +02:00
Philipp Wolfer
e14c9a0100 Avoid pipe error output on startup
When starting the initial instance the pipe not being available to
write to is an expected condition. Handle this gracefully.
2023-09-10 15:47:43 +02:00
Philipp Wolfer
d71460d511 PICARD-2722: Fix pipe recreation race condition on exit
Only re-create pipe on Windows if it was not stopped. Otherwise
re-creating the pipe can cause the pipe server thread to keep running.
2023-09-10 15:47:31 +02:00
Philipp Wolfer
7d668880c8 PICARD-2736: Fix Windows system wide libssl conflicting with bundled libssl
Removed an old workaround that no longer applies for current PyQt5
and/or PyInstaller. The OpenSSL DLLs should be kept in the main install
folder in order to be prioritized over system libs.
2023-09-10 15:46:19 +02:00
Laurent Monin
595c9e963b PICARD-2700: fix accumulating series metadata on refresh 2023-09-10 15:44:32 +02:00
Philipp Wolfer
ecae547452 PICARD-2724: Fix potential crash in artist alias translation 2023-09-10 15:43:17 +02:00
Philipp Wolfer
6c89f1f854 Include resources/images and image compile tools in source archives
This gives users of the source the ability to manipulate those files
instead of just receiving the compiled resources.py (which essentially
is just an unmodifieable binary dump).
2023-09-10 15:42:42 +02:00
Philipp Wolfer
83ea460c57 Moved legacy code out of PluginManager._load_plugin 2023-09-10 13:47:01 +02:00
Philipp Wolfer
a88975249f PICARD-2751: Load plugins in plugin dir priority order
If a plugin is already loaded avoid running its code again. This avoids
double execution in case the plugin is in both the user and system plugin
directory.
2023-09-10 13:47:00 +02:00
Philipp Wolfer
4db506c49f PICARD-2751: Avoid plugins with relative imports executing plugin body twice 2023-09-10 12:28:48 +02:00
Philipp Wolfer
70904c11e0 Refactor PluginMetaPathFinder 2023-09-10 11:47:32 +02:00
salo.rock
7e989628bd Translated using Weblate (Italian)
Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: salo.rock <salo.rock@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/appstream/it/
Translation: Picard/AppStream
2023-09-09 18:27:34 +00:00
Philipp Wolfer
bcda101dae pluginmanager: Avoid multiple calls to PathFinder().find_spec() 2023-09-09 17:17:52 +02:00
Philipp Wolfer
1944a0e2cb PICARD-2355: Use zipimporter.find_spec if available
Avoids use of deprecated and in Python 3.12 removed API
2023-09-09 16:55:34 +02:00
Philipp Wolfer
b1afa8e121 PICARD-2354: Use MetaPathFinder to find Picard plugins 2023-09-09 16:55:34 +02:00
Philipp Wolfer
136e2b7dd3 PICARD-2354: Exec plugin module when loading 2023-09-09 12:49:21 +02:00
skelly37
0a56f40854 PICARD-2354: Replaced deprecated imp module in plugin manager 2023-09-09 12:49:21 +02:00
Philipp Wolfer
1912420bb9 Run CI tests with Python 3.12.0-rc.1 2023-09-09 12:49:20 +02:00
Laurent Monin
bfc199e5e6 Merge pull request #2306 from phw/fix-script-editor
Fixed regresson in script editor
2023-09-08 15:46:10 +02:00
Philipp Wolfer
9f7ae34bf4 Fixed regresson in script editor
Revert use of qlistwidget_items for getting the script list, as this
is a QComboBox and not QListWidget.
2023-09-08 15:35:24 +02:00
Philipp Wolfer
2a89c2edf2 Use named parameters in powershell script 2023-09-08 09:49:53 +02:00
Philipp Wolfer
7c7de584a6 PICARD-2724: Move all Qt5 DLLs into main directory on Windows
Avoids import errors if a system wide, incompatible Qt5 installation
is present on the system.
2023-09-08 09:49:53 +02:00
Philipp Wolfer
33e9c02f0f PICARD-2749: Avoid deprecated importlib APIs in log module 2023-09-08 09:48:27 +02:00
Philipp Wolfer
9009771776 Restrict default permissions of Github Actions 2023-09-08 07:34:02 +02:00
Laurent Monin
b100eb1620 Merge pull request #2303 from zas/isort_fix
Isort fix
2023-09-07 20:30:01 +02:00
Laurent Monin
f15b7f2244 Merge pull request #2302 from zas/qlistwidget_items
Introduce method to iterate Qlistwidget items
2023-09-07 20:29:45 +02:00