aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Hardcode Exif orientation in thumbnailsPřemysl Eric Janouch2021-12-281-59/+14
|
* Implement trivial wide thumbnail productionPřemysl Eric Janouch2021-12-271-25/+15
| | | | Also make libwebp a required dependency.
* Avoid double CM in saved WebPsPřemysl Eric Janouch2021-12-261-4/+13
|
* Add a few keyboard shortcutsPřemysl Eric Janouch2021-12-251-0/+4
|
* Use Little CMS for JPEG colour managementPřemysl Eric Janouch2021-12-241-18/+100
|
* Avoid enhancing just opened imagesPřemysl Eric Janouch2021-12-221-1/+1
|
* Integrate jpeg-quantsmoothPřemysl Eric Janouch2021-12-221-1/+45
| | | | Also, don't pointlessly store JPEGs in an ARGB Cairo surface.
* Make file information fields selectablePřemysl Eric Janouch2021-12-221-42/+58
| | | | Get rid of useless GtkTreeView.
* Temporarily put file information in GtkTreeViewPřemysl Eric Janouch2021-12-211-14/+70
| | | | It's aligned and prettier than the label before, but it sucks ass.
* Add a file information dialog based on ExifToolPřemysl Eric Janouch2021-12-211-0/+78
| | | | Right now, it isn't very pleasing to use.
* Add zooming to fit width/height if largerPřemysl Eric Janouch2021-12-211-35/+54
| | | | Also, mildly refactor get_surface_dimensions().