Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gioui/gio

Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
https://github.com/gioui/gio

io/key: improve InputOp focus and blur

The existing implementation cannot remove the focus of some widget,
doesn't have an option to fo...

cd3b4561cffc9c5abb8e051bcc2df2310381f120 authored about 4 years ago by Inkeliz <[email protected]>
layout: fixed divisions by zero in Flex.Layout

Signed-off-by: pierre <[email protected]>

e9cd8958de7ce1cae350ed5659e791c336fc445e authored about 4 years ago by pierre <[email protected]>
app: add support for system cursors

Signed-off-by: pierre <[email protected]>

69cc2c795c8200d58cb9c4539c9f928a816b3724 authored about 4 years ago by pierre <[email protected]>
op/clip: fix incirrent mention of even-odd fill rule

It's the non-zero winding rule.

Noticed by Richard Wilkes.

Signed-off-by: Elias Naur <mail@eli...

951d45a2c690507e87950465977ead15e0a9f99c authored about 4 years ago by Elias Naur <[email protected]>
example/kitchen: gofmt -s -w .

Signed-off-by: Elias Naur <[email protected]>

3a792dd5553c916528bfb6d2dfecafbfe1078ab9 authored about 4 years ago by Elias Naur <[email protected]>
app/internal/glimpl: [wasm] remove slow getError calls

The removal of getError significantly improves performance on js/wasm:

Opera 72 (w/ AMD Ryzen 3...

b9846b48b858490a95f5dd4dc22860693b4cbf5d authored about 4 years ago by Inkeliz <[email protected]>
app: support horizontal scrolling on Windows and Linux

Fixes #181.

Signed-off-by: pierre <[email protected]>

4c3de5f5d2944a21872143d8dac96863ca0463f0 authored about 4 years ago by Pierre Curto <[email protected]>
cmd/gogio: add gogio test for go import path

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

4f8150cd593dd6df1533f68e8f85dbede4325a74 authored about 4 years ago by Walter Werner SCHNEIDER <[email protected]>
cmd/gogio: restore package path handling

A previous change converted the package argument to gogio to an absolute path.
However, gogio su...

9b54892cc4e3076f4300b1af9403e6076637791b authored about 4 years ago by Elias Naur <[email protected]>
example/kitchen: add benchmark

Signed-off-by: Egon Elbre <[email protected]>

39787cb5b753648a46efe5170c3f0f150c4ef5fc authored about 4 years ago by Egon Elbre <[email protected]>
f32: added Point.In(Rectangle)

Signed-off-by: pierre <[email protected]>

dce035fec4ed9f8e83407ab5a86b913e3ec0946c authored about 4 years ago by pierre <[email protected]>
cmd/gogio: force GOARM=7 to avoid softfloat on Android

Signed-off-by: Inkeliz <[email protected]>

eaaffa1f3ee6bdae2c42deb58cce1fcd80a7f1ca authored about 4 years ago by Inkeliz <[email protected]>
op/clip: handle zero Cube

Currently this comes up with RRect/Border that has zero corners. It
improves them from ~250ns to...

7bad76ad759e64e8b5d9cdbcfb9eedcd71f33ff0 authored about 4 years ago by Egon Elbre <[email protected]>
internal/ops: remove some bounds checks

Currently BCE is unable to understand that the accesses in the code are
safe. Added an explicit ...

21dc27b115f46bfd340a9731c249f5f7b122413b authored about 4 years ago by Egon Elbre <[email protected]>
Many operations do not pass refs to Write. Similarly adding

...interface{} requires constructing a slice, which is slow.

This cuts about 100ns from RRect an...

918a5da308d7b82d3082dab596f704bba2c15007 authored about 4 years ago by Egon Elbre <[email protected]>
op/clip: expose LineTo and QuadTo

Using delta position with Line and Quad can drift over successive calls.
Also, in some cases it'...

18991045368d653f8050d1b4033bd7060ec58b93 authored about 4 years ago by Egon Elbre <[email protected]>
app/internal/window: add support for system.CommandBack on wasm

To get the `popstate` we need to create a new entry into
the browser history. Then, Gio will han...

689b317de99c1288ceaa2195ca369616f4ddd2ac authored about 4 years ago by Inkeliz <[email protected]>
app/internal/window: implement key.Press and key.Release on macOS

Update key.State documentation and add State.String while here. Also
update Event.String to incl...

8a3ff4abcb74464f924a0059b0dc0f98ab55a2a0 authored about 4 years ago by Raffaele Sena <[email protected]>
app/internal/window: mitigate keyboard issue on WASM iOS

That change mitigates the issue gio#150 and gio#166. The
iOS can only `focus()` as a response to...

e195309d553c315df7bc8967f83f66a811d21701 authored about 4 years ago by Inkeliz <[email protected]>
app/internal/window: remove context-menu (right-click) for wasm

The context-menu seems useless. The only action available, on the
context-menu is to "Save image...

fb15547b7a893c760e837c83d5bdd50588cd9576 authored about 4 years ago by Inkeliz <[email protected]>
app/internal/window: fix enter-key for android

Signed-off-by: Inkeliz <[email protected]>

7ca00d5d34f602cfaddaaa1911c5d0700e29aebd authored about 4 years ago by Inkeliz <[email protected]>
.builds: add check for missing sign-offs

As suggested by Chris Waldon, this will catch pushes to master and
also during automatic testing...

e2f9ebe87e0cd76f28a47a71e6e73b01282c1f30 authored about 4 years ago by Elias Naur <[email protected]>
.builds: add SPDX license header

Signed-off-by: Elias Naur <[email protected]>

8886f9de561877e1268996272a356db6ba79c26e authored about 4 years ago by Elias Naur <[email protected]>
.builds: move go fmt check last

The check is important, but shouldn't block the other tests from running.

Signed-off-by: Elias ...

fe9c11dfe3bd27737379009393e55533d4579d9d authored about 4 years ago by Elias Naur <[email protected]>
cmd,example: fix uses of color.NRGBA

Signed-off-by: Egon Elbre <[email protected]>

2affb6eaa4e3729d93531de89368d10968843ddc authored about 4 years ago by Egon Elbre <[email protected]>
all: use color.NRGBA in public API

color.RGBA has two problems with regards to using it.

First the color values need to be premult...

21ef492cc9dfd9161e9fc57df25684865cd1c847 authored about 4 years ago by Egon Elbre <[email protected]>
widget/material: fix hint when Editor is single-line

Signed-off-by: Inkeliz <[email protected]>

9469d18907629d56d3ed2cdb4ba7fe0f96b2ba0a authored about 4 years ago by Inkeliz <[email protected]>
app/internal/window: add missing period after sentence

Signed-off-by: Elias Naur <[email protected]>

01e8308a83fbb57f9e032d74bb108e8390fe6273 authored about 4 years ago by Elias Naur <[email protected]>
text: represent laid out text as strings to facilitate caching of layouts

Commit https://gioui.org/commit/b331407e81456 added text layout and shaping
based on io.Reader a...

aee87baefec54496a63e5bb67c6341b97f196733 authored about 4 years ago by Elias Naur <[email protected]>
text: offset Weight constants so the zero value is normal text weight

Signed-off-by: Elias Naur <[email protected]>

67594636e7d5049c7e336f147f8130c3de74f073 authored about 4 years ago by Elias Naur <[email protected]>
op/paint: update documentation to match the removal of PaintOp.Rect

Signed-off-by: Elias Naur <[email protected]>

23fa3480c60431243b6bb101c5d5b2f417de85ad authored about 4 years ago by Elias Naur <[email protected]>
app/permission/camera: fix documentation typo

Signed-off-by: Sebastien Binet <[email protected]>

c15415b0d9975ed6faf69ecf943148b63a214565 authored about 4 years ago by Sebastien Binet <[email protected]>
cmd/gogio: group buildInfo related code

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

3c739323cb4fbe49219530fa9594ccffce025c89 authored about 4 years ago by Walter Werner SCHNEIDER <[email protected]>
gpu,op/clip: implement stroked paths with miter joins

Signed-off-by: Sebastien Binet <[email protected]>

7eb32360e56449e0cf623c75ebef56a822d806a0 authored about 4 years ago by Sebastien Binet <[email protected]>
gpu: fix off-by-a-half clipping

I don't know why the 1/2 factor is there, but it leads to images being
rendered with a 0.5 pixel...

7de8ce51a5087c7b273cc002675f962bff78985a authored about 4 years ago by Elias Naur <[email protected]>
gpu,op/clip: implement stroked paths with round joins

Signed-off-by: Sebastien Binet <[email protected]>

700cec440e00d6391cd14b6afcd18be1ea61de73 authored about 4 years ago by Sebastien Binet <[email protected]>
.builds: avoid the private applesdk repository

Should fix the automatic builds for patches sent to the mailing list.

Signed-off-by: Elias Naur...

f3f32ed7aa04bfe3712cd8f88fe0f09fc240933f authored about 4 years ago by Elias Naur <[email protected]>
gpu,op/clip: implement stroked paths with round caps

Signed-off-by: Sebastien Binet <[email protected]>

1106d90f1102faeecaaafac2b78c50bbd7741cde authored about 4 years ago by Sebastien Binet <[email protected]>
op/clip: use stroked path to draw Border

Signed-off-by: Sebastien Binet <[email protected]>

ae256b5be8123cd171a016ecb4acdce530ba12f8 authored about 4 years ago by Sebastien Binet <[email protected]>
widget/material: use stroked path to draw loader widget

Signed-off-by: Sebastien Binet <[email protected]>

8e4940e6a85ded12a5d5d6ec002447e293a524a1 authored about 4 years ago by Sebastien Binet <[email protected]>
gpu,op/clip: implement stroked paths

Flat and Square caps are implemented.
Bevel joins are implemented.

Round caps, Round joins and ...

33c5fb63dbd6bec7707b1ba32e52dcf722eede3c authored about 4 years ago by Sebastien Binet <[email protected]>
all: rename clip.Path.End into clip.Path.Outline

Signed-off-by: Sebastien Binet <[email protected]>

936eb52b7e5400bc940e48691641e6eba6aa9ce3 authored about 4 years ago by Sebastien Binet <[email protected]>
example/go.*: update Gio version

Updates gio#171

Signed-off-by: Elias Naur <[email protected]>

ade248311ce2af8f985169d49d43c517cc2da8b1 authored about 4 years ago by Elias Naur <[email protected]>
widget: don't process key releases as presses in Editor

Fixes gio#171

Signed-off-by: Elias Naur <[email protected]>

9843176adbff89b2c9d2d2342c9ea1bb819f8edf authored about 4 years ago by Elias Naur <[email protected]>
Revert "app/internal/xkb: fix duplicate edit events for special keys"

This reverts commit e84a2344cf2bdb2707926a8ad748a77cd3b97b92.

The fix is wrong: it's supressing...

002a66f3f3ee64ace61550cf9aae91d1bf85ad9d authored about 4 years ago by Elias Naur <[email protected]>
example/go.*: bump gio version

Signed-off-by: Elias Naur <[email protected]>

fb70fb1c95ca1538581dc017287a03791bcbf27b authored about 4 years ago by Elias Naur <[email protected]>
app/internal/xkb: fix duplicate edit events for special keys

Edit events were being sent twice, once upon key press and again on key release for special keys...

e84a2344cf2bdb2707926a8ad748a77cd3b97b92 authored about 4 years ago by Rajiv Kanchan <[email protected]>
op/paint: document that color.RGBA values are in the sRGB color space

Updates gio#169

Signed-off-by: Elias Naur <[email protected]>

8b5c0d8b0ce265d6e69aa74b7c245b0f8a01d6d7 authored about 4 years ago by Elias Naur <[email protected]>
cmd/gogio,cmd/gogio/testdata: update Gio version

Signed-off-by: Elias Naur <[email protected]>

dbc0796d02073c9b40869100ee386894cca9521d authored about 4 years ago by Elias Naur <[email protected]>
example: update to latest Gio version

Signed-off-by: Elias Naur <[email protected]>

edaa112c40df462fc3f51348f1e52fad8a51e24f authored about 4 years ago by Elias Naur <[email protected]>
op/paint: remove support for PaintOp.Rect

PaintOp.Rect is the wrong abstraction; it implies a clip operation
better handled by package cli...

94d242d18c9245e17384d2b30d2b4fdbde8ad5ef authored about 4 years ago by Elias Naur <[email protected]>
app/headless,internal/rendertest: replace PaintOps with Fill/FillShape

We're about to remove PaintOp.Rect. Replacing PaintOps with Fill or
FillShape where possible wil...

afb52194d1da2fdd9498e91c93ddb63bf7335b16 authored about 4 years ago by Elias Naur <[email protected]>
f32: add Affine2D.String

Signed-off-by: Elias Naur <[email protected]>

6d98eccad0e44ee259f0635c09c400b14ea4640d authored about 4 years ago by Elias Naur <[email protected]>
gpu,widget,op/paint,gpu: remove support for ImageOp.Rect

This is effectively a revert of commit gioui.org/commit/69dfd2e3a5541.

ImageOp.Rect is the wron...

852958f4b5346a08870987faed6804f5a040d0e5 authored about 4 years ago by Elias Naur <[email protected]>
gpu: remove unused field

Signed-off-by: Elias Naur <[email protected]>

c62a002d21bd833b06653419cc57caacc16cf8bd authored about 4 years ago by Elias Naur <[email protected]>
op/paint: make the shape argument last in FillShape

FillShape is a generalization of Fill, so it seems more natural to
have the extra argument last....

efdd5ae602a6b303b1b796b5ef98945fb470ada4 authored about 4 years ago by Elias Naur <[email protected]>
op/clip: remove unused parameter from Rect.Op

Signed-off-by: Elias Naur <[email protected]>

3107c957575facb59482793076303ff8f74ed223 authored about 4 years ago by Elias Naur <[email protected]>
example: add gradients

Signed-off-by: Egon Elbre <[email protected]>

88b3c84ef6269eb1c116204e0a410cc4ba8f2e06 authored about 4 years ago by Egon Elbre <[email protected]>
gpu: add linear gradient

Signed-off-by: Egon Elbre <[email protected]>

f00f3a3359ff7b5826f365b1b5e00dbffeb4e48a authored about 4 years ago by Egon Elbre <[email protected]>
internal/rendertest: lower test tolerances

Egon Elbre pointed out that a difference of 20 means a 10% difference.
Lowering the tolerance to...

0641a34b249e864dff0f363de2a45093f22aa309 authored about 4 years ago by Elias Naur <[email protected]>
example/go.*: bump gio version

Signed-off-by: Elias Naur <[email protected]>

18869735db196a5bd6e0fd0073139ea0e0f5a119 authored about 4 years ago by Elias Naur <[email protected]>
gpu: fix depth buffer corruption on the Fairphone 2

Signed-off-by: Elias Naur <[email protected]>

38cdd28681b6d2f5b336ef3f97bef64d26ce7d5a authored about 4 years ago by Elias Naur <[email protected]>
io/key: implement key.Release state

Implement key state for the following platforms:
js, wayland, windows, x11.

Unsupported platfor...

42e568775cf53e5aa93ba5100371dad5e3fc191e authored about 4 years ago by Josiah Niedrauer <[email protected]>
app/internal/window: use keyed fields

Signed-off-by: Egon Elbre <[email protected]>

a55302a49867df0afd2af2745f4cf54c1add0313 authored about 4 years ago by Egon Elbre <[email protected]>
app: move ownership of GPU context to app.Window

The Window creates the context, and should also be responsible for
destroying it.

As a bonus, t...

ef652f4922e03727e58c5fc6ea3fbff340447ed9 authored about 4 years ago by Elias Naur <[email protected]>
app/internal/window: [Windows] properly handle WM_QUIT

First, don't filter on HWND in GetMessage and PeekMessage, lest
thread-specific messages may get...

3740f891710213949bbfdc4a0620e3bf040c43b8 authored about 4 years ago by Elias Naur <[email protected]>
.builds: fix FreeBSD builders

For some reason, the FreeBSD 12 image doesn't have xorg-vfbserver.

Signed-off-by: Elias Naur <m...

f9642447ec63f2ed71e1fe4609ad0bca11c4f61f authored about 4 years ago by Elias Naur <[email protected]>
widget/material: remove unused fill helper

Signed-off-by: Chris Waldon <[email protected]>

672555d3d076c160e76feae0646e159b265f4daf authored about 4 years ago by Chris Waldon <[email protected]>
widget/material: update buttons to use new paint Fill API

Signed-off-by: Chris Waldon <[email protected]>

3d042093a5bf2cf1cdbf14811fe7ef031ebc6c3f authored about 4 years ago by Chris Waldon <[email protected]>
op/paint: add Fill helpers for painting an area with a solid color

Signed-off-by: Chris Waldon <[email protected]>

fc307c1e71a1b5da28fbe6861dddb30fc61dc583 authored about 4 years ago by Chris Waldon <[email protected]>
op/clip: add UniformRRect to create rects with uniform corner radii

Signed-off-by: Chris Waldon <[email protected]>

685e0772a3386f27cf730591fe0a88fba93166f0 authored about 4 years ago by Chris Waldon <[email protected]>
op/clip: export Op method of clip shapes

This allows passing the resulting clip.Op types into functions that
draw shapes.

Signed-off-by:...

8bdca84c56902502e4120cda296232a198f89252 authored about 4 years ago by Chris Waldon <[email protected]>
cmd/gogio: use GOOS=ios to target iOS with Go 1.16 and newer

Signed-off-by: Elias Naur <[email protected]>

d5bdf0756a5a86fb862b833076cab8a61a079454 authored about 4 years ago by Elias Naur <[email protected]>
gpu: delete redundant drawOps.reset

Noticed by Steve Lam

Signed-off-by: Elias Naur <[email protected]>

7a4b48f67b548870f59bcc18d9d87ebce7186025 authored about 4 years ago by Elias Naur <[email protected]>
.builds: fix apple builder

The python package is gone, we may not need it and/or Debian installs
python3 by default.

curl ...

2ddd4f19855fa9844f1d8e1d142bde85c28c1558 authored about 4 years ago by Elias Naur <[email protected]>
f32: optimize Affine2D

encode/decode seem to introduce significant overhead. Inline them
manually. It'll make code hard...

24d6f3fb659a45d636b076e95ab93392d9a9f516 authored about 4 years ago by Egon Elbre <[email protected]>
cmd/gogio: lower minimum OpenGL ES to 2.0 on Android

The Fairphone 2 only supports OpenGL ES 2.0, but otherwise seems
capable of running Gio. By lowe...

e690c14ddc9f59cb1773f93cd42679cffb802d9f authored about 4 years ago by Elias Naur <[email protected]>
layout: added documentation

Added comment on the use of Dimension.Baseline and Direction.Layout constraint minimum clearing....

f942db9e25bb35e134be70379a3092f1a5707086 authored over 4 years ago by Pierre.Curto <[email protected]>
io/system: note CommandEvent is delivered as a pointer

For gio#163

Signed-off-by: Elias Naur <[email protected]>

29740ba59343b7e78af095c94841e8b53462253c authored over 4 years ago by Elias Naur <[email protected]>
widget: update Editor dimensions after input

Fixes gio#162

Signed-off-by: Elias Naur <[email protected]>

d2e06d938930c43ec3183487be7164e11b8bb4f2 authored over 4 years ago by Elias Naur <[email protected]>
internal/f32color: add colorspace-correct function for alpha scaling

Package material's ad-hoc mulAlpha didn't take the sRGB color-space
into account, which meant th...

4bab6fcf322d4b5fc0e2e6fd3132965fea6aefa5 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: default to X11 on unix systems

Wayland doesn't guarantee the presence of server-side window decorations
(border, close/maximize...

679a34b116deba2282d23948ceb88e093b68493c authored over 4 years ago by Elias Naur <[email protected]>
widget: delete whole words with key modifier

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

Signed-off-by: Jack Mordaunt <jackmo...

ef7b3e75f4dc6b4741e9d58108833c2828627fcf authored over 4 years ago by Jack Mordaunt <[email protected]>
widget: make editor skip words with key modifier

Signed-off-by: Jack Mordaunt <[email protected]>

d27d1a989e25878344caa7de2a6270260d0d825b authored over 4 years ago by Jack Mordaunt <[email protected]>
app/permission/camera,cmd/gogio: add support for camera permission

Signed-off-by: Sebastien Binet <[email protected]>

2f67feafc0a23913f467dd5bb1adbc6d0784d388 authored over 4 years ago by Sebastien Binet <[email protected]>
cmd/gogio: document -minsdk

Tweak documentation a bit while here.

Signed-off-by: Elias Naur <[email protected]>

956bb10a0f90c823559932f89f4e9d2404261038 authored over 4 years ago by Elias Naur <[email protected]>
.builds: remove annotations

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

S...

829ee4559c5a7581c61789c94f326db34ed94a3b authored over 4 years ago by Elias Naur <[email protected]>
gogio: skip Android tests when no adb is found

Signed-off-by: Elias Naur <[email protected]>

3dea674390219874f221eae85b78d446944c0061 authored over 4 years ago by Elias Naur <[email protected]>
.builds: merge android.yml into linux.yml

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

Signed-off-by: Elias ...

c03dde453ca83fc6f01f0a27e035b94fb54c5c76 authored over 4 years ago by Elias Naur <[email protected]>
op/clip: smoother implementation of Arc for large angles

Signed-off-by: Sebastien Binet <[email protected]>

f2cd504a9f9f6accc3dc803a3fce2e0ed8fa680d authored over 4 years ago by Sebastien Binet <[email protected]>
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 "inva...

1584f3a64a0998ced76ce43ab5abc7f630ca458c authored over 4 years ago by Elias Naur <[email protected]>
widget/material: use clip.Path.Arc to draw loader

Signed-off-by: Sebastien Binet <[email protected]>

d57edbb49d3cc6ee25ae45d6affa6bc74e5789d4 authored over 4 years ago by Sebastien Binet <[email protected]>
op/clip: export Path's current pen position

Signed-off-by: Sebastien Binet <[email protected]>

3fe0f62fa319b4133f888e3c6d25d7ff78a42ca5 authored over 4 years ago by Sebastien Binet <[email protected]>
op/clip: implement arc path

Signed-off-by: Sebastien Binet <[email protected]>

7054ba622aa6629d3ecbb11986491969f4cc4bb2 authored over 4 years ago by Sebastien Binet <[email protected]>
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 p...

4821472ea1c939f6dcf350437f7fd59c7809d221 authored over 4 years ago by aarzilli <[email protected]>
.builds: add missing dependency

Signed-off-by: Elias Naur <[email protected]>

9543b5f8f3ff01f9e86682e561a6f3246f4ebdbf authored over 4 years ago by Elias Naur <[email protected]>
.builds: replace ANDROID_HOME with ANDROID_SDK_ROOT

Signed-off-by: Elias Naur <[email protected]>

103c6a1911589fe748dcacdbff6a6bb6dc359dfa authored over 4 years ago by Elias Naur <[email protected]>
gpu: don't validate uniform locations

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

Fixes gio#158...

e214191ff795a2a34fb19821dbf5ca99b0cc2ad8 authored over 4 years ago by Elias Naur <[email protected]>
widget: report Enum.Changed only when actually changed

Fixes gio#159

Signed-off-by: Elias Naur <[email protected]>

7eff3f561f3df167a6125e25ff03be7d93cc8413 authored over 4 years ago by Elias Naur <[email protected]>
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)
D...

d3fffef86188d51cebc2a6c977d7c01c9c78798c authored over 4 years ago by Elias Naur <[email protected]>