Sophie Herold
65a3c79a43
cargo: Update dependencies
2024-01-06 21:06:14 +01:00
Danial Behzadi
1d86786196
Update Persian translation
...
(cherry picked from commit 8467d963c772dfee9cb1ed55273979ed4234451b)
2024-01-06 12:08:31 +00:00
Sophie Herold
6a8d616583
NEWS: Add recent changes
2024-01-04 22:11:47 +01:00
Sophie Herold
0c53c75127
image/inputHandling: Stop kinetic after zoom
...
Stop kinetic scrolling after having used Ctrl + Touchpaad to zoom.
Closes #165
2024-01-04 21:50:34 +01:00
Sophie Herold
b1d1d547cf
image/zoom: Force zoom to center for buttons
...
Before, using buttons on touchscreen could zoom to the cursor position.
2024-01-04 14:37:11 +01:00
Sophie Herold
88099b1ec9
image/zoom: Make code more readable
2024-01-04 14:37:11 +01:00
Sophie Herold
56625f2309
image/zoom: Store pointer target through animation
...
Closes #48 #287
2024-01-04 14:37:04 +01:00
Sophie Herold
a0e4791e6b
image/zoom: Functions to calculate required adj
2024-01-03 00:49:50 +01:00
Sophie Herold
3f4de5f4ad
cargo: Update deps
2024-01-02 20:36:35 +01:00
Sophie Herold
bee10be168
flatpak: Update glycin loaders
2024-01-02 00:16:45 +01:00
Sophie Herold
fe43bc3a4c
metadata: Centralize many loose ends
2024-01-01 22:43:30 +01:00
Quentin PAGÈS
b6d578cc0a
Update Occitan translation
2023-12-31 14:10:26 +00:00
Sophie Herold
de0446bc32
print: Fix height entry having wrong upper limit
...
Fixes #294
2023-12-30 22:26:38 +01:00
Yosef Or Boczko
19079dd918
Update Hebrew translation
2023-12-30 18:39:13 +00:00
Sophie Herold
f14cb540eb
decoder: Use glycin 1.0
2023-12-29 20:10:04 +01:00
Sophie Herold
0e490f38ad
print: Init preview image more cleanly
2023-12-27 00:12:44 +01:00
Sophie Herold
db6a7e7f2a
image: Move most functions to imp module
2023-12-27 00:12:35 +01:00
Sophie Herold
3d5ef4038e
image: Rename background_color module
2023-12-26 22:28:45 +01:00
Sophie Herold
139bd4ebb2
decoder/tiling: Make shared frame buffer a struct
2023-12-26 22:09:07 +01:00
Sophie Herold
6827a9c176
print: Use LpImage for preview
2023-12-26 21:51:39 +01:00
Sophie Herold
e387d8dc66
image: Check realized before using surface
...
This avoids crashes in early calls to scaling()
2023-12-26 18:36:26 +01:00
Sophie Herold
3c73c06241
cargo: Update deps
2023-12-25 20:53:46 +00:00
Sophie Herold
d3cd32e090
code: Drop async-std dependeny
2023-12-25 20:53:46 +00:00
Automeris naranja
4af0159341
appdata: Set developer name to "The GNOME Project"
...
GNOME core apps have "The GNOME Project" as the
developer name.
Closes https://gitlab.gnome.org/GNOME/loupe/-/issues/291
2023-12-24 14:46:10 -03:00
Sabri Ünal
3ed3b26450
appdata: Improve appdata for AppStream 1.0
...
- Add the `<developer><name>` tag
- Mark the `<developer_name>` as deprecated
- Use appstreamcli to validate appdata
- Remove one of Purism tag to pass appstreamcli validation
2023-12-23 21:45:13 +03:00
Sophie Herold
410e71141f
window/controls: Keep headerbar outside fullscreen
2023-12-22 23:41:29 +01:00
Sophie Herold
4a7ef27853
window: Move overlay controlling to own module
2023-12-22 22:52:43 +01:00
Sophie Herold
2864eb7cc3
print: Only show one size input for percent
2023-12-22 21:46:41 +01:00
Sophie Herold
d138750448
print: Adjust 100% to SVG physical dimensions
...
Some SVGs store there size in cm or inch. With this change, the 100% in
the print dialog is calculated according to that physical size.
Closes #141
2023-12-22 21:44:36 +01:00
Quentin PAGÈS
04dfed4678
Update Occitan translation
2023-12-22 16:42:30 +00:00
Sophie Herold
d30d72d55a
Update README.md
2023-12-22 12:20:59 +00:00
Automeris naranja
26abaa73e7
print: Fix indentation
2023-12-21 22:59:27 -03:00
Automeris naranja
02762a394d
print: Add missing mnemonics
...
Closes https://gitlab.gnome.org/GNOME/loupe/-/issues/292
2023-12-21 22:59:24 -03:00
Sophie Herold
fafebaa4c8
NEWS: Add recent changes
2023-12-21 22:01:23 +01:00
Sophie Herold
476abf1612
slidingView: Don't notify page updates emmediately
...
This allows to add new pages after clearing without triggering an empty
state in between. This also fixes opening a new image leaving the
fullscreen mode.
Fixes #286
2023-12-21 21:28:37 +01:00
Sophie Herold
f0c374afdc
windowTitle: Add custom window title widget
...
Fixes #202
2023-12-20 21:37:25 +01:00
Sophie Herold
d185973815
windowTitle: Add custom window title widget
...
Fixes #202
2023-12-20 19:28:22 +00:00
Sophie Herold
d39bd774d5
main: Also follow glib env vars for logging
...
Closes #193
2023-12-19 19:42:10 +00:00
Sophie Herold
127986a8ea
window: Don't reset timeout on changing images
...
Issue #288
2023-12-19 15:25:15 +01:00
Sophie Herold
403aa7771c
README: Update w.g.o URL
2023-12-19 14:03:43 +01:00
Quentin PAGÈS
420ee6dd6a
Update Occitan translation
2023-12-18 19:01:49 +00:00
Artur S0
9c89ac882f
Update Russian translation
2023-12-11 12:13:50 +00:00
Sophie Herold
2648295a18
code: Reformat with group_imports=StdExternalCrate
2023-12-07 20:33:19 +01:00
Matteo Nardi
81c9030288
window: fix show-properties setting bug
...
Fix issue in previous commit when having multiple windows.
Steps to reproduce:
- enable properties in window A and window B doesn't have them enabled
- switch an image in window B
- the properties would be shown
Co-authored-by: Sophie Herold <sophie@hemio.de>
2023-12-07 15:25:26 +00: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
Matteo Nardi
4c352ed86a
Add .fenv to .gitignore
...
[Fenv](https://gitlab.gnome.org/ZanderBrown/fenv/ ) makes it easier to
build and run flatpak applications from command line. Its artifacts are
put in a .fenv folder, which should be ignored.
2023-12-07 15:25:26 +00:00
Sophie Herold
01e43a8680
flatpak: Enable frame pointers for rust builds
2023-12-07 13:52:48 +01:00
Sophie Herold
057ca6a3d0
image/rendering: Use scale instead of scale-factor
...
`GdkSurface:scale` supports fractional scaling available as
"scale-monitor-framebuffer" on Mutter. Use this value everywhere
instead of the integer scale-factor
Closing #182
2023-12-06 23:39:09 +01:00
Sophie Herold
2ef5032627
Merge branch 'gnome-45'
2023-12-05 23:38:27 +01:00
Sophie Herold
0b7e30af30
image: Fix setting horizontal instead of vertical
...
Fix horizontal scrollbar sometimes jumping to center while zooming in.
2023-12-05 23:34:11 +01:00