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
Completing the goal of allowing foreign Direct3D contexts for our
D3D backend, slim down the con...
We're about to enable drawing into foreign Direct3D contexts. In
preparation, NewBackend should ...
Continuing the previous change to minimize Device, in preparation
for supporting foreign Direct3...
We'd like to allow Gio to share a Direct3D context with an embedding
program like the GLFW examp...
Fixes rendering on Windows. Thanks to Egon Elbre for noticing.
Signed-off-by: Elias Naur <mail@...
44991f355cc9938d02dc500062a20a8a61ac2cfa authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
9793fcfcd0ac7a0d0c231d3a964d77cf7e9a9294 authored almost 4 years ago by Egon Elbre <[email protected]>Currently adds four different variants Unscaled, Contain, Cover, ScaleDown and Fill.
Signed-off...
2c5daf10a2d1a3e2ec062f489bf59d887232cf83 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
9e85b43b0c72217cc315345f1f359d23ec73ed57 authored almost 4 years ago by Egon Elbre <[email protected]>
Bind the framebuffer as late as possible to lessen the risk of
confusing global state (current f...
Less code, no functional change.
Signed-off-by: Elias Naur <[email protected]>
b1dfc94a9bcef1e939a08cffdfecacfb07bde644 authored almost 4 years ago by Elias Naur <[email protected]>
BeginFrame returns the output framebuffer, and need not be as general
as the newly unexported cu...
Signed-off-by: Elias Naur <[email protected]>
2bd539d2de51cb161b27ee0b06f138fa9d5038fe authored almost 4 years ago by Elias Naur <[email protected]>
Before this change, a radio button with the empty key ("") would be
displayed as hovering if no ...
checkable.layout forces the label to take up at least constraints.min
space. However, for min ==...
The Windows tests on builds.sr.ht are still flaky:
TestEndToEnd/Windows: e2e_test.go:130: r...
57dee8e61a92dbdeb194965ad80670603f34deb9 authored almost 4 years ago by Elias Naur <[email protected]>
For example, ButtonLeft may be the right-most button for a left-handed user.
Rename the button n...
There is no need for the fields to be embedded nor exported.
Signed-off-by: Elias Naur <mail@el...
f36ed043804a98b55a4dc74b23200736ae5de860 authored almost 4 years ago by Elias Naur <[email protected]>
A previous commit removed the assumption that the output framebuffer
is constant across frames. ...
Return the output framebuffer from BeginFrame, to make it clear that
it may change between frame...
d3d11Context.Present would return a nil error if the underlying error
d3d11.ErrorCode.
While he...
3d3ff575e3a421389e720c3a295cac8bb4dbb6ce authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
857143370701e78cd9c8e28b0683086ec77c3a08 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
54cddf5ca35377ce8fb199799738f024d5a6d44b authored almost 4 years ago by Chris Waldon <[email protected]>
Currently every user needs to manually adjust for system insets.
This is rather verbose and most...
Commit 94d242d broke the widget.Image's Scale field so
that it no longer had any effect on the a...
Signed-off-by: Egon Elbre <[email protected]>
2e15c3d5b9d054e4d25de416de2c248db92f716a authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
60db80295108d84d444ea5df7f512bf4f92ef598 authored almost 4 years ago by Egon Elbre <[email protected]>
Use dxc (DirectXShaderCompiler) for compiling, which is newer than fxc
and doesn't not fail comp...
Signed-off-by: Inkeliz <[email protected]>
8227f7ab0455df907e3fc7d2bb907995e62b69d1 authored almost 4 years ago by Inkeliz <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f973b3f384f048c74b90e9112db4cbc8460e7f14 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
e66979a8c08e443fad5bca84df5f03cd14f800ec authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
cfb6f477de160dba87fbe844e924712e49b935f6 authored almost 4 years ago by Elias Naur <[email protected]>Windows tests often flake:
TestEndToEnd/Windows: e2e_test.go:113: last error: encountered 6 col...
53763a3410ba05356a694f0a1754c9ceffbd6411 authored almost 4 years ago by Elias Naur <[email protected]>
name old time/op new time/op delta
AreaOp_Decode-8 10.5ns ± 2% 6.2ns ± 3% -41....
That change makes possible to provide custom PKCS#12 (JKS/PFX) using `-signkey` and the password...
212f7809cbe7dc1784ef4107e21c11215ddff4bc authored almost 4 years ago by Inkeliz <[email protected]>Signed-off-by: pierre <[email protected]>
60d48014d4bdc7db6bf0c05eae107e825457302e authored almost 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
14595dde9fd89814e0e91b75bc734f1372ffc090 authored almost 4 years ago by pierre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
51ba55071b60662180ed6a7b76959c5985ca5d79 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
284659d3eac9868d17bcaac860034334b1b73264 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c849c5b77fc7321c67735871de505f2c6466cebc authored almost 4 years ago by Elias Naur <[email protected]>Previously that patch, gogio unzip the `link.apk` (generated by AAPT2) to an temporary folder an...
2a7295750de2d23e09732818780648a2f89916a1 authored almost 4 years ago by Inkeliz <[email protected]>
The Wayland protocol implicitly dup(2)s the pipe write end descriptor passed to
wl_data_offer_re...
See https://github.com/linebender/piet-gpu/issues/62 for description
of the issue. The fix is th...
All scene elements have a fixed size in uint32s. Model them accordingly.
Signed-off-by: Elias N...
b5d21b209ca4d47b31a3ae2940c41971d9412216 authored almost 4 years ago by Elias Naur <[email protected]>
We're about to change the last stage of the compute pipeline to only
accept images, not sampled ...
Signed-off-by: Elias Naur <[email protected]>
87ffaaf8c417bbd53d733608e4ca4876b75f4ac9 authored almost 4 years ago by Elias Naur <[email protected]>
The webassembly port changed to use transparent black to allow content
below Gio to show through...
Signed-off-by: Elias Naur <[email protected]>
4f3f0fa50cdff1ef1d1bf3c2dae2da77c38e4ee9 authored almost 4 years ago by Elias Naur <[email protected]>
The two listed issues are fixed, and the builders pass with the
workaround removed.
Signed-off-...
b420fdf096e0d24590c36c059d167fccc7ad6e26 authored almost 4 years ago by Elias Naur <[email protected]>
EGL_PLATFORM=surfaceless allows rendering tests to complete in headless
mode. However, the headl...
Default window background is white.
JS default background is transparent black.
Signed-off-by: ...
39878154697f0f4457c68fd7327871ef0a8b3ef0 authored almost 4 years ago by Paulo Melo <[email protected]>
A recent change to the native toolchain or system on the builder infrastructure
made the argumen...
The order of subtraction when calculating f.pos from value was wrong,
so setting a minimum value...
Signed-off-by: Elias Naur <[email protected]>
7286b075e2fb167c5032baeced144379e4a73c5f authored almost 4 years ago by Elias Naur <[email protected]>
Refactor only, in preparation for adding another atlas with pre-processed
materials.
Signed-off...
8ec47dcae3f4612aa0a68f6d2934805f4eb01240 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ebfb17ec6c56087a22ce86ec630643ec4d9d80a1 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d8b29e3420108e1108d763055547d9e75de467fe authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: pierre <[email protected]>
a581acf3fd725adc83de3e035e0115c02682965e authored almost 4 years ago by pierre <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
6682f75db903d9467c12eb6a4b9febc4840b7fbe authored almost 4 years ago by Chris Waldon <[email protected]>Signed-off-by: Paulo Melo <[email protected]>
403f01655a367543e25142a32f3ec18c22ad4fd2 authored almost 4 years ago by Paulo Melo <[email protected]>
The README is deliberately light; we want users to use the gioui.org site for
resources, not the...
Fixes the examples on gioui.org/doc/architecture.
Signed-off-by: Elias Naur <[email protected]>
d420654dbc3f69faaa7147ac7beca953cffe2e15 authored almost 4 years ago by Elias Naur <[email protected]>
The iOS GL implementation doesn't optimize BufferSubData of the entire
buffer, leading to GPU st...
Unlike the common name, the fingerprint is almost certainly unique.
Xcode uses the fingerprint a...
Signed-off-by: pierre <[email protected]>
b698c8ed822935ca482fa1a84858990096faf99e authored almost 4 years ago by pierre <[email protected]>Add support to Router so that the cursor can be changed with CursorNameOp without any mouse move...
1100e03c1eb2d030b80fc6a806c89911d3e42c07 authored almost 4 years ago by pierre <[email protected]>
Cursor and Enter/Leave events should follow the same rules, specifically:
when pointerInfo.press...
Signed-off-by: pierre <[email protected]>
d604455582d6d0ca5df458f9762e5c38fa3e7b9f authored almost 4 years ago by pierre <[email protected]>
Post a dedicated message upon Window.SetCursor calls.
Make sure that the cursor is only changed ...
Broken by gioui.org/commit/2dce8a0155ae192f54f74747d660b9f311e9e364,
found while debugging the d...
Do not update the cursor was reset upon receiving Cancel events. Added more tests.
Signed-off-b...
b11fd6ee8e2230433a8a4a5fffc073e2cd6b525c authored almost 4 years ago by pierre <[email protected]>
If you created an Editor and immediately SetCaret, it panicked because
e.lines was nil and it lo...
- Allow dragging to be on both horizontal and vertical axes at once.
- Split Editor.caret.pos in...
- Move caret from editBuffer.caret to Editor.caret.pos.ofs and related
refactoring. Move other...
As a follow-up to gioui.org/commit/24f69bf4, this change makes it so
that merely adding a pointe...
Gio UI may be overlaid on top of custom graphics such as in the glfw example.
That will only wor...
Forcing a non-nil tag ensures that all handler tags are either unique,
or intentionally equal. A...
Signed-off-by: Elias Naur <[email protected]>
4f45d9a56753fd5c3f6cf773779a266af584a752 authored almost 4 years ago by Elias Naur <[email protected]>
The target of FocusOp is too subtle; be explicit instead and remove
any doubt.
Multiple SoftKey...
e70a16c345e4352fa0fb2021ae85dec639d07d8a authored almost 4 years ago by Elias Naur <[email protected]>
key.InputOp and pointer.InputOp handlers are reset on first registration
through a key.FocusEven...
Signed-off-by: Elias Naur <[email protected]>
95953b2ae089e11c7e22680ba8dbf83bf1a9164c authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: pierre <[email protected]>
a928c07a1c44daa22308615cae6a2d3be79c06ca authored almost 4 years ago by pierre <[email protected]>Fixes the "bleaching" artifacts of the painting program by ~wrnrlr.
Signed-off-by: Elias Naur <...
74eb0a4a34e646e5295b1a80d0548857b996d45c authored almost 4 years ago by Elias Naur <[email protected]>
The glTexStorage2D is part of OpenGL ES 3, but wasn't its function
pointer wasn't initialized on...
Signed-off-by: pierre <[email protected]>
b24df0aa6e67f8724f3c276844b582f29d43c8a2 authored almost 4 years ago by pierre <[email protected]>Also fixed an edge case where the first visible child was off by 1 when it was just fully hidden...
9bede80a3de7b3b03fec18a821a6b9ca97ace3ea authored almost 4 years ago by pierre <[email protected]>It's a specialized shape like the others.
Signed-off-by: Elias Naur <[email protected]>
cd47a158a2dd2e2d7de4e869f9bc594acc56d037 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
d93874005c694b1f85ce3cb13af67ece33940c87 authored almost 4 years ago by Chris Waldon <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
9231ff47efc57f4e56e18794aeee8a7d4a7bbf62 authored almost 4 years ago by Chris Waldon <[email protected]>
It turns out restoring all operation state from the moment Defer
is executed is too much; for ex...
Signed-off-by: Egon Elbre <[email protected]>
eea1dbc176204c722a4c9832c043d7dcf9b96c89 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
bc6798c4ca15d9b0deb9dc8bdf9aa5ae8cbd5e6f authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
0b736990a92e962f23d3fce1ea87215dbc51f583 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
468bd6f53a3395565d67baa7438b0d482eba46f1 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
93ebd51531452bda64e3fb7b1148c79808ed4183 authored almost 4 years ago by Egon Elbre <[email protected]>
Egon Elbre convinced me commit 01d5e722917 was incorrect, because
in the NRGBA colorspace the al...
Tweak a test color to avoid an off-by-1 rounding error after changing
the conversion formula.
F...
01d5e722917e886899e23b19059da68953f2e777 authored almost 4 years ago by Elias Naur <[email protected]>Adding an axis to the Float widget, allows positioning the Slider one not only horizontally but ...
85c0a7d803e8513622dacd2fb49ef2d440e9bb3b authored almost 4 years ago by pierre <[email protected]>Updates gio#164
Signed-off-by: Elias Naur <[email protected]>
f86703e4b007c94d2d6f131170e2af4537d86fde authored almost 4 years ago by Elias Naur <[email protected]>Removed the Main and Cross Axis methods in favor of Convert.
Signed-off-by: pierre <pierre.curt...
e088833caf08ef8f8fd6d984b887e90fe8daabdf authored almost 4 years ago by pierre <[email protected]>
The semantics were relaxed in a previous commit; this change renames
to operations accordingly.
...