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

gpu/gl: add detail to the float FBO error message

Updates gio#49

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

6945a9062b9f78fa49c1df1d8928d582534b9bf6 authored almost 5 years ago by Elias Naur <[email protected]>
cmd/gogio: introduce retries with backoff to the e2e tests

Right now, this was badly needed for the wayland subtest, as it seems
like waiting for a frame t...

f38dbfca544cf0ff8f32c11ff101ea2273447842 authored almost 5 years ago by Daniel Martí <[email protected]>
example,cmd: update gio version

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

cad51f4d221fbdab88eb87cca6a7e69c1a8103c8 authored almost 5 years ago by Elias Naur <[email protected]>
gpu/gl: remove unused methods and unexport internal

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

8b5e9af5f8c975bb076cc3feba6f974c086ea862 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/srgb: move sRGB emulation to new internal package

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

adb950cbf37f7951643d8bce9e3659f711a8998a authored almost 5 years ago by Elias Naur <[email protected]>
gpu/gl: remove unused methods from Functions interface

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

ef9459c7fde2ef91781381da6548eea11153c6fd authored almost 5 years ago by Elias Naur <[email protected]>
gpu,gpu/gl: introduce Backend

A recent change made the OpenGL functions an interface of the functions
required for the impleme...

3ae5a37c246ab4dc73d248d9b7ee50c19acd4923 authored almost 5 years ago by Elias Naur <[email protected]>
gpu/gl: remove redundant glClear from sRGB emulation

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

9602337b456151bf8c1fde403b04176d303e37c9 authored almost 5 years ago by Elias Naur <[email protected]>
.builds: switch to Go 1.14rc1 release downloads

On Linux and FreeBSD, this means we no longer need to install Go twice,
since we don't need to b...

47544697faba63c4e79df9f476f51ca6430bbee4 authored almost 5 years ago by Daniel Martí <[email protected]>
.builds: make the GLFW example build on the automatic builders

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

5f3f7b3514e7accbeca610e4aa32a5485f26f9cd authored almost 5 years ago by Elias Naur <[email protected]>
all: gofmt

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

1f422ef96041076e9a56168ef4a6f61dd035303d authored almost 5 years ago by Elias Naur <[email protected]>
example/glfw: add example demonstrating GLFW integration

Updates gio#26

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

140888ec861d85f54e064f2f4318bfa45bfea0b0 authored almost 5 years ago by Elias Naur <[email protected]>
gpu: rename method GPU.Frame to BeginFrame and drop redundant argument

The viewport size was already specified in the call to Collect.

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

d2d495416a913bec9c5175c1c323f1ad3aed04c2 authored almost 5 years ago by Elias Naur <[email protected]>
gpu: expose the rendering implementation

The rendering implementation is needed for using Gio UI with external
window libraries such as G...

3b6646933d496f61da53e57ce1bb0885d97891d8 authored almost 5 years ago by Elias Naur <[email protected]>
io/router: expose the event router

For integrating with external window implementations (replacing
package app), access to the even...

34c6a2f73582187f600bc1d0944f6c7cf9522c37 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: extract profile in separate method, Profile

Updates #26

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

6e98132ebbf720667dfbda663c6246501169e01d authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: remove profile flag

Automatically determine whether to profile GPU operations from
the existence of a profiling op.
...

81f958fc709ac9cdff2d5a100d522fc03f40b34e authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/input: remove AddProfile method

Merge it into the general Add method.

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

320535a97801ab8e5f1b57e1c2463e6b3dc41877 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/gl/impl: extract platform dependent opengl bindings

We'd like to support Gio using a different renderer binding than
the builtin. A first step is to...

251c075093738278e1aadb95173bb6620f46f65e authored almost 5 years ago by Elias Naur <[email protected]>
widget: add some utility methods on Editor

- Focused: returns whether editor is focused
- CaretPos: returns the text line & column numbers ...

e672d71c61b2e27a75f99be6e8695b15dc2b5c87 authored almost 5 years ago by Larry Clapp <[email protected]>
cmd/gogio: extract endtoend driver base into a type

This type contains all the common bits, such as *testing.T, as well as
the channel and method us...

ed8a0c4909a133b11965bc8be65ad1d7505589e9 authored almost 5 years ago by Daniel Martí <[email protected]>
example/gophers: update gio version

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

b8b8003a7a9812a4c74b4c6c1d3cd4ed2c2c5316 authored almost 5 years ago by Elias Naur <[email protected]>
widget: re-layout Editor before processing events if layout is invalid

Editor's event processing assumes the cached layout is valid, but
it might not be if the program...

383f3eca40f235e237c3431339cfb6cae007ec17 authored almost 5 years ago by Elias Naur <[email protected]>
widget: remove Editor field carWidth

The caret width can be computed in the only method that needs it,
PaintCaret.

Signed-off-by: El...

c178ade3237f73929fd46cac1dba74e48595d7fd authored almost 5 years ago by Elias Naur <[email protected]>
widget: remove scale detection hack from Editor

Now that text layout and shaping operate on concrete sizes and not
units, Editor no longer needs...

b0af85d3c3771a94f268372f8be318bd3a86d9f2 authored almost 5 years ago by Elias Naur <[email protected]>
text: simplify text layout and shaping API

First, replace LayoutOptions with an explicit maximum width parameter. The
single-field option ...

4c220f45541627cf70144f0f674599bf4a7fa0ef authored almost 5 years ago by Elias Naur <[email protected]>
.builds: don't rely on Sway being available

The Sway Debian experimental package is currently broken. Make it
optional.

Signed-off-by: Elia...

dcacca344280170fea46e1f17d94a9a3a30ef2e7 authored almost 5 years ago by Elias Naur <[email protected]>
example/gophers: update Gio version

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

1cf8fee73ff110b047448eb5a60e058a11a7d5b5 authored almost 5 years ago by Elias Naur <[email protected]>
layout: replace Align with a Layout method on Direction

It's one less type (Align) and shorter:

Before:

layout.Align(layout.Center).Layout(...)

Afte...

fb7337f794c7b285bfa9649af465c1b0b20fb756 authored almost 5 years ago by Elias Naur <[email protected]>
README.md: add OpenBSD to list of supported platforms

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

359839ad07c2d0bea2b0368e3212e0373523cfb4 authored almost 5 years ago by Elias Naur <[email protected]>
example: update gio version to fix OpenBSD build

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

f640b798ee1f72cd458936e0105bcd0579ca8d26 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: make the zero value of paint.ImageOp useful

Do not panic when drawing the zero value of paint.ImageOp.

Signed-off-by: Greg Pomerantz <gmp.g...

72cb36c5f904ab40ecc90d29e5b74b7e022eedce authored almost 5 years ago by Greg Pomerantz <[email protected]>
cmd/gogio: add the first Android end-to-end test

It passes the whole e2e test flow on my real device, a OnePlus 5 running
LineageOS 16.0 (Android...

8d1e53cfa9b9d6ffae46ea1f23aca22c353bf810 authored almost 5 years ago by Daniel Martí <[email protected]>
app: Extend CI to build on OpenBSD now that golang.org/x/sys is updated.

I was able to get the Pipe2 syscall added for OpenBSD:
https://go.googlesource.com/sys/+/9fbb57f...

ff6c798a2866cb1b6517a4616c73c153569be486 authored almost 5 years ago by Aaron Bieber <[email protected]>
cmd/gogio: attempt to fix timeout failures on CI

I've seen a couple of "timed out waiting for a frame to be ready" errors
on CI in the past week....

6819dea21c86ddaeeebb8fb0ae7ebafd2600f528 authored almost 5 years ago by Daniel Martí <[email protected]>
cmd/gogio: support newer NDKs

Newer Windows NDKs add the "x86_64" platform suffix like other
OS'es. Remove the special case.

...

761ab688686529cc1fae66983e188cd49f2dae85 authored almost 5 years ago by Elias Naur <[email protected]>
app: don't discard android touch events of unknown tool type

This is the kind of event one gets when using 'adb shell input tap x y',
which I am trying to us...

54ed198cb0605cbccb6cba68e6513ed02c764679 authored almost 5 years ago by Daniel Martí <[email protected]>
.builds: add missing dependency

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

fb07ad6593a2cb1491615e435d4b80fc9b9b3f02 authored almost 5 years ago by Elias Naur <[email protected]>
app: Enable building on OpenBSD

Currently the golang.org/x/sys package is missing the Pipe2 call for OpenBSD.
The call exists on...

fdaf8917322de2127382afb897ceaa35a0a9bc3a authored almost 5 years ago by Aaron Bieber <[email protected]>
layout: include Expanded sizes in Stack size calculation

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

18cddc030077f0602f47a256002fd36b907a1372 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/log: add logger for Windows DebugView

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

a7dc7c01c0f5891a234d87f06988ef26c5df4279 authored almost 5 years ago by mural <[email protected]>
text: add io.Reader Layout method to Shaper

use them for Editor, which is no longer required to construct a string
for laying out its conten...

b331407e8145648c6804788a41e89fe77c9a2a2d authored almost 5 years ago by Elias Naur <[email protected]>
text: remove String, Layout and add Glyph

In preparation for using Shaper with an io.Reader, rework the API to not refer
to strings. In pa...

16d2a3ac0a07493f4f3f43beb6b00002a1869f44 authored almost 5 years ago by Elias Naur <[email protected]>
text: make Shaper an interface

And rename out the caching implementation to FontRegistry.

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

e25b1639b9efb65b8c25329dffdd2f4ec8883833 authored almost 5 years ago by Elias Naur <[email protected]>
text: correct Shaper comment about the default face

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

3f6a1c34d37ddcb56cd73fb5b3d55bbd77b0c0fe authored almost 5 years ago by Elias Naur <[email protected]>
cmd/gogio: don't hang on some e2e test errors

For example, if the test app fails to start on wayland, we'd block
~forever (ten minutes) waitin...

170e86142cb32a35c7db0dfa9055398c2e195fef authored almost 5 years ago by Daniel Martí <[email protected]>
example/go.*: update gio version

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

08b840f114eb5a50d0847174f41e0bceffcef850 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/egl: try EGL_DEFAULT_DISPLAY is eglGetDisplay fails

Fixes #77

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

f176cbfe88233c32b8ef9a760d830e5e2f13d23c authored almost 5 years ago by Elias Naur <[email protected]>
Revert "app/internal/egl: accept zero EGLDisplay values as valid"

This reverts commit 66138e78904aff7e9aa2d1e01f6d52e4985eb0ca.

Reason: According to #77, it didn...

bc30683588975201a789b4b51e41396cdbeca6b2 authored almost 5 years ago by Elias Naur <[email protected]>
op/paint: correct image loading

Corrected the use of draw.Draw in paint.NewImageOp as the old use only works for images starting...

2e66c90aeed9e7274e05f60fad00523ca44b1636 authored almost 5 years ago by axel paulander <[email protected]>
example/go.*: update gio version

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

631c3b0e02f843f9790cafdad8b1bb7f352da5e6 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: accept zero EGLDisplay values as valid

Issue #77 seems to be caused by eglGetDisplay returning a zero
EGLDisplay, yet eglGetError retur...

66138e78904aff7e9aa2d1e01f6d52e4985eb0ca authored about 5 years ago by Elias Naur <[email protected]>
example/go.*: update Gio version

Updates #40

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

ccbcbdbfbd4f3aa4c01c36566ea48b118730242f authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: add errno to wl_display_connect errors

Updates #40

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

95903aafdab09fdbbb891dd583b41e03e2f39237 authored about 5 years ago by Elias Naur <[email protected]>
font/opentype: add Collection type and methods

The Collection type wraps sfnt.Collection and allows lazy-loading
of fonts from SFNT collections...

3dd7c8121c679719073b8f760accac3d176c7c15 authored about 5 years ago by Greg Pomerantz <[email protected]>
COPYING: extract licensing information into COPYING

This is hopefully clear enough for license detectors and lawyers.

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

19acf05820a085bb534145c899bae4f185eb8c39 authored about 5 years ago by Elias Naur <[email protected]>
font/opentype: fix typo

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

c9f1f59c40d0702de2cbb42839963f232cd8fe6f authored about 5 years ago by Elias Naur <[email protected]>
widget: add some rudimentary exported editing methods

Editor.Delete
Editor.Move
Editor.Insert

Move the Editor.command method up above all the functio...

2b4e9ad426e7b30105a3d557514d7b2def067b67 authored about 5 years ago by Larry Clapp <[email protected]>
app: clarify documentation of app.Main()

Signed-off-by: Greg Pomerantz <[email protected]>

8a4d0007f345565ec1e7b91a2729cbd5effea653 authored about 5 years ago by Greg Pomerantz <[email protected]>
text/shaper: Add Metrics method to Shaper struct.

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

e76726d4f76b6c056698b53de0c25624458ec52f authored about 5 years ago by Werner Laurensse <[email protected]>
cmd,example: update gio version

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

0bfcac97344dce473bd7542480d65608cc582c24 authored about 5 years ago by Elias Naur <[email protected]>
op: introduce CallOp

We'd like to improve the API of Flex, Stack and similar layouts
that use MacroOps internall. Unf...

06217c532056c0bb3c5a808b403bdca108f84e74 authored about 5 years ago by Elias Naur <[email protected]>
op: remove operation list argument from MacroOp.Add

The ability to invoke other operation lists belongs in the new CallOp.

While we're here, make M...

edc81ea0bb18d88194bde84b27cc6f929cc81466 authored about 5 years ago by Elias Naur <[email protected]>
text: convert clip.Ops to op.CallOp

MacroOp is about to lose the ability to run a different operation list
than the one it was recor...

0768fbe590a349f1e776bb936bf6386b13120660 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gl: gofmt -w -s

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

9114dbe75901e1105bc07e1ff27ae33f2f227789 authored about 5 years ago by Elias Naur <[email protected]>
layout: simplify Stack API

Similar to what a previous commit did for Flex, this change simplifies
Stack to just one Layout ...

7814da47a0ffdf00462fbd0095af5e3d23757ef2 authored about 5 years ago by Elias Naur <[email protected]>
layout: simplify Flex API to a single Layout call

With the simplification of MacroOp, it is now possible to simplify
the Flex API to just a single...

f60a5c7ac342fe67638ae94fa332dfc743bc62a9 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: re-add check for GL_EXT_color_buffer_half_float

As noted in #49, GL_EXT_color_buffer_half_float is required for
GL_OES_texture_half_float to be ...

4a628d1c2c2c268ef896a25ce9c742817c6d706e authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: use single channel floating point FBO if possible

Remove dependency on EXT_color_buffer_half_float, it's not clear it's
necessary. In any case the...

8a44ac11d8379ccb4214e5daaf113194fa95c1f3 authored about 5 years ago by Elias Naur <[email protected]>
Revert "LICENSE: merge UNLICENSE and LICENSE-MIT to please license identifiers"

This reverts commit b74f2d2d1cb74406f8a2f5a6aad9c9fdb16f2cea.

Reason: the merging was done to p...

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

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

31ebd9e811110c7d99f79499c4b1ac45e1f7e181 authored about 5 years ago by Elias Naur <[email protected]>
app/headless: prepare OpenGL context on macOS

The macOS backend uses a desktop OpenGL context, not a OpenGL ES
context. The main difference is...

d9212263aacd5b6d6c37666432603f363820c23a authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: query GL_EXTENSIONS correctly on macOS

macOS supports the OpenGL core profiles where glGetString(GL_EXTENSIONS)
is not supported. Use g...

86d69859b93a45454c33adde5d6b7ce27ab56c0a authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: default to color material

Before this change the default material were a texture, which leads
to a crash when no texture i...

fddb0af6f61d09a48af92c80148c5060e7c89da4 authored about 5 years ago by Elias Naur <[email protected]>
.gitattributes: disable Windows line ending conversion

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

96a4e510f93cc61873fa960ba170478d63dac0a8 authored about 5 years ago by Elias Naur <[email protected]>
layout: don't allow overlapping Flex and Stack layouts

Overlapping layouts such as

outer := layout.Flex{}
inner := layout.Stack{}
child := inner.Ri...

65dc6797ebb9ec7ba46eceedc025895c296d6e44 authored about 5 years ago by Elias Naur <[email protected]>
op: tighten stack checks

Assign (per-frame) unique ids to each MacroOp and StackOp operations
and ensure that the pairwis...

8102f631145e0cdc574a0ec85f9b3f4448dcc7f0 authored about 5 years ago by Elias Naur <[email protected]>
op: tighten documentation

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

2486d46ab4a13a8694ff6a455414957cf52bd052 authored about 5 years ago by Elias Naur <[email protected]>
layout: move examples to example_test.go

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

3701e2eb1d0840d5e971502a6076b94bafc31fb3 authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: add newline after error message

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

b3c095fdcc96d5378d5c521fb6041ab011319056 authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: dump screenshots in 1.5 scale

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

16e6e2d3f7cd97e404013d98ff7de443dc55f89a authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: add -screenshot flag

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

9023b1b865327d60f6d746bf5ef26f8f25e8ad40 authored about 5 years ago by Elias Naur <[email protected]>
app/headless: compensate for OpenGL's lower left origin

The origin of image.Images is the upper left corner. Convert the
ReadPixels result by flipping t...

6fbdefa21f7c603bf57ff3f0b07eab1626e0b8d2 authored about 5 years ago by Elias Naur <[email protected]>
layout: update documentation for NewContext

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

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

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

1762e0c07b1d24686bb1cec9024c0ed5abc0c3cb authored about 5 years ago by Elias Naur <[email protected]>
layout: add NewContext, make zero value Contexts useful

While here, unexport the Queue and Config fields. The NewContext
cosntructor is shorter, and the...

11506a974e903f5de60355f28650d1c2601401f2 authored about 5 years ago by Elias Naur <[email protected]>
layout: move Context to its own file

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

bbdedfa4a7328204688aa668fb08e1c9550eade8 authored about 5 years ago by Elias Naur <[email protected]>
layout: fix typo

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

75d4eaff0e01105dd95a7494fdf90189bc692621 authored about 5 years ago by Elias Naur <[email protected]>
io/system: fix typo

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

2aa6071e330a65f6c18cfee7819c328fd653871b authored about 5 years ago by Elias Naur <[email protected]>
cmd: update the chromedp version

It's a bugfix release, and we want some of the stability fixes in it.
Starting Chrome processes ...

5bddf66db746a6c2c39b79af48dc49c812c7c472 authored about 5 years ago by Daniel Martí <[email protected]>
app/headless: add package docs

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

41116b5cb8a32481fe6da7a91adc9c976245610f authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: don't exit if EGL dlls fails to load

We want a useful error instead of a hard exit for headless windows.

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

9df3c76aa22f9cf851bcaf51d3f2cc534b0dc36b authored about 5 years ago by Elias Naur <[email protected]>
app/headless: implement headless windows

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

0b84137f40ad3ae631a8600c327999f69a683fa9 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl,app/internal/window: move Lock/Unlock methods

EGL contexts don't need locking, so their Lock and Unlock methods
are empty. Remove them and add...

9b4176c4754a050f5fc1f5695c0d908ff8def219 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: only create a compatibility FBO if there is a surface

While here, only refresh the FBO if needed to make MakeCurrent faster.

Signed-off-by: Elias Nau...

15a1261cfc72e8b0cd123b563c47e59b14efc20d authored about 5 years ago by Elias Naur <[email protected]>
app/internal/egl: move EGL interface to its own package

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

99b6ad09e5cc6f24c92f4c0ad860e635e85dadd1 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gl: delete buffer and program in SRGBFBO.Release

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

f9f6f2d3ea4c89b262d47e85d18448a0aa1f4524 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/windows: split out Windows syscalls from package window

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

06a2228798dc17968fe6a42329ccd4d022616551 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gl: lazy load blitting program and quad in SRGBFBO

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

14dad238f37ed7e92c4b1ff27d4c6714f41463f9 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: fix typo

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

3199ae760041b4255a8e20b6558c8bf28286a3fc authored about 5 years ago by Elias Naur <[email protected]>