Commit graph

41 commits

Author SHA1 Message Date
Sophie Herold
a2ba59275f flatpak: Update glycin 2023-11-14 19:59:27 +01:00
Sophie Herold
ca795c5b43 Prepare 45.0 release 2023-09-14 12:26:04 +00: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
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
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
Christopher Davis
94b6c255d2 general: Update repo link
We've moved into GNOME/ proper now :D

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/257>
2023-07-27 22:58:00 +02:00
Sophie Herold
ae40ad4249 flatpak: Update to llvm16 2023-06-20 11:54:59 +02: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
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
Christopher Davis
2e237d41e8 build: Add dist script
This script will vendor the Rust dependencies
of the app so that our tarballs can be built
offline.
2023-04-02 22:10:07 +00:00
Christopher Davis
490a46d7c4 flatpak: Use sparse registry protocol
Rust 1.68.0 introduces the sparse registry protocol,
which significantly reduces the amount of time cargo
takes to fetch the crates.io index. This new
protocol only downloads the information for crates we
need, rather than all crates in the registry.

See
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/134>
2023-03-14 01:40:14 +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
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
Christopher Davis
038d9cb5c0 flatpak: Remove duplicate build options
The duplicates happened when adding support for the mold linker,
and were never removed.
2023-03-01 22:30:26 +00:00
Sophie Herold
f87a1b7131 data: Update metadata for incubation
Also add some missing appstream information
2023-02-12 19:49:06 +00:00
Sophie Herold
1d034cd53d flatpak: Do not use builddir
This currently leads to Builder rebuilding for every branch.
With builddir=false we get incremental builds across branches.
2023-02-12 02:05:35 +00:00
Sophie Herold
aa7a2dfd93 window: Add image deletion
Add Flatpak access to GVfs for trash:/// access for being
able to recover files (undo trash operation).

Closes #26
2023-02-02 00:45:40 +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
Sophie Herold
0c86d0d202 flatpak: Add libadwaita carousel patch for testing
Add the patch for now to get more test exposure

Issue #11
2023-01-15 19:24:07 +01:00
Sophie Herold
65808f5894 propertiesView: Show basic EXIF data
Use libgweather to determine the city for EXIF GPS coordinates.
Make ImageMetadata a GObject to use it's properties in UI.
2022-12-12 11:31:27 -05:00
Christopher Davis
3395de4661 flatpak: Use mold linker 2022-08-05 00:55:26 -04:00
Christopher Davis
3825dc5598 flatpak: app-id -> id
app-id is deprecated
2022-08-05 00:55:13 -04:00
Christopher Davis
8fd63ab9b7 build: Drop custom cargo script 2022-08-05 00:39:50 -04:00
Christopher Davis
38c00cc2ec build: Use gnome.post_install()
Allows us to remove the custom postinstall.py script.
2022-08-05 00:39:50 -04:00
Christopher Davis
f10066b73c Revert "flatpak: Downgrade SDK, build libadwaita"
This reverts commit 6b5e4bbd53
2022-07-14 06:37:47 +00:00
Christopher Davis
6b5e4bbd53 flatpak: Downgrade SDK, build libadwaita
Currently the master SDK is broken, and can't
be easily fixed due to build issues.
2022-07-01 16:52:38 -04:00
Felix Häcker
084304cadc
build: Fix cargo home variable 2021-12-28 09:40:39 +01:00
Felix Häcker
ec0f13d250
build: Fix rust-analyzer 2021-12-21 20:38:13 +01:00
Felix Häcker
2bb8e70196
cargo: Disable verbose output 2021-12-21 20:37:25 +01:00
Christopher Davis
5314547625 flatpak: Remove libadwaita from manifest
libadwaita is included in the SDK now.
2021-10-03 04:19:48 -07:00
Christopher Davis
59898b8e83 flatpak: Update logging domain 2021-09-29 12:30:07 -07:00
Christopher Davis
80502064ce Add pre-commit hook
This is something we can use to check formatting before
any commits are pushed.
2021-09-29 00:48:00 -07:00
Christopher Davis
cced598239 general: Rename to Loupe
Sets the codename, binary name, and app ID name to Loupe.
The user-visible name is still Image Viewer.
2021-09-28 17:44:26 -07:00
Christopher Davis
4ef2b61ecd flatpak: Use updated libadwaita 2021-06-27 15:26:57 -07:00
Christopher Davis
7d68e62e07 flatpak: Pin libadwaita branch
flatpak-builder can't detect main as the main branch
currently.
2021-01-15 09:27:51 -08:00
Christopher Davis
e34f4055e4 Exchange libhandy-4 for libadwaita
libhandy-4 is dead. Long live libadwaita.
2021-01-14 21:36:30 -08:00
Christopher Davis
f692ab5626 Initial Commit
The initial commit of gnome-image-viewer.
Things are in an MVP state, with image viewing and
opening from the desktop functional. We also can
open images externally, print them, and set them as
backgrounds.
2020-12-26 02:18:23 -08:00