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
Fixes: https://todo.sr.ht/~eliasnaur/gio/567
Signed-off-by: Aman Karmani <[email protected]>
Window events are no longer asynchronous, so deadlocks are no longer
possible when calling Run.
...
Magic incantations lifted from
https://thume.ca/2019/06/19/glitchless-metal-window-resizing/
S...
35785e9c9679c77afb24042b47a2fc532880ba0b authored 11 months agoSigned-off-by: Elias Naur <[email protected]>
993ec907be4bfd830e8434e82c019c89cc990bbe authored 11 months agoStageEvent served only redundant purposes:
- To detect whether the window has focus. That is co...
d58d386b9b39cb3ac5dbddeb7a5bd5d7f8afabfe authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
93ac0b03f143573834304e39615da14220aaeb64 authored 12 months ago
A uniform type allows convenient nil checks and for future window
backends on platforms other th...
Signed-off-by: Elias Naur <[email protected]>
0d7f00c6349a2157cfd39a148d8d6dabd4a9d998 authored 12 months ago
Instead of sending ViewEvents once at construction and once at destruction,
it's better to send ...
Signed-off-by: Elias Naur <[email protected]>
fe1df00d02294faae50993369d4823d2bf082031 authored 12 months agoNotifications don't require a list of windows nor an app delegate.
Signed-off-by: Elias Naur <m...
d7528a8338a2b0f6c81063a2d16c2f716ac41168 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
9bca5bfdcf8b56b7713d63882e647ce9724a0241 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
a880d6403d825532f453d4309eb5b966fcbd43ad authored 12 months ago
Their absense didn't make a practical difference so far, but we're about
to refactor the macOS e...
While here, don't use trySetPrivateCursor for the public openHandCursor
and closedHandCursor.
S...
caba422d9c2d053e61333a41e68b32ba67d3a820 authored 12 months ago
The dealloc method is where we're guaranteed the NSView is no longer
used anywhere.
Signed-off-...
5e5d1649299212b193ce7eacc6451dcfe1e42f3d authored 12 months ago
This is mostly a refactor, but there are two user-visible effects:
- Window.NextEvent may be cal...
Signed-off-by: Elias Naur <[email protected]>
5cda660e6eff46cb5460ba01f276214563077e77 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
8cb06ffa30dc77b122da39018dbc9299bf81061c authored 12 months ago
We're about to need per-handler state related to neither pointer nor
key input. This change merg...
It's semantically problematic that a zero Kind matches Cancel, and
outweighs the downside of hav...
If the client asks for the focus to be set to a tag, allow it. There is a
check at the end of Ro...
The method no longer returns anything, and thus does not actually report
whether any events matc...
Replace the key.Filter.Target field with a Focus field that matches only
of the specified tag ha...
Similar to how events are processed one at a time, change Clickable to
report clicks one at a ti...
Refactor delivery of reset events to be resolved and delivered as part of
Source.Events. This is...
Widgets have themselves as tags, by convention, and so it's possible to
replace the per-widget F...
Change the semantics of commands to execute immediately. In cases where
execution of a command i...
Until now, every event has had a particular target. We're about to simplify
key event delivery t...
Replace the per-event event queues with a single queue of events, each
marked with the target ta...
We're about the refactor this quite subtle code, and the optimization
doesn't seem to carry its ...
Processing one event at a time allows a widget to execute commands after
the event that triggere...
New handlers receive reset events the first time Source.Event is called.
However, in case the fi...
Refactor the pointer and key filter unions into the handler state struct.
This is a preparation ...
Signed-off-by: Elias Naur <[email protected]>
5a843bee615a5f7b9fcc0660cbbe1aa9eca5c087 authored 12 months ago
This commit eliminates (*widget.Editor).Events() in favor of making
(*widget.Editor).Update() re...
We're about to replace the per-widget Focus methods with the client
executing FocusCmd themselve...
Now that event delivery can be interleaved with commands, tests can be
made more precise.
Signe...
20c28ef28282e1ee73654b7256504f4088ec7f17 authored 12 months ago
Curiously, InvalidateCmd is probably the only command that is appropriate
to call during layout....
Signed-off-by: Elias Naur <[email protected]>
77ff21605c6c72aa2fdefb2fc7ddb29da1e12012 authored 12 months ago
This change defers event routing from the time the event is queued until
the time Events is call...
Signed-off-by: Elias Naur <[email protected]>
5fcfc40ab8a1269a18c5f5c8f5197b7812d5f18d authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
eae39d8556e9019699360e6425c4524d3ed2d456 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
dbc10056f9f90850efe51cb21800fa5347720c7d authored 12 months ago
Events are now delivered one at a time, and this change makes the
corresponding change to gestur...
Signed-off-by: Elias Naur <[email protected]>
1fc646a8c2d4fa38b18ac761f15cfeba73ff317e authored 12 months ago
With the introduction of filters, it is now possible to have one tag per
widget by convention. N...
The empty key.Filter.Name now means matching every key name. This is a
replacement for the previ...
Now that widgets by convention may be focused by issuing FocusCmd
directly, remove the now redun...
Now (*widget.Selectable).Update() returns whether the selection changed during
event processing,...
Make the internal changes to support fine-grained event delivery.
Signed-off-by: Elias Naur <ma...
bce1dbd65440b3db9c2062b4fc772c7c84d7ffc6 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
27ef6dd7a2a23d38b663617ac3c79f8b2c0a8fde authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
a11f35fe0deb6f74d33e8a6786bcdc8cce6c795f authored 12 months ago
This change gets rid of the event.Queue interface by replacing it with
input.Source values. Sour...
This change is required to to replace event.Queue with a concrete
input.Source.
Signed-off-by: ...
c319f3c21450e69f5bba27e3071b349cc0cdee04 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
9de80749e12254ef4e54a019a1291ab6e0a51132 authored 12 months ago
We're about to make Context.Queue a concrete type, and this change
replaces code that relies on ...
We're about to make the Queue field of FrameEvent (and layout.Context)
a concrete type. Remove t...
The input name better matches its purpose, in particular when we
introduce input.Source.
Signed...
d5a0d2cf60ef9f120a833dff44b31ad1b254e2d5 authored 12 months ago4 billion semantic IDs should be enough for everyone.
Signed-off-by: Elias Naur <mail@eliasnaur...
60bfb9e0647af8e8465ff16c5a23f8a12d916fad authored 12 months ago
It was a design mistake to make profiling data available to programs.
Rather, profiling should e...
Modeling focus change as an operation is awkward, because focus changes
logically happen during ...
Signed-off-by: Elias Naur <[email protected]>
8334d2abb42b1a70707859aabfdcf902aee9a77b authored 12 months ago
We're about to replace key.InputOp with a filter; this change separates
the input hint into its ...
Signed-off-by: Elias Naur <[email protected]>
73c3849da4629c7e2fae61f0a0ba1fe4984ce54e authored 12 months ago
In the early days of Gio, FrameEvent was part of package app. It was
moved to package system to ...
They're only useful at the top-level event loop in combination with an
app.Window.
Signed-off-b...
d2085ab7c5b8f00f7d32bd3b5ad1060abd1eca8d authored 12 months agoWithout the dependency, tests builds much faster.
Signed-off-by: Elias Naur <[email protected]>
d7636ea273dc6b4312742c928729b4f186df6dd4 authored 12 months ago
We're about to replace the interface Queue with a concrete input.Source.
This change renames the...
Without the dependency, tests builds much faster.
Signed-off-by: Elias Naur <[email protected]>
be86450ea524489563f04a3e3c2b203a25f0126b authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
676b670119fa6b134e0650df36fbf6ae9a726993 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
d51aea553f1e37d2b0b980515e777d3e4ab1ee55 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
eed93aaffef68a543e3687985a1fe711dd5f2a59 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
1bcbaa8137f6128cc77b44d94c04d2c45e11afad authored 12 months agoAlso delete two tests that are no longer relevant.
Signed-off-by: Elias Naur <[email protected]>
a3c539b3c2f7e417c67a8fc9b12c3fa1e2c2e203 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
627e028d3cf3bdceecb88cb6873e36d503f483f8 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
813d83664171f8fea593bbff3b1c2981172b8935 authored 12 months ago
Instead of having to supply the predicates for event filtering at the
time of layout, the new Fi...
The String method doesn't add anything in addition to the default Go
formatting of the type.
Si...
e19a2488153371882c87fa19fdb994ab724c6dc7 authored 12 months agoSigned-off-by: Elias Naur <[email protected]>
5dd41f74d379972554b43135d1a5381911af639d authored 12 months agoSigned-off-by: James Stanley <[email protected]>
7cfd226b5797ffe4782bf3ccfd81999d409b7672 authored 12 months agoSigned-off-by: Danny Wilkins <[email protected]>
05d28ad76a4946b4e0d0cb0ceb34c9337fd81724 authored 12 months agoSigned-off-by: James Stanley <[email protected]>
adba14c06222816c459ddcb2ef5f98f1c07847b6 authored about 1 year agoSigned-off-by: James Stanley <[email protected]>
40706d3782e63705b03f874c2710788925325990 authored about 1 year ago
This commit adapts the use of the automatic window decorations to the
event processing changes i...
The only remaining use of the cache is mapping handles to textures.
Using a concrete type for th...
Signed-off-by: Dominik Honnef <[email protected]>
4eca2c7d269eeea12497bdef6b0e3a266fefb08a authored about 1 year agoSigned-off-by: Dominik Honnef <[email protected]>
7ea432fa130c2d3a754855736ccd72497ff6533b authored about 1 year agoSigned-off-by: Dominik Honnef <[email protected]>
e666ef35caa569c355b92b156f55c3a9201823c4 authored about 1 year agoSigned-off-by: sewn <[email protected]>
a8ec3968d9a942ee8daf2aa8cf8703a80ddfaddc authored about 1 year ago
Fixes: https://todo.sr.ht/~eliasnaur/gio/552
Signed-off-by: Elias Naur <[email protected]>
Apparently, newer Android SDKs now support Java versions newer than 8.
Finally.
Signed-off-by: ...
a454d5fa3812f5efa3f7856c0e5ac3fba2406d29 authored about 1 year agoSigned-off-by: Elias Naur <[email protected]>
7d1ea0226727224870dd772c53a4401cb69e05a1 authored about 1 year agoSigned-off-by: Elias Naur <[email protected]>
f7aa4b5c81871d92b33f7e9691abadfca9082bd5 authored about 1 year ago
This commit fixes a visual misalignment in scrollbars resulting from subtle differences
in the s...
This matches the convention of other state update methods. While here, remove useless
dimensions...
Without the updates, the switch and radiobutton would use stale state
for layout.
Signed-off-by...
c458eb30f02f9bc1f126551e057d38d04b2b509f authored about 1 year agoSigned-off-by: Chris Waldon <[email protected]>
d96c954769eb11d4987cfaec871b8f34f7dcadfd authored about 1 year ago
It's relatively common to create a widget and then add a background to
it. Using layout.Stack ca...
Calling window.Perform(system.ActionRaise) does not show the window on
the top if the app is cur...