Commit Graph

194 Commits

Author SHA1 Message Date
b566096b1f feat: option to disable gallery looping
This change is sponsored by @superuser7777

Related: https://github.com/BLumia/pineapple-pictures/issues/153
2025-06-25 20:55:42 +08:00
2bee79c064 i18n: update ts files 2025-06-22 15:14:08 +08:00
91696963ae i18n: Translations update from Hosted Weblate (#152)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (164 of 164 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (164 of 164 strings)

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

---------

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2025-06-22 15:11:56 +08:00
1623ca315a feat: able to disable built-in close window animation 2025-06-22 15:04:15 +08:00
36854d19f4 i18n: update ts files 2025-06-01 13:26:49 +08:00
3f7ebd2f6c chore: make use of Qt::Literals::StringLiterals u""_s
Migrate string literal handling to Qt’s built‐in `u""_s` literals for consistency and readability.
2025-05-31 13:10:21 +08:00
24a0b581f3 chore: drop Qt 5 support
The required exiv2 version is now 0.28.x as well since it was
keeped for Qt 5 build.

Due to exiv2ConfigVersion.cmake doesn't allow us write something
like find_package(exiv2 "0.28") to require version >= 0.28.0,
we simply don't put the required version number here for now.
2025-05-24 20:34:36 +08:00
fbdd858fbd chore: merge Qt translations into app translations as well 2025-04-26 17:02:24 +08:00
30eb06cba7 chore: make use of the showMessageAndExit api in Qt 6.9 2025-04-09 19:24:27 +08:00
0a45cd7c22 chore: add the ability to know if it's the first loaded user media
This could make it easier to allow set “Keep Transform” mode at
start-up.

This change is sponsored by @EdgarHartel.

Related: https://github.com/BLumia/pineapple-pictures/issues/146#issuecomment-2778192785
2025-04-08 23:19:02 +08:00
8568f6d4ef i18n: Translations update from Hosted Weblate (#145)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (163 of 163 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (163 of 163 strings)

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

---------

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2025-04-04 17:16:16 +08:00
da9d7d6989 fix: add a small delay when file watcher triggers a reload
The file might still being write by other program, thus we add a
500ms delay to reload the image.
2025-03-31 01:28:03 +08:00
f24743e381 feat: reload image when current image gets updated
This feature is sponsored by @EdgarHartel.

Issue: https://github.com/BLumia/pineapple-pictures/issues/143
2025-03-29 13:41:55 +08:00
fd4af282af i18n: update ts files 2025-03-26 22:53:57 +08:00
4de03dd02e feat: support enforce windowed mode on start-up
This feature is sponsored by @EdgarHartel.

Issue: https://github.com/BLumia/pineapple-pictures/issues/143
2025-03-26 22:51:27 +08:00
bfaf702606 i18n: Translated using Weblate (Japanese) (#144)
Currently translated at 100.0% (162 of 162 strings)

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

Co-authored-by: mmahhi <mmahhi@users.noreply.hosted.weblate.org>
2025-03-26 22:50:36 +08:00
3203d7f598 chore(macOS): use native text for ShortcutEdit's label
This means that it will be shown translated and on Apple platforms
it will resemble a key sequence from the menu bar.
2025-03-08 00:31:49 +08:00
ae07c5fe44 i18n: Translations update from Hosted Weblate (#140)
* Added translation using Weblate (Tamil)

* Added translation using Weblate (Tamil)

* Translated using Weblate (Tamil)

Currently translated at 100.0% (162 of 162 strings)

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

* Translated using Weblate (Tamil)

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/ta/

---------

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
2025-02-16 13:08:25 +08:00
a33381557b chore: sync playlistmanager changes from other project 2025-02-16 00:50:14 +08:00
3a8e907f28 i18n: Translations update from Hosted Weblate (#138)
* Translated using Weblate (Italian)

Currently translated at 100.0% (162 of 162 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 99.3% (161 of 162 strings)

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

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Sabri Ünal <yakushabb@gmail.com>
2025-01-20 19:55:55 +08:00
eb04ac362b fix: should center window according to available geometry 2025-01-04 13:36:01 +08:00
6d7d0e4e1d chore(macOS): change close-window behavior
On macOS, now closing the window will actually hide the window
instead of quit the application, thus it will match to some other
macOS application's behavior.

Additionally, since our binary is not signed, this could avoid
seeing the request permission dialogs everytime user attempts to
open an image file inside a private place (e.g. places like the
"Downloads" folder and "access data from other apps").
2025-01-03 18:57:25 +08:00
ff4f71c1e6 chore: hello 2025 2025-01-01 12:06:16 +08:00
101f111209 refactor: move file open event handling to standalone file 2024-12-31 10:57:21 +08:00
2de9ff810d feat: new TRANSLATION_RESOURCE_EMBEDDING build-time option 2024-12-24 22:37:16 +08:00
57354fc135 fix(macOS): should adjust window size when set as default viewer 2024-12-23 00:42:55 +08:00
07d0b0270e i18n: update ts files 2024-12-20 23:17:55 +08:00
78e3e45a2e i18n: Translated using Weblate (Italian) (#137)
Currently translated at 100.0% (161 of 161 strings)

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

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2024-12-20 23:08:23 +08:00
5a34441c72 feat: option to double-click to fullscreen
Resolve: BLumia/pineapple-pictures#129
2024-12-15 19:12:38 +08:00
b01601085b chore: update README and related docs 2024-12-04 20:07:15 +08:00
64c4d2e064 feat(macOS): support file open event for association 2024-12-03 23:37:53 +08:00
42b6510877 i18n: Translated using Weblate (Spanish) (#134)
Currently translated at 100.0% (161 of 161 strings)

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

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-11-30 23:11:59 +08:00
aa746721f0 i18n: update ts files 2024-11-07 00:15:59 +08:00
42e3d4c691 feat: animation pause and manually step to next frame
Resolve: https://github.com/BLumia/pineapple-pictures/issues/85
2024-11-06 20:28:39 +08:00
a993437983 i18n: Translations update from Hosted Weblate (#133)
* Translated using Weblate (Korean)

Currently translated at 100.0% (152 of 152 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (157 of 157 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (157 of 157 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (157 of 157 strings)

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

---------

Co-authored-by: VenusGirl <VenusGirl@outlook.com>
Co-authored-by: Sabri Ünal <yakushabb@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2024-11-06 20:27:31 +08:00
8cce48e6b0 feat: check conflict shortcuts before saving 2024-11-03 00:46:21 +08:00
d0bdc71cf5 chore: shortcut-related code tweaks 2024-11-02 09:32:51 +08:00
2071e82e1d i18n: update ts files 2024-10-31 00:01:08 +08:00
b2f10b9193 chore: fix ubuntu 22.04 build ...again 2024-10-30 00:15:47 +08:00
9eb91dedf9 chore: fix ubuntu 22.04 build 2024-10-30 00:05:49 +08:00
3eade9c3cf feat: support custom shortcut for existing actions
Resolve https://github.com/BLumia/pineapple-pictures/issues/128

Actually also https://github.com/BLumia/pineapple-pictures/issues/72
but not sure why that one is now a 404 page.
2024-10-29 23:28:27 +08:00
fad7a668e3 fix: not able to load translations 2024-10-27 13:49:24 +08:00
29355c7fc1 fix: actual proper fix for 471a3b1 2024-10-22 21:35:50 +08:00
95f85374cf i18n: Translations update from Hosted Weblate (#125)
* Translated using Weblate (Japanese)

Currently translated at 98.6% (149 of 151 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (152 of 152 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% (152 of 152 strings)

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

---------

Co-authored-by: mmahhi <mmahhi@users.noreply.hosted.weblate.org>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-10-22 00:38:29 +08:00
471a3b15ef fix: incorrect config location
This caused by the setting singleton instance (actually,
QStandardPath::writableLocation) was used before QApplication
was constructed, resulting it doesn't know the application
name. So we manually append the name to the path...
2024-10-21 22:27:57 +08:00
b880406474 i18n: update ts files 2024-10-11 00:30:13 +08:00
470a29c38c feat: option to use light checkerboard by default 2024-10-10 22:58:11 +08:00
4dd3f22d88 chore: make use of CMake project version 2024-09-17 19:28:05 +08:00
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