Commit Graph

145 Commits

Author SHA1 Message Date
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
Weblate (bot)
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
Weblate (bot)
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
Weblate (bot)
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
Gary Wang
d1fbf64011
fix: proper check for filemanager1 dbus 2022-11-01 20:58:48 +08:00
Gary Wang
51e49ab8a8
chore: add fallback in case filemanager1 dbus failed 2022-10-30 12:01:58 +08:00
Gary Wang
de394389e9
fix: select item no longer work via filemanager1 dbus 2022-10-30 01:55:45 +08:00
Gary Wang
b83de962cb
feat: open folder will also select file on linux 2022-10-29 23:35:30 +08:00
Allan Nordhøy
a24c246fc7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.8% (120 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/
2022-10-29 15:51:19 +08:00
Gary Wang
8347028871
fix: blurry when raster image scaled down 2022-10-06 14:24:11 +08:00
Weblate (bot)
4fecf2da84
Translations update from Hosted Weblate (#66)
* Added translation using Weblate (Catalan)

* 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 (Catalan)

Currently translated at 100.0% (135 of 135 strings)

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

Co-authored-by: Toni Estévez <toni.estevez@gmail.com>
2022-10-01 00:20:30 +08:00
Gary Wang
d535dedf60
fix: image blurry on Hi-DPI devices 2022-09-30 00:24:04 +08:00
Chris Xiong
cc7d58d4ec fix: proper svg icon rendering on hidpi screen. 2022-09-29 19:06:51 +08:00
Génesis Toxical
24f1c4e6d8 Translated using Weblate (Spanish)
Currently translated at 80.7% (109 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/
2022-08-28 14:40:17 +08:00
Weblate (bot)
ec0427a153
Translations update from Hosted Weblate (#62)
* Translated using Weblate (French)

Currently translated at 100.0% (135 of 135 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 20.0% (27 of 135 strings)

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

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
Co-authored-by: Gary Wang <wzc782970009@gmail.com>
2022-08-14 13:48:38 +08:00
Gary Wang
0bbf148af6
i18n: initial uncompleted Japanese translation 2022-08-07 18:43:18 +08:00
Gary Wang
93d1ca928e
chore: allow Meta+Up to maximize under Windows with Qt 6 2022-06-25 23:52:35 +08:00
Gary Wang
814068fa34
chore: add license headers for REUSE license check 2022-06-19 16:17:47 +08:00
Maxime Leroy
9f2e004951 Translated using Weblate (French)
Currently translated at 99.2% (134 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/
2022-06-19 13:16:01 +08:00
Gary Wang
75da5e8ca5
chore: use const reference for a lambda slot 2022-06-04 17:09:12 +08:00
Weblate (bot)
f09e5c8349
Translations update from Hosted Weblate (#54)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (135 of 135 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (135 of 135 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (135 of 135 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (135 of 135 strings)

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

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: sal0max <msal.coding@gmail.com>
2022-05-12 00:20:56 +08:00
Gary Wang
6bea81f6b8
update ts files 2022-04-13 00:05:06 +08:00
Gary Wang
b5d723017a
i18n: strings for the default window size option 2022-04-13 00:03:37 +08:00
Gary Wang
d645c0f3be
chore: comment out an option since string not localized 2022-04-04 01:14:02 +08:00
Gary Wang
6270910e12
fix: caching scaled image to avoid lagging when panning large image 2022-04-03 19:08:14 +08:00
Gary Wang
c9dadcbcad
refactor: use QMetaEnum 2022-03-12 10:35:23 +08:00
Gary Wang
432266a6f0 feat: option for set window startup size 2022-03-11 16:22:44 +08:00
Weblate (bot)
5674230c4c
Translations update from Hosted Weblate (#51)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (132 of 132 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (132 of 132 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (132 of 132 strings)

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

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2022-03-05 12:23:31 +08:00
Gary Wang
6accd06864
i18n: update ts files 2022-02-09 00:16:44 +08:00
Gary Wang
0bf8e380de
i18n: update copywriting for copyright description 2022-02-09 00:12:37 +08:00
Gary Wang
d51eb796b9
i18n: copywriting for show in directory feature 2022-02-09 00:05:22 +08:00
Gary Wang
9e1b10831a feat: open containing folder 2022-02-01 17:19:36 +08:00
Gary Wang
052d23be60 fix: display system-native path separators 2022-01-14 13:05:11 +08:00
Weblate (bot)
9f4c9c7376
Translations update from Hosted Weblate (#47)
* Added translation using Weblate (Turkish)

* Translated using Weblate (Turkish)

Currently translated at 100.0% (127 of 127 strings)

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

Co-authored-by: E-Akcaer <gurbetcii_@hotmail.com>
2022-01-09 11:52:49 +08:00
Weblate (bot)
a6c08f32e5
Translations update from Hosted Weblate (#39)
* Translated using Weblate (French)

Currently translated at 88.1% (112 of 127 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (127 of 127 strings)

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

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2021-12-18 00:50:24 +08:00
Gary Wang
c6b78597e8 shortcuts: left/right for prev/next image, hide open action from menu 2021-12-17 13:36:20 +08:00
Gary Wang
f202bb58f4 feat: new action for open a dialog to select image files 2021-11-25 22:54:37 +08:00
Gary Wang
3f327f94dc fix: mouse back should show previous image 2021-10-08 22:24:55 +08:00
Gary Wang
7a1816cbac fix: do mouse gallery navigation on btn release 2021-10-08 19:31:19 +08:00
Gary Wang
3a442b35f6 feat: support forward/back button on mouse for image navigation 2021-10-08 14:06:18 +08:00
Gary Wang
a4416cd77c chore: initial Qt6 build support 2021-10-02 19:58:13 +08:00
Gary Wang
26c4c8871d fix(bottombar): disable border style if no focus on it 2021-09-30 01:41:20 +08:00
Gary Wang
c6d0a4e508 fix: should be able to see tab focus white box in bottom bar
But actually trigger action for widget under focus need to press
the spacebar in Qt, but we already use spacebar for quit app, so
it might be actually useful once we got a proper shortcut setting
thing.
2021-09-27 18:59:03 +08:00
Gary Wang
fcd5e2cb84 fix: disable auto fit after clicking actual size button 2021-08-04 19:30:12 +08:00
Weblate (bot)
24e259cb8b
Translations update from Weblate (#33)
* Added translation using Weblate (Indonesian)

* Translated using Weblate (Russian)

Currently translated at 98.4% (125 of 127 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 5.5% (7 of 127 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (127 of 127 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 62.2% (79 of 127 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (127 of 127 strings)

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

Co-authored-by: liimee <alt3753.7@gmail.com>
Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
2021-08-03 19:01:18 +08:00
Gary Wang
e8e7940abe fix: no longer display resolution info for image that not supported such info 2021-07-23 17:45:35 +08:00
Weblate (bot)
328800a153
Translations update from Weblate (#32)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.5% (115 of 127 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (127 of 127 strings)

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

* Translated using Weblate (Sinhala)

Currently translated at 46.4% (59 of 127 strings)

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

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: HelaBasa <R45XvezA@protonmail.ch>
2021-07-14 12:43:24 +08:00
Gary Wang
7d2816e544 chore: hide two actions that not ready to be in release 2021-07-10 17:07:35 +08:00
Gary Wang
6b2db55b84 fix: now always copy original pixmap 2021-07-06 13:25:53 +08:00
Gary Wang
a400dcaeb1 i18n: update ts files 2021-07-04 01:27:29 +08:00
Gary Wang
62f485006f feat: display more image metadata 2021-07-04 01:23:13 +08:00
Gary Wang
066b8458f4 chore: use utf8 for decoding metadata value 2021-07-03 00:28:36 +08:00
Gary Wang
c9e3274188 chore: use QToolButton instead of QPushButton for bottom bar 2021-07-02 00:06:23 +08:00
Gary Wang
e20562cf16 fix: prev and next arrow not vertically centered in some case 2021-07-01 22:43:11 +08:00
Gary Wang
7a0ed5bd56 fix: zoom out and then reset scale will display a mosaic image 2021-06-28 19:10:08 +08:00
Gary Wang
36c54addce fix: use a workaround to avoid pixelated when zoomed out
GH-31
2021-06-20 14:59:48 +08:00
Gary Wang
4c07a89ca3 chore: tweak fit-in-view menu action behavior 2021-06-07 14:16:42 +08:00
Gary Wang
635199b85b feat: add fit-in-view action 2021-06-04 13:53:47 +08:00
Gary Wang
71e8df3107 fix: memory leak when switching between animated image files 2021-05-21 00:06:37 +08:00
Gary Wang
038d04b3da feat: fit by width
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
2021-05-14 00:10:08 +08:00
Gary Wang
69802a433e fix: navigator view not get updated in some edge case
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
2021-05-12 13:55:04 +08:00
Weblate (bot)
b12328f41e
Translations update from Weblate (#29)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.9% (110 of 121 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (121 of 121 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (121 of 121 strings)

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

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-04-29 00:00:58 +08:00
Gary Wang
6acafc77b4 feat: add exif copyright info and gif frame count to property dialog
also fix some letter case issue in original copywriting.
2021-04-17 00:50:59 +08:00
Weblate (bot)
fa4b49ddf7
Translations update from Weblate (#27)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 91.4% (107 of 117 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (117 of 117 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

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

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@outlook.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-04-17 00:12:18 +08:00
Gary Wang
8ae93ac4ae fix: should show any animated image than just gif 2021-04-15 00:00:18 +08:00
Gary Wang
8c05969c18 fix: get rid of wrong tr() usage 2021-04-06 22:11:09 +08:00
Gary Wang
8d80f263b0 feat: add default shortcuts for some actions 2021-04-05 23:21:15 +08:00
Gary Wang
114e7359cd misc: don't call parent method since we don't need 2021-04-04 11:17:44 +08:00
Gary Wang
622938ac23 fix: always rotate according to current viewport state 2021-03-29 22:43:37 +08:00
Gary Wang
e1324d901c fix: always flip according to current viewport state 2021-03-27 22:22:04 +08:00
Gary Wang
483bb07b09 chore: keep flipping state while rotation and etc. 2021-03-25 23:05:50 +08:00
Gary Wang
6a9e5e80d0 feat: basic image flip support 2021-03-19 23:13:22 +08:00
Gary Wang
deed477d49 fix(build): build with qmake
...and also fix missing translation strings caused by broken qmake
project file.
2021-03-14 01:12:28 +08:00
Gary Wang
f7cc22a032 i18n: update ts files, restructure folder hierarchy 2021-03-13 14:50:53 +08:00
Gary Wang
6d460a27d7 fix: build with lower Qt version 2021-03-01 13:24:03 +08:00
Gary Wang
552d0fe072 fix: compat for older Qt (lower than 5.13) 2021-03-01 13:11:17 +08:00
Gary Wang
b146150528 feat: Shift+Click to use color-inverted checkerboard 2021-03-01 00:44:50 +08:00
Gary Wang
9c460f2ede chore: add webp to default image queue filter list 2021-02-26 00:57:12 +08:00
Gary Wang
7a69bb2fa2 partially revert 50170eb for the maximize shortcut on Windows
Since the workaround actually doesn't work, so we
remain the old behavior unchanged.
2021-02-19 19:22:50 +08:00
Gary Wang
50170eb4aa feat: shortcuts for zoom in and out
This also fix maximize shortcut on Windows.
2021-02-19 00:04:15 +08:00
Gary Wang
858c9e0ccf chore: add max zoom-in scale limit (1000x) 2021-02-18 20:03:23 +08:00
Gary Wang
2b4bbc91a7 fix: should now be able to show property dialog for all supported files 2021-02-09 14:19:09 +08:00
Gary Wang
a9ce8b0154 fix: add missing return for canPaste check 2021-01-24 00:47:42 +08:00
Gary Wang
1449844fdd fix: avoid create menu actions everytime when trigger context menu.
fix the minor memory leak issue, also bring some possibility to
implement custom keybinding.

And oops I also did another feature in this commit..
Now we are able to set mouse wheel behavior in config dialog.
2021-01-24 00:07:58 +08:00
Gary Wang
9b1b125d01 fix: also move the windows include for windows build 2021-01-10 15:23:49 +08:00
Gary Wang
6d8f353602 fix: some clazy checks 2021-01-10 14:57:01 +08:00
Gary Wang
4d8d98b2ff feat: display some GPS information from EXIF metadata 2021-01-04 19:06:12 +08:00
Gary Wang
3abc16d3ff chore: no longer based on QMainWindow
Since most of the features that QMainWindow offered will never be
used in this program. We don't need a statusbar, a menubar, etc.
2020-12-29 23:28:21 +08:00
Gary Wang
7782ed0e23 chore: adjust dir structure, add translator name list 2020-12-25 13:36:34 +08:00
Gary Wang
b50b69e9b8 property-dialog: hide a section if it's empty 2020-12-23 22:19:30 +08:00
Gary Wang
01443d5ad4 chore: remove the wsl workaround since Qt 5.15.2 fixed the issue 2020-12-17 13:04:33 +08:00
Gary Wang
13de9bdc4c feat: some other exiv metadata for display 2020-11-17 00:09:21 +08:00
Gary Wang
5705f02636 feat: use libexiv2 to obtain more image metadata 2020-11-15 19:53:47 +08:00
Gary Wang
8c152dc862 chore: adjusted the project directory structure 2020-11-05 14:12:58 +08:00