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
A previous change implemented save/restore semantics where a saved
state can be restored anywher...
Push/Pop only allows saving and restoring operation state in a
stack-like manner. We're going to...
iconvg seems to expect a linear premultiplied color.
Fixes gio#132
Signed-off-by: Egon Elbre <...
f114acdb022e8c5d42f460616c379395f8a6ea37 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: pierre <[email protected]>
0e3e446393df01be679f9d1a0453e4858fcca87c authored almost 4 years ago by pierre <[email protected]>
Android can re-create our Activity and GioView at any time, losing view
and activity state such ...
There's runOnMain alread; use that for show|hideTextInput instead
of an ad-hoc switch.
Signed-o...
acef4e6e2dc7b4065393d09c418e5191ecf2dea5 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f311a54ffb3e06d31bd32806f43fdeaaff6dada0 authored about 4 years ago by Elias Naur <[email protected]>It's not used anymore.
Signed-off-by: Elias Naur <[email protected]>
5155893781f37c1bbcb8028ed677fa62881d31cc authored about 4 years ago by Elias Naur <[email protected]>
We're about to remove all references to window from runOnMain callbacks.
The JNI methods are con...
Using Window.Invalidate for animation with, say
var w Window
var e FrameEvent
w.Invalidate()
e...
Track whether requestAnimationCallback has been called when SetAnimating
changes the animated st...
Insets must not be included if the `visualViewport` isn't available.
Signed-off-by: Inkeliz <in...
b430786f9b58ffc97cb7714a1e4c9c3a729f9e70 authored about 4 years ago by Inkeliz <[email protected]>
Now, it's possible to compile to Windows (`-target windows`) without
having `windres`. The PNG i...
Signed-off-by: pierre <[email protected]>
c030065af7bcc6d11e963f287dae29aebe0a089e authored about 4 years ago by pierre <[email protected]>Signed-off-by: Sebastien Binet <[email protected]>
7bfdafb7b15d33a06465a0c1f6d5f74f349ad5b5 authored about 4 years ago by Sebastien Binet <[email protected]>Signed-off-by: Elias Naur <[email protected]>
72a324804149b2f38008653a308ba34e46f46483 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8662790f10e2307595b767728ec06e961c01fd06 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
bb9252f9d4012b6af9dbae9ecc6494f5ccdeff74 authored about 4 years ago by Elias Naur <[email protected]>Issue found by Anthony Starks.
Signed-off-by: Elias Naur <[email protected]>
23f710910fc724d937dad495d62abec3624d3fb0 authored about 4 years ago by Elias Naur <[email protected]>
This CL handles rounding errors arising when splitting quads into linear
segments.
Rounding erro...
This PR implements an image comparison algorithm in the NTSC YIQ color
space, as described in:
...
8676a73a9116350134999c08b1a8828099ea60aa authored about 4 years ago by Sebastien Binet <[email protected]>
The new compute renderer is much less tolerant of discontinuous paths.
In particular, it require...
Signed-off-by: pierre <[email protected]>
62a1d8ae6e78b8ca8970db52b931aeb013e1d83a authored about 4 years ago by pierre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
7d24b790a281ca0af1e339dfbad4720fb77408db authored about 4 years ago by Elias Naur <[email protected]>
The size is unchanged, but a corner is no longer encoded as two
16-bit ints (2*2 bytes); it is e...
The piet-gpu project is dual licensed under the Apache 2.0 and MIT, and the
shaders themselves a...
While here, merge BeginFrame and EndFrame; the split was done for
performance reasons, yet never...
Signed-off-by: Elias Naur <[email protected]>
269e7e0d7b51ecf2843cec0fd04e6b4050540c28 authored about 4 years ago by Elias Naur <[email protected]>
Modern graphics APIs have immutable objects, with mutable data. For example,
a texture's dimensi...
The old renderer is still the default, so the new compute renderer will only be
used in the rare...
Modern graphics APIs have immutable objects, with mutable data. For example,
a texture's dimensi...
Needed by the compute renderer.
Signed-off-by: Elias Naur <[email protected]>
e9403d8b182f2f94cc7fe775500dae43188bc211 authored about 4 years ago by Elias Naur <[email protected]>
Before this change, the entire byte buffer would be passed to WebGL, even
though its size may be...
NewBackend was recently changed to take a context, which must only
be specified on GOOS=js.
Fix...
7b1783056fc6b9563c741b3fd940cc23729aa789 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: pierre <[email protected]>
33103593a1b4cdd30f6601fd98db7bf922c379cf authored about 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
0416fffc096b136e44ddab50a051f0bb2a501153 authored about 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
d942b5c4d0f94dbf010696e385729f34e6e4b3a6 authored about 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
8a148ad6a1ab0da9103f74750aaf8aff97513587 authored about 4 years ago by pierre <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
18d4dbf60c4ff644fe976b9e4f1be27229848529 authored about 4 years ago by Chris Waldon <[email protected]>
The new compute backend shares drawOps but not GPU.Collect. This
change moves the common path ca...
Signed-off-by: Elias Naur <[email protected]>
7adc2a884bd1885668d295e4743d7fe4f015347b authored about 4 years ago by Elias Naur <[email protected]>
Currently, on iOS, the keyboard can block the content since it doesn't
trigger the "resize". Now...
Avoids a vet warning about unreachable code: currently, the cleanup
function is never reached.
...
40c082e94961adaf55886b45710a54d0247ff1bf authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Inkeliz <[email protected]>
c2a66a54814cd4f5e8b728aff7843ff64637a00f authored about 4 years ago by Inkeliz <[email protected]>Signed-off-by: Elias Naur <[email protected]>
74cee277ca606eb348a8d57f014ce42770c66aef authored about 4 years ago by Elias Naur <[email protected]>
The Mesa software OpenGL implementation strays enough from the
reference values that tests fail....
Signed-off-by: Elias Naur <[email protected]>
e0a8202aa097a40e21c00ea4047a866d01a75c47 authored about 4 years ago by Elias Naur <[email protected]>
The mesa surfaceless renderer doesn't support configs, but does
support EGL_KHR_no_config_contex...
Signed-off-by: Walter Werner SCHNEIDER <[email protected]>
Signed-off-by: Elias Naur <mail@e...
Signed-off-by: Walter Werner SCHNEIDER <[email protected]>
83d23ab507431c8d270567ef4866ff5001adb5fb authored about 4 years ago by Walter Werner SCHNEIDER <[email protected]>Use desaturation in combination with alpha multiplication.
Signed-off-by: Egon Elbre <egonelbre...
e383e6d6be3205f0a9cedacf24ec37d3df506880 authored about 4 years ago by Egon Elbre <[email protected]>find gio/ -type f -name '*.go' | xargs -I '{}' goimports -w '{}'
Signed-off-by: Robin Eklind
9cc90d9695f0ffeeb8af92f47e23be4940949e5e authored about 4 years ago by Robin Eklind <[email protected]>app/internal/window/os_wayland.go:1448:12: gioui.org/io/system.StageEvent composite literal use...
f3ce6ad29a8c6b3dcbed32360d3016d93587d89f authored about 4 years ago by Robin Eklind <[email protected]>Signed-off-by: pierre <[email protected]>
578c226278f37427b50692dd10f59c9e495bf367 authored about 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
36b90196492edc4836f79c8d629ab6002a6b5007 authored about 4 years ago by pierre <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
eb719eaa54803eb7b4423d0d64b0416462e9ed04 authored about 4 years ago by Chris Waldon <[email protected]>Apparently, darwin/arm64 cgo doesn't match the types of YES and BOOL:
os_macos.go:235:40: canno...
5839e3e8d5876792c75308d1c981da56af4fcac3 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f3ab8d6368e1e5c48e20de337b4f7ce7f14be1f6 authored about 4 years ago by Elias Naur <[email protected]>
That change removes the "??" operator, it isn't supported
by old browsers [0].
[0]: https://can...
fe844cc4890a99cb218884b2ec588e555f5baf36 authored about 4 years ago by Inkeliz <[email protected]>
Remove padding from the sides of the Slider to align them with
other components.
However, since...
296303210f31696f1eb8f3bccd7c71a787113b25 authored about 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Sebastien Binet <[email protected]>
8e7066ecd77011af10ac48e4a5facfea95a8638e authored about 4 years ago by Sebastien Binet <[email protected]>
Similar to the Android, which includes all .jar files into the .apk.
Now, the `gogio -target js`...
That change adds the icon to the "window navbar".
Signed-off-by: Inkeliz <[email protected]>
0dfb04eb2d8c917eef4dd303a1bff6ba1f6657df authored about 4 years ago by Inkeliz <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
bd7bb4d5d2f3b6b361479efc6cfa8c7dd79b270f authored about 4 years ago by Egon Elbre <[email protected]>
Now, gogio can build the program for Windows, using the `-target
windows`.
It will build with `...
fa96e12b6d7a877585291ac40ecdcb4bf8b82faf authored about 4 years ago by Inkeliz <[email protected]>
Knowing whether a widget is being interacted with allows to implement
bi-directional updates wit...
Previously, the keyboard is open by default, even without any focus.
Now, the keyboard will rema...
"provided under terms" is a better match to the UNLICENSE, which puts
the project in the public ...
Signed-off-by: Elias Naur <[email protected]>
2dce8a0155ae192f54f74747d660b9f311e9e364 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
679bf092cb8326afa16fe0a2063ce8ec062c661a authored about 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Sebastien Binet <[email protected]>
e71bf13c9a0e7b6944cda00e566bdb4f69c8f840 authored about 4 years ago by Sebastien Binet <[email protected]>
Examples now live in the https://git.sr.ht/~eliasnaur/gio-example
repository.
Signed-off-by: El...
ac14320bec7593ced565c3c5efb9281ed2376bec authored about 4 years ago by Elias Naur <[email protected]>
This CL introduces 2 new path builders:
- Outline which takes a PathSpec to be outlined
- Stroke...
The cursor can now be customized for a given area.
Signed-off-by: pierre <[email protected]>
7c5bcd3db8204eb8809ae92f9e625a9f6cb7b6fc authored about 4 years ago by pierre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
675e86b8e89687228bfde0ca400922a30c49630b authored about 4 years ago by Egon Elbre <[email protected]>
The example module is moving to git.sr.ht/~eliasnaur/gio-example.
We still need some main packag...
Update gioui.org/cmd while here.
Signed-off-by: Chris Waldon <[email protected]>
acc3f704e478d4edfc80bfaab8c0aa63897f7ca6 authored about 4 years ago by Chris Waldon <[email protected]>
This introduces a new material.Palette type that captures the color information
necessary to ren...
Signed-off-by: Elias Naur <[email protected]>
47ba9758990a2cd6de8b6239661aa4d650e22718 authored about 4 years ago by Elias Naur <[email protected]>
Commit gioui.org/commit/94d242d18c9245 broke Editor and Label clipping,
most visible for single-...
Remove copy/paste from kitchen now that Editor supports it natively.
Signed-off-by: Elias Naur ...
9b8e847a0550fd05193205919336b5ca284a57e4 authored about 4 years ago by Elias Naur <[email protected]>
The Editor will handle CTRL+C and CTRL+V. The CTRL+V will paste the
content on the Editor, and C...
Previously, the only way to manipulate the clipboard (read or write) is
using the `app.Window`.
...
Move the replacing to Editor.prepend to fix SetText, and replace with
space instead of nothing t...
Signed-off-by: pierre <[email protected]>
59720a8a58d32589dd743034a09fb6f6bf666c99 authored about 4 years ago by pierre <[email protected]>Signed-off-by: Inkeliz <[email protected]>
2739547c129979ffd107752c6dfa648c81d1b6d2 authored about 4 years ago by Inkeliz <[email protected]>Signed-off-by: Inkeliz <[email protected]>
fb5e2ee9ec7e155ba25c26e59382acdf29b9f9b9 authored about 4 years ago by Inkeliz <[email protected]>
The kitchen example may not yet refer to the newest version of the gioui.org
module.
Signed-off...
53e0733d20b6dfb5829197619032b59abd1aecde authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2230accd34678ac834d8698b9461ecd98c01f2c6 authored about 4 years ago by Elias Naur <[email protected]>API change. Update your code with gofmt rule and goimports:
gofmt -r "system.ClipboardEvent -> ...
828f19304b16f7d584bbcf38995d199923c23d00 authored about 4 years ago by Inkeliz <[email protected]>Signed-off-by: Walter Werner SCHNEIDER <[email protected]>
feb93baee02b529139b6b6721168d3b2eaed34de authored about 4 years ago by Walter Werner SCHNEIDER <[email protected]>It's no longer needed.
Update gophers to latest gio while here.
Signed-off-by: Elias Naur <mai...
e9a75cc22a78ce01b616ddf8a8f16d20b5d56251 authored about 4 years ago by Elias Naur <[email protected]>
As a consequence, most API is gone from gpu/gl, and embedding Gio in
foreign frameworks don't ne...
Signed-off-by: Elias Naur <[email protected]>
b8e33bb420b23a9c78f1dad483151ff17188ee72 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
85a06223a63c104940627a43236b7e2365d4a37d authored about 4 years ago by Elias Naur <[email protected]>Building an iOS results in errors about missing NSCursor:
$ gogio -target ios -o app.app ./kitc...
8c9466e03e3de1581cfa57b075350018f8877b1a authored about 4 years ago by Elias Naur <[email protected]>Reduces the time it takes for core and example tests to complete.
Signed-off-by: Elias Naur <ma...
eb91b2c5177cc002c338ae80efec934f10afc44a authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
7ef591d0ecca35225501740ce931ee17ab890886 authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
003bcc79952fe3677e66652f6418cfd6d39612ca authored about 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d29cf52595ea20229ff3b472eb2364a37ba3a5f2 authored about 4 years ago by Elias Naur <[email protected]>