aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a dark theme toggle to GSettingsPřemysl Eric Janouch2022-07-252-7/+20
|
* Handle gdk-pixbuf's dynamic format support betterPřemysl Eric Janouch2022-07-252-20/+23
| | | | If we use it, install an update script.
* Use GSettings for a new native window togglePřemysl Eric Janouch2022-07-255-12/+54
| | | | Also, redo desktop files handling.
* Extend a commentPřemysl Eric Janouch2022-07-241-0/+1
|
* Support colour management on WindowsPřemysl Eric Janouch2022-07-231-0/+27
| | | | | | There is also an alternative WcsGetDefaultColorProfile() path that might be necessary on some broken versions of Microsoft Windows, which I certainly do not want to support.
* Make the window assume a centred position on macOSPřemysl Eric Janouch2022-07-231-0/+10
| | | | | | Windows and Linux applications are more likely to not bother, and their desktop environments don't place windows right in the corner, which is what happens with GTK+/macOS.
* Work around broken Cairo Quartz backend on macOSPřemysl Eric Janouch2022-07-231-38/+62
| | | | Pre-render the padded pattern, costing us 2 megabytes of memory there.
* Don't eat application launch errorsPřemysl Eric Janouch2022-07-231-3/+6
|
* Make the jpeg-quantsmooth wrap work on DebianPřemysl Eric Janouch2022-07-232-7/+17
| | | | Sadly, it's not possible to delete files using patch_directory.
* Fix the remaining Windows build errorPřemysl Eric Janouch2022-07-231-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.adocPřemysl Eric Janouch2022-07-221-2/+2
|
* Fix thumbnail passing on WindowsPřemysl Eric Janouch2022-07-221-0/+9
| | | | LF was converted to CR LF, systematically corrupting bitmap data.
* Fix a function name conflict on Mingw-w64Přemysl Eric Janouch2022-07-221-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/macOSPřemysl Eric Janouch2022-07-221-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 breadcrumbsPřemysl Eric Janouch2022-07-221-5/+56
| | | | | The drag gesture needs to be disabled there, because touch drags fail in an unfortunate way.
* Print errors from launching new instancesPřemysl Eric Janouch2022-07-211-3/+5
|
* Only offer horizontal browser scrolling if usefulPřemysl Eric Janouch2022-07-211-13/+19
| | | | Motivated by small screens.
* Use GDK event handling return value constantsPřemysl Eric Janouch2022-07-212-34/+35
|
* Fix touch screen drag scrolling in the browserPřemysl Eric Janouch2022-07-211-7/+20
|
* Handle the long press gesture on browser itemsPřemysl Eric Janouch2022-07-212-2/+42
| | | | Unfortunately, this doesn't work on X11, though Wayland seems fine.
* Mildly improve Windows portabilityPřemysl Eric Janouch2022-07-211-3/+3
|
* Remove forgotten include directivePřemysl Eric Janouch2022-07-201-2/+0
|
* Add missing array sentinel valuePřemysl Eric Janouch2022-07-191-1/+2
|
* Fix the About dialog animation on macOSPřemysl Eric Janouch2022-07-171-0/+11
|
* Add a key binding for keeping the zoom/positionPřemysl Eric Janouch2022-07-172-1/+3
|
* Support horizontal scrolling in the browserPřemysl Eric Janouch2022-07-171-1/+8
| | | | An unlikely situation.
* Add ability to keep zoom/position when browsingPřemysl Eric Janouch2022-07-176-4/+189
|
* Improve the workaround for native GdkWindowsPřemysl Eric Janouch2022-07-171-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 issuePřemysl Eric Janouch2022-07-171-2/+8
|
* Center zoom around pointer or middle of the viewPřemysl Eric Janouch2022-07-171-16/+53
|
* Let FivView take care of its drag gesturePřemysl Eric Janouch2022-07-172-77/+79
| | | | Making the GtkScrolledWindow's scrollbars draggable again.
* Implement GtkScrollable in FivViewPřemysl Eric Janouch2022-07-172-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 bitPřemysl Eric Janouch2022-07-161-26/+16
|
* Support dragging the viewPřemysl Eric Janouch2022-07-152-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 WaylandPřemysl Eric Janouch2022-07-152-3/+37
| | | | And generally clear up scroll handling.
* Discard the inner sidebar's size requestPřemysl Eric Janouch2022-07-141-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 Janouch2022-07-141-12/+24
| | | | | Fixing a portability issue on Windows, where we still aim to use the shared-mime-info database.
* Add a context menu to breadcrumbsPřemysl Eric Janouch2022-07-041-2/+34
|
* Move the browser's popup menu to its own filePřemysl Eric Janouch2022-07-044-183/+222
|
* Decode bitmap thumbnails through LibRaw as wellPřemysl Eric Janouch2022-06-101-1/+72
|
* Generate TIFF structs/enums from a text filePřemysl Eric Janouch2022-06-104-504/+531
| | | | This is to make the tables much easier to maintain.
* Build tools with Meson as wellPřemysl Eric Janouch2022-06-105-21/+17
|
* Downscale embedded thumbnails within minionsPřemysl Eric Janouch2022-06-083-67/+76
| | | | Otherwise the UI would become unresponsive during loading.
* Employ embedded thumbnail extractionPřemysl Eric Janouch2022-06-081-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 thumbnailsPřemysl Eric Janouch2022-06-084-71/+161
| | | | | Only use LibRaw for now, which probably has the most impact using the least amount of effort.
* Add flags to the serialization protocolPřemysl Eric Janouch2022-06-083-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 upPřemysl Eric Janouch2022-06-0510-48/+48
| | | | Use gchar when memory is allocated through GLib.
* Get rid of our spng dependencyPřemysl Eric Janouch2022-06-046-140/+189
| | | | Thumbnails can be properly loaded using Wuffs now.
* Bump Wuffs, support partial PNGs through itPřemysl Eric Janouch2022-06-043-11/+12
|
* Cache thumbnails across reloadsPřemysl Eric Janouch2022-06-041-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.