Commit Graph

519 Commits

Author SHA1 Message Date
62d82f38c8
Fix LibRaw 0.21.0 build 2022-12-23 17:17:33 +01:00
c063d93dc7
Fix LibRaw 0.21.0 build 2022-12-23 17:04:15 +01:00
0317b88c87
Don't require asciidoctor or a2x, import liberty 2022-10-09 01:24:03 +02:00
1431188e27
Update a comment 2022-10-04 00:54:14 +02:00
9cdc641b0a
Center view rotations/flips 2022-10-03 23:00:16 +02:00
7b88e89489
Allow dragging with the middle mouse button 2022-09-03 16:17:21 +02:00
9c2d659d89
Update .gitignore 2022-08-24 05:24:00 +02:00
9fb90607ad
Add a traditional manual page for fiv 2022-08-24 05:23:34 +02:00
dd09af34b7
Make binaries say what git commit they come from
The manual skipping of the initial "v" from tag names is unfortunate,
but still a bit better than further cluttering up the build system.
2022-08-13 12:42:21 +02:00
dcbc8a90b4
meson.build: add a bunch of validating tests 2022-08-12 15:49:57 +02:00
7cbd24dd2f
Bundle a fuller installation of Perl/ExifTool
wperl is necessary to get rid of the console window,
which is merely one of several issues with the PAR Packer-based
ExifTool bundle used in the last commit.

The Perl installation could be heavily trimmed down,
but it seems to require a very manual process.
2022-08-11 16:11:07 +02:00
1a163bdb8b
Resolve a few issues with MSYS2 cross-builds
- Fix launching of subprocesses (missing gspawn helpers).
 - Discard unused GSettings schemas.
 - Make the program find its user guide.
 - Bundle a somewhat suboptimal version of ExifTool.
2022-08-11 16:10:04 +02:00
cf19f82875
Automate Windows builds, add icons to executables
Scripts have been ported from sdtui, and adjusted for Meson.

The port is broken through and through on WINE,
but sort-of works natively.
2022-08-11 00:19:59 +02:00
9c9453172a
fiv-jpegcrop: add middle mouse button dragging
Parasitic gesture code previously discarded from fiv gets to live on.
2022-08-10 12:23:31 +02:00
973c024abe
fiv-jpegcrop: without args, show an Open dialog
But let's keep it hidden from application lists for now.
2022-08-10 11:42:16 +02:00
dba2b9c982
Fix the argument list of a callback 2022-08-10 10:22:44 +02:00
b6e1dc4893
Overload the F9 keyboard shortcut
It doesn't make a lot of sense to be able to toggle invisible widgets,
so just make F9 toggle "the toolbar that can currently be seen".

The more permanent setting can be adjusted in GSettings.
2022-08-09 18:03:55 +02:00
f94550ec61
Improve XDG path handling on Windows 2022-08-09 17:29:42 +02:00
69d45fea44
Use a GQueue for thumbnailing
It's mildly less awkward to use, and fixes one complexity issue.
2022-08-09 16:22:27 +02:00
4697a56760
Use cleaner paths when looking up thumbnails 2022-08-09 13:55:17 +02:00
4e11970a7e
Do produce thumbnails of thumbnails, but in memory 2022-08-09 13:22:11 +02:00
ae0b5506ab
Remove a stale comment 2022-08-09 08:31:51 +02:00
701846ab39
Support opening collections of files
Implement a process-local VFS to enable grouping together arbitrary
URIs passed via program arguments, DnD, or the file open dialog.

This VFS contains FivCollectionFile objects, which act as "simple"
proxies over arbitrary GFiles.  Their true URIs may be retrieved
through the "standard::target-uri" attribute, in a similar way to
GVfs's "recent" and "trash" backends.

(The main reason we proxy rather than just hackishly return foreign
GFiles from the VFS is that loading them would switch the current
directory, and break iteration as a result.

We could also keep the collection outside of GVfs, but that would
result in considerable special-casing, and the author wouldn't gain
intimate knowledge of GIO.)

There is no perceived need to keep old collections when opening
new ones, so we simply change and reload the contents when needed.

Similarly, there is no intention to make the VFS writeable.

The process-locality of this and other URI schemes has proven to be
rather annoying when passing files to other applications,
however most of the resulting complexity appears to be essential
rather than accidental.

Note that the GTK+ file chooser widget is retarded, and doesn't
recognize URIs that lack the authority part in the location bar.
2022-08-08 18:06:50 +02:00
4927c8c692
Don't crash on orphan URIs 2022-08-08 15:14:20 +02:00
e6341e59bb
Make Information easier to control from keyboard 2022-08-06 07:49:01 +02:00
33fb047a73
Make Alt+Return work in the browser as well 2022-08-06 07:49:01 +02:00
215141856a
Add a mnemonic to the Information menu item 2022-08-06 07:49:01 +02:00
086dd66aa9
Add the information dialog to context menus
Images don't need to be open for ExifTool to work.

This also enables inspecting unsupported files, such as video.
2022-08-05 11:38:12 +02:00
8c6fe0ad32
Integrate dconf-editor
This is a more than adequate solution for now.
2022-08-05 09:58:04 +02:00
ca51c9413b
Show parse names in Information dialog subtitles 2022-08-05 08:57:55 +02:00
857917aa92
Make file information retrieval asynchronous
Also, make error output scrollable.
2022-08-05 08:03:37 +02:00
51dc56c9df
Improve support for opening HTTP URIs
While all GVfs files implement the mountable interface,
mounting may not actually achieve anything.
2022-08-05 04:15:42 +02:00
bb669743b6
Fix default filenames in the "Save as" dialog
- Don't assume the filesystem is in UTF-8.
 - Don't try to extract basenames directly from URIs.
2022-08-05 04:15:37 +02:00
d590d1da46
Add support for copying to clipboard 2022-08-04 00:35:22 +02:00
d1d9caaa5e
Capitalize modifier names, prefer Command on macOS
So far, the macOS special casing is only partial.

Also, GtkShortcutsWindow confusingly labels Command as Meta.
2022-08-04 00:34:05 +02:00
5bae7c1bd2
Use gdk_event_triggers_context_menu() 2022-08-03 21:37:45 +02:00
6f83d1dceb
Minor improvements for the user guide 2022-08-01 02:38:30 +02:00
ab70b30053
Centre ultra-wide items vertically
Overall, this looks better, even though we lose a baseline of sorts.
2022-07-31 04:35:04 +02:00
ea75579b33
Fix a crash with empty exiftool stderr output 2022-07-31 03:54:53 +02:00
8437164dec
Try a bit harder to get a file's local path 2022-07-31 02:52:20 +02:00
fec64d5595
Support file information for non-local files 2022-07-31 01:14:42 +02:00
fefb4c16ac
Support file information for FUSE-mounted paths 2022-07-31 00:12:53 +02:00
6baf1a7bbd
Make the switch-to-browser button select last file
Before, it was only possible to achieve the same result using keyboard.
2022-07-26 00:31:43 +02:00
78636fdc18
Add sidebar/toolbar toggles to GSettings 2022-07-25 23:20:30 +02:00
e18f729488
Add thumbnail size to GSettings 2022-07-25 21:09:15 +02:00
9f1041988d
Add a dark theme toggle to GSettings 2022-07-25 20:27:36 +02:00
fa034a1a6a
Handle gdk-pixbuf's dynamic format support better
If we use it, install an update script.
2022-07-25 19:05:37 +02:00
dcc5b6c719
Use GSettings for a new native window toggle
Also, redo desktop files handling.
2022-07-25 19:05:27 +02:00
eca319e5e4
Extend a comment 2022-07-24 22:46:03 +02:00
817f1b6000
Support colour management on Windows
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.
2022-07-23 22:59:29 +02:00