Commit graph

75 commits

Author SHA1 Message Date
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
Sophie Herold
183411bfe3 cargo: Update dependencies 2023-04-12 20:18:28 +02:00
Sophie Herold
8b3cfd000a cargo: Remove gtk-macros dependency
Using the crate is depreacted. Replaced spawn! macro
with our own spawn function
2023-04-06 21:08:33 +00:00
Sophie Herold
114c292225 cargo: Update dependencies
And fix a meson warning
2023-04-04 23:20:42 +02:00
Sophie Herold
7bcc5e210b cargo: Update and cleanup dependencies
- Replace one remaining use of util::spawn with gio
- Replace pretty_env_logger with env_logger

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/149>
2023-03-25 14:01:28 +00:00
Sophie Herold
42d558d22f propertiesView: Use image dimensions from decoder
This also shows the units for SVG dimensions if not pixels.

Issue #43

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/136>
2023-03-14 02:31:07 +00:00
Sophie Herold
ddf4b8c2fa decoder: Load HEIC/x265 as plugin
Closes #85

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/123>
2023-03-13 23:12:07 +00:00
Sophie Herold
88efb9e5fd cargo: Update dependencies get rid of ignored CVE 2023-03-08 01:08:52 +01:00
Christopher Davis
42f044c3c6 cargo: Update libgweather dep 2023-03-05 11:16:35 -05:00
Sophie Herold
f80ec7db56 decoder: Use image-rs, libheif-rs, librsvg
This adds proper support for a lot of image formats including SVGs.
It will be the basis for many features to come. The technical core
is an asynchronous renderer that can arrange textures in smaller tiles
which might be generated on demand.

Closes #34, #40, #41, #49

Basis for fixing the following issues #7, #27, #36, #43, #68, #71
2023-03-04 21:48:51 -05:00
Sophie Herold
004ebd5615 cargo: Update dependencies 2023-02-15 17:04:59 +01:00
Sophie Herold
526ccbaec6 ci: Add cargo deny checks 2023-02-12 19:33:06 +01:00
Sophie Herold
d533124daa slidingView: Implement swipe gesture (AdwSwipeable) 2023-01-31 01:08:56 +00:00
Sophie Herold
f2357513da imageView: Use custom slide widget and IndexSet
Use IndexSet to allow direct access by Path and also allow
an arbitrary ordering that was not possible with Vec. Also
add monitoring of file changes in the directory.

Use a custom LpSlidingView instead of AdwCarousel because
Carousel was never designed for this job and suffered of
bugs. LpSlidingView does not support swiping gestures yet
since they currently don't work yet anyways #24.

Use a new algorithm to fill the LpSlidingView that is
stateless and covers all potential changes in the directory.
This not only fixes bugs but would also work with changed
sorting orders.

This also adds build time template XML validation since it
was useful for the refactoring #46.

Closes #9, #11, #30, #33, #42
2023-01-30 01:08:57 +00:00
Christopher Davis
2757e94e08 window: Update use of FileDialog.open_future()
Requires an updated gtk-rs
2023-01-14 14:23:54 -05:00