Commit graph

1502 commits

Author SHA1 Message Date
Maximiliano Sandoval
7f20d38967 metainfo: Use supports for controls
This fixes `appstreamcli check-syscompat` for tablet and handset and it
is needed by Bazaar for the app to be displayed as adaptive.

See
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-control
for more details.
2026-01-21 22:23:32 +01:00
Sabri Ünal
f6df65aafa Update Turkish translation 2026-01-19 12:48:23 +00:00
Artur S0
e9b35f44aa Update Russian translation 2026-01-11 22:41:39 +00:00
Baurzhan Muftakhidinov
e71dda7bef Update Kazakh translation
(cherry picked from commit 92270ece4aeac7c3712cc1b49999aed43b8d65cb)
2026-01-08 19:00:13 +00:00
Efstathios Iosifidis
5f8166f0aa Add Greek translation
(cherry picked from commit d23eaf6e43f9e9aee3861bb653aa1862e6e9b6ab)
2026-01-04 21:46:44 +00:00
Antonio Marin
9aff3b8bf5 Update Romanian translation 2026-01-03 17:51:39 +00:00
Quentin PAGÈS
f0c065c128 Update Occitan translation
(cherry picked from commit 4d7f0ec3502cae5cf32eb710609650f12731c9c5)
2026-01-02 21:55:40 +00:00
Sophie Herold
247936da72 Release 50.alpha 2026-01-02 17:04:46 +01:00
Sophie Herold
5702f2343d code: Update copyright 2026-01-02 16:25:56 +01:00
Danial Behzadi
1bb4e19205 Update Persian translation
(cherry picked from commit b5e97c4420fe687f5422068bf4ca346e6901a9eb)
2026-01-02 08:32:33 +00:00
Danial Behzadi
ce24e74026 Update Persian translation
(cherry picked from commit 1fa46ecdde3be9e4079372850ade34345bf7b4fb)
2026-01-02 08:27:44 +00:00
Sophie Herold
32a4d0f0aa image/zoom: Allow 50% zoom via menu for 16px images
Zoom out for 16px or smaller images is usually blocked. But allow it for
zoom menu as we allow 50% via zoom menu in other situations where it is
blocked otherwise. Also, this is probably much less complex
implementation wise.

Closes #544
2025-12-23 23:09:39 +01:00
pieterd
f34f9dd988 Constrain minimum zoom level 2025-12-23 22:39:37 +01:00
Sophie Herold
6e2f38de56 cargo: Update glycin git to newer commit 2025-12-23 15:51:31 +01:00
Sophie Herold
2102b44528 image_view: Limit zoom value digits
Only allow 4 integer digits and 2 decimal digits. That's what's actually respected by the input at max.

Closes #557
2025-12-22 16:11:13 +01:00
Martin
7684a4b421 Update Slovenian translation 2025-12-22 13:32:41 +00:00
Sophie Herold
a761eb5b2d image/zoom: Zoom >=1 no best fit for ExactVolatile
The best-fit calculation would consider levels >=1 for best-fit. This
seems fundamentally wrong since that should be reserved for LargeFit.

This caused zoom-in to fail since best-fit was considered instead. But
that best-fit was computed with BestFit mode since the mode changed in
between in zoom_to_full.

Fixes #556
2025-12-22 14:14:38 +01:00
Sophie Herold
73c921b042 image/zoom: Improve tracing messages 2025-12-22 14:11:59 +01:00
Sophie Herold
7151cf5d1d image_page: Specific error for file loading
Give a specific error message if loading the source file fails.

Closes #487
2025-12-22 01:40:44 +01:00
Sophie Herold
b9668c7262 image: Unify error handling in one type 2025-12-22 01:40:44 +01:00
Martin
1d617bc4b2 Update Slovenian translation 2025-12-21 08:04:08 +00:00
Sophie Herold
36ba0edc04 Update copyright comments 2025-12-19 00:06:29 +01:00
Sophie Herold
ab2f906862 cargo: Update deps 2025-12-19 00:06:11 +01:00
Sophie Herold
6ad31b7c2b cargo: Rust minimum version 1.89 2025-12-19 00:05:39 +01:00
Sophie Herold
e9389a3a18 clippy: Fix warnings 2025-12-19 00:04:27 +01:00
Sophie Herold
45fc2ca051 tracing-subscriber: Disable tracing-log
I don't see why we would need it
2025-12-18 23:21:02 +01:00
Sophie Herold
4d6d771ab4 Use tracing for logging 2025-12-18 23:15:46 +01:00
Sophie Herold
f255af9f6a image/zoom: Keep best-fit zoom in gesture
Don't change the zoom in configure best fit if currently in gesture.
2025-12-10 22:19:37 +01:00
Sophie Herold
83b2c7cae1 util/root: Add window_show_error() to avoid unwrap
Fixes #553
2025-12-09 22:07:30 +01:00
Sophie Herold
cfd33fa2dd util/root: Add window_inspect() to avoid unwraps 2025-12-09 21:55:07 +01:00
Sophie Herold
7b45009eed util/root: Use specific function to show toasts 2025-12-09 15:55:30 +01:00
Sophie Herold
3e69dc4c6f util/root: Log source location of call without root 2025-12-09 14:55:14 +01:00
Sophie Herold
70adf7597b style: Use media queries 2025-12-08 21:40:59 +01:00
Sophie Herold
4ec8c8b1cb image_window: Simplify gestures 2025-12-08 16:15:13 +01:00
Sophie Herold
3c72786116 cargo: Force gufo-exif 0.3.1
This fixes incomplete user comments.
2025-12-07 21:09:10 +01:00
Sophie Herold
f2dbee5ef8 image_view: Make space for always on scrollbars
Increase the margin of the overlay if scrollbars are set to always
visible.

Fixes #528
2025-12-04 21:33:19 +01:00
Sophie Herold
89b4e7a082 news.d: Add is-hidden property fix 2025-12-04 15:59:35 +01:00
Sophie Herold
3aba04abef news.d: Add datetime without timezone fix 2025-12-04 15:53:34 +01:00
Alexandros Kosiaris
d930323da9 Don't force UTC on naive datetime structs
Why:
When a camera ships EXIF information that lacks any type of
offset and/or timezone information, any kind of information that
would help make a decision regarding the timezone is absent.
Forcing UTC means that most users of such cameras will end up
with datetimes reported that have nothing to do with the ones
they expect. The only assumption that holds some water, is to
assume that the picture was taken in the same timezone as the
device running Loupe and hope that's true. If it is not, it is
undetectable programmatically, and the user will have to mentally
compensate for it

What:
Switch from using from_unix_local() and parsing the timestamp of
the naive datetime as UTC to using from_local() and passing the
arguments needed
2025-12-04 15:37:07 +01:00
Mukul Joshi
48e27739f5 Print preview: Revert to previous width on disabling of fill space
Saves the width prior to applying fill space. This saved width is reapplied when fill space is disabled directly through the toggle.

Fill space may be disabled indirectly (by changing the width/height). In those cases, the saved width is discarded.

Fixes #297
2025-12-04 15:16:16 +01:00
sid
80fb07db03 Add edit function to project summary
Fixes: https://gitlab.gnome.org/GNOME/loupe/-/issues/469
2025-12-04 06:26:57 +01:00
Sophie Herold
484ce7f680 deny: Fix allowed licenses 2025-12-04 06:17:55 +01:00
Sophie Herold
4439499cda code: Reformat with Rust 2024 edition 2025-12-04 06:17:55 +01:00
Sophie Herold
2a8a13fd01 cargo: Update deps 2025-12-04 06:17:55 +01:00
Sophie Herold
7b85404d67 cargo: Use Rust 2024 edition 2025-12-04 06:17:55 +01:00
Sophie Herold
def2e8966f decoder: Fix clippy warning 2025-12-04 06:17:55 +01:00
Sophie Herold
71351a0c03 file_model: Improve sort key performance
Don't query for the actual GFile in the list, because we already have
the information from the iterator. Cache the other path segments since
they are likely to be repeated.

On a local SMB share folder with 10,000 images and 4 path segments, this
reduces the loading time from 30 seconds to 1 second.

Fixes #534
2025-12-04 00:10:06 +01:00
Sophie Herold
3b11b0534e metadata: Drop unreliable mime-type
Only use a reliable mime-type. This requires that we load images earlier
in the pipe.

This also fixes warnings about mime types not being available on network
drives like SMB.

Fixes #513
Issue #534
2025-12-03 22:41:24 +01:00
Sophie Herold
40d68e898d file_model: Check if is_hidden is support by fs
Fixes #516
Issue #534
2025-12-03 21:44:55 +01:00
Victor Dargallo
273dc2f4e7 Add Catalan translation 2025-11-27 19:40:39 +00:00