Commit Graph

47 Commits

Author SHA1 Message Date
5529727137
Fix thumbnail passing on Windows
LF was converted to CR LF, systematically corrupting bitmap data.
2022-07-22 20:49:54 +02:00
e137afa736
Fix a function name conflict on Mingw-w64
This could also be resolved through `#define NO_OLDNAMES`,
however the function rather deserved a more precise name.
2022-07-22 18:33:55 +02:00
891420edfd
Handle back/forward mouse buttons on Win32/macOS
There is no conflict with X11/Wayland, because 4/5 are the scroll wheel,
which never gets forwarded to button-press-event.
2022-07-22 16:27:43 +02:00
e03bc36f63
Print errors from launching new instances 2022-07-21 16:27:48 +02:00
26dead7ea4
Fix the About dialog animation on macOS 2022-07-17 16:05:08 +02:00
94f6938b9a
Add a key binding for keeping the zoom/position 2022-07-17 15:26:20 +02:00
bd2e929b77
Add ability to keep zoom/position when browsing 2022-07-17 13:04:29 +02:00
4efda5347c
Let FivView take care of its drag gesture
Making the GtkScrolledWindow's scrollbars draggable again.
2022-07-17 07:16:41 +02:00
ca57c2632a
Simplify view dragging code a bit 2022-07-16 14:57:44 +02:00
c55500f51a
Support dragging the view
It would also be possible to handle this through press/motion/release
event handlers, though GtkGestureDrag is more convenient for hacking in
support for dragging to widgets not supporting GtkScrollable (yet).

There may be some undesired interactions lurking, besides the jarring
movements when dragging native GdkWindows (these are a pain).
2022-07-15 14:00:31 +02:00
84f8c9436f
Downscale embedded thumbnails within minions
Otherwise the UI would become unresponsive during loading.
2022-06-08 02:51:55 +02:00
8dfbd0dee2
Add a command line option to extract thumbnails
Only use LibRaw for now, which probably has the most impact
using the least amount of effort.
2022-06-08 02:51:54 +02:00
4ca8825e02
Clean up
Use gchar when memory is allocated through GLib.
2022-06-05 13:30:53 +02:00
3ddb0cf205
Expose the mtime of the model's entries 2022-06-04 14:50:56 +02:00
b6315482b7
Fix sort changes taking way too much time
All thumbnails were reloaded five times on each change.

GTK+/GObject's behaviour doesn't make a lot of sense, but such is life.
2022-06-02 11:46:16 +02:00
04ec292caf
Make thumbnailers pass back raw images 2022-02-20 21:14:33 +01:00
a28fbf25bc
Implement wide thumbnail cache invalidation 2022-02-20 15:44:42 +01:00
5d019e20b5
Make the view a drop target 2022-02-17 10:57:05 +01:00
ee5f63e50b
Adjust keyboard shortcuts 2022-01-26 04:44:00 +01:00
6e26dc13b4
Only show the info bar when appropriate
The late, global gtk_widget_show_all() made it always start visible,
in particular when the program was launched directly on an image file,
and not in browsing mode.
2022-01-25 06:15:05 +01:00
ee71fb0dd0
Start a basic user guide
Move some information out there from the README.
2022-01-25 05:54:00 +01:00
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
38670428da
Add keyboard shortcuts for thumbnail size 2022-01-23 06:44:50 +01:00
8a656121a3
Update command line usage string 2022-01-16 01:51:04 +01:00
13ae4810ca
Apply some bits of GNOME HIG 1.0 2022-01-13 21:38:32 +01:00
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
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
757bc9beaa
Fully support GNOME's inode/directory mechanism 2022-01-12 11:12:32 +01:00
f632510d2a
Put reloading the image as its own action 2022-01-12 10:58:33 +01:00
cfa90fb7de
Don't hardcode the project name in its URI 2022-01-12 10:41:33 +01:00
e663f02754
Implement selection in the browser
Keyboard controls are missing so far.
2022-01-11 11:27:35 +01:00
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
3bf41993a3
Clean up the About animation 2022-01-10 10:25:08 +01:00
4f19a67da3
Add an unnecessarily fancy about dialog 2022-01-09 19:11:36 +01:00
12e3c42888
Move key bindings to a more usual shortcut
gThumb is confused.
2022-01-09 12:31:19 +01:00
09e5a02ed6
Swap zoom in/out action buttons 2022-01-09 05:24:57 +01:00
af80303719
Update mildly confused comments 2022-01-08 12:03:52 +01:00
d65e83a21d
Fix a key binding conflict 2022-01-08 10:05:32 +01:00
231b77e6c0
Make sort order changes update iteration order 2022-01-07 16:30:47 +01:00
235af37382
Handle middle mouse clicks on breadcrumbs
Also, don't act on button releases happening outside the widget.
2022-01-07 05:33:33 +01:00
e70bb20934
Improve toolbar hiding 2022-01-07 03:34:32 +01:00
bb67df716c
Mildly improve Ubuntu 20.04 compatibility 2022-01-06 08:39:33 +01:00
4cd2978e21
Add a keyboard shortcut for filtering 2022-01-06 06:59:30 +01:00
5abf6a719f
Add UI for sort order settings 2022-01-05 10:54:36 +01:00
6142bf9c53
Automount from location input 2022-01-05 06:40:39 +01:00
244779bd8c
Factor out make_browser_sidebar()
It's a very mild improvement, but an improvement nonetheless.
2022-01-05 05:17:18 +01:00
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