Commit Graph

147 Commits

Author SHA1 Message Date
4dd3f22d88
chore: make use of CMake project version 2024-09-17 19:28:05 +08:00
Weblate (bot)
ae0f11c153
i18n: Translations update from Hosted Weblate (#124)
* Translated using Weblate (Spanish)

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

* Translated using Weblate (Turkish)

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

* Translated using Weblate (Italian)

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

* Translated using Weblate (Japanese)

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

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: mmahhi <mmahhi@users.noreply.hosted.weblate.org>
2024-08-24 15:29:57 +08:00
2bca7bd691
fix: move to trash not reload current item 2024-07-31 20:21:10 +08:00
c2226ef5c7
chore: update translation strings 2024-07-31 19:41:51 +08:00
3596f9eac4 fix: window title not updated in some cases 2024-07-30 23:25:34 +08:00
a6e31a2c4d
feat: cli argument to list supported image formats 2024-07-28 16:16:20 +08:00
cd01a05f23
chore: sync playlistmanager changes 2024-07-28 16:14:14 +08:00
f32cb998ae
fix: crash caused by urlByIndex() with invalid model index
Also save a QVariant convert for QUrl
2024-07-21 00:52:32 +08:00
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
zhongyic00
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
rewine
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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