Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the jpeg-quantsmooth wrap work on Debian | Přemysl Eric Janouch | 2022-07-23 | 2 | -7/+17 |
| | | | | Sadly, it's not possible to delete files using patch_directory. | ||||
* | Fix the remaining Windows build error | Přemysl Eric Janouch | 2022-07-23 | 1 | -5/+1 |
| | | | | | | | | Linux has st_mtim (and an st_mtime macro), macOS has st_mtimespec (and an st_mtime macro), Windows has just st_mtime. GFileInfo would be another option, though it seems unnecessary. | ||||
* | Update README.adoc | Přemysl Eric Janouch | 2022-07-22 | 1 | -2/+2 |
| | |||||
* | Fix thumbnail passing on Windows | Přemysl Eric Janouch | 2022-07-22 | 1 | -0/+9 |
| | | | | LF was converted to CR LF, systematically corrupting bitmap data. | ||||
* | Fix a function name conflict on Mingw-w64 | Přemysl Eric Janouch | 2022-07-22 | 1 | -6/+6 |
| | | | | | This could also be resolved through `#define NO_OLDNAMES`, however the function rather deserved a more precise name. | ||||
* | Handle back/forward mouse buttons on Win32/macOS | Přemysl Eric Janouch | 2022-07-22 | 1 | -0/+3 |
| | | | | | There is no conflict with X11/Wayland, because 4/5 are the scroll wheel, which never gets forwarded to button-press-event. | ||||
* | Fix touch screen scrolling on sidebar breadcrumbs | Přemysl Eric Janouch | 2022-07-22 | 1 | -5/+56 |
| | | | | | The drag gesture needs to be disabled there, because touch drags fail in an unfortunate way. | ||||
* | Print errors from launching new instances | Přemysl Eric Janouch | 2022-07-21 | 1 | -3/+5 |
| | |||||
* | Only offer horizontal browser scrolling if useful | Přemysl Eric Janouch | 2022-07-21 | 1 | -13/+19 |
| | | | | Motivated by small screens. | ||||
* | Use GDK event handling return value constants | Přemysl Eric Janouch | 2022-07-21 | 2 | -34/+35 |
| | |||||
* | Fix touch screen drag scrolling in the browser | Přemysl Eric Janouch | 2022-07-21 | 1 | -7/+20 |
| | |||||
* | Handle the long press gesture on browser items | Přemysl Eric Janouch | 2022-07-21 | 2 | -2/+42 |
| | | | | Unfortunately, this doesn't work on X11, though Wayland seems fine. | ||||
* | Mildly improve Windows portability | Přemysl Eric Janouch | 2022-07-21 | 1 | -3/+3 |
| | |||||
* | Remove forgotten include directive | Přemysl Eric Janouch | 2022-07-20 | 1 | -2/+0 |
| | |||||
* | Add missing array sentinel value | Přemysl Eric Janouch | 2022-07-19 | 1 | -1/+2 |
| | |||||
* | Fix the About dialog animation on macOS | Přemysl Eric Janouch | 2022-07-17 | 1 | -0/+11 |
| | |||||
* | Add a key binding for keeping the zoom/position | Přemysl Eric Janouch | 2022-07-17 | 2 | -1/+3 |
| | |||||
* | Support horizontal scrolling in the browser | Přemysl Eric Janouch | 2022-07-17 | 1 | -1/+8 |
| | | | | An unlikely situation. | ||||
* | Add ability to keep zoom/position when browsing | Přemysl Eric Janouch | 2022-07-17 | 6 | -4/+189 |
| | |||||
* | Improve the workaround for native GdkWindows | Přemysl Eric Janouch | 2022-07-17 | 1 | -1/+1 |
| | | | | | Overshooting caused the image to be one pixel taller/wider, due to using ceil() within get_display_dimensions(). | ||||
* | Work around a mysterious no-image zoom issue | Přemysl Eric Janouch | 2022-07-17 | 1 | -2/+8 |
| | |||||
* | Center zoom around pointer or middle of the view | Přemysl Eric Janouch | 2022-07-17 | 1 | -16/+53 |
| | |||||
* | Let FivView take care of its drag gesture | Přemysl Eric Janouch | 2022-07-17 | 2 | -77/+79 |
| | | | | Making the GtkScrolledWindow's scrollbars draggable again. | ||||
* | Implement GtkScrollable in FivView | Přemysl Eric Janouch | 2022-07-17 | 2 | -33/+147 |
| | | | | | This fixes rendering and positioning behaviour when dragging on X11, where we aim to use a native GdkWindow. | ||||
* | Simplify view dragging code a bit | Přemysl Eric Janouch | 2022-07-16 | 1 | -26/+16 |
| | |||||
* | Support dragging the view | Přemysl Eric Janouch | 2022-07-15 | 2 | -2/+91 |
| | | | | | | | | | 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). | ||||
* | Make the browser scroll with touchpad on Wayland | Přemysl Eric Janouch | 2022-07-15 | 2 | -3/+37 |
| | | | | And generally clear up scroll handling. | ||||
* | Discard the inner sidebar's size request | Přemysl Eric Janouch | 2022-07-14 | 1 | -1/+6 |
| | | | | | It used to create a hole when there weren't enough bookmarks to fill that space. | ||||
* | Use GPatternSpec rather than fnmatch() | Přemysl Eric Janouch | 2022-07-14 | 1 | -12/+24 |
| | | | | | Fixing a portability issue on Windows, where we still aim to use the shared-mime-info database. | ||||
* | Add a context menu to breadcrumbs | Přemysl Eric Janouch | 2022-07-04 | 1 | -2/+34 |
| | |||||
* | Move the browser's popup menu to its own file | Přemysl Eric Janouch | 2022-07-04 | 4 | -183/+222 |
| | |||||
* | Decode bitmap thumbnails through LibRaw as well | Přemysl Eric Janouch | 2022-06-10 | 1 | -1/+72 |
| | |||||
* | Generate TIFF structs/enums from a text file | Přemysl Eric Janouch | 2022-06-10 | 4 | -504/+531 |
| | | | | This is to make the tables much easier to maintain. | ||||
* | Build tools with Meson as well | Přemysl Eric Janouch | 2022-06-10 | 5 | -21/+17 |
| | |||||
* | Downscale embedded thumbnails within minions | Přemysl Eric Janouch | 2022-06-08 | 3 | -67/+76 |
| | | | | Otherwise the UI would become unresponsive during loading. | ||||
* | Employ embedded thumbnail extraction | Přemysl Eric Janouch | 2022-06-08 | 1 | -12/+39 |
| | | | | | | | | | | | | And store all direct thumbnailer output in the browser's cache-- low-quality thumbnails will always be regenerated, as is desired, and we'll reload faster on devices where we don't store thumbnails. This change improves latency at the cost of overall efficiency, seeing as images with thumbnails will be spent cycles on twice. Keeping this out-of-process avoids undesired lock-ups. Moreover, embedded thumbnails can be fairly expensive to decode. | ||||
* | Add a command line option to extract thumbnails | Přemysl Eric Janouch | 2022-06-08 | 4 | -71/+161 |
| | | | | | Only use LibRaw for now, which probably has the most impact using the least amount of effort. | ||||
* | Add flags to the serialization protocol | Přemysl Eric Janouch | 2022-06-08 | 3 | -6/+11 |
| | | | | | | | | | It still needs no versioning, as it's not really used by anyone. An alternative method of passing a "low-quality" flag would be perusing fiv_thumbnail_key_lq from fiv-thumbnail.c, which would create a circular dependency, unless fiv_io_{de,}serialize*() were moved to fiv-thumbnail.c. | ||||
* | Clean up | Přemysl Eric Janouch | 2022-06-05 | 10 | -48/+48 |
| | | | | Use gchar when memory is allocated through GLib. | ||||
* | Get rid of our spng dependency | Přemysl Eric Janouch | 2022-06-04 | 6 | -140/+189 |
| | | | | Thumbnails can be properly loaded using Wuffs now. | ||||
* | Bump Wuffs, support partial PNGs through it | Přemysl Eric Janouch | 2022-06-04 | 3 | -11/+12 |
| | |||||
* | Cache thumbnails across reloads | Přemysl Eric Janouch | 2022-06-04 | 1 | -7/+34 |
| | | | | | | | | | This will speed up sort changes, as well as simple reloads, at the cost of an extra hash map from URIs to Cairo surface references. It seems unnecessary to provide an explicit option to flush this cache, as it may be cleared by changing either the directory or the current thumbnail size. | ||||
* | Attach mtime to the browser's rescaled thumbnails | Přemysl Eric Janouch | 2022-06-04 | 1 | -1/+14 |
| | |||||
* | Use the model's mtime for validating thumbnails | Přemysl Eric Janouch | 2022-06-04 | 4 | -21/+15 |
| | | | | | Saves a syscall, generalizes fiv_thumbnail_lookup(), wastes a tiny bit of memory per entry. | ||||
* | Expose the mtime of the model's entries | Přemysl Eric Janouch | 2022-06-04 | 5 | -41/+42 |
| | |||||
* | Plug two memory leaks | Přemysl Eric Janouch | 2022-06-04 | 2 | -6/+6 |
| | |||||
* | Fix sort changes taking way too much time | Přemysl Eric Janouch | 2022-06-02 | 1 | -2/+8 |
| | | | | | | All thumbnails were reloaded five times on each change. GTK+/GObject's behaviour doesn't make a lot of sense, but such is life. | ||||
* | Bump spng wrap | Přemysl Eric Janouch | 2022-04-20 | 1 | -4/+4 |
| | |||||
* | Fix loading huge JPEGs | Přemysl Eric Janouch | 2022-03-09 | 2 | -0/+31 |
| | | | | | | | | They fell back to gdk-pixbuf, then misrendered in the thumbnailer, and crashed the program when loaded directly. The second best we can do is scale them down, right after tiling, which is a complex feature to add. | ||||
* | Prevent thumbnailing from disrupting mouse clicks | Přemysl Eric Janouch | 2022-02-24 | 1 | -9/+9 |
| |