Commit graph

89 commits

Author SHA1 Message Date
Sophie Herold
895babbe82 meson: Require libadwaita 1.6 for new spinner 2024-07-17 13:26:01 +02:00
Sophie Herold
cad4f379ac Wip/sophie h/update deps3 2024-07-16 21:58:31 +00:00
Sophie Herold
1b70686105 Use glycin devel env auto detection
We don't need to disable the sandbox for development environments
manually anymore. Glycin should take care of that now.
2024-07-05 22:29:06 +02:00
Sophie Herold
ae74411983 cargo: Update dependencies 2024-07-05 12:53:57 +02:00
Sophie Herold
19fa9644cb main: Enable tracing via RUST_LOG as well 2024-07-04 19:52:59 +02:00
Sophie Herold
6b8d540d6a data: Add 47.alpha version 2024-06-28 22:40:30 +02:00
Sophie Herold
2a0da9716d cargo: Update dependencies 2024-06-28 22:32:07 +02:00
Sophie Herold
afcc24e235 editor: Apply rotation to files 2024-06-21 13:11:29 +02:00
Sophie Herold
4650e6766a cargo: Update to gtk4-rs 0.9 and core 0.20 2024-06-14 17:46:33 +02:00
Sophie Herold
ea84fed47c cargo: Follow rust style guide 2024-05-15 13:14:40 +02:00
Sophie Herold
c15e73274e print: Use new GTK API 2024-05-15 10:51:49 +00:00
Sophie Herold
57d8bba071 window: Use shortcuts instead of accels
Application level accels will also work if AdwDialogs are open.
Therefore, use shortcuts wherever possible.
2024-05-09 23:12:20 +02:00
Sophie Herold
e129e842a6 imagePage: Make error output look better
Make the errors on the status page translatable. Hide detailed errors
behind an extra error dialog that can be opened.
2024-05-09 14:25:06 +02:00
Dexter Reed
b99575d8d0 feat: Port about window to adw::Dialog (Adw.Dialog)
Other Changes:

Change window height to 294 to fit the HIG:
https://developer.gnome.org/hig/guidelines/adaptive.html#small-size-handling

Change adw features version in `Cargo.toml` from `v1_4` to `v1_5` to use
the new dialog widget(s)
2024-05-08 20:54:25 +00:00
Sophie Herold
50705bf380 cargo: Depend on git main glycin 2024-04-11 19:32:36 +02:00
Sophie Herold
1f897e68f1 cargo: Require glycin 1.0.2 to encourage using it
It has a bunch of important bugfixes
2024-04-09 22:43:20 +02:00
Sophie Herold
8c0a81c854 meta: Prepare 46.0 2024-03-19 12:37:50 +01:00
Sophie Herold
7b9691ab6a cargo: Update glycin 2024-03-02 23:10:41 +01:00
Sophie Herold
006d3dc5b4 cargo: Update to glycin 1.0.beta.2 2024-02-22 20:55:38 +00:00
Sophie Herold
4ab4e7549f cargo: Use zbus 4.0 2024-02-18 22:28:21 +01:00
Sophie Herold
2f6f8f176a cargo: Update deps
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/374>
2024-02-11 15:26:56 +00:00
Sophie Herold
b44412fac6 meson: Make X11 support an optional feature
Closes #255

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/326>
2024-02-09 21:05:46 +01:00
Sophie Herold
0ed7036098 cargo: Update gtk-rs stack 2024-02-08 21:19:05 +01:00
Sophie Herold
3f1c247f41 cargo: Update glycin version 2024-01-29 22:35:42 +01:00
Sophie Herold
619b4f8150 cargo: Update glycin 2024-01-23 21:03:22 +01:00
Sophie Herold
65a3c79a43 cargo: Update dependencies 2024-01-06 21:06:14 +01:00
Sophie Herold
3f4de5f4ad cargo: Update deps 2024-01-02 20:36:35 +01:00
Sophie Herold
fe43bc3a4c metadata: Centralize many loose ends 2024-01-01 22:43:30 +01:00
Sophie Herold
f14cb540eb decoder: Use glycin 1.0 2023-12-29 20:10:04 +01:00
Sophie Herold
d3cd32e090 code: Drop async-std dependeny 2023-12-25 20:53:46 +00:00
Sophie Herold
77441febf8 cargo: Update dependencies 2023-11-22 13:44:07 +01:00
Sophie Herold
ca795c5b43 Prepare 45.0 release 2023-09-14 12:26:04 +00:00
Sophie Herold
0dd1cff88f cargo: Update dependencies 2023-09-03 18:33:08 +02:00
Sophie Herold
17edb52975 cargo: Update dependencies 2023-08-23 17:06:09 +00:00
Sophie Herold
6e3cd2c794 cargo: Update dependencies
Closes #230
2023-08-17 00:16:03 +02:00
Sophie Herold
05868d785f window: Always ask for program to open images
This fixes "Open With…" not always asking for a program.
2023-08-16 12:03:46 +02:00
Sophie Herold
17bdd38016 cargo: Update dependencies 2023-08-12 18:52:24 +02:00
Sophie Herold
8cea5a4252 cargo: Update dependencies 2023-08-11 14:03:24 +02:00
Sophie Herold
a027513447 decoder: Use glycin for decoding SVGs as well
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/267>
2023-08-06 11:59:33 +00:00
Sophie Herold
0cff205c9d general: Update to gtk-rs 0.7 2023-08-06 11:24:01 +02:00
Sophie Herold
aac476134f print: Use inch for US and LR
Closes #143

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240>
2023-08-06 02:28:54 +00:00
Sophie Herold
6fe77fa6e5 flatpak: Use newer glycin version to test JXL
Closes #90

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/260>
2023-07-29 14:26:24 +00:00
Sophie Herold
6297dcf54b cargo: Update dependencies 2023-07-06 20:08:12 +02: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
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
Sophie Herold
a8693c50ef fullscreen: Hide headerbar on idle
Closes #154
2023-05-03 22:21:18 +02:00
Sophie Herold
382370e325 cargo: Update dependencies
Use librsvg main for now to give the refactor some testing.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/204>
2023-05-03 16:22:27 +00:00
Sophie Herold
ae5ca76176 printing: Add printing support
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165>
2023-04-18 23:52:53 +00:00
Sophie Herold
e710419a22 decoder: Add basic color profile support
This only covers 8bit RGB(A) JPEG, PNG, and HEIF.
Should only be a temporary solution until GTK supports
color profiles.

Closes #36

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/172>
2023-04-18 21:22:09 +02:00
Sophie Herold
032707a210 fileModel: Use GFile with URI as key
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/174>
2023-04-18 16:22:49 +00:00