Commit graph

990 commits

Author SHA1 Message Date
Ekaterine Papava
bcb942074d Update Georgian translation 2023-07-14 04:57:52 +00:00
Christopher Davis
186401fb57 general: Change user-facing name to Image Viewer
This is part of the move to Core.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/256>
2023-07-13 21:51:09 +00:00
Irénée THIRION
dba63ac6fe Add French translation 2023-07-13 16:46:15 +00:00
Yuri Chornoivan
885a4494fe Update Ukrainian translation 2023-07-13 06:07:58 +00:00
Ekaterine Papava
952cf7b049 Update Georgian translation 2023-07-13 05:07:09 +00:00
Sophie Herold
9e041d369a meson: Remove libheif from dependencies
It's only required by the heif glycin loader now

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/255>
2023-07-12 22:25:59 +02:00
Christopher Davis
3be09ac769 metainfo: New description
Provide a new description for our app data. Closes
https://gitlab.gnome.org/GNOME/Incubator/loupe/-/issues/22

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/253>
2023-07-12 15:01:08 -04:00
Boyuan Yang
960bf11170 Update Chinese (China) translation 2023-07-11 00:49:32 +00:00
Sophie Herold
fb98f42d33 gitlab: Add issue templates 2023-07-08 22:53:39 +02:00
Sophie Herold
e1ee9c14ee about: Add basic debug information 2023-07-08 22:52:59 +02:00
Sophie Herold
fc2d5da527 help: Add LINGUAS file
Closes #211
2023-07-08 18:19:43 +02:00
Sophie Herold
06d688e79e src: Format let-else statements 2023-07-07 19:22:51 +00:00
Sophie Herold
6297dcf54b cargo: Update dependencies 2023-07-06 20:08:12 +02:00
Martin
8885314208 Update Slovenian translation 2023-07-05 04:55:43 +00:00
Sophie Herold
7f72ff2ccf meta: Prepare 45.alpha 2023-07-02 14:24:19 +00:00
Christopher Davis
97c9dcde64 help: Write intial help documentation
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248>
2023-07-02 12:43:52 +00:00
Christopher Davis
fb6d852cca Revert "help-overlay: Remove unused help shortcut"
This reverts commit 22874fcc7b.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248>
2023-07-02 12:43:52 +00:00
Christopher Davis
9e70931faf Revert "general: Remove help-related code"
This reverts commit 2965799374.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248>
2023-07-02 12:43:52 +00:00
abu_shawarib
45083720a3 image-page: Align popover after click position
Set "halign" proprty of context menu popover to "start"
to appear next to click point. This only works correctly
in RTL after gtk 4.11.3, by gtk@d329b00b

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247>
2023-07-02 12:13:22 +00:00
abu_shawarib
33b4928c72 Revert "imagePage: Correctly align right-click menu"
This reverts commit 0ddecefe01.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247>
2023-07-02 12:13:22 +00:00
Asier Sarasua Garmendia
982992d9a2 Update Basque translation 2023-07-02 06:56:54 +00:00
Ngọc Quân Trần
2499c3cbcc Add Vietnamese translation 2023-07-02 01:21:04 +00:00
FineFindus
bc9aff5068 refactor: Use is_some_and 2023-06-26 11:59:17 +00:00
Rafael Fontenelle
1a39751402 Update Brazilian Portuguese translation 2023-06-25 13:44:01 +00:00
Nathan Follens
19be6db7ad Update Dutch translation 2023-06-25 08:45:59 +00:00
FineFindus
52057aba65 window: Disable trash for non-native files 2023-06-23 19:42:30 +00:00
Christopher Davis
439286be40 general: Use std's OnceCell where possible
Rust's standard library now provides a drop-in replacement
for `OnceCell`. It requires no API changes from `once_cell`'s
version.

This commit replaces the version from `once_cell` with the
new `std` struct where possible. We still need to use
`once_cell` for properties until
https://github.com/gtk-rs/gtk-rs-core/pull/1113
is merged. We also still need it for Lazy until that lands.

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/241>
2023-06-23 18:59:09 +00:00
Huan Thieu Nguyen
ffb2e1064d window: Toast priority high to push old toast to queue. 2023-06-21 19:13:46 +00:00
Sophie Herold
eb94683d1f fileChooser: Only list supported image formats
Closes #151

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/238>
2023-06-21 10:03:38 +00:00
Sophie Herold
cc1c8a3da5 image: Use contains in modifier type flag checks
This, for example, allows to also pan the image
with Ctrl+Shift+Scroll like in EOG.

Closes #175

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/237>
2023-06-20 20:42:14 +00:00
Sophie Herold
0c2bdbd736 image: Do not guess bg color for opaque images
In theory this feature made sense to see a black square
but in practice it seems mostly confusing.

Closes #186

Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/235>
2023-06-20 20:02:18 +00:00
Sophie Herold
c1422cf728 image: Notify when setting file property
This fixes new file names not being shown in HeaderBar
after renames.
2023-06-20 16:54:38 +02:00
Sophie Herold
3dd59c87ed fileModel: Correct changed checks in file monitor
Those got accidentally inverted when moving to GFile.

Close #199
2023-06-20 16:42:51 +02:00
Sophie Herold
2faef84321 image: Also set zoom target when not animating
This currently only seems to affect HighRes scrolling
where SVGs are not rendered for the zoom level.

Closes #185
2023-06-20 13:23:21 +00:00
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