Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Gio
Gio implements portable immediate mode GUI programs in Go.
Collective -
Host: opensource -
https://opencollective.com/gioui
- Website: https://gioui.org
- Code: https://github.com/gioui
github.com/gioui/uax - af87d5b52d545f166782c85f134ec2d04b78dafb authored almost 3 years ago
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/uax - cef7d2d61164d57e68c38cc2b00e85ec5dbe7841 authored almost 3 years agoArc with a small angle doesn't need many segments.
Updates: https://todo.sr.ht/~eliasnaur/gio/3...
github.com/gioui/gio - 3fd231367f4a316c9474a8ba9ca6e129a97fe272 authored almost 3 years ago
Fixes: https://todo.sr.ht/~eliasnaur/gio/378
Signed-off-by: Elias Naur <[email protected]>
Running GPU tests on freeBSD currently fails with
vulkan: vkCreateGraphicsPipelines: error -8
...
github.com/gioui/gio - 317635b17660da96f87dca4071a37d47cdab035b authored almost 3 years ago
vkDeviceWaitIdle and vkQueueWaitIdle are expensive; a vkFence is cheaper
and the usual way to en...
We know exactly the configuration and number of sets in each pool, so
we may as well allocate th...
According to #375, change b86928ceecf6800069cfd5a92e5b6f2216367fe5
increased frame pacing jitter...
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]>
runtime.nanotime1 shows up in profiles on Android, so avoid calling
time.Now when we can.
Signe...
github.com/gioui/gio - f19b16fecc8fc053f6ae3e69653b9b05ffc39164 authored almost 3 years ago
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]>
github.com/gioui/gio - 9b2bdf6c0c1e1d584c264b144d0ced43df07cef4 authored almost 3 years agoThere's no need to track cursors separately from areas.
Signed-off-by: Elias Naur <mail@eliasna...
github.com/gioui/gio - 3e18a310af312d0daa61a80cffc386f45d586086 authored almost 3 years ago
Fixes: https://todo.sr.ht/~eliasnaur/gio/373
Signed-off-by: Elias Naur <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/372
Signed-off-by: Elias Naur <[email protected]>
Previously, the window size is equal to the screen size. That doesn't
consider the size of the t...
Fixes the build.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 2b0898fc67debea16736a211c600ba1bb0a8d0c0 authored almost 3 years ago
This commit alters the ModalStyle to defer laying out the
scrim and modal widget. This was alway...
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/gio-example - e051ef6e06ab1130c55d9ff49ab3327bf552ac9a authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - c0c25b777b1e3a394156dac5f6acfca4f62d6fd4 authored almost 3 years agoWe're about to use it to store the Go window cgo.Handle.
Signed-off-by: Elias Naur <mail@eliasn...
github.com/gioui/gio - 95365d587865d24a0cdf7f208e1fe79faa5371ef authored almost 3 years ago
Before this change, the iOS backend would not report decoration
support at window creation.
Sig...
github.com/gioui/gio - b9e8a177f0e602a6e14b181e95a7ed77fe36ff5b authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 09309d330d0b809f02c3ef9ab2d715bd31668c47 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - fea2f888bbc0e6d370f07c67ef3503907b1bf153 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - af8ca964144ddbc927dca78e501e8a53e852bc02 authored almost 3 years ago
GioView.onCreateView may call methods on the imm field of GioView.
Make sure it is initialized b...
This commit adds a check that caret coordinates never exceed
the max constraints of the editor.
...
The monitor may have a different backing store scale, yet the
system doesn't redraw automaticall...
This reverts commit 11f39582b84703c33d3aae4c1b703698a1bb4ea6 that
introduced pacing of display l...
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/gio-x - 8b9099e590c1bd71b53e9beacef007cb72af3c06 authored almost 3 years agoIt's now possible to directly user pointer.Cursor to add to the ops.
pointer.CursorText.Add(...
github.com/gioui/gio - cdb288d1f98a50b377cc6e916edabb297977670d authored almost 3 years agoAdd most of the common cursors defined by different systems.
Normalize cursor names to match CS...
github.com/gioui/gio - 4172566aad20b09eed0803873f15942671ccb10c authored almost 3 years ago
This commit fixes the position returned by Editor.CaretCoords
to account for the scroll position...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 79bfd3adbd3200e6964c4f4ad5912c7aad092919 authored almost 3 years ago
Mapping it to key.NameReturn confuses widgets such as Editor that
treats clicks separate from re...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 50e35c9c3fd2bd6c3a74f5b2eac09ae298449a0a authored almost 3 years ago
Events such as system.CommandEvent may result in Invalidate being
called. Ensure animation state...
Matches the usual behaviour of GUI toolkits.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - aaf457d6e1a5b90b71c35798e81d6cb3513d3344 authored almost 3 years ago
Binding a GPU context to a window surface must happen on the event
thread, but rendering doesn't...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 2bea9a373691c7dedc5f31c0aa580b34fda696eb authored almost 3 years agoRefactor to enable Hovered for light widgets.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - b74c9f96035df39f23a265a172343baa641d41df authored almost 3 years ago
Implement support for up/down/right/left directional focus moves
and map Android directional pad...
Fixes: https://todo.sr.ht/~eliasnaur/gio/195
Signed-off-by: Elias Naur <[email protected]>
Matches the other platforms by distinguishing NameReturn from NameEnter.
Signed-off-by: Elias N...
github.com/gioui/gio - eb48b45913ff92b6825f54cb08921b07555c65f8 authored almost 3 years ago
This change adds focus and keyboard control to Clickable widgets.
They now consider a press of t...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 8ff10a2068be5fd24e92603ab3f75911bb26ef8c authored almost 3 years ago
For some reason, widget.Editor had a Seek method that ignored
the supplied offset and always see...
This change solves an issue where an editor key press such as
backspace would apply before the I...
The content referred to clip.Op.Add, which is removed in
favor of Push/Pop.
Signed-off-by: Chri...
github.com/gioui/giouiorg - 308259a62e02ea55543b45b9bec9acb33911a2fd authored almost 3 years ago
This commit balances the push/pop of clip and offset operations
in the helper functions for the ...
The names are a better match for layout.Direction.
Signed-off-by: Inkeliz <[email protected]>
github.com/gioui/gio - 730e04630ce5314dda1b68aa3372ff9834cf0030 authored almost 3 years ago
Apparently, a Wayland server such as Sway and River may not issue
a frame pacing callback create...
Fixes: https://todo.sr.ht/~eliasnaur/gio/367
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/gio - e9e00994cf79350a11be4032e084462b7f35fb60 authored almost 3 years agoSigned-off-by: Egon Elbre <[email protected]>
github.com/gioui/gio - b7a42da386e6e4fb29638cd8f00b5fdab726d03e authored almost 3 years ago
Pointer padding was introduced in bfece0bebacb5cec4fdf5682b886333e03b6549b.
I don't remember why...
Fixes: https://todo.sr.ht/~eliasnaur/gio/361
Signed-off-by: Pierre Curto <[email protected]>
When dragging objects around an area, it is easier to
reason with the relative movement of the d...
This commit fixes a bug in the linux backend that would fail
to present a file selector if no ex...
see https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_CENTER
cc https:...
github.com/gioui/gio - 27762fdd465845931cd3bdec73ad1fdad1188e17 authored almost 3 years agoThe replacement functions all use the single seeking function, seekPosition.
Signed-off-by: Eli...
github.com/gioui/gio - 41489fb7321f14bff0041c4fca6b4dc691f6dc66 authored almost 3 years ago
We'd like to re-use the Editor.closestPosition seeking for
segmentIterator.Next; this change ext...
This commit allows users to position a ContextArea's contextual widget
at a fixed location inste...
Commit c22138f5f broke it, this change fixes it.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 2df3db361f2899da265dff9f23ed601ef74d44bf authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 845d35dd502f510f8d7b52c5cd522b1956737c01 authored almost 3 years ago
Before that patch, the Call function was used to call each
JS function related to WebGL. The Cal...
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/giouiorg - 57881f1ba7925307399b96d9c45b7b60161793ba authored almost 3 years agoSigned-off-by: Egon Elbre <[email protected]>
github.com/gioui/giouiorg - 6556fa20e69ae8644cd73e08ea4cbd59e35838eb authored almost 3 years ago
The recent IME changes broke Wayland key repeating. This change
fixes it.
Fixes: https://todo.s...
github.com/gioui/gio - 0d32ab3f62dc6c5c15f542f4e045106ed795c058 authored almost 3 years ago
This change implements reporting of the caret position from Editor, as well
as Windows, macOS, A...
Go issue #34474 was fixed in 1.14 and backported to 1.13.
Signed-off-by: Elias Naur <mail@elias...
github.com/gioui/gio - cffa748c6a02bba2535e326f9d6429ec5252cb00 authored almost 3 years ago
References: https://todo.sr.ht/~eliasnaur/gio/246
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 3eeb08b4a1ce65092fcbba482a288113e5d97733 authored almost 3 years ago
EditorStateChanged is only called when the old and new states
differ.
Signed-off-by: Elias Naur...
github.com/gioui/gio - bace7062406ff1d1708576a877108ea5be76d40a authored almost 3 years ago
When a text range in the IME snippet is replaced, the replacement
is discarded if the range don'...
This commit adds a testcase to catch unexpected panics in the
editor's scroll offset logic intro...
Fixes: https://todo.sr.ht/~eliasnaur/gio/358
Signed-off-by: Elias Naur <[email protected]>
Backend.queryState sets GL_ACTIVE_TEXTURE to access texture bindings; this change
makes sure GL_...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 887ba1b6e9e303e85467d4f58151fefd91974ce6 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 912ddb95f8de6050fd5e9c0f267b28a8bee689f5 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - b162ed56d78978f539acd8aa0366c861f41f5d1b authored almost 3 years agoThey're easier to test and can be re-used for macOS/Windows.
While here, add a Go 1.18 build ta...
github.com/gioui/gio - 98b02176dba2e6e9d45a0707063788e3283be75b authored almost 3 years agoUTF8String is lossy in the presence of nul (\x00) runes.
While here, don't CFRelease the input ...
github.com/gioui/gio - ef9e4071e72463e6ff639b3d261de007225d55db authored almost 3 years ago
This commit ensures that the edit buffer used by widget.Editor
does not get EOF when trying to r...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - e32925d6a3c44984c4d4e38e94536c50acb0b503 authored almost 3 years ago
Only rune positions are tracked for carets, and they only need adjusting
when changing Editor co...
Signed-off-by: Egon Elbre <[email protected]>
github.com/gioui/giouiorg - 7e2a7b186be11cf4ca41c87c35eb4bfa3b1db886 authored almost 3 years agoSigned-off-by: Chris Waldon <[email protected]>
github.com/gioui/gio-x - 60bcbabb6b021ae4b97afdc60a6fdae3528233cc authored almost 3 years ago
A range loop may not see all items in a slice that is appended to during
iteration. Convert rang...
References: https://todo.sr.ht/~eliasnaur/gio/331
Signed-off-by: Andy Balholm <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/116
References: https://todo.sr.ht/~eliasnaur/gio/246
S...
The other information can be queries at use.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - c22138f5f81c8e97841b605a1f7f5728cb3e3b30 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - e323afa82248f154191b4d68f57ae6a0ce46621d authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - ff245361a4a4394a982d6fe6e52061150924e9bd authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 45078813b39e1755fede98aa97983b0bdd59d959 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 3a70eaa9c12a217c850dd49c20c7524ae62c63af authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 3ce403f8514546b7e1c4158a83536cc3dbdc5550 authored almost 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - c071750ed9f596346a3193507a0e2437b1e23a54 authored almost 3 years ago