~exec64

London

https://harry.pm

~exec64/imv-devel

Last active 2 months ago

~exec64/imv-announce

Last active 9 months ago

~exec64/public-inbox

Last active 1 year, 8 days ago
View more

Recent activity

Re: Trying to understand imv's anti-aliasing. Can I switch this off? 8 months ago

From Harry Jeffery to ~exec64/imv-devel

Hi Jaime,

I think you may be seeing the effects of the upscaling_method option. It 
affects images are scaled up by imv. 'linear' does smooth interpolation, 
and is the default, 'nearest_neighbour' will pick the value of the 
closest pixel which is what you'd want for pixel art.

Hopefully that helps.

Harry

Re: [PATCH imv] title_text: remove trailing whitespace typo 8 months ago

From Harry Jeffery to ~exec64/imv-devel

Hi Johannes,

Thanks for the patch, though this isn't actually a typo. The whitespace 
here is re-inserting the separator between each word after the word has 
been expanded. This does result in an extra whitespace at the end of the 
output, which could be addressed, but we do still need to keep the 
whitespace between words.

Harry

On 2022-01-11 11:54, Johannes Knoll wrote:
> src/imv.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Re: Meson/Ninja? 9 months ago

From Harry Jeffery to ~skeeto/public-inbox

 > Looking more closely at Meson now, I see its written in Python. This
 > is an inappropriate implementation language for a build system, and
 > more than enough reason enough for me to never touch it.

For what it's worth you're not the only one to feel that way. There is a 
C implementation of meson on sourcehut that seems to be actively 
developed: https://sr.ht/~lattis/muon/

Obviously that doesn't change the value proposition of why you'd use 
meson instead of make, but it does help cut an unnecessary python 
dependency.

Harry

Re: [PATCH imv] console: update libgrapheme API to version 1 9 months ago

From Harry Jeffery to ~exec64/imv-devel

Thanks! Applied and pushed.

Re: Endless spawning of magick 9 months ago

From Harry Jeffery to ~exec64/imv-devel

That does sound similar to the previous issue. Are you using wayland or 
x11? Presumably it's an issue with auto-repeat triggering that binding 
multiple times. Either there's an issue with the input handling logic, 
or it's unavoidable in which case perhaps imv should ignore key repeat 
events after some threshold since the previous one.

imv v4.3.1 released 9 months ago

From Harry Jeffery to ~exec64/imv-announce

I have released imv v4.3.1 as a hotfix to v4.3.0. This release fixes imv 
crashing on startup[1] when used with the latest version of wlroots.

tag v4.3.1: ad33be2999558a8c53c86b3e632581e5208fa580
git: https://git.sr.ht/~exec64/imv/tree/v4.3.1
tarball: https://git.sr.ht/~exec64/imv/archive/v4.3.1.tar.gz

[1] https://todo.sr.ht/~exec64/imv/1

Harry

Re: [PATCH v2] Add support for libgrapheme as an icu replacement 9 months ago

From Harry Jeffery to ~exec64/imv-devel

> Here is the second version of the patch for libgrapheme.

Thanks! I gave it a slight tweak and polish, since I realised the logic I
suggested had a bug in next_char. Changes pushed.

Re: [PATCH imv] Add method to name window through args 9 months ago

From Harry Jeffery to ~exec64/imv-devel

> [PATCH]

Thanks, applied and pushed!

> Sorry for the incorrect format of my previous patch email.

No problem, I hadn't yet figured out how to trigger the CI via email yet
myself either, or documented it.

Re: [PATCH] Add support for libgrapheme as an icu replacement 9 months ago

From Harry Jeffery to ~exec64/imv-devel

Hi Cem,

Thanks for the patch. I wasn't aware of libgrapheme before and I like its
smaller profile. icu is overkill for imv.

I've got some suggestions for the patch:

Instead of defining new `grapheme_*` functions to be called by
`next_char` and `prev_char`, I think we should replace the `next_char`
and `prev_char` functions entirely with the #ifdefs depending on
whether imv is using icu or grapheme. I also think you could simplify
the prev/next functions a bit beyond what you have currently. The logic
could be something like...

[PATCH sr.ht-docs] chat.sr.ht: Fix typo, newtork -> network 10 months ago

From Harry Jeffery to ~sircmpwn/sr.ht-dev

Signed-off-by: Harry Jeffery <me@harry.pm>
---
 chat.sr.ht/quickstart.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chat.sr.ht/quickstart.md b/chat.sr.ht/quickstart.md
index 62dca8b..228fbc2 100644
--- a/chat.sr.ht/quickstart.md
+++ b/chat.sr.ht/quickstart.md
@@ -26,11 +26,11 @@ section.

[config]: https://git.sr.ht/~emersion/soju/tree/master/item/contrib/clients.md

To set up your bouncer connection, you will need to generate an OAuth 2.0
[message trimmed]