~eliasnaur/gio

widget: delete whole words with key modifier

Delete entire words with key modifier, ie "ctrl + delete".

Signed-off-by: Jack Mordaunt <jackmordaunt@gmail.com>
widget: make editor skip words with key modifier

Signed-off-by: Jack Mordaunt <jackmordaunt@gmail.com>
app/permission/camera,cmd/gogio: add support for camera permission

Signed-off-by: Sebastien Binet <s@sbinet.org>
cmd/gogio: document -minsdk

Tweak documentation a bit while here.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: remove annotations

They're gone from sr.ht, according to
https://todo.sr.ht/~sircmpwn/git.sr.ht/318#event-47831.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gogio: skip Android tests when no adb is found

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: merge android.yml into linux.yml

sr.ht recently lowered the number of concurrent builders per commit
to 4.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
op/clip: smoother implementation of Arc for large angles

Signed-off-by: Sebastien Binet <s@sbinet.org>
app/internal/window: [X11] use correct type for setting X properties

32-bit property values are transferred with the C type "long", which
may be 64 bit.

Fixes "invalid atoms" errors from Firefox and Gedit.

While here, add additional clipboard formats to please Gedit.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget/material: use clip.Path.Arc to draw loader

Signed-off-by: Sebastien Binet <s@sbinet.org>
op/clip: export Path's current pen position

Signed-off-by: Sebastien Binet <s@sbinet.org>
op/clip: implement arc path

Signed-off-by: Sebastien Binet <s@sbinet.org>
4821472e — aarzilli 24 days ago
app/internal/xkb: fix events sent when modifier keys are pressed

When modifier keys are active DispatchKey should not send a
key.EditEvent for the key that was pressed. For example when pressing
Ctrl+Alt+e DispatchEvent should not generate a key.EditEvent{Text:"e"}.

Signed-off-by: aarzilli <alessandro.arzilli@gmail.com>
.builds: add missing dependency

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: replace ANDROID_HOME with ANDROID_SDK_ROOT

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: don't validate uniform locations

Sufficiently smart GPU drivers can eliminate unused uniforms across
shader types.

Fixes gio#158

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget: report Enum.Changed only when actually changed

Fixes gio#159

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app/internal/egl: adjust alpha bit depth to enable sRGB on some GPUs

On my setup:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 530 (SKL GT2) (0x1912)
    Version: 20.1.5
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

eglCreateWindowSurface with the sRGB flag fails with EGL_BAD_MATCH.
Bumping the ALPHA_SIZE from 1 to 8 seems to make the driver happy
again.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app: release GPU renderer when done with it

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gogio: add -icon flag for specifying the app icon file

Before users were limited to only use a appicon.png in the root directory.
Now the user is free to use any png anywhere on the system with the help of the -icon flag.

Signed-off-by: Axel Paulander <axel.paulander@gmail.com>
go.mod: bump Go version to 1.14

Go 1.15 is out so let's bump the version to 1.14 to sidestep the annoying
webassembly syscall/js change from Go 1.13.

Go 1.13 (and warlier?) will still attempt to build, but when failing to
build a webassembly program the go tool will report the version mismatch.

Fixes gio#156

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next