Commit graph

66 commits

Author SHA1 Message Date
Sophie Herold
1565fab160 Prepare 48.beta 2025-01-31 14:11:28 +01:00
Sophie Herold
e25b9aead6 image/zoom: Allow levels smaller best-fit from menu
Closes #437, #414
2025-01-29 19:24:34 +00:00
Sophie Herold
8d3c9d70e7 image_view: Don't rely on LpImage signals 2025-01-17 01:32:41 +01:00
Sophie Herold
84e58f28df edit_window: Add "Replace Original" option 2025-01-15 21:29:47 +00:00
Sophie Herold
2a5ca41991 NEWS: Fix 47.3 being released as 47.4 2025-01-13 23:01:53 +01:00
Sophie Herold
2adefc5241 code: Fix clippy warnings 2025-01-13 15:02:01 +01:00
Sophie Herold
7611b11b55 edit/crop: Track selection correctly on widget resize 2024-12-22 20:27:33 +01:00
Sophie Herold
cb31b93ee1 imageWindow: Fix shortcuts not always working 2024-12-22 20:27:33 +01:00
Sophie Herold
bbf9534bdd editing: Only enable editing action if available 2024-12-22 20:27:33 +01:00
Sophie Herold
8345640757 editing: Handle errors 2024-12-22 20:27:33 +01:00
Sophie Herold
5b51237203 editing: Add error handling for saving files 2024-12-22 20:27:33 +01:00
Sophie Herold
05dbee6a0b editing: Add save edited file 2024-12-22 20:27:33 +01:00
Sophie Herold
367fdf207d editing: Preview cropping/rotate/mirror operations 2024-12-22 20:27:33 +01:00
Sophie Herold
e9869bcb40 edit: Use proper styling for toolbar 2024-12-22 20:27:33 +01:00
Sophie Herold
5b184e6be9 edit: Scale cropping selection area with image 2024-12-22 20:27:33 +01:00
Sophie Herold
6867e0b13f Add cropping 2024-12-22 20:27:33 +01:00
Sophie Herold
8e8751d41a inputHandling: Claim double-click gesture 2024-11-18 14:47:21 +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
4370be282d cargo: Drop two dependencies 2024-09-27 19:39:07 +02:00
Sophie Herold
ef4b65efbb core: Fix typo
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/459>
2024-09-25 22:30:55 +00:00
Sophie Herold
0b4c69459f ui: Non-circular overlays and less buttons
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/450>
2024-09-16 16:01:50 +02:00
Sophie Herold
1f28884847 image/zoom: Fix forcing center aim not working 2024-09-11 10:31:51 +00:00
Sophie Herold
be32072d7a image: Keep texture around until new is available
Keep previous texture around during image reloads to avoid flickering.
2024-08-16 13:30:18 +02:00
Sophie Herold
ea3563493e image/rotation: Fix issuing edit for 0deg rotation
Rotating by 0 degrees went through the complete rotation pipeline including a image reload. Now, 0 deg rotations are ignored.
2024-08-06 14:08:24 +02:00
Sophie Herold
959a047816 image/rotation: Name variables more clearly 2024-08-06 14:02:52 +02:00
Sophie Herold
f16bd898d6 image/zoom: No different callbacks for animation
We actually don't need different callbacks for zooms with different
targets anymore since the target is an object property anyways.
2024-08-06 14:02:46 +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
c1e6ccedab image/zoom: Use viewport center for buttons
Before, the image center was used, which would cause a jump if the
viewport was changed before.

Fixes #392
2024-08-01 01:18:05 +02:00
Sophie Herold
053aa5da7e window: Add reload button and F5 shortcut
Reloading makes sense for out of memory situations or filesystems that
don't support inotify.
2024-07-29 15:53:40 +02:00
Sophie Herold
c3547f82fc svg: Handle errors for additional tiles gracefully
Some SVGs run into issues when zooming in due to memory limitations.
These errors are now ignored and the existing tiles are used.

Issue #358
2024-07-29 03:49:14 +02:00
Sophie Herold
e08866a1da image: Use enum for specific errors 2024-07-19 21:24:11 +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
Fina Wilke
5956aa6460 code: clone macro: Use convenience attributes instead of upgrade_or_else
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/412>
2024-07-02 22:54:24 +00:00
Sophie Herold
afcc24e235 editor: Apply rotation to files 2024-06-21 13:11:29 +02:00
Sophie Herold
e9dc3d810c code: Use new glib::clone! syntax 2024-06-18 00:37:38 +02:00
Sophie Herold
5295c63b91 data: Update changelog 2024-04-03 01:41:21 +02:00
Maximiliano Sandoval
41c26daba2 image: Use const for RGBA::new 2024-03-21 19:54:21 +00:00
Sophie Herold
296817abe4 image/loading: Display first error, ignore second
Usually the first error is the relevant one. So show this one.

Why we get more than one error at all is a bit unclear.
2024-02-29 14:21:26 +01:00
Sophie Herold
0bafb1e5d3 image/backgroundColor: Scale down to to 201px
An odd number seems to help with catching some details.

Closes #328
2024-02-25 18:09:11 +01:00
Sophie Herold
92e100fdb0 image/backgroundColor: Change debugs to trace 2024-02-25 18:09:06 +01:00
Sophie Herold
14e5d03a1e image/rendering: Use new GdkMonitor geometry units
The bug that the geometry isn't returned in app pixels on wayland
without scale-monitor-framebuffer was fixed in GDK. Therefore also
require newer GTK version.
2024-02-11 19:03:32 +01:00
Sophie Herold
8c817a3ec6 meta: Update copyright annotations 2024-02-09 20:55:26 +01:00
Sophie Herold
6a4c1c61d7 image/scrollable: Add non-nullable adj getters
Somehow they are not automatically generated anymore with new gtk-rs
version.
2024-02-08 21:19:09 +01:00
Sophie Herold
0ed7036098 cargo: Update gtk-rs stack 2024-02-08 21:19:05 +01:00
Sophie Herold
a7116925bf debug: Add more tracing for initial operations 2024-02-08 00:57:33 +01:00
Sophie Herold
2f0150ade1 image/zoom: Create animation with a fake target
This avoids warnings when contructing the animation.
2024-01-20 14:44:29 +01:00
Sophie Herold
aa3e517a1b image/zoom: Use more trace instead of debug 2024-01-19 15:47:16 +00:00
Sophie Herold
e0df6fc725 image/rendering: Clamp natural size correctly 2024-01-19 15:47:16 +00:00
Sophie Herold
171077ffc7 window: Resize to natural on map
Only at this point we can be certain about the screen info like size an
scaling factor.
2024-01-19 15:47:16 +00:00