Ecosyste.ms: OpenCollective

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

github.com/gioui/gio-example

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

all: update to latest Gio API

The updates to the gioui.org/app package are described by #555.

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

6c702d91c46e95846b61d05ad02ce5c4451c7608 authored 10 months ago by Elias Naur <[email protected]>
hello: restore to hello world example

I had accidentally committed a modified program in its place.

Signed-off-by: Chris Waldon <chri...

223d7dcccbb7dd3a04223e0b041818c8ed2ec039 authored 10 months ago by Chris Waldon <[email protected]>
go.*,all: update to gio and gio-x v0.5.0

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

9d695ee96bcb36929b1735f9e0aa6959e26193f0 authored 10 months ago by Chris Waldon <[email protected]>
go.*: update gio-x for nav bar bugfix

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

c5bf31eb7a0223c094b99f3c2942ae565d72cb2f authored 11 months ago by Chris Waldon <[email protected]>
go.*: update gio for wayland window decoration fix

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

91a66c8ee569d81e2fbc5c5b298d44ba299d4ae9 authored 12 months ago by Chris Waldon <[email protected]>
go.*: update to gio v0.4.1

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

fe672bac9d97b2059a6819c4f7a4824c8317f4fc authored about 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio and gio-x v0.4.0

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

32ba1f1400b26531732b62fa158536939211823b authored about 1 year ago by Chris Waldon <[email protected]>
galaxy: fix incorrect variable names

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

027c3a0bdca147c340a65cfa7dbb8834deebc494 authored about 1 year ago by Chris Waldon <[email protected]>
7gui/timer: simplify event handling

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

35cdcbe4d4b6afae47526d6b432d382ad050e9d7 authored about 1 year ago by Egon Elbre <[email protected]>
all: collapse w.NextEvent with switch

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

feb8e57e6aa5f85330b36b33e0ac8b351ff0d1f6 authored about 1 year ago by Egon Elbre <[email protected]>
go.*,all: update to new Gio APIs

This commit updates all examples to be compatible with changes in core APIs like
the new window ...

dcf5e8d89db2810322fa15233e20bc450632d246 authored about 1 year ago by Chris Waldon <[email protected]>
go.*: fix infinite recursion crash in component example

This commit updates to gioui.org/[email protected], which contains a bugfix for an accidental
recursion i...

b9c5ea57399b95424a2ddbcec79de068cd1c7420 authored about 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio and gio-x v0.3.1

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

e70eb142fe979303129f4fbb5cd2f1ff17609e7a authored about 1 year ago by Chris Waldon <[email protected]>
opacity: add example program for the new opacity layer operations

This commit adds a simple example that demonstrates how to use the new opacity
layer paint funct...

d2e46ca2deef6a072700e8292cdb2ae8df92b5eb authored about 1 year ago by Chris Waldon <[email protected]>
go.*: update to latest gio

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

ce20cf94e11b404c582c860201a271714a970120 authored about 1 year ago by Chris Waldon <[email protected]>
customdeco: visually indicate if custom decorations are expected

Some platforms (notably X11) do not support custom window decorations. This change
makes the exa...

886731465a15d461824d833d4573faee1a26adef authored about 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio and gio-x v0.3.0

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

3be33be496dc20e3af947057b17d4833d178aa2a authored over 1 year ago by Chris Waldon <[email protected]>
kitchen: fix test theme constructor

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

a3f52ac994b50a81c212b4168a4a989a179e8e51 authored over 1 year ago by Chris Waldon <[email protected]>
.builds: update linux version

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

d14eb12c15728079891fc8702475d14f8226717d authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update gio, gio-x, and typesetting

This commit picks up v0.2.0 of gio and gio-x, and the typesetting version that
is known to be go...

2eba220dd454d19f0aba167a1aa7df2f82348f33 authored over 1 year ago by Chris Waldon <[email protected]>
.builds: update go version

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

39a247aca1dd35b8bef97fd84e00a0db61d966d1 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,all: update all examples for system fonts API

This commit updates every example to be compatible with the new system font
text API. Mostly thi...

e0848f20a736230d12d6d1b406389130ccc39689 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,docs: update to gio{,-x}@v0.1.0 and document tag policy

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

550f56acde40fcb7cd0683396126b367825e74b1 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,notify: update gio-x and demonstrate ongoing notifications

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

26ff103132b69be0a96238b3b72a8687c02eea1e authored over 1 year ago by Chris Waldon <[email protected]>
component/pages/menu: improve menu page responsiveness

This commit restructures the menu page to ensure that the content areas
resize more gracefully.
...

21c958e004b5a457e96fc74a6b872e3997f39a1a authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update to latest gio and gio-x

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

bfc09af353809878b9b2c06847e7f36557d0d040 authored over 1 year ago by Chris Waldon <[email protected]>
opengl: gofmt

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

b9983fab5f0ad729367255cf8b160b9c25c288fc authored over 1 year ago by Chris Waldon <[email protected]>
go.*,bidi,fps-table,gophers,kitchen,markdown,textfeatures: update text usage

This commit updates references to font properties to use the symbols in gioui.org/font
instead o...

613640ec7f3397c696aef438e2ff464416854f95 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,component: update component TextField usage

This commit updates the component demo's TextField page to use the correct
alignment option afte...

c78947f6f2f20e49317caeca42462b001ea5b610 authored over 1 year ago by Chris Waldon <[email protected]>
textfeatures: add simple demo for color glyphs and truncation

This commit adds a simple program demonstrating how to load a color emoji font,
how to configure...

059eaf62170ba7c7e99834d1f2227ca46330aafc authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update to latest gio and gio-x

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

d22df62a07ca224c80f90df6ba87683b9eb8bf20 authored over 1 year ago by Chris Waldon <[email protected]>
multiwindow: use SpToDp

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

36885c97f785f24a88b8680e969e712a566838da authored almost 2 years ago by Egon Elbre <[email protected]>
kitchen: add example selectable text

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

971c3a6c4154b6c8b68e29ec7f7f00b1bd9532d2 authored almost 2 years ago by Chris Waldon <[email protected]>
bidi: add example with bidi text

This commit adds a simple example with an editor pre-populated with
bidirectional text. It serve...

847dd7c06b6c4dfbc3413688d61072ad6d81ccb0 authored about 2 years ago by Chris Waldon <[email protected]>
deps: update to latest gio and gio-x

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

fa09300206c78689f8c5b3ce242413a78266ae16 authored about 2 years ago by Chris Waldon <[email protected]>
go.*: update to latest gio{,/x} and prune deps

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

a9116b22fe5967fbd452b455f8a78b0ee7906888 authored over 2 years ago by Chris Waldon <[email protected]>
go.*: bump gio and gio-x

This picks up the new slimmed-down dependencies for gio.

Signed-off-by: Chris Waldon <christoph...

3d1ae7069a7ce9bd32d1ad362b6b66baa67004a4 authored over 2 years ago by Chris Waldon <[email protected]>
deps: update to latest gio and gio-x

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

b12a70663a15e8730e5b7186c6cd6d17ea17c933 authored over 2 years ago by Chris Waldon <[email protected]>
deps,markdown: update to latest gio-x API

This commit updates to the recent changes in the richtext package's
public API.

Signed-off-by: ...

a56563fa1cb6380fba15f34e2fe6660f9c1b3c52 authored over 2 years ago by Chris Waldon <[email protected]>
deps: update to latest gio and gio-x

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

57fec8c62b3c50de5a8111121a1f49e2ffadb03b authored over 2 years ago by Chris Waldon <[email protected]>
markdown: update to new API

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

6253df27de9b09d379593047362815afddfa87d4 authored over 2 years ago by Chris Waldon <[email protected]>
go.*: bump Gio version

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

171a6b4847f12506a616f4ccadbd998bc3440cb8 authored over 2 years ago by Elias Naur <[email protected]>
customdeco: demonstrate custom decorations

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

610c46d683ab2f0ca5669ff7fec5ed7f8d2740a5 authored over 2 years ago by Elias Naur <[email protected]>
go.*: upgrade to latest Gio, bump go.mod to 1.17

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

469723ca5d1a1759c7b0e16f954384fbc7fe3511 authored over 2 years ago by Elias Naur <[email protected]>
color-grid,fps-table: add simple demos exploring grid/table usage

This commit adds two demonstrations of the new grid and table types
available in gioui.org/x/com...

caaef922b9f91cb4ef0099058b12f9e3a2e95b67 authored over 2 years ago by Chris Waldon <[email protected]>
deps,all: update to latest gio{,-x} and fix all examples

This commit updates all examples to use the latest units API.
It also drops the outlay/table exa...

b5ffb1e41203411ff399c1ec26ad99411555c161 authored over 2 years ago by Chris Waldon <[email protected]>
deps,7gui/*,life,gophers: update gio and global keyboard shortcut example

This commit updates to the latest gio and adapts all of the global keyboard
shortcut handling ex...

3f0fb596da18f96efb92dcb2eea822bdce47a295 authored over 2 years ago by Chris Waldon <[email protected]>
deps: require gogio using tools.go

This ensures gogio is available to build examples, and it helps lock the
version of gogio used t...

b74c79572f35b9b69d358d058ce4d6bea5658fa9 authored over 2 years ago by Chris Waldon <[email protected]>
go.*: bump Gio version

Fixes build on 32-bit platforms.

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

bc4793259d2e202de957805f2b418d92ff83e5c1 authored over 2 years ago by Elias Naur <[email protected]>
deps: update gio and gio-x

These updates pick up support for RTL languages and
complex scripts.

Signed-off-by: Chris Waldo...

b6b2f1ada512fc8534e4ee1dd691b30bd569cd9e authored almost 3 years ago by Chris Waldon <[email protected]>
mod: bump gioui.org and gioui.org/x

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

e051ef6e06ab1130c55d9ff49ab3327bf552ac9a authored almost 3 years ago by Egon Elbre <[email protected]>
opengl: render on app thread, not window event loop thread

Binding a GPU context to a window surface must happen on the event
thread, but rendering doesn't...

e49702a67fb01f60b83a3be14552c243234bb79a authored almost 3 years ago by Elias Naur <[email protected]>
deps: update to latest gio-x

This commit updates gio-x to pick up changes in the explorer
package that no longer compiled on ...

592118406a9ff4b08b1fd9ae7516ae6e94c52299 authored almost 3 years ago by Chris Waldon <[email protected]>
multiwindow: fix concurrent use of material.Theme

text.Shapers are not safe for concurrent use, and thus material.Themes
(which embed them) are no...

a444013efb43f71359b6078a8514e97ce1794890 authored almost 3 years ago by Chris Waldon <[email protected]>
multiwindow: fix window close mechanism

This commit updates the multiwindow example to use the new
app.Window.Perform method to close wi...

f5d140d10607f74bceb5e6503cb70a504d8e9104 authored almost 3 years ago by Chris Waldon <[email protected]>
deps,opengl: update opengl example to support wayland

This commit updates to a version of Gio with app.ViewEvent
implemented on Wayland. This required...

9b2e126e0460f044ec6071cfe61dc64717ffc80b authored almost 3 years ago by Chris Waldon <[email protected]>
opengl: prevent building for wayland

Now that Wayland is the default Gio backend on Linux again,
prevent this example from building f...

129cc07e318a7adbcea9e3b850423aab13ba5a62 authored almost 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gio

Signed-off-by: Dan Kortschak <[email protected]>

ffa35208fef5a9cfa6ec2f51f71093353673017f authored almost 3 years ago by Dan Kortschak <[email protected]>
deps: update to latest gio-x

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

609013a7d1a44c09d9a0e132f5bd3fa739920aa3 authored almost 3 years ago by Chris Waldon <[email protected]>
explorer,deps: add file explorer example

This updates gio-x and adds an example of using the new explorer
package there. As a consequence...

0c5674e6c9424d1db56b61113225185f471826ff authored almost 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gio-x

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

ceb684e877a29aa8b4f38b965c16e6df05e3bfaa authored about 3 years ago by Chris Waldon <[email protected]>
markdown: add markdown package example

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

ed7537230789ff0f17811138ce1a0cce48caf7e8 authored about 3 years ago by Chris Waldon <[email protected]>
deps,all: update to expose a11y descriptions

This commit updates all examples to build against Gio's
updated widget interfaces that require a...

c7ae7425a86c6e213e6f9fd60b9f0184cd4d5d28 authored about 3 years ago by Chris Waldon <[email protected]>
component: fix bottom app bar overflow menu anchoring

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

8b43e4dcab8a989b5b9f2dfcd899682704e58ebd authored about 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gio-x

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

d9f1b04c01aaeaccd1023b7b73af6bb0299dda4d authored about 3 years ago by Chris Waldon <[email protected]>
all: replace calls to deprecated op.Save function

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

03d365016a4a7de6b461db94df08e3abc0ec4dfc authored about 3 years ago by Elias Naur <[email protected]>
all: replace calls to deprecated clip.Op.Add

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

c7cd8a23ccdc1047d37c8169f633f24e44ca5fe7 authored about 3 years ago by Elias Naur <[email protected]>
kitchen: replace deprecated op.Save/Load

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

16a12cd3b3d42c1e9dd06b85dd81b4af3d1d866f authored about 3 years ago by Elias Naur <[email protected]>
deps: update to latest gio and gio-x

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

3ac42224369e8993da21ea49a6ca2b4174c7cfe8 authored about 3 years ago by Chris Waldon <[email protected]>
all: update to new op.SaveState and friends

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

d864fcd60bb5cd219b3d9de0b92b00c05fa33c52 authored about 3 years ago by Chris Waldon <[email protected]>
component: update to split op stack API

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

55d1913a0060e8dbdbd242ddd7317b58ae16b6d3 authored about 3 years ago by Chris Waldon <[email protected]>
go.*,glfw,opengl: update Gio version

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

7f1ac989f61348daf98681e97f69d43675f55247 authored about 3 years ago by Elias Naur <[email protected]>
ci: add vulkan dependency

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

f80d0fd9c43425c32c946f3f79f10007ba2d39e1 authored about 3 years ago by Chris Waldon <[email protected]>
ci: update CI to go 1.17.1

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

f3cf36d4750025d3437ffeae9bcad1eed5da0b5c authored about 3 years ago by Chris Waldon <[email protected]>
component: add discloser example page

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

e89c09ff3c2316f63d189736f56bf8542e235cac authored about 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gio

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

b9b7f8ef36b37d508662cc59f6c9b594abd6af9d authored about 3 years ago by Chris Waldon <[email protected]>
notify: update notify references to use Notifier instead of Manager

The current documentation for the notify package uses Notifier instead
of Manager. This change u...

d4f5ff5ca51786492ce4918a1f105b3b9453209c authored about 3 years ago by David Chua <[email protected]>
deps: update to latest gio

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

3ecdf5a1a3db22f29434a0fd9f24cea15f86df09 authored over 3 years ago by Chris Waldon <[email protected]>
x/*: move all gioui.org/x demos to root directory

These demos were hard to discover tucked away under the uninformative
'x' folder. Having them at...

307f4a062c56ed22473fe63a84bfe2954b3bdfac authored over 3 years ago by Chris Waldon <[email protected]>
x/component: refactor into more realistic architecture

This example has grown in complexity to the point where having
all of the code in a single file ...

82c2219a297cccd13698146ee2eb374faafdbf12 authored over 3 years ago by Chris Waldon <[email protected]>
kitchen: remove left-over debugging statement

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

d938fc3042be85ab112c69eaffda55d9f136f775 authored over 3 years ago by Elias Naur <[email protected]>
go.*: upgrade Gio

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

fb3d8bb717bbac37ba2cd4d646147203220263a8 authored over 3 years ago by Elias Naur <[email protected]>
opengl: remove redundant runtime.LockOSThread

The example makes its OpenGL context current on the app.Window.Run
callback goroutine now.

Sign...

b4680d0a489966ba44393f6e73ffef858301d511 authored over 3 years ago by Elias Naur <[email protected]>
opengl: add x11 support

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

6f37407cb9c2dd99a71cb24b67bd3e81b6f3025e authored over 3 years ago by Chris Waldon <[email protected]>
x/notify: demo facelift

Cleanup demo with modern Gio.

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

1d5f91ecd37d900f366b8db7e75af8ecf07d3ee0 authored over 3 years ago by Jack Mordaunt <[email protected]>
go.*,kitchen,opengl: upgrade Gio version

Bring in gpu.GPU API changes and Metal fixes.

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

7155a7091b9942f26564d6ff47e423cff006351b authored over 3 years ago by Elias Naur <[email protected]>
go.*: update Gio version

Pull in the new Metal backend to increase testing exposure.

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

728a93bb5b86c3661ea6f5ba0a57a4b393f948c1 authored over 3 years ago by Elias Naur <[email protected]>
opengl: add instructions for building and running on macOS and Windows

Fixes gio#254

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

d23078309112d19904875f1375919971a3528476 authored over 3 years ago by Elias Naur <[email protected]>
opengl: use the correct framebuffer for screenshot rendering

Add go:build tags while here.

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

0d37441547dd9b6bee5305fcef91ba8f2fda4653 authored over 3 years ago by Elias Naur <[email protected]>
opengl: don't switch rendering threads

Chris' Linux port of the opengl example fails in mysterious ways after
rendering a few frames; e...

bb9a341e115e34e21c4b2426eea9d110521189c3 authored over 3 years ago by Elias Naur <[email protected]>
all: update gio, go fmt for go:build constraints, go mod tidy

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

9373e1c8c1394ca43e82e6b445f86647150d2ccc authored over 3 years ago by Elias Naur <[email protected]>
x/notify: fix macOS example build process

The go generate command that creates an application bundle was
missing some of the scaffolding r...

41edb2536ed997440d2e6bafea834e05f9a9d4f1 authored over 3 years ago by Chris Waldon <[email protected]>
opengl,glfw: update to latest Gio version

Remove depth buffers since they're no longer needed by any Gio
renderer.

Signed-off-by: Elias N...

34293554705ce4073cacad29ecfd9b2985143261 authored over 3 years ago by Elias Naur <[email protected]>
deps,example/kitchen: update to latest gio

This commit adapts the kitchen example's use of icons to
their new API.

Signed-off-by: Chris Wa...

256666b4c0fa948a4fd6e9419d2d6f1c22065aa6 authored over 3 years ago by Chris Waldon <[email protected]>
kitchen: fix nil check

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

aeef185ca39ccea4e673287d87db039ccee3edbb authored over 3 years ago by Elias Naur <[email protected]>
go.*: upgrade to latest Gio

Updates gio#245

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

b1cac82dda53e33bf8d0bd775f2867f89d4feaf6 authored over 3 years ago by Elias Naur <[email protected]>
gophers: add scrollbars

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

75b7e99ef99868d74164c270287657d347da5e72 authored over 3 years ago by Chris Waldon <[email protected]>
kitchen: add scrollbar

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

12b26be937049e4c7986d5d450cd2847abe6ea05 authored over 3 years ago by Chris Waldon <[email protected]>
x/scroll: remove scroll example

The scrollbar is now part of core, and thus used throughout
the other examples. It no longer nee...

14281bf0d29425e0c695ed4508d41abe56747494 authored over 3 years ago by Chris Waldon <[email protected]>
x/component: add scrollbars to pages

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

e267006635881a74e4f755fd53987f0f9d5cbcb6 authored over 3 years ago by Chris Waldon <[email protected]>