Commit Graph

377 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 0a6b06d1d0
Fix browsing the "resource" GVfs schema 2022-01-05 07:59:18 +01:00
Přemysl Eric Janouch d889acc315
Show available protocols in open location dialog 2022-01-05 07:59:18 +01:00
Přemysl Eric Janouch 6142bf9c53
Automount from location input 2022-01-05 06:40:39 +01:00
Přemysl Eric Janouch 244779bd8c
Factor out make_browser_sidebar()
It's a very mild improvement, but an improvement nonetheless.
2022-01-05 05:17:18 +01:00
Přemysl Eric Janouch 685defa684
Rename the whole project shorter
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.
2022-01-05 04:45:46 +01:00
Přemysl Eric Janouch b935b0baf8
Use a unified filesystem model
This removes some duplication of effort.

So far, sorting adjustments are not exposed in the UI.
2022-01-05 03:48:22 +01:00
Přemysl Eric Janouch 2ac918b7ab
A bunch of additional fixes 2021-12-31 03:43:51 +01:00
Přemysl Eric Janouch 5f8dc88fa7
Minor URL-related fix-ups 2021-12-31 00:41:04 +01:00
Přemysl Eric Janouch 380ddd540b
Convert all loading to use GFile
Now we're able to make use of GVfs, with some caveats.
2021-12-30 22:32:29 +01:00
Přemysl Eric Janouch 8b232dc444
Add pointless likelihood macros 2021-12-30 21:49:00 +01:00
Přemysl Eric Janouch fa69935e67
Document our thumbnails 2021-12-29 21:17:30 +01:00
Přemysl Eric Janouch 4832474c5f
Partially colour-manage TIFFs 2021-12-29 02:46:40 +01:00
Přemysl Eric Janouch 0110e0a5d2
Check wide thumbnail metadata 2021-12-29 01:55:05 +01:00
Přemysl Eric Janouch c49e58a0ba
Fix thumbnailing cancellation
Everything's according to GAsyncResult documentation.
2021-12-28 23:49:35 +01:00
Přemysl Eric Janouch 98bdab443a
Hardcode Exif orientation in thumbnails 2021-12-28 23:29:58 +01:00
Přemysl Eric Janouch bf47782f0a
Move thumbnails into their own source file
And clean up identifiers.
2021-12-28 20:18:25 +01:00
Přemysl Eric Janouch c1af556751
Load back wide thumbnail metadata 2021-12-28 19:59:31 +01:00
Přemysl Eric Janouch 2d86ffed34
Save thumbnails lossily, with metadata 2021-12-28 18:54:27 +01:00
Přemysl Eric Janouch aaa7cb93c3
Fix transparent gdk-pixbuf loading 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch d4b51f07b5
Avoid unused alpha channels when rescaling 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch 720464327c
Clean up 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch ad1ff06aff
Avoid producing thumbnails of thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch af2eb411d9
Try to regenerate low quality thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch 004919cbc5
Clean up
This makes the thumbnailer able to load at most one directory,
which we don't particularly mind.
2021-12-28 00:37:55 +01:00
Přemysl Eric Janouch 336053f24d
Implement trivial wide thumbnail production
Also make libwebp a required dependency.
2021-12-27 21:51:01 +01:00
Přemysl Eric Janouch 2f993502fc
Make use of gAMA and sRGB PNG chunks
Neither EoG nor gThumb handle this correctly.
2021-12-26 03:25:38 +01:00
Přemysl Eric Janouch e5b1a1861c
Avoid double CM in saved WebPs 2021-12-26 02:02:57 +01:00
Přemysl Eric Janouch e37acf365a
Colour manage all WebP forms
It could be done better, but at least it works at all.
2021-12-26 01:14:27 +01:00
Přemysl Eric Janouch ccf15bc8ae
Almost fully colour-managed Wuffs (BMP, GIF, PNG) 2021-12-25 21:53:39 +01:00
Přemysl Eric Janouch 5e4476ff71
Improve gdk-pixbuf colour management 2021-12-25 19:15:54 +01:00
Přemysl Eric Janouch 035997750e
Add a few keyboard shortcuts 2021-12-25 18:28:37 +01:00
Přemysl Eric Janouch 7a4b5cd065
Colour manage opaque, up to 8-bit images 2021-12-25 18:28:37 +01:00
Přemysl Eric Janouch 40c1f8327e
Use Little CMS for JPEG colour management 2021-12-24 14:19:22 +01:00
Přemysl Eric Janouch 6419209c98
Avoid enhancing just opened images 2021-12-22 14:26:53 +01:00
Přemysl Eric Janouch 2d4cab52b3
Integrate jpeg-quantsmooth
Also, don't pointlessly store JPEGs in an ARGB Cairo surface.
2021-12-22 14:20:39 +01:00
Přemysl Eric Janouch 46edd4406c
Make file information fields selectable
Get rid of useless GtkTreeView.
2021-12-22 08:38:19 +01:00
Přemysl Eric Janouch b35590a51c
Temporarily put file information in GtkTreeView
It's aligned and prettier than the label before, but it sucks ass.
2021-12-21 19:27:09 +01:00
Přemysl Eric Janouch 9899a26635
Add a file information dialog based on ExifTool
Right now, it isn't very pleasing to use.
2021-12-21 13:05:11 +01:00
Přemysl Eric Janouch 24f9d21ca7
Clean up
Get rid of undesired indentation.
2021-12-21 08:43:47 +01:00
Přemysl Eric Janouch ad29013e44
Add zooming to fit width/height if larger
Also, mildly refactor get_surface_dimensions().
2021-12-21 08:13:31 +01:00
Přemysl Eric Janouch 33851295d8
Bind M-Home to going to the home directory 2021-12-21 07:20:06 +01:00
Přemysl Eric Janouch 46f90f2f35
Improve the "Save as" dialog, clean up 2021-12-21 06:31:52 +01:00
Přemysl Eric Janouch 9ba3679e89
Make use of GtkShortcutsWindow 2021-12-20 16:04:50 +01:00
Přemysl Eric Janouch 6a61d01f4d
Bind hiding the toolbar 2021-12-20 12:15:52 +01:00
Přemysl Eric Janouch f435252492
Add a checkerboard toggle 2021-12-20 11:53:17 +01:00
Přemysl Eric Janouch dfa1fed18b
Add a context menu to opened directories
So that they can be opened with, e.g., Thunar.
2021-12-20 10:15:46 +01:00
Přemysl Eric Janouch 58d11ebbff
Make M-Up go to the parent directory
As in Windows Explorer and other software.
2021-12-20 09:58:41 +01:00
Přemysl Eric Janouch 1221325b3e
Stop forcing a dark theme variant
And make it so that both Adwaita variants look okay.
2021-12-20 07:22:24 +01:00
Přemysl Eric Janouch c3eb5ca170
Simplify toolbar separators 2021-12-20 05:34:12 +01:00
Přemysl Eric Janouch 9c0e9d8d49
Stretch the toolbar across the window
The division is kind of logical, it might make sense for the view
to create the center widget, then we'd get rid of some recently added
GObject boilerplate.

Only make_separator() is kind of annoying.
2021-12-20 05:33:27 +01:00