Commit Graph

540 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 991e74b99b
Redirect image open failure messages
Pop-up dialogs are quite annoying, as is not being able to
iterate over broken images.

This will also be useful for warnings and asynchronous loading.
2022-01-24 02:48:38 +01:00
Přemysl Eric Janouch 38670428da
Add keyboard shortcuts for thumbnail size 2022-01-23 06:44:50 +01:00
Přemysl Eric Janouch a7e638207f
Fix Meson
The disabler, for some reason, bubbles up to its target.
2022-01-23 04:44:41 +01:00
Přemysl Eric Janouch 098895bfd9
Remove SVG debugging tools
I already know how librsvg over Cairo behaves.
2022-01-23 04:15:48 +01:00
Přemysl Eric Janouch 235b14dc11
Fix a case in orientation mirroring 2022-01-23 04:15:48 +01:00
Přemysl Eric Janouch 6ce5c7c2b6
Scale SVGs accurately in the viewing widget 2022-01-23 04:15:48 +01:00
Přemysl Eric Janouch 07e7d39ea2
Produce properly scaled SVG thumbnails 2022-01-23 04:12:11 +01:00
Přemysl Eric Janouch 562e140a1e
Add backend for accurate SVG scaling 2022-01-23 04:12:10 +01:00
Přemysl Eric Janouch b71d5dff57
Make truncated WebP parts always transparent 2022-01-23 00:27:20 +01:00
Přemysl Eric Janouch c85de6b20f
Update a comment 2022-01-22 22:51:59 +01:00
Přemysl Eric Janouch 3796f56e81
Load even partial WebP images 2022-01-22 22:45:35 +01:00
Přemysl Eric Janouch 0a11abd3fe
Reorder code 2022-01-22 21:38:00 +01:00
Přemysl Eric Janouch 78faf438a5
Improve WebP error reporting 2022-01-22 21:31:16 +01:00
Přemysl Eric Janouch f2eb7621b4
Bump Wuffs, add TGA support through it 2022-01-22 21:02:56 +01:00
Přemysl Eric Janouch 8877e17108
Default to gdk-pixbuf even for Wuffs formats 2022-01-22 21:02:56 +01:00
Přemysl Eric Janouch 686d45553b
Plug a corner-case memory leak, fix range checks 2022-01-21 19:03:05 +01:00
Přemysl Eric Janouch 4ba1d85363
Add preliminary support for resvg
It claims better SVG support, but it sucks for a plethora of reasons.
2022-01-21 09:14:19 +01:00
Přemysl Eric Janouch 45238d78cd
Mesonize JPEG Quant Smooth
Now SIMD works on amd64, although the build remains questionable,
because it assumes that all of its compiler flags will work.

This way we lose an uncomfortable git submodule.

Also, add Meson subprojects to .gitignore.
2022-01-19 01:11:47 +01:00
Přemysl Eric Janouch 8a656121a3
Update command line usage string 2022-01-16 01:51:04 +01:00
Přemysl Eric Janouch 6a1278786c
Fix a compiler warning 2022-01-13 23:42:35 +01:00
Přemysl Eric Janouch 13ae4810ca
Apply some bits of GNOME HIG 1.0 2022-01-13 21:38:32 +01:00
Přemysl Eric Janouch 222ba6a060
Add a comment about HDR PNG 2022-01-13 21:09:16 +01:00
Přemysl Eric Janouch 8e8cf49343
Add a normally hidden, stubbed-out menu bar
So that the About dialog is discoverable now at all.
2022-01-13 21:08:59 +01:00
Přemysl Eric Janouch 6de5ab6298
Select the file when Return-ing from the viewer
It might make sense to also do it on M-Left or the back button.
Not sure about it so far.
2022-01-12 11:15:35 +01:00
Přemysl Eric Janouch 757bc9beaa
Fully support GNOME's inode/directory mechanism 2022-01-12 11:12:32 +01:00
Přemysl Eric Janouch f632510d2a
Put reloading the image as its own action 2022-01-12 10:58:33 +01:00
Přemysl Eric Janouch 05453718bb
Avoid blank browser space when resizing the window 2022-01-12 10:41:33 +01:00
Přemysl Eric Janouch cfa90fb7de
Don't hardcode the project name in its URI 2022-01-12 10:41:33 +01:00
Přemysl Eric Janouch f1e9e47e13
Implement browser keyboard navigation 2022-01-11 14:36:19 +01:00
Přemysl Eric Janouch 764312652d
Support invoking a context menu from keyboard 2022-01-11 12:26:28 +01:00
Přemysl Eric Janouch e663f02754
Implement selection in the browser
Keyboard controls are missing so far.
2022-01-11 11:27:35 +01:00
Přemysl Eric Janouch 1a190001fc
Make the browser implement its own scrollable
It's quite rough around the edges so far.
2022-01-10 11:53:15 +01:00
Přemysl Eric Janouch 3bf41993a3
Clean up the About animation 2022-01-10 10:25:08 +01:00
Přemysl Eric Janouch 4f19a67da3
Add an unnecessarily fancy about dialog 2022-01-09 19:11:36 +01:00
Přemysl Eric Janouch 12e3c42888
Move key bindings to a more usual shortcut
gThumb is confused.
2022-01-09 12:31:19 +01:00
Přemysl Eric Janouch 146c5c6977
Improve the icon
Now it's simple, colourful, pixel-aligned, balanced and everything.

The ligature is a bit awkward, but it will do.
2022-01-09 09:47:44 +01:00
Přemysl Eric Janouch 25dcc3b136
Handle view bindings through an action signal
This makes them adjustable.
2022-01-09 07:48:44 +01:00
Přemysl Eric Janouch 09e5a02ed6
Swap zoom in/out action buttons 2022-01-09 05:24:57 +01:00
Přemysl Eric Janouch af80303719
Update mildly confused comments 2022-01-08 12:03:52 +01:00
Přemysl Eric Janouch d65e83a21d
Fix a key binding conflict 2022-01-08 10:05:32 +01:00
Přemysl Eric Janouch 77de7efc55
Bump Wuffs, clean up image loading 2022-01-08 08:04:58 +01:00
Přemysl Eric Janouch 35c1f2c8ba
Parallelize thumbnail production 2022-01-08 07:46:28 +01:00
Přemysl Eric Janouch b973d323ba
Fix GIF decoding for certain files
The handling is not perfect yet, but it should be fine enough.
2022-01-08 05:34:01 +01:00
Přemysl Eric Janouch 231b77e6c0
Make sort order changes update iteration order 2022-01-07 16:30:47 +01:00
Přemysl Eric Janouch 7160a915e2
Update README 2022-01-07 12:16:19 +01:00
Přemysl Eric Janouch 6a878fd3c4
Bump more copyright years 2022-01-07 09:53:58 +01:00
Přemysl Eric Janouch 3274b64f5a
Fix SVG thumbnailing
They're not loaded as image surfaces.
2022-01-07 09:43:28 +01:00
Přemysl Eric Janouch feda4fd70f
Don't force sanitizers in debug builds 2022-01-07 08:37:18 +01:00
Přemysl Eric Janouch 59af3b7e7b
Show sidebar DnD targets when dragging breadcrumbs 2022-01-07 07:41:05 +01:00
Přemysl Eric Janouch fc559c3d01
Work around an annoying GTK+ issue 2022-01-07 07:28:05 +01:00