Přemysl Eric Janouch
5fea2245f1
Remove insanity
2021-11-21 20:47:07 +01:00
Přemysl Eric Janouch
2b17ed838a
Add ability to use different thumbnail sizes
2021-11-21 20:19:25 +01:00
Přemysl Eric Janouch
f4b727589b
Update README
...
I've noticed people often desire editing capabilities,
which is an unreasonable expectation.
2021-11-21 15:45:35 +01:00
Přemysl Eric Janouch
c77bccccb8
Implement filtering by supported extensions
2021-11-21 11:01:30 +01:00
Přemysl Eric Janouch
6dd0414d0a
Sort files and directories by name
2021-11-21 00:22:29 +01:00
Přemysl Eric Janouch
8376ae9c4a
Add some custom action buttons to the sidebar
...
So far they're inactive, and do not do anything.
Change the icon for the current directory to stand out.
2021-11-20 22:02:02 +01:00
Přemysl Eric Janouch
5ebfebb8fc
Make the browser grab focus when clicked
2021-11-20 18:46:38 +01:00
Přemysl Eric Janouch
35500b8697
Readjust meson.build to jpakkane's brain damage
2021-11-20 14:35:17 +01:00
Přemysl Eric Janouch
803f841463
Fix key handling and Meson
2021-11-20 14:28:32 +01:00
Přemysl Eric Janouch
09547184c3
Fix an embarrassing crash on directory change
2021-11-20 13:18:31 +01:00
Přemysl Eric Janouch
2b8350eceb
Fix some issues with browser/view switching
2021-11-20 13:04:26 +01:00
Přemysl Eric Janouch
75994cd85a
Make a middle click open items in a new instance
2021-11-20 12:45:33 +01:00
Přemysl Eric Janouch
3e9a388537
Load symbolic icons as a fallback
...
Now there are no missing items in the browsers.
2021-11-20 12:35:28 +01:00
Přemysl Eric Janouch
6eb78f1a5c
Make C-l interpret relative paths better
...
It is quite hard to make this work good. At least it's not terrible.
2021-11-19 23:11:11 +01:00
Přemysl Eric Janouch
216767d7ee
Add a customized sidebar widget
...
Slowly eliminating all potential uses of GTK+'s standalone
file open dialog, which is highly duplicitous.
2021-11-19 20:03:43 +01:00
Přemysl Eric Janouch
3bc07e00d9
Enable opening from sidebar in a new window
2021-11-18 22:08:45 +01:00
Přemysl Eric Janouch
9e45ba249e
Bind fullscreen switching
...
Also, move Tab/Enter bindings to the view's key press handler.
2021-11-18 22:08:45 +01:00
Přemysl Eric Janouch
b23198f675
Try to use more screen real estate by default
2021-11-18 22:08:36 +01:00
Přemysl Eric Janouch
411f0b3e91
Bind F5 and r to refreshing the directory
2021-11-18 13:58:46 +01:00
Přemysl Eric Janouch
f8526d486a
Do not lie as much in the desktop file
2021-11-18 13:41:58 +01:00
Přemysl Eric Janouch
06af1a3cc9
Add a command line option to list supported types
...
Make it work without a display connection.
2021-11-18 12:46:05 +01:00
Přemysl Eric Janouch
47293cfc10
Make the forward mouse button go back to the view
...
For symmetry.
2021-11-18 12:46:04 +01:00
Přemysl Eric Janouch
d7a25ad894
Make the Open dialog useful
...
In the meantime.
2021-11-18 11:21:21 +01:00
Přemysl Eric Janouch
0433c1a027
Add a sidebar with places
...
It happens to fix an issue with scroll offset resets in the browser.
Otherwise, it's very much WIP.
2021-11-18 10:37:47 +01:00
Přemysl Eric Janouch
e045a35437
Fix loading of opaque GIFs
2021-11-18 10:37:47 +01:00
Přemysl Eric Janouch
61225574d3
Actually fix adding to the list of recent files
2021-11-18 10:37:47 +01:00
Přemysl Eric Janouch
db7a28b187
Add support for opening Xcursor files
...
Sadly, they don't have a canonical extension, and they don't show up
in the browser. We might want to employ some level of sniffing.
The first 16 bytes are enough to identify a lot.
2021-11-17 13:49:15 +01:00
Přemysl Eric Janouch
e8754f43a6
Fix zooming in through the keyboard
2021-11-17 08:38:45 +01:00
Přemysl Eric Janouch
6eec8e7360
Fix adding images to the list of recent files
2021-11-16 14:57:02 +01:00
Přemysl Eric Janouch
c4d58cb9ad
Prefer the dark theme variant
2021-11-16 14:57:02 +01:00
Přemysl Eric Janouch
9bebb0a3fe
Make this work at all in macOS/Homebrew
2021-11-16 08:51:29 +01:00
Přemysl Eric Janouch
11b7969459
Support opaque 16-bit images as RGB30 with Wuffs
...
Do not check whether the window's visual can make use of them,
since they're arguably rare enough.
With transparent images, we're limited by Cairo's formats.
2021-11-15 14:21:22 +01:00
Přemysl Eric Janouch
e835c889a1
Don't use a side buffer to load thumbnails
...
Undoing part of a recent commit.
2021-11-15 10:30:02 +01:00
Přemysl Eric Janouch
6f86911df6
Slightly optimize thumbnail loading
...
Now it translates to just x86 bswap and ror.
2021-11-15 09:47:00 +01:00
Přemysl Eric Janouch
37adaac965
Let modified wheel events scroll the view
2021-11-14 03:37:09 +01:00
Přemysl Eric Janouch
1dce2e079c
Fix a typo
2021-11-14 03:37:08 +01:00
Přemysl Eric Janouch
c905f64d12
Expose view settings as GObject properties
2021-11-14 02:48:11 +01:00
Přemysl Eric Janouch
1f0d6b24d8
Cache the browser's GDK cursor object
2021-11-13 13:40:46 +01:00
Přemysl Eric Janouch
7d972e9334
Add scaling to fit, make this the default
2021-11-13 12:47:10 +01:00
Přemysl Eric Janouch
b8cc43eb91
Bind the mouse back button on the view
2021-11-13 10:05:05 +01:00
Přemysl Eric Janouch
a1db89d91c
Make scaling accessible from the keyboard
2021-11-13 09:51:16 +01:00
Přemysl Eric Janouch
73dd5bf1a0
Improve key handling
...
Iteration should be limited to the view.
g_signal_connect_after() did not work as I hoped it would.
2021-11-13 09:41:37 +01:00
Přemysl Eric Janouch
7dba21c6d8
Use the hand/pointer cursor in the browser
...
Also, fix the build.
2021-11-13 09:21:28 +01:00
Přemysl Eric Janouch
d20c6469c0
Clean up
2021-11-13 09:06:01 +01:00
Přemysl Eric Janouch
f7c1006053
Actually add gdk-pixbuf to dependencies
2021-11-12 13:42:59 +01:00
Přemysl Eric Janouch
f74e7c34d5
Tell wrapped spng to give us a static library
2021-11-12 13:02:57 +01:00
Přemysl Eric Janouch
3299cbf825
Parallelize thumbnail loading
...
GLib makes this easy.
They should all be local, and fast to access, so the CPU is the limit.
2021-11-12 12:22:36 +01:00
Přemysl Eric Janouch
972bd80fa5
Add a Meson wrap for spng
2021-11-12 11:49:12 +01:00
Přemysl Eric Janouch
21b110a7d6
Use spng to load thumbnails
...
Speed matters here, and this makes us about 20 percent faster
at loading large directories.
Moreover, libpng's PNG_ALPHA_BROKEN is indeed broken.
Thumbnails have a fairly fixed format, so there are very few practical
corner cases that could have been missed.
2021-11-12 11:45:34 +01:00
Přemysl Eric Janouch
afc08df234
Fix GtkWidget::key-press-event callback prototype
2021-11-12 11:45:34 +01:00