Commit graph

656 commits

Author SHA1 Message Date
Sophie Herold
ae40ad4249 flatpak: Update to llvm16 2023-06-20 11:54:59 +02:00
Quentin PAGÈS
943ef5f867 Update Occitan translation 2023-06-15 15:46:20 +00:00
Sabri Ünal
b889665c95 Data: Fix Loupe URL
Fix out-of-date Loupe URL.

Fixes: #181
2023-06-10 22:35:21 +03:00
Sophie Herold
8d8197dda4 fileModel: Add missing IS_HIDDEN file attribute 2023-06-07 23:47:58 +02:00
Sophie Herold
291fa13d1f meta: Update copyright headers 2023-06-07 23:44:20 +02:00
Sophie Herold
1b2dde79b6 decoder: Use glycin for image loading expect SVG
This gives us sandboxed image decoding and others the
option to extend Loupe with other image formats.
2023-06-07 20:21:28 +00:00
Sergej A
d690c0e2d8 Update Russian translation 2023-06-07 15:05:57 +00:00
Jiri Grönroos
43fa2191f4 Update Finnish translation 2023-06-06 16:00:17 +00:00
Yaron Shahrabani
77b75b6900 Update Hebrew translation 2023-06-01 11:34:47 +00:00
Christopher Davis
6df16aaa71 application: Remove backspace as a trash shortcut
Closes https://gitlab.gnome.org/GNOME/Incubator/loupe/-/issues/183

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/229>
2023-05-31 22:04:33 +00:00
Christopher Davis
77c81c8f7c window: Use sp instead of px for breakpoints
sp is a unit provided by libadwaita for sclae-independent pixels.
This unit changes with the text scale factor.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
a5cb0606b4 window: Remove stack from breakpoint
The stack widget is always visible, and does not need to be
set as visible again when the breakpoint is applied/unapplied.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
5297231137 window: Use only one breakpoint
AdwBreakpoint automatically resets properties when the breakpoint
conditions no longer apply. This means we don't need to manually
create a breakpoint for the sidebar at widths greater than 590px,
as libadwaita already does that for us.

This commit removes the extra breakpoint.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Christopher Davis
4d391b566e window: Remove extra quotes
Some extra quotes were left in the UI file. Thankfully because
these were fully closed, they weren't causing any issues. Still,
they don't need to be there.

This commit removes the extra quotes.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228>
2023-05-31 21:32:40 +00:00
Kukuh Syafaat
40cbf6001b Update Indonesian translation 2023-05-31 12:30:40 +00:00
Huan Nguyen
735451250c imageView: Merge set_image_from_file with set_images_from_files
Also changing behavior when opening with multiple command line
arguments or when multiple images were selected from other
applications.

Old behavior: Spawn an instance of Loupe for each argument.
New behavior: One Loupe instance containing all arguments.

Closes #195
2023-05-30 12:52:59 +00:00
Piotr Drąg
6dda1eeb50 Update Polish translation 2023-05-28 10:08:54 +00:00
Hugo Carvalho
ea3305fb63 Update Portuguese translation 2023-05-26 21:07:12 +00:00
Danial Behzadi
473e32e8fb Update Persian translation 2023-05-26 15:19:02 +00:00
Martin
92fb9c0521 Update Slovenian translation 2023-05-26 07:36:21 +00:00
FineFindus
a3a0ccdf52 imageView: Replace magic values with adw::ToastPriority 2023-05-25 10:56:38 +00:00
FineFindus
32be6c8246 imageView: Check set wallpaper response
Closes #166
2023-05-24 15:34:52 +00:00
Jürgen Benvenuti
9a940a43ba Update German translation 2023-05-24 08:35:45 +00:00
Ekaterine Papava
f541457542 Update Georgian translation 2023-05-24 03:37:22 +00:00
Yuri Chornoivan
8d7e9cdd38 Update Ukrainian translation 2023-05-23 19:59:12 +00:00
Huan Thieu Nguyen
c6897da62d window: Let the user select multiple files to open.
Uses code that drag and drop already uses. It's kinda ugly because the
file dialog returns a ListModel.

As an added bonus, since the button responds to the action "win.open",
it will also allow open multiple files with the primary menu.
It would be a good idea to change the "Open…" label in the primary menu though.

Closes #191
2023-05-21 23:41:22 +02:00
Huan Nguyen
8804938859 window: Support forward and back mouse buttons
The button value for forward is 9. See <GNOME/gtk#515>.

Closes #172
2023-05-21 16:17:48 +00:00
Huan Nguyen
0ddecefe01 imagePage: Correctly align right-click menu
Before it was incorrectly centered
2023-05-21 16:03:13 +00:00
Sabri Ünal
5c5aea286f Update Turkish translation 2023-05-20 06:29:13 +00:00
Gage Berz
0679d08c22 fileModel: Skip hidden files
Closes #179
2023-05-17 15:49:13 +00:00
Jürgen Benvenuti
7031b04d8b Update German translation 2023-05-14 08:48:03 +00:00
Asier Sarasua Garmendia
710bc2b59c Update Basque translation 2023-05-13 09:00:25 +00:00
Sophie Herold
2fc7ca601a CI: Publish nightly builds 2023-05-13 03:27:18 +02:00
Sophie Herold
e9c079c9b0 doap: Add XML declaration and update URLs 2023-05-13 03:12:50 +02:00
Sophie Herold
d19a5bcf4d data: Prepare 44.3
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/216>
2023-05-11 18:23:53 +00:00
Sabri Ünal
22874fcc7b help-overlay: Remove unused help shortcut
Complementary to #2965799374

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/199>
2023-05-11 18:04:01 +00:00
Fran Dieguez
112c37905f Update Galician translation 2023-05-11 10:49:44 +00:00
Sophie Herold
443f955e9f cargo: Update deps 2023-05-11 02:50:56 +02:00
Sergej A
ed975b78eb Update Russian translation 2023-05-06 12:13:01 +00:00
Sophie Herold
dbf662ed3a heif: Ignore EXIF rotation info for now
Ideally we would check if HEIF has transformations
but that will only work when libheif 1.16 is supported

Closes #157
2023-05-04 21:02:42 +02:00
Sophie Herold
3dc9e40bcb imageView: Fix vertical minimum size in measure 2023-05-03 23:47:40 +02:00
Sophie Herold
6e29b1ebff window: Move properties to bottom for narrow view
Closes #39
2023-05-03 23:41:36 +02:00
Sophie Herold
dbb65fa2cb window: Better solution for swipe sending motion
Swipe gestures send motion events without changed cursor position.
Catch that in a better way to avoid showing overlay controls on swipe.
2023-05-03 22:22:05 +02:00
Sophie Herold
24bbd7eae2 window: Show controls on mouse click 2023-05-03 22:22:03 +02:00
Sophie Herold
a8693c50ef fullscreen: Hide headerbar on idle
Closes #154
2023-05-03 22:21:18 +02:00
Sophie Herold
fab6558285 image: Cancel scroll deceleration on gesture
Seems like the deceleration from kinetic scrolling can
interact with gestures, making the image jump around.

Closes #103

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/211>
2023-05-03 19:50:47 +00:00
Sophie Herold
3d6940cd45 image: Show window after 2 secs if dims unknown
Usually we want to wait for dimensions to show the window in correct
apsect ration. But especially for large SVGs dimensions are only known pretty late.
Show the image to give UI feedback instead of waiting for dimensions.

Closes #146

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/209>
2023-05-03 19:16:17 +00:00
Sophie Herold
6db58463bf imageView: Skip unsupported formats when sliding
If an image with unsupported format is opened directly,
the error is shown.

Closes #92

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/212>
2023-05-03 18:58:02 +00:00
Boyuan Yang
8f55668cd6 Update Chinese (China) translation 2023-05-03 18:49:21 +00:00
Sophie Herold
0a94484bab window: Leave fullscreen when status page is shown
We don't allow to fullscreen without image. So if last image
is deleted, let's leave fullscreen since there are no controls
to leave it.

Closes #150

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/208>
2023-05-03 18:14:19 +00:00