Commit graph

20 commits

Author SHA1 Message Date
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
bc165e1cb1 CI: Use --locked for cargo install deny 2024-02-25 21:25:58 +01:00
Matteo Nardi
5e32cfa1df window: remember image property visibility state
Added GSettings support to Loupe. Inspiration was taken from Fractal:
LpApplication will contain `gio::Settings` and all code needing them
will reach them as a singleton by calling `g_application_get_default`.
This design makes the settings dependency less explicit than dependency
injection, but allows for shorter code when new settings will be added
across different parts of the application.

A `show-properties` setting is added for remembaring the image property
sidebar state. It's read by LpWindow when the current page changes, and
saved when toggling the sidebar. When no image is being shown, the
sidebar is always hidden, while the setting remains unchanged. The
sidebar state will be restored when a picture is opened.

Closes #147
2023-12-07 15:25:26 +00:00
Sophie Herold
3b363041b6 ci: Fix publishing nightly for x86-64 2023-08-05 21:56:57 +02:00
Sophie Herold
936f89eda4 ci: Try to publish nightly for aarch as well 2023-07-30 20:27:54 +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
Sophie Herold
2fc7ca601a CI: Publish nightly builds 2023-05-13 03:27:18 +02:00
Sophie Herold
e3612c2967 ci: Avoid multiple builds and opt for tests
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/188>
2023-04-19 20:49:12 +00:00
Sophie Herold
997cab9d8d CI: Check for missing files in POTFILES.in
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/188>
2023-04-19 20:49:12 +00:00
Christopher Davis
5bcf534142 build: Add ci profile that uses --release
As we add more rust crates in performance-critical places,
we run into some performance issues with debug builds.
This makes it hard to get a good feel for the performance
of the application, as something may be slow simply because
it's not been optimized by the compiler.

This commit adds a ci profile to our meson options,
and adjusts our CI configuration to use it. Regular
builds should continue to use the development profile.

Also renames `default` to `release`
2023-03-01 13:05:19 -05:00
Sophie Herold
526ccbaec6 ci: Add cargo deny checks 2023-02-12 19:33:06 +01:00
Sophie Herold
d14e9dca53 ci: Add cargo clippy checks 2023-02-12 19:32:22 +01:00
Sophie Herold
73764810eb CI: Move pages to deploy stage 2023-01-27 02:26:22 +01:00
Sophie Herold
3b08851cce CI: Generate code docs and publish for main 2023-01-26 17:51:56 +01:00
Christopher Davis
bc091248d0 ci: Add flatpak aarch64 CI builds 2022-08-04 15:14:41 +00:00
Christopher Davis
fa513596b2 CI: Update configuration
Update:
 * images
 * template path
 * flatpak stage configuration
2022-07-30 17:55:17 -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
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
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