Commit Graph

189 Commits

Author SHA1 Message Date
eb2e2e93f9 refactor(playlist): playlist itself as model
This could make state management easier, and also make it reusable
just in case we need to attach the playlist to a view.
2024-07-20 23:18:42 +08:00
4a095a0cfd chore: add jfif to supported formats 2024-07-20 13:53:29 +08:00
d01297043e fix: playlist filter should consider plugins
setAutoLoadFilterSuffix with formats dynammically got from QImageReader, fix https://github.com/BLumia/pineapple-pictures/issues/120
2024-07-20 13:36:03 +08:00
ae257ea567 i18n: Translations update from Hosted Weblate (#119)
* Translated using Weblate (Japanese)
* Translated using Weblate (Norwegian Bokmål)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

---------

Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: ovl-1 <ovl-002@mailinator.com>
2024-07-20 13:04:55 +08:00
a217ce9ee8 CI(msvc): switch to Qt 6 and CMake 2024-07-06 15:23:33 +08:00
c636b14af8 chore: temporary limit svg support to Tiny 1.2-only 2024-06-28 18:40:50 +08:00
2671b6061d i18n: Translations update from Hosted Weblate (#116)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Added translation using Weblate (Spanish)

* Translated using Weblate (Spanish)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/es/

---------

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-06-28 12:33:14 +08:00
7ec4420eaf chore(UI): add icon for properties action
I didn't add this icon because QTBUG-124085, and since I fixed that
issue (and also since we won't use Qt 6.7.0 for Windows build), let's
add the icon back ;)
2024-04-20 13:53:44 +08:00
a83cc61148 fix: incorrect header include position 2024-04-19 00:48:28 +08:00
e0fda8f3b0 feat: support move image file to trash
Resolve: BLumia/pineapple-pictures#42
2024-04-15 01:16:00 +08:00
37cfdad799 i18n: Translated using Weblate (Japanese) (#114)
Currently translated at 100.0% (144 of 144 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

Co-authored-by: mmahhi <masa10suda@gmail.com>
2024-04-15 01:14:31 +08:00
6145925283 feat: add some icons for corresponding menu actions 2024-04-03 19:56:46 +08:00
f1da25f766 i18n: Translations update from Hosted Weblate (#111)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Turkish)

---------

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
2024-03-15 15:11:18 +08:00
a452ea2644 chore: hello 2024 2024-02-16 11:58:32 +08:00
23f160221b i18n: Translations update from Hosted Weblate (#106)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Japanese)
* Translated using Weblate (Indonesian)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/

---------

Co-authored-by: volkov <d2oo1dle2x@gmail.com>
Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
2023-11-28 12:51:53 +08:00
2d718b013b chore: use std::as_const() instead of qAsConst
Waring: constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<QString>; typename std::add_const<_Tp>::type = const QList<QString>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
2023-11-27 09:36:07 +08:00
9300f7812f Translations update from Hosted Weblate (#102)
* Translated using Weblate (Italian)
* Translated using Weblate (Spanish)
* Translated using Weblate (Dutch)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
2023-10-22 23:39:15 +08:00
9677fed3f2 i18n: tweak the copywriting for 'Keep transformation', update ts files 2023-10-15 17:42:46 +08:00
438103587a Translations update from Hosted Weblate (#101)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (142 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

* Translated using Weblate (Korean)

Currently translated at 100.0% (142 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/

---------

Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: VenusGirl <VenusGirl@outlook.com>
2023-10-15 17:27:50 +08:00
6e5bde68d8 feat: add "Keep transformation" to menu
This could be helpful when viewing a gallery with similar size, which
need to apply same transformation to the view. E.g. When viewing a batch
of pixel image sprite assets, the view might need to be zoomed to clearly
view the detail of the image.

Other use-case can be seen at the linked issue below.

https://github.com/BLumia/pineapple-pictures/issues/87
https://github.com/BLumia/pineapple-pictures/issues/89
2023-10-15 17:12:46 +08:00
e927708f78 i18n: better approach to load translations 2023-08-26 23:39:34 +08:00
ecfaf7f02b Translations update from Hosted Weblate (#97)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 86.6% (123 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Added translation using Weblate (Dutch)

* Added translation using Weblate (Russian)

* Translated using Weblate (Dutch)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/ru/

---------

Co-authored-by: ovl-1 <ovl-002@mailinator.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
2023-08-26 23:09:33 +08:00
eea7b24f6e Translations update from Hosted Weblate (#94)
* Translated using Weblate (Dutch)
* Translated using Weblate (Russian)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Spanish)
* Added translation using Weblate (Italian)
* Translated using Weblate (Turkish)
* Translated using Weblate (Italian)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/

---------

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
2023-08-14 23:03:59 +08:00
67762b357d fix(Qt6): don't set image allocation limit
User might needs to load large image which isn't corrupted, see GH-28
for example. This restores Qt 5's default behavior.
2023-08-13 21:06:33 +08:00
4c2af150a6 fix: use win32api to get application location 2023-07-28 21:18:37 +08:00
9a9f61ae2f i18n: update ts files 2023-07-15 19:54:41 +08:00
0e1635e0e7 feat: add hidpi rounding policy option to setting dialog 2023-07-10 01:07:01 +08:00
d4ded92734 feat: add option to avoid reset transform when switching between images
It's not enabled for now so it's not available to end-users.
2023-07-09 15:40:15 +08:00
7db7cfd85a fix: config file location under Linux should contain app name 2023-06-27 00:37:59 +08:00
1e3d68df1c fix: disable resizing and moving in maximized or fullscreen window 2023-06-24 16:43:31 +08:00
6fc9534184 refactor(FramelessWindow): use Qt API for window resizing (#81)
No longer use Win32API for window resizing. This should work under all platforms that support window resizing.
2023-06-24 14:37:54 +08:00
6f28878837 feat: add tif and tiff to auto load suffix list
Issue: https://github.com/BLumia/pineapple-pictures/issues/88
2023-06-19 00:12:22 +08:00
c51ec4bd5d fix: avoid hard-code the size of the settings dialog 2023-06-18 22:55:55 +08:00
a29a1806a3 chore: avoid using deprecated function in qt6 builds 2023-06-06 00:15:43 +08:00
c69483eff1 chore: bump and support exiv2 version 0.28.0
0.27.x is still supported for now.
2023-06-04 21:58:16 +08:00
6a992f4c1f feat: able to show file name in window title 2023-05-29 23:59:45 +08:00
5aeb0f821f chore!: drop Qt version lower than 5.15.2 2023-05-21 00:36:24 +08:00
ae931c8c51 Translations update from Hosted Weblate (#83)
* Translated using Weblate (Korean)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/uk/

---------

Co-authored-by: VenusGirl <VenusGirl@outlook.com>
Co-authored-by: Dan <denqwerta@gmail.com>
2023-05-11 18:39:10 +08:00
3b279fca6a fix: allow right click on animated image 2023-05-01 19:10:39 +08:00
a55e873c48 fix: window resizing not working under Qt 6
This is a workaround solution for QTBUG-112356. See the following
discussion for details. Thanks @yyc12345 from GitHub for finding
the cause of the issue.

Related: https://github.com/BLumia/pineapple-pictures/pull/81
2023-04-16 20:00:51 +08:00
777589e2dc Translations update from Hosted Weblate (#78)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/zh_Hans/

* Translated using Weblate (Russian)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

---------

Co-authored-by: Black Cat <blackcat1838s@outlook.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Percy Hong <doraemonworldx@gmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-04-08 16:26:30 +08:00
e8722c687a i18n: update ts files 2023-03-23 00:06:40 +08:00
2e2cbd40fa feat: add two new exif property support 2023-03-22 23:10:02 +08:00
e472000507 fix(CI): AppleClang build failed fix 2023-02-15 19:09:09 +08:00
b11ea43ee5 fix: crash if unusual xmp tag used when open property dlg 2023-02-15 00:04:10 +08:00
bf89476421 chore: bump copyright year 2023-02-14 23:13:23 +08:00
e03a6e6c34 Translations update from Hosted Weblate (#77)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

---------

Co-authored-by: Black Cat <blackcat1838s@outlook.com>
Co-authored-by: Génesis Toxical <tamaramartinez@outlook.com>
2023-02-12 13:03:13 +08:00
09dfbb0630 Translations update from Hosted Weblate (#76)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

---------

Co-authored-by: Génesis Toxical <tamaramartinez@outlook.com>
Co-authored-by: Black Cat <blackcat1838s@outlook.com>
2023-01-30 18:51:26 +08:00
62f80b1cbc Translations update from Hosted Weblate (#73)
* Added translation using Weblate (Punjabi (Pakistan))
* Translated using Weblate (Punjabi (Pakistan))

Currently translated at 40.0% (54 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/pa_PK/

Co-authored-by: bgo-eiu <huyaqoob+toolforge@gmail.com>
2022-11-12 14:35:11 +08:00
d1fbf64011 fix: proper check for filemanager1 dbus 2022-11-01 20:58:48 +08:00