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

app/internal/window,app/internal/gl: move gl.Context to package window

Package gl now only defines opengl types and functions.

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

f25f647a663209173337f4182e8e3c56e6c9df8a authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: move context refresh to window

Instead of calling from the low level context into the window
for its surface and dimensions, ad...

8cec7d1a400caee75bdf9fffce302728828237c0 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: don't release the context when New fails

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

809b4a2cf9511eb203a74d86a466e69b46c22f05 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: support surfaceless contexts

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

c49f214f4aec33506058b00ee62bb72d1cc5e068 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: split surface creation from making context current

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

5016c98739f000c0a515d3972f22cff4d2fe60f9 authored about 5 years ago by Elias Naur <[email protected]>
app,app/internal/gpu: split render loop from GPU

The policy of rendering on a separate goroutine is separate from
the actual rendering. Reflect t...

5fa3dbc70d2b99a1f2775aa44862a70e3e8a2563 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: rename NewGPU to New

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

9528a6e0d4cb4ebf5f98e0c550dc1188c304f4e0 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: remove redundant return

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

eb8745eb324ee12a7934c2a40afb8eed43ed155c authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gl: fix ReadPixels on Windows

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

77d21ddf386c0ae55d40028d33afdf38c242ad63 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/windows: modifiers & punctuation hotkeys

For Windows:
- Add shift/ctrl/etc modifiers to mouse events, so you can recognize the
differen...

0ddcee4ec619c0b9b173e30cb7b46c862ec2391d authored about 5 years ago by Larry Clapp <[email protected]>
.builds: add missing xkbcommon-x11 dependency

The dependency was added when merging the X11 and Wayland keyboard
handling.

Signed-off-by: Eli...

b4f73b3ef75b4759e89fbaeb69da34d609b3f9ac authored about 5 years ago by Elias Naur <[email protected]>
app: add RegisterFragment method on *Window for Android

RegisterFragment creates an instance of a Java class and registers
it as a Fragment in the windo...

2ca2e5462f161c30f6ee0e324df09fb2d954ff72 authored about 5 years ago by Greg Pomerantz <[email protected]>
layout: make list scroll position settable

Put List.{first|offset|beforeEnd} into a new exported Position slot, and
also export each indivi...

ce76c2e996669ac8156881a7af7fa731a07e6b78 authored about 5 years ago by Larry Clapp <[email protected]>
app/permission: add documentation and storage permissions

Storage permissions enables the Android permissions
READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STO...

8321745de9f968876faada8e5175c71cdabeb8c7 authored about 5 years ago by Greg Pomerantz <[email protected]>
cmd/gogio: remove an unnecessary wait in the js e2e test

We already wait for the app to render itself via the "frame ready"
stdout prints. Waiting for th...

99d97d2ef501804be4666d605c4ff7c39d03724f authored about 5 years ago by Daniel Martí <[email protected]>
cmd: remove js runtime workaround

The js/wasm bug meant that printing to stdout in the e2e app would crash
the runtime, so we coul...

726270ab2d8413bc008ece2fe7d72b8e7a2de750 authored about 5 years ago by Daniel Martí <[email protected]>
text: add Metrics method to Face interface. font/opentype: implement Metrics method for Font struct.

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

4bcb4ec8b696e478fdaa1d2be68f48a8f677fca2 authored about 5 years ago by Werner Laurensse <[email protected]>
app/internal/window: (wasm) generate key.Events for all printable characters

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

aca511f849d43e7a687e5c997be2224ffde00df3 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: replace X11 input handling with xkb

Unifies Wayland and X11 keyboard handling.

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

d5424ef7fc291ac52e12f1984de22398f0866027 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: allow punctuation as keycode events

Allows things like "ctrl-{" and ".".

All punctuation is returned as-is, e.g. "!" is "!", not "s...

65bc7be2569b708f45335b9d7af500d32a8a3dd5 authored about 5 years ago by Larry Clapp <[email protected]>
app/internal/xkb: send key.Events for shifted keysyms

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

5a34b6f2c3ee7b42f44b7819133d9bc88a9e5587 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/xkb: fix cleanup check

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

968669d39e7a8a6dbe7343c129f93982461baed0 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: fix Pathfinder URL

Noticed by Daniel Martí.

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

4072361fd57b2d5c19d9ff7f3483ee17843b7b1d authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

6a2b5a8d3b93ca3735f160c02b72900cb33b7813 authored about 5 years ago by Elias Naur <[email protected]>
font/opentype: treat invalid characters less specially

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

f3f079df324f8eeda9452ff826399d60069daa5d authored about 5 years ago by Elias Naur <[email protected]>
font/opentype: fix kerning

Fixes gio#69

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

c072a7eb8779fbb8d556b83afd6105870c35dfbf authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

76c209b59468895d2c481ba6f3262743e4b92e45 authored about 5 years ago by Elias Naur <[email protected]>
gesture,internal/fling: fix rounding

The code tried to extract a rounded whole number of pixels while preserving the
fraction. Howeve...

b39e4227c227b1081be21b841464ce47f7b83ad8 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: delete redundant draw on WM_MAXIMIZE, WM_RESTORED

There's always a WM_PAINT after a restore or maximize message.

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

72840d7b88c4bb1872f5a3a67237aa2f9e4fa637 authored about 5 years ago by Elias Naur <[email protected]>
several: add modifiers to mouse events and clicks

macOS only, for the os-specific bits.

Signed-off-by: Larry Clapp <[email protected]>

f8de7545f4f7a0ca2cda22f5189544b051f8b5b8 authored about 5 years ago by Larry Clapp <[email protected]>
example,cmd: update gio version

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

26f34a3331294618a678b74d43f9abe6a59a3438 authored about 5 years ago by Elias Naur <[email protected]>
io/pointer: unify area ops into a single AreaOp

Make Rect and Ellipse constructors of AreaOp.

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

16cc51ee8aa6081d83a16ef3543f3e4f5dcb5439 authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: update gio version

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

3edd9dd8be3326362c3f6a05d36fdc49586f7c4c authored about 5 years ago by Elias Naur <[email protected]>
op/clip: replace Rect and RoundRect with Rect type

Remembering the order of the corners in the RoundRect is difficult,
which suggest that RoundRect...

7299d1c875c8ec66381ff3bce614c4a253cd9915 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: map window after defining WM protocols

ICCCM 4.1.2 says WMs will examine client properties every time
window is mapped. Because SetWMPr...

101b65f4e5500f78bbe3c4336d017f292a196e16 authored about 5 years ago by Konstantin Kulikov <[email protected]>
app/internal/window: (X11) Add support for UTF-8 window title.

Signed-off-by: Denis Bernard <[email protected]>

1bf2c7ef293c96087f25746c774736be72ba7b4f authored about 5 years ago by Denis Bernard <[email protected]>
example: update gio version

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

b29b1f667730bcb56eeb1aa2fdc2be455fe9408d authored about 5 years ago by Elias Naur <[email protected]>
app: destroy GPU before ack'ing the DestroyEvent

The DestroyEvent ack allows the backend to release the window.
Ensure that the GPU associated wi...

1d0a7b845ed6cc7a0d29445d16fe5a268e7b6ab1 authored about 5 years ago by Elias Naur <[email protected]>
Revert "app: release GPU before processing DestroyEvent"

This reverts commit 8620b43eb3633b0a4cfb42bdad6930411455595b.

Releasing the GPU after ack'ing t...

41abb5b08d99942fdc766834a950bb0694e6ce50 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: cleanup X11 initialization

Removed redundant XSelectInput and XChangeWindowAttributes as well as
obsolete screen parameter ...

2e0406802b8490f31e583d9eb0f780aa3a2f56b7 authored about 5 years ago by Denis Bernard <[email protected]>
widget: no newline in editor on submit

When you press enter to "submit" an editor widget, don't also append the
newline to the editor t...

a770a2425c08e3401250343fdc5c4065f6eafaa4 authored about 5 years ago by Larry Clapp <[email protected]>
text: remove SingleLine from LayoutOptions

Low level text layout should not deal with filtering newlines.

Updates gio#61

Signed-off-by: E...

682d2810d32adf37f875a41ed1cd7d64fe0cce7e authored about 5 years ago by Elias Naur <[email protected]>
widget/material: rename material.go to theme.go

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

778b7e639841b62a1462056fd4da3ff69c98def3 authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: update gio version

gofmt -w -s . as well.

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

d8c9cb426c417a98e58529dfde91462ec10c5419 authored about 5 years ago by Elias Naur <[email protected]>
clip: change Rect argument to f32.Rectangle

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

65c783179dbb553f40c1ea5566d0a3db2179d020 authored about 5 years ago by Elias Naur <[email protected]>
op/clip: add RoundRect

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

4f30b985eb34935ab36ef4b4817138ded15f46d7 authored about 5 years ago by Elias Naur <[email protected]>
op/clip: split clip operations into its own package

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

e864ac3fc3b7f8e605c38ad84e3da3b768e5f50c authored about 5 years ago by Elias Naur <[email protected]>
op/paint: add note that ClipOp intersects the clip, not replace it

Updates #61

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

560cf6054c233a6460219dacb33db2a325f59a59 authored about 5 years ago by Elias Naur <[email protected]>
app,os: update documentation to match changed API

Updates gio#61

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

0dac972b257e83960db6b095db7323873f7a5ba9 authored about 5 years ago by Elias Naur <[email protected]>
app: release GPU before processing DestroyEvent

In fact, move the release of the GPU to a deferred function, saving
a release.

Fixes #65

Signe...

8620b43eb3633b0a4cfb42bdad6930411455595b authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: (X11) don't destroy window on EGL destroy

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

b950aa71e1f93ad36134d56ff53e2d67ce4f977d authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: (X11) implement right and middle mouse buttons

Updates gio#60

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

0cfcf5ca2d98f611043565e9919edf6791767b96 authored about 5 years ago by Elias Naur <[email protected]>
io/pointer,gesture: report right and middle mouse button events

Updates gio#60

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

dc7f9bab234cd3deda999eb3541f9ecf350ad9ea authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: x11: fix issue with space not sending key.EditEvent

This is a general fix where keys with names differing from their UTF8
representation could not b...

a0050ab79be2ea828310c33ea9c1e65bb2eafac0 authored about 5 years ago by Denis Bernard <[email protected]>
app/internal/xkb: translate physical "Backtab" keys to Shift-Tab

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

c8d01d99cc1a770f8cce67bd4446ac892577b8c3 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: map "Backtab" to Shift-Tab

Updates gio#62

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

dca25a7708b3c36b69754c4c3a604872b24e960a authored about 5 years ago by Elias Naur <[email protected]>
io/key: add support for the Tab and Space keys

Fixes gio#62

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

de7d6b28fa7ec8df34a981d95d4b90e889c1fe2e authored about 5 years ago by Elias Naur <[email protected]>
README.md: add an Oxford comma to emphasize only WebAssembly is

experimental

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

da42412e565837fafbd50f294282453ccadc0027 authored about 5 years ago by Elias Naur <[email protected]>
README.md: note that the WebAssembly is experimental

It's slow and syscall/js has seen incompatible changes in Go 1.13
and Go 1.14.

Signed-off-by: E...

9def3153de74adbc3261c7ae5914334abec3cb0f authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: update gio version

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

294308d8aa446b28b4a96fa6b4bc60dd56a4c994 authored about 5 years ago by Elias Naur <[email protected]>
io/key: switch Event.Name to be a string and add function keys

Function keys don't have a natural rune representation so switch
Event.Name to be a string to fi...

cc43588aba76d9cfd600938f2f4613e3bb4410fe authored about 5 years ago by Elias Naur <[email protected]>
io/key: add ModAlt, ModSuper

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

c833c98fd768d695046ec5702a569d996174cfc4 authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: update gio version

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

c4416ffbc4af74a167b0c2d6436f1cdbcab3caa1 authored about 5 years ago by Elias Naur <[email protected]>
key: add ModCtrl, ModShortcut

ModCtrl is the physical Ctrl key, ModShortcut is the virtual
"shortcut" modifier, which is Ctrl ...

d293dfe6041d4e502eb10b11bf2e5683eb66057e authored about 5 years ago by Elias Naur <[email protected]>
app,app/internal/gpu: process frame in parallel

A frame ops buffers is tracersed twice: once for GPU commands,
and once for everything else. The...

1eaa5dd15e36bd1000b0ccd61c05caf8b44593c4 authored about 5 years ago by Elias Naur <[email protected]>
app: make CPU timings more useful

Record the time for generating a frame and submitting it as well
as the time for issuing the fra...

1678f922e7f553a4763d749d0019562bcd310f48 authored about 5 years ago by Elias Naur <[email protected]>
app: don't schedule a new frame for profiling events

Sometimes it's useful to profile yet not continously re-draw. If the programs
wants the old beha...

f6cdc6212059a218aad913906e69a44f77d5ce22 authored about 5 years ago by Elias Naur <[email protected]>
.builds: use gotip on freebsd builder

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

e16712321f4c012a8edf96543dd937aca1f9c721 authored about 5 years ago by Elias Naur <[email protected]>
op/paint: guard against nil image in ImageOp.Size

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

f1d971268eb1f099c500d93e6cc91303abfc0862 authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

508f615f0b5cccbeb4db86f6e3921b828a6862b4 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: use theme TextSize for Editors

Thanks to Werner Laurensse for noticing.

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

9c0fc631bd3a6f9cdfbe4ce4427146b9669bed6a authored about 5 years ago by Elias Naur <[email protected]>
op/paint: NewImageOp does not need to make copies of RGBA images

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

454b2264048f39952fb7de8f853c8545f171ceeb authored about 5 years ago by aarzilli <[email protected]>
app/internal/window: re-create EGL surface on resizing

This is effectively a revert of 60e4cca934eaa4713fdf693ac4afcacc43f7b632, which
seems to have ca...

237a8dad8f5410b64721ea1fbd190f2a8e901e2b authored about 5 years ago by Elias Naur <[email protected]>
op/paint: make every ImageOp unique

The gioui.org/commit/74407a50d598bfd27e8f8e48b6832cc5df04de77
added a NewImageOp constructor tha...

97299dc2f9b1e05d44bf426b358c5dbfe65409f1 authored about 5 years ago by Elias Naur <[email protected]>
app: don't touch the frame after returning from FrameEvent.Frame

It was already true that the GPU wouldn't touch the frame after
calling GPU.Draw. This change ma...

d980c4652a8c72ff64d8fede5045cd80001f6c0e authored about 5 years ago by Elias Naur <[email protected]>
cmd/gogio: start using testing.T.Cleanup

Now that we use tip due to breaking changes in Go's JS APIs, let's
replace our hacky cleanup lis...

6fedfaf3af4ed51eed58898d7f8d3f685e049223 authored about 5 years ago by Daniel Martí <[email protected]>
app/internal/window: remove direct pointer arithmetic in x11 driver.

Signed-off-by: Denis Bernard <[email protected]>

75a58e42efd3e0524a3cd27db574416e2ac892d1 authored about 5 years ago by Denis Bernard <[email protected]>
.builds: use Go 1.14 for the basic tests

WebAssembly builds require Go 1.14 since the breaking change in Go,
golang.org/cl/203600.

gofmt...

e683b19b298f49231eb8d0fe24b5ac33b378da16 authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

b0c29b548906dee97972acd884058e70ef3a8a74 authored about 5 years ago by Elias Naur <[email protected]>
cmd/gogio: join all endtoend tests as subtests

This means we can deduplicate some of the logic, and keep it all in one
place.

Start expanding ...

6f860200b9fcc6dcda0525baac7f3a85a72677fc authored about 5 years ago by Daniel Martí <[email protected]>
app/internal/gl: support Go 1.14 change to WebAssembly's js.Value

Gio programs will no longer build with Go 1.13; let's keep it at that
until someone complains.

...

62da32be9cd7dc53deaa28cf59955359f0a3a95f authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

c3533c3f8421a0f1ccc8b691e36e708b23e022a6 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/windows: don't draw window background on Windows

Avoids flickering between GPU content and the CPU drawn background
color.

gofmt -w -s . now we'...

7256bdae38ea99bc49c53fdd6061fd54d8d2da52 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: specify None as the X11 window background

Avoids flickering on my Fedora 31 Gnome setup.

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

9c84b95f7dd42705092c3268b83a642a19787ee0 authored about 5 years ago by Elias Naur <[email protected]>
README.md: add note about gio-patches mailing list

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

96072cec66ef902901ac4dea1ed0369b88645fe9 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: finish GL commands before surface detruction

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

0ad9bd9725e1ddfa75d3fe12bc9c32588a68c73f authored about 5 years ago by Elias Naur <[email protected]>
Revert "app/internal/window: finish GL commands before resizing"

This reverts commit 8e874e1afd2c593cad15cea0c307ff4c3dbfab4a.

Didn't fix flickering.

6287c1750f16bc6fb124a5d36efab132692e89ff authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: Fix keyboard handling on X11

When the control key is pressed, clear event.state bits before calling
Xutf8LookupString in orde...

68063633f2675a54ec4601d5236fc9ea8d15b068 authored about 5 years ago by Denis Bernard <[email protected]>
widget/material: clean up package docs, add license, rename file

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

1defd4e759271d9693831ecd5fd974fc468954b9 authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

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

90e25ed52fb562f41bc351a6460aaa79e7cdaecd authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: finish GL commands before resizing

Perhaps fixes flickering during window resize.

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

8e874e1afd2c593cad15cea0c307ff4c3dbfab4a authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

6f3471e4adf3f356b76fefca5d14a052da8f3b77 authored about 5 years ago by Elias Naur <[email protected]>
widgets, widgets/material: add RadioButton & Enum

Signed-off-by: Alexander Arin <[email protected]>

089ae31f0cf8c3bfb2b1edcda8103b6c1f75f4a9 authored about 5 years ago by Alexander Arin <[email protected]>
widget/material: document package

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

82e51019e1a2dd164927f42066c5746d5bc4d1a0 authored about 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

1438e504cc95bb9f5c8c7adafb03101296381746 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: implement GetDpiForMonitor fallback for < Win 8.1

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

ef78ba37f6b562f3757aaa3490246adca81a5a01 authored about 5 years ago by Elias Naur <[email protected]>
op/paint: make documentation of Line clearer

The movement is not to an absolute coordinate but by a delta relative
to the current position of...

299e966816aca254781d80447b0163cd5196f1b7 authored about 5 years ago by aarzilli <[email protected]>
app/internal/window: Do not re-create EGL surfaces when only resizing

This prevents flickering when resizing the window on X11.

Signed-off-by: Denis Bernard <db047h@...

60e4cca934eaa4713fdf693ac4afcacc43f7b632 authored about 5 years ago by Denis Bernard <[email protected]>
.builds: fix go fmt test and go fmt -w -s .

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

4719d56f86109cf8f13095abb75e1be844842310 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: replace gio_x11_connection_number stub by proper xlib function

Signed-off-by: Denis Bernard <[email protected]>

900acc08a1a3c4edcab730245d86bc319f033661 authored about 5 years ago by Denis Bernard <[email protected]>