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

richtext: allow any value type in metadata

Users may want to associate complex metadata with spans, such as objects
that interactive spans ...

6e5ccb802ed109bb41ec5d47d1c850ec8d552e9e authored over 2 years ago by Dominik Honnef <[email protected]>
richtext: add support for text alignment

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

a0b26f7d48aa345f34ae5dd7e0587256e45dceba authored over 2 years ago by Dominik Honnef <[email protected]>
richtext: add test for nil state

It should be valid to provide nil state for Text if no spans
are interactive.

Signed-off-by: Ch...

02a5084a3ebdf0ffc961794b94154abc258bdeaf authored over 2 years ago by Chris Waldon <[email protected]>
richtext: don't require non-nil InteractiveText if there are no interactive spans

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

249e0ff70a06ddbb7ea8aa38990050ff0ba80359 authored over 2 years ago by Dominik Honnef <[email protected]>
outlay: undo transformations before returning from FlowWrap.Layout

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

34c2fc95672e9eccc78792d55e08c1d2f2e81495 authored over 2 years ago by Dominik Honnef <[email protected]>
outlay: allow grid cells to receive pointer events

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

dd943a72e93f84a03aadfb48202ccd940705c942 authored over 2 years ago by Dominik Honnef <[email protected]>
outlay: add test for grid pointer events

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

28d59114e5708b628cac764e0f03305c9c781cd8 authored over 2 years ago by Chris Waldon <[email protected]>
markdown: bump default size

12 isn't readable on some low-dpi screens, at least not well.
Use a more reliably readable defau...

7ef360c4fe318ae1e068feb6c254ce1268d8425f authored over 2 years ago by Chris Waldon <[email protected]>
outlay: add test for grid sizing

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

8415d02c9cf2a0bcf9a09b60e1cf19bd1a206436 authored over 2 years ago by Chris Waldon <[email protected]>
outlay: return actual size from Grid.Layout

Don't make the Grid as large as the Max constraint. Instead, make it at
least as large as the Mi...

43a7fd3a7e5a6005f4498173fbcda633c1b843c7 authored over 2 years ago by Dominik Honnef <[email protected]>
outlay: add test for locked rows

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

7a0dc49a7fd4f1bf3aa7e9f3fe5d1e3854419431 authored over 2 years ago by Chris Waldon <[email protected]>
outlay: don't truncate grid when using locked rows

The old code accounted for the number of locked rows twice, which caused
it to render fewer tota...

cb9992f06c24e0e713ee246973814818027e93bb authored over 2 years ago by Dominik Honnef <[email protected]>
markdown: fix nested emphases

This commit fixes a markdown rendering bug that would clear
the bold/italic state of text when e...

4d04c4f9ff66c039b3e1c212f161cd44c1a2950a authored over 2 years ago by Chris Waldon <[email protected]>
deps: update to latest gio

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

a30e84e34d4e7b9aad1a6292e5d28752cddb3b79 authored over 2 years ago by Chris Waldon <[email protected]>
richtext: fix line wrapping on style boundaries

The change to Gio's text shaper that dropped support for breaking
within words subtly broke an a...

a5f05cc2c9ca367aa05ae7d35ae72f68b7a7c265 authored over 2 years ago by Chris Waldon <[email protected]>
markdown: [API] revise text styling api

This commit enables consuming code to configure the text sizes
and colors generated by the markd...

94dfa0cc9f07117ed8a41774b87d8037eb8d3a3a authored over 2 years ago by Chris Waldon <[email protected]>
explorer: advertise linux support in README

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

bea3625e99adff33ad8abda7a5eabfafa3a9bd4e authored over 2 years ago by Chris Waldon <[email protected]>
component: adding a way to remove selected item

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

25f67b5b7e87826d6c4a3e6eb2d4c46bc80b13eb authored over 2 years ago by er <[email protected]>
component: implement grid and table layouts

This commit adds support for material themed grid and table widgets
with appropriate scorllbars ...

8732bd398e12afe09873c273321741e6bb3319ec authored over 2 years ago by Jan Kåre Vatne <[email protected]>
outlay: implement grid layout

This patch implements a two dimensional grid that functions much
like layout.List. The API accep...

df7000951f1ff2d36836c2fa57981d1664d33378 authored over 2 years ago by Jan Kåre Vatne <[email protected]>
outlay: drop previous table and rename grid to flow

This commit removes the outlay.Table type that is obsolete now
that we have a more general two d...

d3f24a3cad151f222c76b997f745987754f41488 authored over 2 years ago by Chris Waldon <[email protected]>
all: [API] convert to unit API

This change updates the all packages to be compatible with the
new unit package exposed by Gio c...

48c6fc74e36b652eee9dcb8810a32c568852ae32 authored over 2 years ago by Chris Waldon <[email protected]>
outlay: make gridwrap return correct baseline

The GridWrap type previously returned a zero baseline unconditionally,
which made it impossible ...

1b330a12ccbeff8c4a09eb1c235eb7a66224d722 authored over 2 years ago by Chris Waldon <[email protected]>
component: simplify text field border clipping

This commit alters the way in which the decorative border around
the text field is drawn. It was...

1978dde5218feadc00ef1976d8763851d62a4fb5 authored over 2 years ago by Chris Waldon <[email protected]>
notify/android: update sendNotification to support Android 12(SDK 31) or higher

As per android official docs
https://developer.android.com/guide/components/intents-filters#Decl...

9f76c900b37a7cf9dfaaedbc5767aa7dfdca2011 authored over 2 years ago by Mearaj <[email protected]>
explorer: update ChooseFile WASM documentation

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

f9e5afd218f1f018a4c27d4078be6ac943a3dd03 authored over 2 years ago by Mearaj <[email protected]>
richtext: fix byte/rune offset mixup

This commit correctly converts a subslice operation to use byte
offsets instead of rune offsets,...

113517837d8e61454a9e5f8edbec25e44c334235 authored over 2 years ago by Chris Waldon <[email protected]>
stroke: use github.com/andybalholm/stroke

I had to adjust test thresholds to make the tests pass, because the
output isn't pixel-perfect i...

f4196389ef8020b64d24b4abdccca1eb564b40f7 authored over 2 years ago by Andy Balholm <[email protected]>
deps,richtext: update gio and adapt richtext to new shaper

This commit tweaks the richtext package to match the new text
shaper API in Gio core.

NOTE: thi...

bc7801f4bd031daa98bc3b567cae0db9a7cc7d63 authored almost 3 years ago by Chris Waldon <[email protected]>
component: defer modal layout

This commit alters the ModalStyle to defer laying out the
scrim and modal widget. This was alway...

729e3a00f875ea037bb8492dbe87e4a58f7dbcf5 authored almost 3 years ago by Chris Waldon <[email protected]>
component,richtext: update pointer.Cursor usages

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

8b9099e590c1bd71b53e9beacef007cb72af3c06 authored almost 3 years ago by Egon Elbre <[email protected]>
explorer: allow no extensions on linux

This commit fixes a bug in the linux backend that would fail
to present a file selector if no ex...

d5cf750ab827c1ac983bd66e7e4ab0383896ef04 authored almost 3 years ago by Chris Waldon <[email protected]>
component: expand ContextArea's positioning options

This commit allows users to position a ContextArea's contextual widget
at a fixed location inste...

22cb65b523fd1a3934b1ee067973e4388535690d authored almost 3 years ago by Chris Waldon <[email protected]>
haptic: fix erroneous build constraints

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

60bcbabb6b021ae4b97afdc60a6fdae3528233cc authored almost 3 years ago by Chris Waldon <[email protected]>
go.*: remove replace directive mistakenly added

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

8fb85f1fee87ca220a07522f5653ed8dfb41929e authored almost 3 years ago by Elias Naur <[email protected]>
stroke: don't draw round joins when angle is NaN

I was getting more of the strange rectangular artifacts like I
reported in issue 331. I discover...

ab96565ecccf9c15c56e9af86fef4ee5c65f6f34 authored almost 3 years ago by Andy Balholm <[email protected]>
deps,explorer: update to latest gio

This commit updates to the latest Gio APIs and adapts
the explorer package to changes in app.Vie...

6c1b686c6f408c0118ecdcc869ebdc4025e37382 authored almost 3 years ago by Chris Waldon <[email protected]>
stroke: add regression test for issue 331

References: https://todo.sr.ht/~eliasnaur/gio/331
Signed-off-by: Andy Balholm <[email protected]>

6849543714b7e29b82d398f5fc308794bb2ec8e1 authored almost 3 years ago by Andy Balholm <[email protected]>
all: consolidate to a single module

Maintaining a multi-module repo for the sake of dependency
isolation is no longer worth the main...

ffad81642756001e361c6fcc8aaa2309f71121b4 authored about 3 years ago by Chris Waldon <[email protected]>
explorer: rename public methods and document

This commit updates the public API of explorer to use slightly
more common names. While here, al...

261c7273d121896aca27e66df9f9ecd366374060 authored about 3 years ago by Chris Waldon <[email protected]>
explorer: add linux support using xdg-desktop-portal

This commit implements a Linux file explorer relying upon the XDG
Desktop Portal specification. ...

bc80c3854b395124300abcf33b1762143ad2065e authored about 3 years ago by Chris Waldon <[email protected]>
explorer: [darwin] add error on close file

It also removed deprecated function.

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

b288d1bcc872011362a8ed87465d5a9f8106f468 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [darwin] combine newFileReader and newFileWriter to newFile

That simplifies the API in general and the newFile is capable to read
and write.

Signed-off-by:...

3ef37451ff0fb8ae9096eac8b9a1abf597d273a7 authored about 3 years ago by Inkeliz <[email protected]>
explorer: add Windows support for new API

99f1ec5c3dd5a2943966d373447ad47be3c1fcb4 authored about 3 years ago by Inkeliz <[email protected]>
explorer: add iOS support for new API

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

38065a8f9f2bd9d3be35a074eafee5d9d719490a authored about 3 years ago by Inkeliz <[email protected]>
explorer: [ios] remove unnecessary variables/functions

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

3d5b8c48511f46cc7fb17465f82f9fb80a83a98f authored about 3 years ago by Inkeliz <[email protected]>
explorer: [android] remove useless string

a7e5abe8a1ea4de762c8b4705a4fa780e3fbef63 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [macos] fix special characters in path

Before that patch selecting files with special-characters (such
symbols: #$%) will cause error o...

826e6db3fabbbe14c402f49d3164d4e43a56c5bf authored about 3 years ago by Inkeliz <[email protected]>
explorer: [android] remove id prefixes

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

77c47a923931f49ffa38eec729186c224f1818d4 authored about 3 years ago by Inkeliz <[email protected]>
explorer: add Android support for new API

9652b40cbfc9179ad9ff88e51877b79dce39673a authored about 3 years ago by Inkeliz <[email protected]>
explorer: [macos] move functions to .m file

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

808f364bcb25caadcb97aea274f0e3fbef725480 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [ios] move functions to .m file

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

38c3558507b5ba17ec0b720fb054411fda528df7 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [wasm] makes input invisible

Co-authored-by: Chris Waldon <[email protected]>

0d96c8269737b7beb3fc2dafd8d6a9ef6847f551 authored about 3 years ago by inkeliz <[email protected]>
explorer: [android] combine FileReader and FileWriter and improve error handling

Now, there's a single `File` struct. It also returns errors directly
from Java. Also, minor impr...

85f07220c8742e84b8549a81b6f9b3c452494050 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [ios] fix content type

Co-authored-by: Chris Waldon <[email protected]>

5f16795552fc4091a8db4ab859987952aedb4848 authored about 3 years ago by inkeliz <[email protected]>
explorer: add macOS support for new API

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

cf0ec7aa6fbce78bd0aedb863627e11e168a8e5f authored about 3 years ago by Inkeliz <[email protected]>
explorer: add WASM support for new API

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

0e056c46458204c46b31cfa53e2b8b9cc7cfd927 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [android] remove prints

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

b642d6c386e505dd7f4e0bd836a2be463b7db3d1 authored about 3 years ago by Inkeliz <[email protected]>
explorer: replace random id by atomic counter

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

f7cc0a2872819742171aacd636caf065ec328126 authored about 3 years ago by Inkeliz <[email protected]>
explorer: [ios/macos] improve error and move NSFileHandle to file_darwin file.

Since both macOS and iOS shares the same API, it's more logical to
move it to `file_darwin.go`.
...

2788bcfba9a7b000962fc5b3316f42582e36b608 authored about 3 years ago by Inkeliz <[email protected]>
explorer: add the new API exported symbols and definitions

807e1550f1dae43f4d60e31493e83ca4adb4110f authored about 3 years ago by Inkeliz <[email protected]>
stroke: properly calculate maxDist

The calculated value for maxDist (the maximum allowable error when
converting cubic Beziers to q...

f3dbca58eb18ceb38d3c24790789e3325a4b3bff authored about 3 years ago by Andy Balholm <[email protected]>
stroke: update tests to be compatible with latest gio

This commit updates the stroke tests to use the new signature for
the screenshot feature.

Signe...

0484e0de5e4d9be53e6c81ca63199accc8c84eaa authored about 3 years ago by Chris Waldon <[email protected]>
richtext: replace text.Shaper.Add calls

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

0e5541c3121514a39c29f9dd86a99b4992889104 authored about 3 years ago by Inkeliz <[email protected]>
all: drop deprecated pointer and clip types

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

cf2b1f072816979d36533b84b059f9ca6e3fe045 authored about 3 years ago by Chris Waldon <[email protected]>
deps,component: update to support new a11y APIs

This commit adds rudimentary support for the new accessibility
capabilities offered by the io/se...

0eb3fcddb9ec3fceaa3ceb00151cf2358d1f934e authored about 3 years ago by Chris Waldon <[email protected]>
deps: update gio

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

cead9283b8ff8813aec199ec7da3f273aea74ae2 authored about 3 years ago by Chris Waldon <[email protected]>
docs: add stroke and markdown packages to README

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

ada1f8ee60135be76cfa0ab3839182aa22a5b43c authored about 3 years ago by Chris Waldon <[email protected]>
markdown: simplify and document API

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

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

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

8c56777e18fe414ddd6abe6912ef70f312aa341c authored about 3 years ago by Chris Waldon <[email protected]>
richtext: respect minimum constraints

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

ebdc19c7d07eac042d6d41ca5d1a73a778210bb7 authored about 3 years ago by Chris Waldon <[email protected]>
richtext: fix leaking offset in spans

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

1dec1aaa87acc3525273dc5c290a0f91f995470e authored about 3 years ago by Chris Waldon <[email protected]>
deps,all: replace op.Save with appropriate push/pop

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

b2be7df93f1d99c4f6a1de7de3a897a819e5372f authored about 3 years ago by Chris Waldon <[email protected]>
outlay,richtext: replace calls to deprecated clip.Op.Add

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

8b84dabf32e328706027ccc6e44d3174001f2d05 authored about 3 years ago by Elias Naur <[email protected]>
stroke: fix test that only tested Gio core functionality

I missed the test in during the move from Gio core.

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

26f23a1d450fd51b92c92967df0f7ed1567fd281 authored about 3 years ago by Elias Naur <[email protected]>
stroke: fix broken test case

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

bfc7fa7a9f5be4fcfe82ba4ce149ac5782f5d190 authored about 3 years ago by Chris Waldon <[email protected]>
all,deps: update to be compatible with latest gio PassOp

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

a9f11444cd8ce54693253cfd6f837730635ec2ec 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]>

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

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

97deee88322ab63ba20daa626e162aceee8b2629 authored over 3 years ago by Chris Waldon <[email protected]>
stroke: add package for approximating complex strokes

This is a port of Sebastien Binet's stroke approximation algorithms.
They are no longer in Gio c...

a77d0f91c567b742cedd7b8a200ac418b3b3a445 authored over 3 years ago by Elias Naur <[email protected]>
explorer: fix compile error

Signed-off-by: Nicolas Maupu <[email protected]>

67e1f4fcf9d145afe590bff384a0de4ca374a701 authored over 3 years ago by Nicolas Maupu <[email protected]>
all: gofmt

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

199c05a62a31f3397417fab9d59119305d2882b3 authored over 3 years ago by Chris Waldon <[email protected]>
ci: add vulkan dependency

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

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

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

05a92a7bf786b87c74405494ecaa9b9c6da0d7a3 authored over 3 years ago by Chris Waldon <[email protected]>
component: implement discloser

This commit adds a simple discloser/revealer/expander
widget similar to the HTML summary/details...

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

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

03983cf62a7e3d5cc24a13b2998cbc2b914490a0 authored over 3 years ago by Chris Waldon <[email protected]>
component: update truncating label to use clip

This does mean that partial characters can be drawn, but the
result is a much more precise label...

6e7db83bff599688ed6af77cc181588a39ec32c7 authored over 3 years ago by Chris Waldon <[email protected]>
notify: delay and synchronize default notifier creation

The default notifier instance used by the Push function was being
created with an init() functio...

9ea938c228a0967c1c1ebfea09a8feb41f2ea3e6 authored over 3 years ago by Chris Waldon <[email protected]>
notify: simplify init function and clarify type names

This change uses a single package-level init function instead
of many spread throughout the diff...

82e69ef5566c97e483001ed9a9b17d63487773d2 authored over 3 years ago by Chris Waldon <[email protected]>
notify: simplify api

Undo some indirection, using interfaces directly.

Signed-off-by: Jack Mordaunt <jackmordaunt.de...

c24ad1544e98ae745faa29142de0b243c7fad458 authored over 3 years ago by Jack Mordaunt <[email protected]>
notify: simplify api down to a single package function

notify.Push is all you need!

Concrete type is established on package initialization.

Signed-of...

e57f01cea19cd8f2f9879e9eb03984c20ad70b8e authored over 3 years ago by Jack Mordaunt <[email protected]>
notify: use more precise nomenclature

'Manager' is very ambiguous.

Also, use zero allocation (*type)(nil) for testing interface confo...

e544f34c2cf6f4eb6300a63002901c265b54ede5 authored over 3 years ago by Jack Mordaunt <[email protected]>
notify: introduce windows support

Relies on go-toast, which is a Windows notification thingy.
Given that toast supports icons, I s...

c9ef4a1c1c1b8409b13ba31f94235c66aed62f12 authored over 3 years ago by Jack Mordaunt <[email protected]>
explorer: fix gofmt

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

fdc0104473cbe6b9ac57a98e9d1f7aba417403b4 authored over 3 years ago by Chris Waldon <[email protected]>
doc: add explorer package to README

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

47f01e11f1342430c6e8e43002c131124e5a20ce authored over 3 years ago by Chris Waldon <[email protected]>
add: explorer package (file-selector)

Explorer can be use used to read/write files, allowing the user
to select the file using the fil...

27803faebd6d91faf77be16fa56a9446cc8d70a4 authored over 3 years ago by Inkeliz <[email protected]>
explorer: [wasm] improve large files support

Previously, reading large files (> 10MB) locks the "mainthread", making the app
unresponsive and...

0cb8c3ddd8cf1a7a40d6522d5a6dda95a39286f6 authored over 3 years ago by Inkeliz <[email protected]>
component: adapt widget.Icon.Layout api changes in Gio

The API change is introduced here
https://github.com/gioui/gio/commit/6e9bb7b91ce5be81b46ac246af...

6815ab60d717cb47498797a79deef1744beb020f authored over 3 years ago by Zhao Wang <[email protected]>
component: fix context area eating clicks

The PassOp on the ContextArea was incorrectly set after
creating the click area. This prevented ...

b4d794ff02d5cb61b1d7808e9157f0a656f324bf authored over 3 years ago by Chris Waldon <[email protected]>
component(modal): only lay out modal content after animation

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

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