Commit graph

663 commits

Author SHA1 Message Date
Sophie Herold
0b7e30af30 image: Fix setting horizontal instead of vertical
Fix horizontal scrollbar sometimes jumping to center while zooming in.
2023-12-05 23:34:11 +01:00
Sophie Herold
229c63719e meta: Prepare 45.2 2023-11-21 20:55:03 +01:00
Evangelos Paterakis
081690e997
help-overlay: Switch RTL and LTR gestures 2023-11-17 10:06:31 +02:00
Sophie Herold
a1edf6f882 image: Show image after error in file resolved
LpImage already reloads the image after an image is
invalid because of unsupported format or decoding error.
This patch makes that the "is-loaded" property is changed
to true again after the problem is resolved by a file change.

This should also hopefully works around problems with apps like GIMP
writing files in a way where an error appears itermittently.

Closes #256
2023-11-16 22:59:19 +00:00
Julian Hofer
831cf953c6 Preserve order when removing items from file model
The files are stored in an index map.
When removing from that map, `remove` does not guarantee to preserve order.
However `shift_remove` does.

Fixes #270
2023-11-15 15:25:07 +01:00
Julian Hofer
8ab903fbb9 Add .flatpak-builder to .gitignore
That folder is created by flatpak-vscode
2023-11-15 10:36:04 +00:00
Sophie Herold
23153056ae doap: Add myself to maintainers
This reverts commit a364c20e2f.
2023-11-14 19:24:15 +00:00
Sophie Herold
a2ba59275f flatpak: Update glycin 2023-11-14 19:59:27 +01:00
Sophie Herold
abdd54def7 decoder: Pass on transformations_applied info
This prevents HEIF images from getting transformations applied
again that already has been applied by the decoder.

Closes #251
2023-11-14 13:53:33 +01:00
Sophie Herold
c1ed2b97a6 meta: Prepare 45.1 release 2023-11-12 11:55:29 +00:00
Asier Sarasua Garmendia
d0e4f75e6e Add Basque to help 2023-11-12 11:55:10 +00:00
Ngọc Quân Trần
1f0df697df Update Vietnamese translation 2023-11-11 07:33:10 +00:00
Fabio Tomat
89e71041df Update Friulian translation 2023-11-01 10:00:14 +00:00
Sophie Herold
15e2fb2257 print: Use same print operation throughout
Use a hack to wait in print signal for the layout dialog to be ready
instead of creating a new print operation with the same settings.

This works around a bug in GTK where the wrong printer gets selected
(issue #243), as well as the print dialog getting shown twice when
using the print portal (part of #61).

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/302>
2023-10-31 01:31:36 +00:00
Sophie Herold
8b2b12a206 image: Always request tiles in set_zoom_target
This makes zoom for SVGs work again. Not entirely clear
why this is needed but a safe fix for now.

Closes #240

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/301>
2023-10-31 01:01:27 +00:00
Sophie Herold
65e7789863 decoder: Fix animations with variable frame length
Before, the length of the first frame was used for all frames.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/300>
2023-10-31 00:31:25 +00:00
Sabri Ünal
19bf8473e6 appdata: update some URLs
- Add vcs-browser URL.
- Use the new simplified URL for homepage.

These URLs are visible on GNOME Software and Flathub.

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/303>
2023-10-27 23:20:49 +00:00
Марко Костић
a124d04229 Add Serbian translation 2023-10-24 04:31:29 +00:00
Michael Catanzaro
aa2b4d5940 Enable the glycin-loaders sandbox
We (presumably accidentally) shipped with the sandbox disabled by
default, so it's not doing any good. Enable it. Developers who want to
disable the sandbox can easily set the build option.

Fixes #252

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/299>
2023-10-16 21:11:51 +00:00
Efstathios Iosifidis
f246b2f98b Update Greek translation 2023-10-15 06:30:51 +00:00
Sabri Ünal
f7eae93b8b Update Turkish translation 2023-10-14 12:50:04 +00:00
Florentina Mușat
fac4ea638c Update Romanian translation 2023-10-09 15:48:42 +00:00
Brage Fuglseth
f0525fd39a Add Norwegian Bokmål translation 2023-10-04 21:31:44 +00:00
Sabri Ünal
fe9fd86c29 Update Turkish translation 2023-10-01 18:28:44 +00:00
Guillaume Bernard
99058acbf0 Update French translation 2023-09-26 12:04:55 +00:00
Rafael Fontenelle
9b90560c6b Update Brazilian Portuguese translation 2023-09-25 16:39:07 +00:00
Danial Behzadi
8bb11fe597 Update Persian translation 2023-09-24 12:48:18 +00:00
Jordi Mas
ebe9141f52 Update Catalan translation 2023-09-17 15:13:20 +02:00
Sophie Herold
a364c20e2f doap: Remove myself from maintainers 2023-09-14 13:40:54 +00:00
Kristjan SCHMIDT
070d0fa0c0 Add Esperanto translation 2023-09-14 13:05:03 +00:00
Sophie Herold
ca795c5b43 Prepare 45.0 release 2023-09-14 12:26:04 +00:00
Seong-ho Cho
d73f15077d Update Korean translation 2023-09-14 05:44:40 +00:00
Sophie Herold
d260d76722 help: Add Korean translation
Closes #235
2023-09-13 11:38:32 +02:00
Davide Ferracin
cd50425933 Update Italian translation 2023-09-13 08:21:27 +00:00
Anders Jonsson
c8db0bf9e8 Update Swedish translation 2023-09-10 17:47:23 +00:00
Aurimas Černius
69ce629fb6 Add Lithuanian translation 2023-09-07 19:45:30 +00:00
Sabri Ünal
20b0d9f01f Update Turkish translation 2023-09-07 10:32:35 +00:00
Sophie Herold
896508deee window: Only accept drops of correct type
This got lost with having a custom "accept" signal handler since
the signal uses g_signal_accumulator_first_wins. Fixing this also
works around GTK not properly checking the drops and ending up
in criticals.

Fixes #234
2023-09-06 09:30:00 +00:00
Sophie Herold
4994ec9b59 imageView: Update SlidingView after removing image
When unsupported images formats were detected the image
was not removed from the SlidingView if already preloaded.
This caused weird hickups.

Fixes #233
2023-09-05 19:55:09 +00:00
Balázs Úr
5cdf5fc16a Update Hungarian translation 2023-09-05 19:24:43 +00:00
Tim Sabsch
ab357b11a7 Update German translation 2023-09-05 16:36:51 +00:00
Baurzhan Muftakhidinov
f418511c52 Add Kazakh translation 2023-09-05 15:02:38 +00:00
Yaron Shahrabani
c89be1b963 Update Hebrew translation 2023-09-05 13:26:25 +00:00
Alan Mortensen
3fc905241b Update Danish translation 2023-09-04 06:23:06 +00:00
Fran Dieguez
a289ed2a0b Add Galician language to help 2023-09-04 01:40:14 +02:00
Yuri Chornoivan
6497d658df Update Ukrainian translation 2023-09-03 17:50:09 +00:00
Sophie Herold
73dc6bc3ba metainfo: Add release description for 45 2023-09-03 18:45:04 +02:00
Sophie Herold
0dd1cff88f cargo: Update dependencies 2023-09-03 18:33:08 +02:00
Sophie Herold
956eee7150 NEWS: Add latest changes 2023-09-03 18:30:38 +02:00
Anders Jonsson
e5305e70c7 Update Swedish translation 2023-09-03 12:52:17 +00:00