~eliasnaur

~eliasnaur/gio-patches

Last active 13 hours ago

~eliasnaur/gio

Last active a day ago

~eliasnaur/test

Last active 5 months ago
View more

Recent activity

Re: [PATCH] app: Extend CI to build on OpenBSD now that golang.org/x/sys is updated. 13 hours ago

From Elias Naur to ~eliasnaur/gio-patches

Odd, it's usually when manually copy/pasting that `git am` fails...

Anyway, many thanks, applied!

Re: [PATCH] app: Extend CI to build on OpenBSD now that golang.org/x/sys is updated. 14 hours ago

From Elias Naur to ~eliasnaur/gio-patches

I'm having difficulties automatically applying this patch. I get

	$ git am -3 < openbsd.mail
	Applying: I was able to get the Pipe2 syscall added for OpenBSD:
	error: corrupt patch at line 66
	error: could not build fake ancestor
	Patch failed at 0001 I was able to get the Pipe2 syscall added for OpenBSD:
	hint: Use 'git am --show-current-patch' to see the failed patch
	When you have resolved this problem, run "git am --continue".
	If you prefer to skip this patch, run "git am --skip" instead.
	To restore the original branch and stop patching, run "git am --abort".

Did you do something differently from your previous patch that worked fine? If
you can't think of anything, let me know and I'll dig deeper.

Re: [PATCH] cmd/gogio: attempt to fix timeout failures on CI 14 hours ago

From Elias Naur to ~eliasnaur/gio-patches

Thanks. Fingers crossed.

Re: compile android error no NDK >=r19c but Studio says yes a day ago

From Elias Naur to ~eliasnaur/gio

I'm sorry you went to so much trouble without success. I don't
use Windows on a daily basis, so issues such as yours may occur.

I tracked down the error to be caused by a path change in newer
NDKs on Windows. See

	https://git.sr.ht/~eliasnaur/gio/commit/761ab688686529cc1fae66983e188cd49f2dae85

for the fix. Please update your repository and let me know if
you have better luck this time.

-- elias

Re: [PATCH gio] ui/widget: password-mode for editor a day ago

From Elias Naur to ~eliasnaur/gio-patches

On Sat Jan 25, 2020 at 2:32 PM, Виталий Ф. wrote:
> Short resume after some research with io.Reader:
> 1. Easy to implement masked reader
> 2. BUT caret begins to bugging
>
> 
> More info for #2:
> - No such bug before io.Reader usage was introduced.
> - Caret moves by wrong amount of runes (ex: when entering Russian
> symbols on macos).
>
> 
> Due to i didn't know what is a "gap" for (editBuffer), and how to
> handle caret (replacing position calculation with custom func for

Re: [PATCH] Enable OpenBSD 4 days ago

From Elias Naur to ~eliasnaur/gio-patches

On Thu Jan 23, 2020 at 13:54, Aaron Bieber wrote:
> On Thu, 23 Jan 2020 at 19:37:11 +0100, Elias Naur wrote:
> > Nice, thank you!
> > 
> > The patch looks good to me, but I need you to sign off your patch according
> > to https://gioui.org/doc/contribute. Sorry for the trouble.
> > 
> > Two comments below:
> > 
> > On Thu Jan 23, 2020 at 08:32, Aaron Bieber wrote:
> > > Hi,
> > >
> > 
> > Please replace "Hi," with a descriptive subject:

Re: [PATCH] Enable OpenBSD 5 days ago

From Elias Naur to ~eliasnaur/gio-patches

Nice, thank you!

The patch looks good to me, but I need you to sign off your patch according
to https://gioui.org/doc/contribute. Sorry for the trouble.

Two comments below:

On Thu Jan 23, 2020 at 08:32, Aaron Bieber wrote:
> Hi,
>

Please replace "Hi," with a descriptive subject:

app: support OpenBSD

Re: invoke android Activity to pick image from a android gallery 7 days ago

From Elias Naur to ~eliasnaur/gio

On Tue Jan 21, 2020 at 16:44,  wrote:
> Hi,
>
>  I'd like to pick an image from the gallery on android from a gioui
> app. If I were to do that from java, this could be relevant:
> https://stackoverflow.com/questions/5309190/android-pick-images-from-gallery
>
> At the moment I can't find a way to initiate an android Activity from
> gioui. Is this currently possible?
> I understand there is no specific android example for that, but if
> there is some possibility that it's doable, could you please share a
> hint?
>

Re: Shape Module 8 days ago

From Elias Naur to ~eliasnaur/gio

On Sat Jan 18, 2020 at 22:19, Werner Laurensse wrote:
> Hello Everyone
>
> I've found the time to put my shape api into a separate module.
> It should be a high level api to draw simple shapes.
>
> The calculations are still a bit off in some cases,
> and I'm still learning how to do scaling and rotation.
>

Note that Gio's op.TransformOp will at some point support affine
transformations, including scaling and rotation.

> Feel free to try.