Commit Graph

37 Commits

Author SHA1 Message Date
Přemysl Eric Janouch e2adac72cc
Use the model's mtime for validating thumbnails
Saves a syscall, generalizes fiv_thumbnail_lookup(),
wastes a tiny bit of memory per entry.
2022-06-04 16:37:25 +02:00
Přemysl Eric Janouch 3ddb0cf205
Expose the mtime of the model's entries 2022-06-04 14:50:56 +02:00
Přemysl Eric Janouch da507edd05
Prevent thumbnailing from disrupting mouse clicks 2022-02-24 21:52:25 +01:00
Přemysl Eric Janouch 580b68789b
Turn the browser into a DnD source
The destination does all the work of handling file operations.

Also, add some missing logic for horizontal scrolling.
2022-02-22 15:44:38 +01:00
Přemysl Eric Janouch 31f9feab7b
Use the X-GNOME-FullName desktop file key 2022-02-21 22:29:14 +01:00
Přemysl Eric Janouch 41bd25e711
Avoid g_app_info_should_show() in context menus
We were hiding our own JPEG cropper.
2022-02-21 21:49:44 +01:00
Přemysl Eric Janouch 68bb695054
Clean up 2022-02-20 21:29:34 +01:00
Přemysl Eric Janouch 04ec292caf
Make thumbnailers pass back raw images 2022-02-20 21:14:33 +01:00
Přemysl Eric Janouch fbf26a7d66
Show application icons in context menu items 2022-02-20 12:07:40 +01:00
Přemysl Eric Janouch ef2544868d
Open items on mouse button release, not press
At least the left and middle mouse buttons seem to behave similarly
in other programs and systems.

Context menus are opened on button release on Windows and with some
GTK+ widgets (popovers in GtkPlacesSidebar).
2022-02-14 02:10:25 +01:00
Přemysl Eric Janouch 0857a04a3a
Scroll to selection when returning from the viewer 2022-02-13 13:18:36 +01:00
Přemysl Eric Janouch 4302ec71f2
Make changing the browser zoom launch thumbnailers 2022-02-13 13:18:36 +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 757bc9beaa
Fully support GNOME's inode/directory mechanism 2022-01-12 11:12:32 +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 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 4f19a67da3
Add an unnecessarily fancy about dialog 2022-01-09 19:11:36 +01:00
Přemysl Eric Janouch 35c1f2c8ba
Parallelize thumbnail production 2022-01-08 07:46:28 +01:00
Přemysl Eric Janouch 0a6b06d1d0
Fix browsing the "resource" GVfs schema 2022-01-05 07:59:18 +01:00
Přemysl Eric Janouch 685defa684
Rename the whole project shorter
There is no point in claiming speed, it turns out to be a strange focus
to have, considering the amount of available innovations to make.

The new name does not appear to be taken by anything important.
2022-01-05 04:45:46 +01:00
Přemysl Eric Janouch b935b0baf8
Use a unified filesystem model
This removes some duplication of effort.

So far, sorting adjustments are not exposed in the UI.
2022-01-05 03:48:22 +01:00
Přemysl Eric Janouch 2ac918b7ab
A bunch of additional fixes 2021-12-31 03:43:51 +01:00
Přemysl Eric Janouch 5f8dc88fa7
Minor URL-related fix-ups 2021-12-31 00:41:04 +01:00
Přemysl Eric Janouch 380ddd540b
Convert all loading to use GFile
Now we're able to make use of GVfs, with some caveats.
2021-12-30 22:32:29 +01:00
Přemysl Eric Janouch c49e58a0ba
Fix thumbnailing cancellation
Everything's according to GAsyncResult documentation.
2021-12-28 23:49:35 +01:00
Přemysl Eric Janouch bf47782f0a
Move thumbnails into their own source file
And clean up identifiers.
2021-12-28 20:18:25 +01:00
Přemysl Eric Janouch 720464327c
Clean up 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch ad1ff06aff
Avoid producing thumbnails of thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch af2eb411d9
Try to regenerate low quality thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch 004919cbc5
Clean up
This makes the thumbnailer able to load at most one directory,
which we don't particularly mind.
2021-12-28 00:37:55 +01:00
Přemysl Eric Janouch 336053f24d
Implement trivial wide thumbnail production
Also make libwebp a required dependency.
2021-12-27 21:51:01 +01:00
Přemysl Eric Janouch dfa1fed18b
Add a context menu to opened directories
So that they can be opened with, e.g., Thunar.
2021-12-20 10:15:46 +01:00
Přemysl Eric Janouch ada67f044a
Optimize thumbnail rendering
Massive responsivity gains have been achieved here.

Rescaling performance doesn't seem to be particularly affected.
2021-12-20 04:40:35 +01:00
Přemysl Eric Janouch b78010ccb1
Adopt shorter identifiers
Also, slightly reformat the source code according to clang-format.
2021-12-18 07:04:01 +01:00