Commit graph

26 commits

Author SHA1 Message Date
Sophie Herold
7ea1175da6 cargo/flatpak: Update to gufo 0.5.0-beta.1 2026-08-04 13:40:08 +02:00
Sophie Herold
2112f87168 properties_view: Show ICC profile or CICP
Closes #510
2026-07-20 21:42:45 +02:00
Sophie Herold
c7223f6f69 properties_view: Use physical size and resolution
Replace the API that got removed from glycin
2026-07-09 22:54:04 +02:00
Sophie Herold
4adf22c4e5 properties: Add creator, rights, lens, software 2026-06-25 22:14:38 +02:00
Sophie Herold
05edeb1418 cargo: Update to glycin 4.0.0-alpha 2026-06-25 21:22:23 +02:00
Sophie Herold
19e0fd7c6e Update copyright comments 2026-02-27 21:03:02 +01:00
Sophie Herold
8972c5efb9 code: Use chained if-let's 2026-01-29 23:59:58 +01:00
Sophie Herold
36ba0edc04 Update copyright comments 2025-12-19 00:06:29 +01:00
Sophie Herold
4d6d771ab4 Use tracing for logging 2025-12-18 23:15:46 +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
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
b3d972c5c3 Update to glycin 2.0 alpha.7 2025-07-07 22:18:36 +02:00
Sophie Herold
020ea74ba9 Use glycin 3.0 so work with 2+ loaders 2025-06-18 20:30:29 +02:00
Sophie Herold
1d40a28b54 editing: Decide editable based on true mime type
Previously it was decided on the early unreliable mime type.

Fixes #449
2025-02-19 11:51:18 +01:00
Sophie Herold
e13874ced0 docs: Update widget tree
Closes #444
2025-01-02 00:41:26 +01:00
Sophie Herold
689401dffc metadata: Support XMP metadata from glycin 2024-11-15 00:26:19 +01:00
Sophie Herold
3ed6c28a78 metadata: Rename exif to metadata 2024-11-15 00:26:02 +01:00
Sophie Herold
a351c7751e propertiesView: Add User Comment 2024-11-13 17:32:27 +01:00
Sophie Herold
5409203ec9 metadata: Use gufo instead of kamadak exif
A bunch of metadata code is now provided by gufo.
2024-11-12 01:12:21 +01:00
Sophie Herold
fa46c76af4 propertiesView: Retrive host path via portal
This way we should always be able to get the correct folder name if
xdg-desktop-portal > 0.19.
2024-10-16 19:24:22 +00:00
Sophie Herold
5d1fa3c0fa gettext: Move comments directly above gettext call
Hopefully they will now be detected by the system.
2024-09-12 22:23:09 +02:00
Sophie Herold
7e227097ef metadata: Merge memory_format correctly 2024-08-05 23:43:52 +02:00
Sophie Herold
8ddaf34e87 window: Prefer wide window over properties overlay 2024-08-05 23:37:10 +02:00
Sophie Herold
1ea4a3ad5d metadata: Report if image can be transparent
This feature was not implemented before and would always return true,
triggering a line detection for the background color in large JPEG
images.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/442>
2024-08-05 17:30:12 +00:00
Sophie Herold
0b33553144 util/gettext: Parse unicode escape sequences
Closes #351

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/426>
2024-07-17 19:33:52 +02:00
Sophie Herold
9b95a4706b code: Don't use mod.rs based on Rust Style Guide 2024-05-15 13:17:45 +02:00
Renamed from src/metadata/mod.rs (Browse further)