aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix high-DPI scaling with OpenGLPřemysl Eric Janouch2024-04-131-1/+5
| | | | We used to render multiple copies (four for a scaling factor of 2).
* Fix openSUSE 15.5 and Win32 buildsPřemysl Eric Janouch2024-04-061-1/+2
|
* Add an experimental OpenGL rendererPřemysl Eric Janouch2024-03-131-6/+406
|
* Prepare for parallelized colour managementPřemysl Eric Janouch2024-01-281-2/+6
| | | | | | | | | This rewrite is more or less necessary for: - colour-managed browser thumbnails, - asynchronous image loading, - turning fiv-io into a reusable library. Little CMS has a fairly terrible API in this regard.
* Move colour management to its own compilation unitPřemysl Eric Janouch2024-01-261-4/+4
| | | | | | Also make it apparent that CMM profiles are pointer types. This isn't all that pretty, but it's a necessary first step.
* Resolve spurious overshoot indicatorsPřemysl Eric Janouch2023-12-281-2/+4
| | | | | _gtk_scrolled_window_get_overshoot() decrements the page size from the upper value before using it for comparisons.
* Make multi-monitor CM work better with xiccdPřemysl Eric Janouch2023-10-171-14/+24
| | | | Let's assume the profile it picks is appropriate for all monitors.
* Slightly optimize SVG loadingPřemysl Eric Janouch2023-07-091-0/+9
|
* Colour-manage SVGsPřemysl Eric Janouch2023-07-091-1/+2
|
* Implement our own Preferences dialogPřemysl Eric Janouch2023-06-241-0/+1
| | | | And fix a resource leak.
* Improve looped animation behaviourPřemysl Eric Janouch2023-06-241-6/+17
|
* Stop abusing Cairo user data, part 2Přemysl Eric Janouch2023-06-241-74/+56
| | | | | With the shift from cairo_surface_t, we've lost our ability to directly render vector surfaces, but it doesn't matter.
* Stop abusing Cairo user data, part 1Přemysl Eric Janouch2023-06-241-1/+2
| | | | This commit temporarily breaks multi-page images and animations.
* Make the mirror command intuitivePřemysl Eric Janouch2023-03-251-4/+4
|
* Center view rotations/flipsPřemysl Eric Janouch2022-10-031-36/+95
|
* Allow dragging with the middle mouse buttonPřemysl Eric Janouch2022-09-031-1/+12
|
* Add the information dialog to context menusPřemysl Eric Janouch2022-08-051-274/+2
| | | | | | Images don't need to be open for ExifTool to work. This also enables inspecting unsupported files, such as video.
* Show parse names in Information dialog subtitlesPřemysl Eric Janouch2022-08-051-0/+7
|
* Make file information retrieval asynchronousPřemysl Eric Janouch2022-08-051-80/+157
| | | | Also, make error output scrollable.
* Fix default filenames in the "Save as" dialogPřemysl Eric Janouch2022-08-051-10/+10
| | | | | - Don't assume the filesystem is in UTF-8. - Don't try to extract basenames directly from URIs.
* Add support for copying to clipboardPřemysl Eric Janouch2022-08-041-0/+31
|
* Capitalize modifier names, prefer Command on macOSPřemysl Eric Janouch2022-08-041-8/+12
| | | | | | So far, the macOS special casing is only partial. Also, GtkShortcutsWindow confusingly labels Command as Meta.
* Fix a crash with empty exiftool stderr outputPřemysl Eric Janouch2022-07-311-12/+17
|
* Try a bit harder to get a file's local pathPřemysl Eric Janouch2022-07-311-1/+24
|
* Support file information for non-local filesPřemysl Eric Janouch2022-07-311-19/+32
|
* Support file information for FUSE-mounted pathsPřemysl Eric Janouch2022-07-311-3/+8
|
* Use GSettings for a new native window togglePřemysl Eric Janouch2022-07-251-1/+3
| | | | Also, redo desktop files handling.
* 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.
* Use GDK event handling return value constantsPřemysl Eric Janouch2022-07-211-6/+7
|
* Handle the long press gesture on browser itemsPřemysl Eric Janouch2022-07-211-2/+2
| | | | Unfortunately, this doesn't work on X11, though Wayland seems fine.
* Add a key binding for keeping the zoom/positionPřemysl Eric Janouch2022-07-171-0/+1
|
* Add ability to keep zoom/position when browsingPřemysl Eric Janouch2022-07-171-2/+27
|
* 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-171-4/+79
| | | | Making the GtkScrolledWindow's scrollbars draggable again.
* Implement GtkScrollable in FivViewPřemysl Eric Janouch2022-07-171-27/+142
| | | | | This fixes rendering and positioning behaviour when dragging on X11, where we aim to use a native GdkWindow.
* Support dragging the viewPřemysl Eric Janouch2022-07-151-2/+6
| | | | | | | | | 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-151-1/+1
| | | | And generally clear up scroll handling.
* Clean upPřemysl Eric Janouch2022-06-051-2/+2
| | | | Use gchar when memory is allocated through GLib.
* Redirect warnings to the info barPřemysl Eric Janouch2022-01-241-21/+31
| | | | | | And speed up thumbnailing of animated images while at it. Also, fix thumbnailing SVGs with external links.
* Redirect image open failure messagesPřemysl Eric Janouch2022-01-241-20/+42
| | | | | | | 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.
* Fix a case in orientation mirroringPřemysl Eric Janouch2022-01-231-1/+1
|
* Scale SVGs accurately in the viewing widgetPřemysl Eric Janouch2022-01-231-13/+52
|
* Put reloading the image as its own actionPřemysl Eric Janouch2022-01-121-0/+6
|
* Handle view bindings through an action signalPřemysl Eric Janouch2022-01-091-96/+86
| | | | This makes them adjustable.
* Bump more copyright yearsPřemysl Eric Janouch2022-01-071-1/+1
|
* Fix SVG thumbnailingPřemysl Eric Janouch2022-01-071-25/+14
| | | | They're not loaded as image surfaces.
* Rename the whole project shorterPřemysl Eric Janouch2022-01-051-1/+1
| | | | | | | 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.
* Convert all loading to use GFilePřemysl Eric Janouch2021-12-301-14/+27
| | | | Now we're able to make use of GVfs, with some caveats.