Sophie Herold
2a5ca41991
NEWS: Fix 47.3 being released as 47.4
2025-01-13 23:01:53 +01:00
Sophie Herold
273b8231d5
print: Fix SVG previews sometimes failing to load
...
This is a workaround. It is still not clear why the loading can fail.
Fix #422
2025-01-13 14:23:07 +01:00
Sophie Herold
b9f22ebfc3
window: Don't store window to avoid ref cycles
...
Use root() instead and move one constructor to on root for having the
root available.
2024-12-22 20:27:33 +01:00
Sophie Herold
e9dc3d810c
code: Use new glib::clone! syntax
2024-06-18 00:37:38 +02:00
Sophie Herold
4650e6766a
cargo: Update to gtk4-rs 0.9 and core 0.20
2024-06-14 17:46:33 +02:00
Sophie Herold
c15e73274e
print: Use new GTK API
2024-05-15 10:51:49 +00:00
Sophie Herold
46a17367bd
print: Do everything in request-page-setup
...
Otherwise we are too late to layout the page and the orientation will
not be honored by the actual printing.
We also have to use the per-page PageSetup because they are already
specualized at this point.
Closes #348
2024-04-06 18:45:42 +02:00
Sophie Herold
30bc48514c
print: Apply fill-space when changing orientation
...
Fixes space not being filled when option is enabled when changing to
horizontal page orientation.
Also make disablign UI signals during computational UI changes counter
based, not true false, because they can be nested.
Closes #338
2024-04-03 00:37:37 +02:00
Sophie Herold
0ed7036098
cargo: Update gtk-rs stack
2024-02-08 21:19:05 +01:00
Sophie Herold
fe43bc3a4c
metadata: Centralize many loose ends
2024-01-01 22:43:30 +01:00
Sophie Herold
de0446bc32
print: Fix height entry having wrong upper limit
...
Fixes #294
2023-12-30 22:26:38 +01:00
Sophie Herold
0e490f38ad
print: Init preview image more cleanly
2023-12-27 00:12:44 +01:00
Sophie Herold
6827a9c176
print: Use LpImage for preview
2023-12-26 21:51:39 +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
Sophie Herold
2648295a18
code: Reformat with group_imports=StdExternalCrate
2023-12-07 20:33:19 +01:00
Sophie Herold
fceec31971
print: Remove obsolete callback code
2023-12-04 18:08:44 +01:00
Sophie Herold
c0f435386d
metadata: Move file info and format to metadata
2023-12-04 18:08:25 +01:00
Sophie Herold
5b3ad7c257
code: Fix typos
2023-11-30 21:58:26 +01:00
Sophie Herold
b56d650086
code: Reformat with new rules
2023-11-29 21:16:11 +01:00
Sophie Herold
5a905cd53f
ui: Move .ui-files to src/
...
Closes #46
2023-11-29 01:50:54 +01:00
Julian Hofer
cd8188a1bb
Simplify async code
...
- Update Cargo.lock
- Use new gtk-core API
- Remove unneeded async
- Remove unneeded clones
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/310 >
2023-11-22 09:12:36 +01:00
Sophie Herold
15e2fb2257
print: Use same print operation throughout
...
Use a hack to wait in print signal for the layout dialog to be ready
instead of creating a new print operation with the same settings.
This works around a bug in GTK where the wrong printer gets selected
(issue #243 ), as well as the print dialog getting shown twice when
using the print portal (part of #61 ).
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/302 >
2023-10-31 01:31:36 +00: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
1a7a34c3b6
Revert "print: Add libadwaita-rs features missing upstream"
...
This reverts commit ae23db6967 .
2023-08-06 11:27:35 +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
172ce9d976
print: Code cleanup
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
2fac5e6c43
print: Limit width an hight fields correctly
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
14ba64f687
print: Let margins and sizes interact properly
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
f5071fb630
print: Make units translatable
...
Closes #142
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
3dbcce8375
print: Add height and fill-space options
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
d7a77ec498
print: Split unit selection for margins and size
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
65af818567
print: Show filename and printer in title
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
9bfa9f7294
print: Use AdwSpinRow
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +00:00
Sophie Herold
ae23db6967
print: Add libadwaita-rs features missing upstream
...
This should be reverted when porting to new release that
supports those features.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240 >
2023-08-06 02:28:54 +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
2f9fad47a1
src: Update or add auto generated license headers
...
Closes #55
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/169 >
2023-04-19 20:02:01 +02:00
Sophie Herold
587599f50b
print: Render SVG for correct size
...
Closes #140
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165 >
2023-04-18 23:52:53 +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