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

op/paint: rename material to brush

The "material" name clashes with the theme of the same name.

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

b7ba80951798496f25abec01eee99356a003e61d authored over 4 years ago by Elias Naur <[email protected]>
op/paint,io/system: document ImageOp lifetime

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

81f474f5d73672a1855e6d7efab77055aa6718e3 authored over 4 years ago by Elias Naur <[email protected]>
example/glfw: add package documentation and link to installation

Fixes #114

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

391b89d11d410ea9ba01a3b45e2549735af35a06 authored over 4 years ago by Elias Naur <[email protected]>
app: update package documentation

Reflect the move of Queue from Window to FrameEvent.

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

f16e8fd122e35769f03667839bec640f6ef5f802 authored over 4 years ago by Elias Naur <[email protected]>
app: fix typo in Main documentation

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

2e25a28a5496c6ecea81ec05cd91ba9c30d25b26 authored over 4 years ago by Elias Naur <[email protected]>
app/clipboard: implement clipboard for Android

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

05dfceb7e7c56858f4d1144fc378a63ff3e49ed2 authored over 4 years ago by Elias Naur <[email protected]>
app: add license header to app_android.go

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

a6dd70b2dc40a3d04a63f02425600b04d1d08e0d authored over 4 years ago by Elias Naur <[email protected]>
f32: implement fmt.Stringer to Point and Rectangle

Signed-off-by: Wagner Riffel <[email protected]>

390949790e21af72191e58fa7a67453a004f3eb5 authored over 4 years ago by Wagner Riffel <[email protected]>
doc: rewrite references to preivous api to current

Signed-off-by: Wagner Riffel <[email protected]>

4bbc6379ed308b92a8755384acf4478efac02740 authored over 4 years ago by Wagner Riffel <[email protected]>
example/tabs: animated switching

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

f29964fee15aeffd136fd9bb8716c124124ed5b2 authored over 4 years ago by Egon Elbre <[email protected]>
example/tabs: use material.Clickable

Replace the hacked material.Buttons with Clickables for the tab areas.

Signed-off-by: Elias Nau...

d682e92606e7620d4be378b09b114b8014330c67 authored over 4 years ago by Elias Naur <[email protected]>
gesture: only report TypePress for Click gestures if pointer is grabbed

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

062e2bc54b109c3ed6b2fa295c4a63aaedcda95d authored over 4 years ago by Elias Naur <[email protected]>
gesture: use Enter/Leave events instead of Moves

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

ca0af08ff2bfb8ead60865bccd1df8dcd6414249 authored over 4 years ago by Elias Naur <[email protected]>
example: bump gio version and add flat button example to kitchen

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

a0df8ba59b0f52823e95a5b76afa7361e5d5ed63 authored over 4 years ago by Elias Naur <[email protected]>
widget/button,widget/material: introduce Clickable for generic click areas

material.Clickable is useful for adding a click response to any widget
or area.

Rename widget.B...

23baeff18d7534ac3443abd5771fae6e33c4264c authored over 4 years ago by Elias Naur <[email protected]>
widget: export Button.Update method for accessing raw gesture events

Document Button while we're here.

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

47ce4b8cb86ccac851be859860bbccbe6ec5ca41 authored over 4 years ago by Elias Naur <[email protected]>
widget: simplify popping an element from a slice

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

43c2b9071620625ca147888e13cbcfbb4d33f8fd authored over 4 years ago by Elias Naur <[email protected]>
widget,widget/material: use constraints for setting up hit area

Before this change, the widget.Button.Layout method assumed the caller had set
up the pointer hi...

fd2cb4a7a1d62b2e16d8380e902819ae8dcec2ef authored over 4 years ago by Elias Naur <[email protected]>
widget/material: use cosntraints for setting pointer hit areas

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

4e20ea83a137b25f300ef369594bde19ff5a9ebc authored over 4 years ago by Elias Naur <[email protected]>
io/router: fix ellipse hit function

The previous formula was simply wrong.

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

3fd1ccbbeda540c45f5972b33fb05d9363d4f306 authored over 4 years ago by Elias Naur <[email protected]>
io/router: return boolean expressions directly

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

a046f15156d11c0ce82c9c9e8a8f9ae3c425393a authored over 4 years ago by Elias Naur <[email protected]>
example: bump gio version

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

73475270fe8a813d5275af7a1b53f2dc7d9eead4 authored over 4 years ago by Elias Naur <[email protected]>
widget/material: drop Color from ButtonLayoutStyle

Setting a ColorOp before calling a widget function is too subtle.
Let the widget manage its colo...

c32b3fe43a46c563406a79275919c4336b87bc44 authored over 4 years ago by Elias Naur <[email protected]>
cmd/gogio: speed up the wine e2e test

First, use wineboot instead of winecfg to set up the WINEPREFIX. It's
the right tool for it.

Se...

669e4cc96a88ee5df5c95b8ea5f4485d8f721ddb authored over 4 years ago by Daniel Martí <[email protected]>
cmd/gogio: make e2e test output consistent

Fix a long-standing TODO: instead of each sub-test handling its own
output separately, just make...

023e02225502d3fef69e88771bbb08e3f12f3cbb authored over 4 years ago by Daniel Martí <[email protected]>
cmd: bump gioui.org dependency, use -modfile properly on CI

A simple 'go test -modfile=<path>' won't work properly for the
end-to-end tests, since they run ...

9ad412ea0b0fac08ccaa9112534b18a60ed67d9f authored over 4 years ago by Daniel Martí <[email protected]>
cmd/gogio: use a standalone WINEPREFIX for the wine e2e test

This way, if the user has a custom winecfg, it can't possibly affect the
tests. I was encounteri...

c2cbcee78de0697d7571db18fc9783b91fa5b440 authored over 4 years ago by Daniel Martí <[email protected]>
io/router: fix Enter/Leave during press events

This commit updates the implementation of the Enter/Leave pointer
events so that it no longer sh...

29a9e5bc2707190501c7c103480ca615cd2f8ec8 authored over 4 years ago by Chris Waldon <[email protected]>
io/router: improve benchmark by trying multiple sizes

This commit improves the usefulness of the benchmark by automatically
measuring event processing...

c1f0f9b5c7db10c229da296a6e4c06fd4932c0b7 authored over 4 years ago by Chris Waldon <[email protected]>
io/router: fix enter/leave event tests and add more

This commit fixes a bug which concealed test failures when
the actual event sequence was empty b...

b2f177667031d7e14cef40f59172d46e7adc881f authored over 4 years ago by Chris Waldon <[email protected]>
cmd/gogio: add -linkmode flags

For experimenting with https://github.com/golang/go/issues/38918.

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

0ad8f85c05e77782f4aa2b8926101d54413c553f authored over 4 years ago by Elias Naur <[email protected]>
cmd/gogio: fix ldflags overwriting

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

bcbea7e65371e81e2351467dd9a7aa8d8cec117b authored over 4 years ago by Elias Naur <[email protected]>
app/internal/windows: remove extra empty line

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

630e0b494d27bd5dc0a92aed56079df302167ae3 authored over 4 years ago by Elias Naur <[email protected]>
cmd/gogio: use filepath for Windows compatibility

Fixes gio#112

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

681bafce08b5493408908e6b2289e3ebda1ed536 authored over 4 years ago by Elias Naur <[email protected]>
app: [Android] tweak environment for os.UserHomeDir and os.UserConfigDir

Set the fallback environment variables XDG_CONFIG_HOME and HOME to
make os.UserConfigDir and os....

3957be37c82124c3eea881ce1e4b5b9af56026f4 authored over 4 years ago by Elias Naur <[email protected]>
app: [Android] set XDG_CACHE_HOME to make os.UserCacheDir work

os.UserCacheDir can't work on Android because it doesn't have
access to the Java app context. Gi...

2395659be373b319821ed4c04c674edb5f12e22d authored over 4 years ago by Elias Naur <[email protected]>
app/internal/log: use the app ID as the Android log tag

This way, a Gio app's logs can be filtered uniquely, which wasn't
possible before since the tag ...

e97adeedd9186530b84a40ebd0ebb7af66eb0e07 authored over 4 years ago by Daniel Martí <[email protected]>
cmd: add a go.local.mod for development

It's essentially a copy of go.mod, but with the gioui.org module replaed
with the parent directo...

ec34eb4919f01879b180418df5b0364bf47456b2 authored over 4 years ago by Daniel Martí <[email protected]>
app/internal/headless: [Android] expose Java initialization method

Android apps may want to run Go code independent of the Gio Android Activity.
Expose a Gio.init ...

33493501a63fc70a433f063c11b7a7be163a24d8 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: [Android] remove JNI_OnLoad JNI callback

There can only be one JNI_OnLoad callback per JNI library, and the
Gio program may need it for i...

cde651db60e1d9ae88e820a4d51391e23e640274 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: don't rely on JNI_OnCreate for getting the JavaVM

We're about to remove the global JNI_OnLoad constructor, and the
JavaVM singleton is just as eas...

0c0a22bee73cd552c6c6c861d2a92edabea7ab6d authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: remove unused #includes

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

c7c5b8726414f40aa46ff1e99bb24cd5f7dfc4bd authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: removed unused function

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

7301ebe0ef43a297f1c0fa1296fd463eca31f872 authored over 4 years ago by Elias Naur <[email protected]>
widget: report whether Value changed after Enum.Update and Bool.Update

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

f08568a6dfc3890dcc8ea76c11f1a4cd436a57c1 authored over 4 years ago by Elias Naur <[email protected]>
example/kitchen: add Switch widget

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

05efb9b5f4529fa3d6446d238f461a84792f3644 authored over 4 years ago by Elias Naur <[email protected]>
widget/material: add Switch widget

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

26da49e145f37590f6927328653560af338d8534 authored over 4 years ago by Elias Naur <[email protected]>
widget: rename CheckBox to Bool

We're about to introduce the Switch widget that re-uses the same
state type as CheckBox. The Boo...

6b4eb710b328b66e7165fb9d41990d6f81d447af authored over 4 years ago by Elias Naur <[email protected]>
io/router: add tests for Enter/Leave pointer events

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

13941c9f1b3c5894ef6c2c0f34f60c6462302808 authored over 4 years ago by Chris Waldon <[email protected]>
io/router: send pointer Enter/Leave events

This commit introduces a naive system for sending events
when a pointer enters or leaves a point...

1c113f19c67363660b0a80f1602207e7da8aff0a authored over 4 years ago by Chris Waldon <[email protected]>
io/pointer: define new Enter/Leave pointer events

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

6501ecf2a0d52a985fc82fe0d06f7ab0a671727d authored over 4 years ago by Chris Waldon <[email protected]>
widget,widget/material: export Enum.Value

The Value method both updated the enum value and returned it.

In order to access the current va...

f1e266a9e70f49385dd56666cd8a3ca53a48fcc7 authored over 4 years ago by Elias Naur <[email protected]>
widget,widget/material: export CheckBox.Checked

Similar to the previous change to Enum, expose the current state of
the CheckBox. Rename the Che...

52d8a8867d7208e8cb57cd1540fe470777eac132 authored over 4 years ago by Elias Naur <[email protected]>
example,cmd: bump gio version

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

a1166e66521a982db2aabccc0c88595d86be88b9 authored over 4 years ago by Elias Naur <[email protected]>
layout,app,io/system: move Queue from app.Window to FrameEvent

Change gioui.org/commit/0e70fbc1262920a69c60409285795b6bb8701b09
added a note that app.Window.Qu...

8d9612f9aa462cb5ef571518694a3def64bc9e50 authored over 4 years ago by Elias Naur <[email protected]>
layout: replace NewContext with a Queue argument to Context.Reset

We're about to reduce the scope of the Window.Queue by moving it
to FrameEvent. As a consequence...

289fe02b90a986253fd80a2538f50c7c9607c007 authored over 4 years ago by Elias Naur <[email protected]>
layout: fix typo

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

d350f820113e57716d9fea3f8270d414c3e03130 authored over 4 years ago by Elias Naur <[email protected]>
example: bump gio version

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

d474b5b16a81d11e6012950c1d7bf47f2d8cd85a authored over 4 years ago by Elias Naur <[email protected]>
material: make theme constructors stand-alone functions

The multitude of widget methods on Theme is unnecessary coupling in that all
possible widgets ei...

060cff257f1ddbbe20030fb8408bba33760f0522 authored over 4 years ago by Elias Naur <[email protected]>
widget,widget/material: move Image and Icon to widget package

There is nothing theme-specific about displaying images and icons,
so move the types from the ma...

e460e4f4bfa052e4d53a8cc7d4d1f8ef58e6a176 authored over 4 years ago by Elias Naur <[email protected]>
widget/material: report icons dimensions after running Icon.Layout

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

fa7f9d3ba897ef0e4221c3cb1ceb50e98c99e28a authored over 4 years ago by Elias Naur <[email protected]>
gesture: support multiple click actions

Double click or tap actions are common in user interfaces and this
commit adds support for it in...

4db3cb2afbcf56af42bc6718f7dbbd6f0283b304 authored over 4 years ago by Pierre.Curto <[email protected]>
example/kitchen: Use the button passed to iconAndTextButton.Layout

The global iconTextButton variable was used instead of the passed
button.

Signed-off-by: Fabian...

b862f4f1745e250ff785856aca4485295ac35d27 authored over 4 years ago by Fabian Geiselhart <[email protected]>
app: add note about the safe use of Window.Queue.

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

0e70fbc1262920a69c60409285795b6bb8701b09 authored over 4 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

133fa45258fc5f4cb40a4ae6958d77e3a85cc7f7 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/log: add synchronized logger on Android

By default, the standard library log package outputs to stderr.
However, stderr is redirected th...

4bde9fbcaa2d809bb734f04f207d513b44c82323 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/log: fix typo

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

51e4df77070974a962ee62646533ce48f870fe56 authored over 4 years ago by Elias Naur <[email protected]>
gpu/shaders: avoid first-class arrays

Safari's WebGL1 implementation (rightly) complains that first-class
array types are not supporte...

1062d4e79d4198f84beda8ffb3528e6fa8d0a7ff authored over 4 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

9218df1db76799ee3b14303765c61b260197b3a0 authored over 4 years ago by Elias Naur <[email protected]>
gpu/gl: detect float FBO support under Safari's WebGL1 implementation

Safari's WebGL does not advertise support for EXT_color_buffer_half_float,
but does support rend...

9842cbd30bfbb39774b506206339c789a38a03a4 authored over 4 years ago by Elias Naur <[email protected]>
gesture: fix typo

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

22f964548b869d1ace6bfcaff8f52a511ce242a9 authored over 4 years ago by Elias Naur <[email protected]>
cmd/gogio: match Android window background with default Gio color

While launching an app on Android, the hard-coded theme is used for
the color. That color is by ...

84d4800a16126efe3128d7978efc5681ceca6aa9 authored over 4 years ago by Elias Naur <[email protected]>
example,cmd: update gio version

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

cf6e128d48352f85c1e8abbbc078c8fed568cc70 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/cocoainit: enable multithread support in Cocoa

According to

https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multith...

533bf953f987861bfacb3facb8403146a4c9fdcc authored over 4 years ago by Elias Naur <[email protected]>
ui: fix wrong method name in documentation

Signed-off-by: Fabian Geiselhart <[email protected]>

08dfd2943b6ff6e500fe909abec002dc93a5db16 authored over 4 years ago by Fabian Geiselhart <[email protected]>
example/go.mod: update gio version

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

925f5af930a38c6043036bacf93bf6a904bd3275 authored over 4 years ago by Elias Naur <[email protected]>
gpu: reset to the default framebuffer on reset

The macOS backend doesn't re-create contexts, holding on to the first
created instead. Make sure...

02d4316c560779fbf4c9204c97f4050517a29111 authored over 4 years ago by Elias Naur <[email protected]>
app/internal/window: [Android] use correct JNI Call variant for registerFragment

While we're here,

- replace the registerFragment trampoline with a general variadic
CallVoidMet...

aefc6f36256a2a67b111252d814883f4b4ed2442 authored over 4 years ago by Elias Naur <[email protected]>
app: [Android] replace PlatformHandle with JavaVM, AppContext methods

Clearer and fewer types.

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

ae77377f7be6dbb662321571937bf7ac15744f78 authored over 4 years ago by Elias Naur <[email protected]>
app: fix NewWindow comment

Window options are a list now, not a struct.

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

10f932137c33b515093b5e64e4c4899e249eba80 authored over 4 years ago by Elias Naur <[email protected]>
internal/window: [Android] remove unused C function

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

30b46ded6b70bfb1bd16714d775487874abc9c5e authored over 4 years ago by Elias Naur <[email protected]>
cmd/gogio: include Android themes in .aar outputs

Not strictly necessary, but makes embedding a Gio Android Activity
easier; adding

<activity an...

2b1935d657476207f6ad83114b6bf1f8ca1a8841 authored over 4 years ago by Elias Naur <[email protected]>
example/tabs: add example for tabbed content

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

0cfc914d8b7d1db04f24fcc7644e286f34da42cd authored over 4 years ago by Elias Naur <[email protected]>
Revert "widget/material: propagate ButtonLayout minimum constraints to content"

This reverts commit 52ccc183b54c2a3ccc04fe69cfa08eebaab662a1.

Reason for revert:

This doesn't ...

b1aed3eae023d6f18804d9d028acf95c28aa0c87 authored over 4 years ago by Elias Naur <[email protected]>
widget: improve Click description

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

b8cbc1e99d1781b8a8bf07871f78d5d2805dcde6 authored over 4 years ago by Elias Naur <[email protected]>
example/kitchen: add ProgressBar example

Updates the kitchen example codebase showing ProgressBar functionality.

Signed-off-by: metaclip...

efce78d414f3adf866b81bf6c149aa6aee8302c6 authored almost 5 years ago by metaclips <[email protected]>
widget/material: add ProgressBar

Add progress indicator support to material widget

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

da01fbdea784f16b9307a82f3e71e9a981ce94ce authored almost 5 years ago by metaclips <[email protected]>
LICENSE: merge UNLICENSE and LICENSE-MIT

The pleasing of automatic license detectors continues.

No license change, merely a merging of L...

221ce023289363fad9b7c2a9431240fa6db144da authored almost 5 years ago by Elias Naur <[email protected]>
.builds: add webassembly build test

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

0542796463af460775facab28b5beac4ab4dbee0 authored almost 5 years ago by Elias Naur <[email protected]>
example/glfw: fix build

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

97538991d27c431be62fb4d3fbbc9d25a6d11882 authored almost 5 years ago by Elias Naur <[email protected]>
example,cmd: update gio

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

1a3bbd5d921bb838bcb7b81e23b23091c25cc779 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal: fix Android build

pkg-config doesn't exist for Android.

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

1ad891ff67228d6c28a268c5c254060794ad4083 authored almost 5 years ago by Elias Naur <[email protected]>
widget/material: re-center Button label

A previous change propagated the minimum layout constraints to Button's
content, which made Butt...

27d81b8c7ef96084179721035b831be3d71203d1 authored almost 5 years ago by Elias Naur <[email protected]>
widget/material: propagate ButtonLayout minimum constraints to content

The previous change fixed a regression where minimum constraints larger than 0
would not affect ...

52ccc183b54c2a3ccc04fe69cfa08eebaab662a1 authored almost 5 years ago by Elias Naur <[email protected]>
widget/material: draw button to max width with ButtonLayout

This patch allows support to draw button to maximum width using ButtonLayout.

f7a23ad46a883057e6a7b9641bad493c623d9f6c authored almost 5 years ago by metaclips <[email protected]>
example/kitchen: add ButtonLayout example

Updates the kitchen example codebase showing ButtonLayout functionality.

43df9f26771c4043269741c82025d59a790d196b authored almost 5 years ago by metaclips <[email protected]>
app/internal: use pkg-config for finding system headers and libraries

I've resisted relying on pkg-config in the hope that hard-coded include and
library paths would ...

38ed6d1569354ad5b6b027bb357798dcde90f7ec authored almost 5 years ago by Elias Naur <[email protected]>
widget/material: add ButtonLayout

Add ButtonLayout for adding button behaviour and style to arbitrary content such
as a combined i...

5d7fbd761f4f8a3471005541ec5bf12be1924188 authored almost 5 years ago by metaclips <[email protected]>
app/internal/window,app/internal/egl: avoid X11 dependency in EGL

EGL is window system agnostic, but its egl.h header includex X11
headers by default. Use the MES...

a3101c9454b7451c0e3959820d6d2e1b409d2e63 authored almost 5 years ago by Elias Naur <[email protected]>
gpu/gl: remove unused field

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

56c3edef8294ee11cb34738bbb4e6d29a22d5748 authored almost 5 years ago by Elias Naur <[email protected]>
app/internal/d3d11: enable VSync

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

acd32c31a2deb54578980d09151b1a25665a8742 authored almost 5 years ago by Egon Elbre <[email protected]>