Ecosyste.ms: OpenCollective

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

github.com/gioui/gio-x

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

explorer: Ensure the ChooseFile API returns in WASM when no file is selected

Current implementation relies on change event callback to return. However, if no file is selecte...

bd512687e42ab3e975c66b078da0bab7c335b873 authored 10 months ago by Siva <[email protected]>
explorer: make CreateFile API work for WASM

Earlier js.CopyBytesToJS(value, b) was used on a blank destination array. As per go docs, it cop...

75d15afdaf638f3641d6233c941c2be7b3f39e35 authored 10 months ago by Siva <[email protected]>
go.*: update to gio v0.5.0

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

a79b18f2703ba5cc254493e5cf081e687aacdd48 authored 10 months ago by Chris Waldon <[email protected]>
go.*: tidy modules

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

e88b6b21b0ef0901398e2dba193094476eb15a8a authored 11 months ago by Chris Waldon <[email protected]>
go.*: update to upstream event filters branch

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

a9f45ca46c7c683a2337228168e639c5bc27fadf authored 11 months ago by Chris Waldon <[email protected]>
colorpicker: [API] update to event filtering API

This commit updates the colorpicker to process events using the new event filters
API and also r...

576bf83f28a8a1999d5ed5cd4f8660c0c41380f6 authored 11 months ago by Chris Waldon <[email protected]>
component: convert to event filters API

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

794c9079c52f36b8d6638b281ce3acbec4703b95 authored 11 months ago by Chris Waldon <[email protected]>
debug: [broken] update to event filter API

This commit updates the constraint debugger to use event filters. Sadly, this
appears to tickle ...

0561bd2d3225613817150fff1d355ca3f7700c92 authored 11 months ago by Chris Waldon <[email protected]>
richtext: [API] update to new upstream APIs

This commit makes package richtext compatible with the new usptream event
filtering while also u...

2016b353ec4f8a7df13af67fc6a09b2cad2e70e5 authored 11 months ago by Chris Waldon <[email protected]>
outlay: fix invalidation api

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

09d3751dd55b9c2033ac5b7baa4c7983b77deafd authored 11 months ago by Chris Waldon <[email protected]>
eventx: [API] remove eventx package

This commit eliminates the eventx package. With the new Gio event filtering API,
the spy and rel...

96e829092f4bad2d60f147c5d835090a0f867a87 authored 11 months ago by Chris Waldon <[email protected]>
profiling: [API] remove profiling package

Gio upstream no longer supports this strategy for gathering graphics profiling
information, so t...

2da524a22d8c903d86a233f566b3c4609de308aa authored 11 months ago by Chris Waldon <[email protected]>
styledtext: fix tests

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

cde33471b1e5e4b0ce0e4d2edbe9b2236a813407 authored 11 months ago by Chris Waldon <[email protected]>
outlay: update remaining layouts to new gio API

This commit updates all remaining outlay layouts to use the new API and
splits the Grid type's U...

01d79de9f76a09c4faf80c51ad1fe8493205f2bf authored 11 months ago by Chris Waldon <[email protected]>
richtext: [API] fix widget update lifecycle

This commit updates richtext to have a split update+layout API like the rest of
Gio, and fixes s...

63894e7a18f806c668844bc9d89048aea8813446 authored 11 months ago by Chris Waldon <[email protected]>
component: Fixes nav items in nav_drawer.go, which were not reacting to clicks, in gio-example/component example

References: https://gophers.slack.com/archives/CM87SNCGM/p1705105742914689.
Changed the order of...

0d2ba4c48bbe903ac70c4b2095cc4b0e2c12d0cb authored 11 months ago by Mearaj Bhagad <[email protected]>
go.*: update to gio v0.4.1

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

23aab4cc20e0eb078bfaa1f6c405ff469348c0cf authored about 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio v0.4.0

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

e875018d8bb4553dd7705e5fe2f2768a3e852c33 authored about 1 year ago by Chris Waldon <[email protected]>
outlay,richtext: fix tests to use new API

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

3505fff3991c28b09b5e69bc5ba0077b4a92a356 authored about 1 year ago by Chris Waldon <[email protected]>
go.*,colorpicker,component,debug,outlay,richtext: make compatible with latest Gio

This commit updates all widget/gesture event API use to be compatible with the
latest Gio APIs.
...

e2613e1d936ce3b3b97c07e1f634366b46cdced1 authored about 1 year ago by Chris Waldon <[email protected]>
debug: single debugger at a time and keyboard shortcuts

This commit ensures that only a single constraint debugger is active at a time within
a given wi...

2586de88c8ef722d299893bef967316e35d6e2e3 authored about 1 year ago by Chris Waldon <[email protected]>
component: fix recursion in truncating label style

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

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

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

4bee51db8506878be70b43fc14fd0397ff35d1f0 authored about 1 year ago by Chris Waldon <[email protected]>
debug: add global helpers with automagic state management

This commit adds two global functions that can use any unique tag to store the
constraint editor...

679b6cf3ac3aff3def25b09a157d55ec36bea63c authored about 1 year ago by Chris Waldon <[email protected]>
debug: define simple constraint editor

This commit defines debug.ConstraintEditor, a type that can be easily inserted
into layout code ...

01f5b441d8af294c33e2c29a855793799b889a45 authored about 1 year ago by Chris Waldon <[email protected]>
debug: display constraint/size values as text

This commit adds an overlay displaying the numerical values of the constraints.

Signed-off-by: ...

8819facf1b2dfa1909d8acbae10f1aeacc2f8dad authored about 1 year ago by Chris Waldon <[email protected]>
component: update context area absolute position docs

This commit clarifies the documentation for component.ContextArea's AbsolutePosition
field to ma...

9b6e93428ceb57868e9e8193d94e125522e00544 authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update golang.org/x for slices.Reverse

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

3246478ce3ca37fa3cf4ad6671c3f0dbb0f4ac05 authored over 1 year ago by Chris Waldon <[email protected]>
outlay: fix pre go 1.21 slices package use

I didn't realize that my editor imported the wrong slices package here.
We do support Go 1.20, s...

f859e99f9c921ae1126bdf4e3789936f1ca8770d authored over 1 year ago by Chris Waldon <[email protected]>
component: deprecate TruncatingLabelStyle

This type is no longer needed now that the core text widgets internally support truncation.

Sig...

101388983c883b9be5b7f16731c6e3ad73f5f5ca authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio v0.3.0

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

80332163fd2ea1f24bbf4863badd2f5cfabf5646 authored over 1 year ago by Chris Waldon <[email protected]>
component: fix bad field rename

This commit fixes a failed automatic refactor that was supposed to rename the outlay
inset field...

849a8b779b42c986b984f057df0884db9b88d1d2 authored over 1 year ago by Chris Waldon <[email protected]>
ci: use go 1.21

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

9081dbd4ca656657050bca4e14484a54cc857d5b authored over 1 year ago by Chris Waldon <[email protected]>
explorer: fix byte copying from JS to Go

This commit updates our invocation of syscall/js.CopyBytesToGo to provide the
expected concrete ...

27d6ce8545e1404fd3ee5c6c339a9b75ce7e5f59 authored over 1 year ago by Chris Waldon <[email protected]>
component: make menu items RTL compatible

Thanks to Imran Iqbal for prompting me to do this. Imran submitted a
great patch that manually f...

82c887ad5936e965f653a2456e5ed9d7c4d93bad authored over 1 year ago by Chris Waldon <[email protected]>
outlay: add locale aware flex and inset types

This commit adds analogs to layout.Inset and layout.Flex that automatically
respond to the syste...

e2c1f140181eebf09403cb51c80e28c16de2b589 authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update gio for latest text changes

This commit picks up text behaviors expected by the styledtext package.

Signed-off-by: Chris Wa...

92d9df46ccd569373e507c0049499a10c30c4037 authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: handle too-long single words

If wrapping on words and a world longer than the max line length is encountered, we
would previo...

cc46c49493ac274ed4718fd75de948729feb5dc2 authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: handle gio text shaper behavior change

This commit updates styledtext to expect the Gio text shaper to truncate trailing
newlines and a...

3df1368f4c05dbbbe51be18121acc7a45e55959f authored over 1 year ago by Chris Waldon <[email protected]>
richtext: surface wrap policy in richtext API

This commit allows configuring the wrapping policy of a richtext.Text using the
policies defined...

2fe51d009a079e32f6c51057f360839a275294fd authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: [API] allow configurable wrap policy

This commit enhances styledtext to allow the user to configure a line wrapping
policy. The prior...

d5fa3814ca02d96b24ed6da5040ec06fd6351aea authored over 1 year ago by Chris Waldon <[email protected]>
component: make contextual overlay smarter

This commit updates the logic used to position the contextual widget given to
ContextArea.Layout...

323446812b7834cabbf9e92dc960d5199cd25e45 authored over 1 year ago by Chris Waldon <[email protected]>
go.*: update to gio v0.2.0

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

53a0f77a69a30f673d70f6b91af815414556c31d authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: add regression test for double newline hang

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

0d73d86079a6bcf3a82007c71da04f742f9e9ddc authored over 1 year ago by Chris Waldon <[email protected]>
outlay: fix typo in outlay.Item

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

fae61daa6be412ab67fc7b4978f367fd4cf73a06 authored over 1 year ago by Sebastien Binet <[email protected]>
pref/battery: add battery implementation for Linux

This CL adds the battery API implementation for Linux based off the
informations provided by /sy...

e77d09b406caac00e9d2564b7b5e7190b7aef8d7 authored over 1 year ago by Sebastien Binet <[email protected]>
explorer: make compatible with Go 1.21

This change makes Explorer compatible with Go 1.21.

Fixes: https://todo.sr.ht/~eliasnaur/gio/51...

ffbcbb2bf7fcbe712342db34d1b807843378ae17 authored over 1 year ago by inkeliz <[email protected]>
notify/macos: drop critical alert attribute

This makes notify-generated notifications not request critical priority, as it both is
disruptiv...

4b62720cb125da2edc3cf3cb4d05fb59e6778ed6 authored over 1 year ago by Chris Waldon <[email protected]>
stroke: add handling of large angles to ArcTo

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

ca9a80220515e7ded2556082c56d9923028509ae authored over 1 year ago by Sebastien Binet <[email protected]>
eventx: handle nil queues

This commit ensure that nil'ing out a queue, which is a valid
convention in Gio, does not cause ...

23832138673ed6a3814ffe70c8292403943fbdfe authored over 1 year ago by Jack Mordaunt <[email protected]>
richtext: fix richtext tests

This commit fixes some uses of material.NewTheme that I missed in the richtext
test suite.

Sign...

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

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

807d0bf42e069ab1545cb6e70c2e9ef22b8d6341 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,colorpicker,markdown: update to latest gio (system fonts)

This commit updates gio-x to be compatible with Gio's new text API.
In particular, the colorpick...

1f14944490619fa0c24df4b99070c09afb0dc51b authored over 1 year ago by Chris Waldon <[email protected]>
go.*,docs: update to gio v0.1.0 and update README

This commit updates x to use Gio v0.1.0 and adds the tag policy to
the README.

Signed-off-by: C...

1004d1652b87c26644e452fbe095bb09f6b93f13 authored over 1 year ago by Chris Waldon <[email protected]>
notify: restructure ongoing notification API

This commit makes sending an ongoing operation into a method in
its own right, rather than a mod...

dfb0a74a7e1d2dc158ad1020ab92803c5133be4c authored over 1 year ago by Chris Waldon <[email protected]>
notify: add support for ongoing notifications

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

6725b45eda61dde4e46146b40182129a52cc64d4 authored over 1 year ago by Hashim <[email protected]>
styledtext: use better truncator constant

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

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

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

f4f65e94fa903d2f4c240326ce97492aa7bb8ed2 authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: fix possible infinite loop

This commit fixes a condition in which the styledtext display could loop infinitely
if none of t...

630678cf5c2181dffe3c4d41fa39421f181d7dc2 authored over 1 year ago by Chris Waldon <[email protected]>
styledtext: handle new truncation behaviors

This commit updates styledtext to expect automatic text truncation and to
properly process the r...

8432ec5563bb5724b04d08cdffdd1f94dc3d8ab6 authored over 1 year ago by Chris Waldon <[email protected]>
component: remove type cast which is no longer needed

Signed-off-by: Lothar May <[email protected]>

711bcab90b245e9322da4717ada88c597ba522c8 authored over 1 year ago by Lothar May <[email protected]>
component: If text_field hint text is empty, do not display a space in the field border.

Signed-off-by: Lothar May <[email protected]>

5533984a803232b5a0d88c7fd3494487cf16dce3 authored over 1 year ago by Lothar May <[email protected]>
all: bump x/[email protected], x/[email protected] and x/[email protected]

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

752f112c7a5935bdd6a2676d6cd83e7297358a7b authored over 1 year ago by Sebastien Binet <[email protected]>
stroke: add ArcTo

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

dd57f5c1f5daf4da4d6f8e21fc51e15d99e4d838 authored over 1 year ago by Sebastien Binet <[email protected]>
notify: fix windows build problem

This commit fixes an outdated field reference preventing this package
from compiling properly on...

e6edded127b573bdcf672399723d71d610894573 authored over 1 year ago by Chris Waldon <[email protected]>
notify,profiling,stroke: gofmt

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

087d853e23978346cc14d9055f0760b450413a13 authored over 1 year ago by Chris Waldon <[email protected]>
go.*,component,styledtext,richtext,markdown: update font usage

This commit updates gio-x's use of the text shaping API to use the new symbols
defined in packag...

59c1ef31395fd7b87862e1f05f29e20023c9e411 authored over 1 year ago by Chris Waldon <[email protected]>
component: [API] remove redundant TextField.Alignment

The embedded widget.Editor already has Alignment (of type text.Alignment instead of layout.Align...

b8533313f9763baca2bde1107fb75202ef579792 authored over 1 year ago by Gordon Klaus <[email protected]>
go.*: update to latest gio

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

fd712aa4daf56267888be717d8bf4fbc7a7e8ae8 authored over 1 year ago by Chris Waldon <[email protected]>
component: lay out TextField.Editor in a Flexed child

This positions Prefix and Suffix correctly (at the ends of the field)
and stretches the editor a...

64527da4a3df80675c19b4d37c3cd9729bbce4d3 authored over 1 year ago by Gordon Klaus <[email protected]>
notify: [windows] use COM based toast notifications

This commit changes the toast dependency to one with a
similar api but uses COM directy instead ...

aad49f4db6122d5f17bad6de167e1451d64e87e5 authored over 1 year ago by Jack Mordaunt <[email protected]>
go.*,styledtext: update to new text shaper API

This handles the breaking shaper API change from gioui.org@7e8c1092

Signed-off-by: Chris Waldon...

fdc1b6704019aaae88bb838b3c8d6523d5d52fb4 authored over 1 year ago by Chris Waldon <[email protected]>
component: add Fill color field to SurfaceStyle

This enables using menus with non-default background color, for example when using a dark theme....

05b40af72ed0bf3d986df27c6639960dbfa38100 authored almost 2 years ago by Lothar May <[email protected]>
resize: maintain ratio when changing constraints

Before this change, changing the constraints (e.g. by resizing a window)
would have the followin...

6822f59b3b6b5ceb6cb77afbed65395178c11783 authored almost 2 years ago by Dominik Honnef <[email protected]>
outlay(grid): update scrolling logic

This helps with scrolling jankiness, thanks to Ortwin Wittmann for the
suggested fix.

Updates: ...

ea2f4a8b0adabddaea64bc66c3065276d06ecf7e authored almost 2 years ago by Chris Waldon <[email protected]>
explorer: refactor importFile{,s} for Linux

This CL refactors `importFile{,s}` for Linux.
it also prepares for the ability to modify the "la...

a8f5094dcb965cd6bbfe39beead2c2bcd4d6e192 authored almost 2 years ago by Sebastien Binet <[email protected]>
explorer: apply goimports+gofmt

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

f6d7d861d6c54e5fe9144ab9d345992cea768f52 authored almost 2 years ago by Sebastien Binet <[email protected]>
explorer: implement ChooseFiles for Linux

This CL implements ChooseFiles for Linux on top of DBus' org.freedesktop.portal.FileChooser.Open...

e4e582af919bea5fb06e02463f369e6cee47a122 authored almost 2 years ago by Sebastien Binet <[email protected]>
explorer: fix comment stemming from deprecated API

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

e9435b40b0f95eb8125e7cd329c98158825b6ed3 authored almost 2 years ago by Sebastien Binet <[email protected]>
explorer: introduce ChooseFiles to select multiple files

This CL introduces a new API, ChooseFiles, to allow users to select
multiple files through the n...

abf2811a8cc2a36baf7b8d9fe9a4241d5ae5b117 authored almost 2 years ago by Sebastien Binet <[email protected]>
stroke: Update andybalholm/stroke and add triangular caps

This commit updates andybalholm/stroke to fix a panic with zero lenght paths https://github.com/...

fabadb41b212bd8905fb4aa948e7641fa12bda8f authored almost 2 years ago by Lothar May <[email protected]>
ci: update to Go 1.18.9

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

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

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

6b4a6cc187c422b278692c8f8ef72c87e2a8be37 authored about 2 years ago by Chris Waldon <[email protected]>
styledtext,richtext: adapt to new text shaping APIs

This commit restructures the internals of styledtext to be compatible with
Gio's new text shapin...

a2b41ad69d71c1d3e6cfacac0f802024d8bf487d authored about 2 years ago by Chris Waldon <[email protected]>
richtext: make interactive spans obey constraints

This commit fixes a bug which used the wrong copy of the gtx when laying
out interactive spans, ...

9da08d942944fe30ec66f168e96a01c670bef5cc authored about 2 years ago by Chris Waldon <[email protected]>
explorer: expose Name() for darwin files

This exposes a Name() method for files on darwin and iOS.
Useful if you want the filename of the...

c0c92248522e155403437e20284ce9610aa700a2 authored about 2 years ago by Peter Sanford <[email protected]>
explorer: fix whitespace inconsistency

Signed-off-by: Peter Sanford <[email protected]>

e94c4e0e3970138d182ac0be3dd1f8f204c4da01 authored about 2 years ago by Peter Sanford <[email protected]>
explorer,haptic,pref: drop temporary go.{mod,sum}

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

d48590498bfc079859ac0184189ffa8b57445333 authored about 2 years ago by Chris Waldon <[email protected]>
explorer,haptic,pref: add temporary retraction go.mods

This commit retracts all versions of explorer, haptic, and pref that were
published as separate ...

75f980701e70fe0f20bcc28befca30a490f5088d authored about 2 years ago by Chris Waldon <[email protected]>
notify: drop temporary go.{mod,sum}

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

55202d23f82c5053f922487dd81c7142421481b8 authored about 2 years ago by Chris Waldon <[email protected]>
notify: retract all old module versions

This commit adds back a temporary go.mody to gioui.org/x/notify in
order to retract itself and a...

67f860026fc40eaddd275bbdfb00046812ef3b21 authored about 2 years ago by Chris Waldon <[email protected]>
richtext: fix interactive span aliasing

This commit fixes a subtle bug that only permitted a single interactive
span per richtext.TextSt...

5b5772968c5c115d909ba0da3ee65646f8d93cb2 authored about 2 years ago by Chris Waldon <[email protected]>
component: drop erroneous extra table height

This commit drops extra height that was added to account for table
headers from the component.Ta...

ce11c01a7117d9e1ceb001d1d817e01d25eef6c3 authored over 2 years ago by Chris Waldon <[email protected]>
richtext: reimplement on top of styledtext

Signed-off-by: Dominik Honnef <[email protected]>

8fad0626e912370942a3bd5a7d84477d841e7120 authored over 2 years ago by Dominik Honnef <[email protected]>
styledtext: split richtext's layout code into new package

The richtext package currently has two duties: laying out spans with
different styles, and provi...

966239d0a7d41561abeaa9ae1a820ab1e3e8f137 authored over 2 years ago by Dominik Honnef <[email protected]>
richtext: add comment and improve variable name

Signed-off-by: Dominik Honnef <[email protected]>

c62c60f33ec43c0e742475147cceb653ef1a63a8 authored over 2 years ago by Dominik Honnef <[email protected]>
component(context-area): use smarter positioning

If the context area is able to fit the contextual widget inside of itself,
but the default offse...

eecc69e4bc4cbc55650646a624b066a12d6c450c authored over 2 years ago by Chris Waldon <[email protected]>
component(context-area): add state update method

This commit adds a method to the context area type that permits running
the event processing ind...

1a8b0f45f1991750414c60d677de271c16cbf39b authored over 2 years ago by Chris Waldon <[email protected]>
component: add transition detection functions to context area

This commit adds functions to ContexArea enabling the
caller to determine if the contextual widg...

d941263d27e83ea22cfb33bc6a356494de027a10 authored over 2 years ago by Chris Waldon <[email protected]>
go.mod,go.sum: bump dependencies

This updates multiple dependencies getting rid of many unnecessary
entries in go.sum.

This requ...

48391e74323b65a0c59079b190ad3e3ae44355e1 authored over 2 years ago by Egon Elbre <[email protected]>