Commit graph

1662 commits

Author SHA1 Message Date
Sophie Herold
22fe8e3404 data: Prepare 44.1 release 2023-04-06 23:19:06 +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
ca672552be decoder: Bring back support for still WebP images
We manually have to use the static decoder instead of
the frames api as for PNG.

Issue #115
2023-04-06 21:08:23 +00:00
Sophie Herold
65e967c235 decoder: Detect HEIC/HEIF via guessed mime type
This will not cover files with wrong extensions. But
we don't have a magic byte sniffer in place yet.

Issue #115
2023-04-06 21:08:10 +00:00
Sophie Herold
c041dcad3d meson: Require GTK 4.11.1 because of texture fixes
Scaled textures don't work in some situations with GTK 4.10

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/160>
2023-04-06 21:06:47 +00:00
Sabri Ünal
755103c2c3 Add Turkish translation 2023-04-06 18:01:15 +00:00
Quentin PAGÈS
5831e2a7df Update Occitan translation 2023-04-06 14:27:42 +00:00
Kukuh Syafaat
26515a4548 Update Indonesian translation 2023-04-06 11:07:21 +00:00
Anders Jonsson
1f067eaf13 Update Swedish translation 2023-04-05 16:37:31 +00:00
Sophie Herold
1b18486826 image: Move background color guess to other thread
Also, skip it completely for JPEG and BMP

Issue #111
2023-04-04 22:13:36 +00:00
Sophie Herold
114c292225 cargo: Update dependencies
And fix a meson warning
2023-04-04 23:20:42 +02:00
Yuri Chornoivan
620270db9c Update Ukrainian translation 2023-04-04 18:35:33 +00:00
Martin
d08b107640 Update Slovenian translation 2023-04-04 06:26:48 +00:00
Sophie Herold
5d7cbe026f image: Remove debug prints from bg color guesser
Closes #111
2023-04-03 16:56:54 +02:00
Danial Behzadi
9b8bce3551 Update Persian translation 2023-04-03 12:51:29 +00:00
Aleksandr Melman
6d694c6beb Update Russian translation 2023-04-03 07:29:46 +00:00
Ekaterine Papava
36188aece7 Update Georgian translation 2023-04-03 04:40:15 +00:00
Sophie Herold
7bf9baa581 image: Ensure contrast for transparent images
Determine if the image is transparent and has low
contrast with default background color. If so,
use a different background color.

Closes #31

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/151>
2023-04-02 23:08:51 +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
Sophie Herold
533158bb69 image: Request tiles on size_allocate
Fixes tiles for SVG might be missing when enlarging window.

Closes #104

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/155>
2023-04-02 21:36:24 +00:00
Hugo Carvalho
01a5120cd1 Update Portuguese translation 2023-04-02 20:30:10 +00:00
Christopher Davis
2965799374 general: Remove help-related code
Our help documents are unfinished, and we shouldn't ship
unfinished documentation in our initial release.

We can revert this commit when we're ready to write the
documents properly.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/156>
2023-04-02 18:36:17 +00:00
Sophie Herold
9281a32ca9 data: Update metadata and dependencies
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/154>
2023-04-02 17:23:55 +00:00
Sophie Herold
750fbfd305 image: Settle with either rotate or zoom gesture
Add thresholds after which the gesture is assumed to be
only zoom or rotate.

Closes #95, #29

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/145>
2023-04-02 16:47:57 +00:00
Sophie Herold
7b7ece1dc3 slidingView: Allocate LpImage more correctly
Allocate the ScrolledWindow instead of the LpImage
to include non-overlayed scrollbars.

General cleanup how we measure things.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/150>
2023-04-02 15:42:42 +00:00
Sophie Herold
e5fc4bc85c image: Add high DPI support
Always interpret the scaling percentag in physical pixels.
This makes 100% show the image 1:1 in screen pixels.

Closes #37
2023-04-02 15:22:12 +00:00
Piotr Drąg
4ce48c5e26 Add Polish translation 2023-04-02 11:57:59 +00:00
Jiri Grönroos
b60656cf5c Add Finnish translation 2023-03-30 17:53:03 +00:00
Kukuh Syafaat
844b990928 Add Indonesian translation 2023-03-28 04:33:22 +00:00
Asier Sarasua Garmendia
7164ec592a Update Basque translation 2023-03-26 08:23:23 +00:00
Sophie Herold
67207bb215 image: Use mipmaps for zoom-out and NN for zoom-in
Before we always used "linear" filtering. This gave
a harsh image with moire patterns when zooming out
and washed out images when zooming in.

Closes #68, #71

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/125>
2023-03-25 15:32:31 +00:00
Sophie Herold
6d0c5a4665 css: Make OSD circular selector more specific
This avoids applying it to other circular buttons in the app.
Also, remove padding to make size independent of icon size.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/152>
2023-03-25 14:32:21 +00: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
Quentin PAGÈS
52c6f4333d Update Occitan translation 2023-03-25 13:32:09 +00:00
Boyuan Yang
361449f4da Add Chinese (China) translation 2023-03-24 15:50:22 +00:00
Sophie Herold
0e24f347e6 imagePage: Move popover out of LpImage
It cause 'not measured' errors and we have enough
things to handle in LpImage already.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/146>
2023-03-18 21:24:45 +00:00
Sophie Herold
f33c4bd470 decoder: Support animated formats (GIF, WEBP, APNG)
Closes #27
2023-03-18 20:23:08 +00:00
Hugo Carvalho
ea9063de0f Update Portuguese translation 2023-03-18 18:43:42 +00:00
Danial Behzadi
c6ff71b05b Add Persian translation 2023-03-18 00:57:38 +00:00
Hugo Carvalho
c9d7cd81b8 Update Portuguese translation 2023-03-16 14:20:04 +00:00
Fran Dieguez
9077b06fbe Add Galician translation 2023-03-16 08:43:32 +00:00
Balázs Úr
b4b7c3d811 Add Hungarian translation 2023-03-16 01:22:11 +00:00
Anders Jonsson
77b49002fe Update Swedish translation 2023-03-15 20:07:16 +00:00
Sophie Herold
889c818c14 code: Use pub(super) in GObject impl structs
This helps with getting warnings for fields we no longer use

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/143>
2023-03-14 21:25:45 +00:00
Aleksandr Melman
f64008b278 Add Russian translation 2023-03-14 20:57:11 +00:00
Sophie Herold
138ab4ffd9 docs: Add widget overview
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/142>
2023-03-14 16:51:48 +00:00
Yuri Chornoivan
1f48e3cf1f Update Ukrainian translation 2023-03-14 13:01:59 +00:00
Daniel Mustieles
dc709062d4 Update Spanish translation 2023-03-14 11:48:45 +00:00
Yosef Or Boczko
36e1e28700 Update Hebrew translation 2023-03-14 10:32:08 +00:00
Martin
b30ccb7a9e Update Slovenian translation 2023-03-14 08:25:13 +00:00