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
There are no public API that uses f32.Rectangle anymore. Move Rectangle
to an internal package f...
op.Offset is a convenience function most often used by layouts. Layouts
usually operate in integ...
Most widget code operate in integer coordinates. This change makes
gesture pointer coordinates i...
We're about to unexport f32.Rectangle, this change removes the only
public API for it.
Signed-o...
fc79ec5c940584276a623c863f04607622ad1eec authored over 2 years ago by Elias Naur <[email protected]>
The unit.Value is a struct and thus more inconvenient to use than its
underlying float32 type. I...
This commit fixes a visual-only bug in the ListStyle that could
make the scrollbar float at the ...
Previously, a bug in the ListStyle could result in items being
passed a negative value in the mi...
Fixes: https://todo.sr.ht/~eliasnaur/gio/419
Signed-off-by: Egon Elbre <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/417
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Chris Waldon <[email protected]>
28acb79b82caa27b53a835453820a9cffbca1048 authored over 2 years ago by Chris Waldon <[email protected]>
The OpenGL backend needs it, but I keep forgetting to test it when
rearranging the window render...
A recent change broke custom rendering by not allowing the client
to continue after calling Fram...
They're no longer used now that Android directional keys are mapped
to key.Name*Arrow.
Referenc...
7fc594fa4b8e50b59bbf00fc95a43eb006a4de22 authored over 2 years ago by Elias Naur <[email protected]>
Android doesn't distinguish between the arrow keys on a keyboard and the
directional keys on a r...
The v0.1.1 release is much smaller because the module no longer contains
test data. See
https:/...
c68417aaf90ea5ae5a7bff20b9e57e9f25f72508 authored over 2 years ago by Elias Naur <[email protected]>
Prior to this change an editor with no content and a zero minimum
constraint would return itself...
This patch adds support for the following KeyboardHint: Text, Email,
Telephone and URL.
Signed-...
c97f976e7d908f791d0d6685a266b9a0b5533266 authored over 2 years ago by Inkeliz <[email protected]>
Updated the documentation for layout.List to include the details about how
drawing is performed ...
Signed-off-by: Elias Naur <[email protected]>
a9a9a7c02fac03053b661430cb05437e69c1342a authored over 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
aa14056350d65323ac4bad2fe32e8ff6a7da46b6 authored over 2 years ago by Elias Naur <[email protected]>It has moved to its own repository:
https://git.sr.ht/~eliasnaur/gio-cmd
Signed-off-by: Elias ...
4e6a9c090905f45c4804b6baa497fbf28d2cf6f3 authored over 2 years ago by Elias Naur <[email protected]>
In particular, avoid a race between the setup of the platform window
returned by NewWindow and W...
Signed-off-by: Elias Naur <[email protected]>
d22ec125ea25e568a4ccff66170474bd2e6dcba4 authored over 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1a833ab0a49060939045aee0430cfc6808d71f44 authored over 2 years ago by Elias Naur <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/404
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Elias Naur <[email protected]>
8630fee623aab03c324da851b134c7d58265c0ed authored over 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3c45a6d4203b288e0f4fc0c7fc23a5428f9656aa authored over 2 years ago by Elias Naur <[email protected]>
If the currently focused handler don't want the key event, try every
other handler, from top to ...
Instead of cmpletely replacing the IME snippet for every update, expand
the old range if there i...
References: https://todo.sr.ht/~eliasnaur/gio/404
Signed-off-by: Elias Naur <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/403
Signed-off-by: Elias Naur <[email protected]>
Arrow and delete/backspace shortcuts use ShortcutAlt, not Shortcut.
References: https://todo.sr...
6ddc13ce6691291f298c6ebbcc08effa7ceb8a91 authored over 2 years ago by Elias Naur <[email protected]>
It's much simpler to map the Android back button to a key.Event and
let the usual key filtering ...
Signed-off-by: Elias Naur <[email protected]>
762987423787ae44f64d65bf81bb139df07ff4ae authored over 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3a4b8b81ecdbeb97f4cf8b2c2aa2e33b15293761 authored over 2 years ago by Elias Naur <[email protected]>
This change adds key.NameUp/Down/Left/Right and maps the Android TV
remote directional keys to t...
Before this change, Tab and Shift-Tab would always result in focus
movement. This this change, a...
Before this change, every Event would be passed to the focused InputOp
tag, making it impossible...
Before this change, synthetic events such as scrolling caused by
focus movement would use semant...
We're about the express sets of key combinations as <modifiers>-<keys>
where modifiers are separ...
We already have precedence for word-named keys ("Space") and the new
names are less obscure and ...
Fixes: https://todo.sr.ht/~eliasnaur/gio/396
Signed-off-by: Elias Naur <[email protected]>
OpenGL ES 2.0 doesn't support GL_PACK_ROW_LENGTH, so this change implements
a fallback using a t...
We should return as soon as possible from FrameEvent.Frame to allow the main
goroutine to contin...
This reverts commit 38ff78df5dbeb8fcb13fa743a891237afd9ff573, because
it broke OpenGL by moving ...
Signed-off-by: Elias Naur <[email protected]>
6e6620388121604ee21654615fd6d4ad5e9c848d authored over 2 years ago by Elias Naur <[email protected]>
We should return as soon as possible from FrameEvent.Frame to
allow the main goroutine to contin...
Fixes a panic parsing language tags.
References: https://go-review.googlesource.com/c/text/+/34...
25fae8de30befc75ba073ab5212c6c204da301e2 authored over 2 years ago by Chris Waldon <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/385
Signed-off-by: Elias Naur <[email protected]>
Avoid sending raw inputs events over the window channel.
If the caller wants to access events, ...
4e488f4c703bcb7e6a5695c6b2cddf70549d6636 authored over 2 years ago by Jack Mordaunt <[email protected]>Signed-off-by: Elias Naur <[email protected]>
69f982e26f2181d88a77f1214947722dcce1d26f authored over 2 years ago by Elias Naur <[email protected]>
On Wayland, app.Window provides fallback window decorations but clients
are not prohibited from ...
Fixes: https://todo.sr.ht/~eliasnaur/gio/389
Signed-off-by: Elias Naur <[email protected]>
Clipping all children once to the entire List area is enough. The
change was motivated by #389 w...
List was recently changed to include an extra child at each end, to
automatically scroll when re...
A recent change added automatic scrolling to move focused widgets
into view. This change modifie...
Enter/Leave events make sense for mouse pointers, to track hover
status. It doesn't make sense t...
Signed-off-by: Elias Naur <[email protected]>
afd39a6bfe40f5e839003763e7b98e97176113be authored almost 3 years ago by Elias Naur <[email protected]>
Before, List would only report the remaining scrollable area of the visible
children when positi...
A focused widget may be partially or completely off-screen in which case
the user will have diff...
We're about to not emit Enter and Leave events for touch input, and
this change changes the Clic...
They're similar except for a bit of special handling for scroll events.
Signed-off-by: Elias Na...
d34544cc220ab88c337ba1c5e1ff04f8c57487bc authored almost 3 years ago by Elias Naur <[email protected]>
Before this change, semantic clicks would be delivered according to
the center of the targeted w...
Signed-off-by: Elias Naur <[email protected]>
6389b1a384a4d970e5ae6e92af730f751af34ab4 authored almost 3 years ago by Elias Naur <[email protected]>
A meaningful clip area for a key handler will matter when we start
auto-scrolling to move focuse...
There is no need for floating point coordinates, except for transforming
bounds and hit testing....
Creating an image.Rectangle from a f32.Rectangle is used by two packages in Gio
and about to be ...
This is a refactor to make it easier to add higher level logic to
focus moves. A follow-up will ...
Signed-off-by: Elias Naur <[email protected]>
01757791488d892ce6acfd12bedeeed99328457a authored almost 3 years ago by Elias Naur <[email protected]>
The emulator needs android system images to run, each of which takes
up a lot of space. Remove e...
Signed-off-by: Elias Naur <[email protected]>
75d487fa34b1d07a7dcb8e2563070a500b0f5725 authored almost 3 years ago by Elias Naur <[email protected]>
This change adds a Nix flake capable of setting up an environment
for building Gio programs for ...
With GOARCH=386, we can't readily build packages that use Cgo. However,
we already have the Andr...
This commit updates to a newer version of textlayout
and switches to a fork of the UAX library t...
This commit runs Gio's test harness in 32-bit mode as well as 64-bit. This helps
catch bugs in G...
This commit removes some lingering editor debug prints
from the test code.
Signed-off-by: Chris...
8833a6738a3bd3ee43ca5392a770bd76349563b4 authored almost 3 years ago by Chris Waldon <[email protected]>
This commit ensures that text.Alignment is intuitive for
the direction of the text being aligned...
This commit switches gofont.Collection from returning
a collection of fonts using the old text s...
These fields are no longer needed with the new text shaper.
Advances is redundant to the glyph i...
This commit replaces the previous opentype.Font with
an implementation that uses the new text sh...
This commit updates material.Editor and material.Label to support the
new text shaper. This requ...
This commit adds a font collection that uses the new
text shaper so that constructing material.T...
This commit introduces a new text shaping infrastructure
powered by Benoit Kugler's Go source-po...
This commit adds a system.Locale to the layout.Context,
providing an easy means to plumb languag...
This commit adds a Locale struct that captures language and layout
flow direction for the system...
We cannot find a way to trigger this flickering
condition anymore, and so we're removing the log...
This commit introduces logic to skip painting the
selection rectangle on lines prior to the line...
Change eeb2febfea01cda47bd46e76f08b3f80347fce46 added extra space to FBO
sizes to avoid re-creat...
Arc with a small angle doesn't need many segments.
Updates: https://todo.sr.ht/~eliasnaur/gio/3...
3fd231367f4a316c9474a8ba9ca6e129a97fe272 authored almost 3 years ago by Egon Elbre <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/378
Signed-off-by: Elias Naur <[email protected]>
We know exactly the configuration and number of sets in each pool, so
we may as well allocate th...
Before this change, the resized descriptor set pool would never
increase, defeating the purpose ...
References: https://todo.sr.ht/~eliasnaur/gio/375
Signed-off-by: Elias Naur <[email protected]>
Running GPU tests on freeBSD currently fails with
vulkan: vkCreateGraphicsPipelines: error -8
...
317635b17660da96f87dca4071a37d47cdab035b authored almost 3 years ago by Elias Naur <[email protected]>
vkDeviceWaitIdle and vkQueueWaitIdle are expensive; a vkFence is cheaper
and the usual way to en...
runtime.nanotime1 shows up in profiles on Android, so avoid calling
time.Now when we can.
Signe...
f19b16fecc8fc053f6ae3e69653b9b05ffc39164 authored almost 3 years ago by Elias Naur <[email protected]>
According to #375, change b86928ceecf6800069cfd5a92e5b6f2216367fe5
increased frame pacing jitter...
After 34f10d9cbb3a45da2ecb8a9fab60b0a5995c1a31, the display link callback
will never block. Howe...
This change makes material.Clickable propagate the constraints it is
invoked with to the widget ...
Signed-off-by: Elias Naur <[email protected]>
9b2bdf6c0c1e1d584c264b144d0ced43df07cef4 authored almost 3 years ago by Elias Naur <[email protected]>