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
Signed-off-by: Egon Elbre <[email protected]>
7c98e679efa34a0e553f881ddccf404243adea3f authored over 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
0b713032fbff7d5fbcb5398bea6a369071646c35 authored over 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c35d81e828b096fea6cbb372ffbe2e6fe812c051 authored over 4 years ago by Elias Naur <[email protected]>
Recently support was added for multiple top-level windows. Add support
for closing those windows...
For the font fix: https://go-review.googlesource.com/c/image/+/237900
Signed-off-by: Elias Naur...
7f836fa627b1a0cc50a7d767b8d038700925d0a4 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
dd225d5d07f0aaaae77b4562466af66ce8ce3ec3 authored over 4 years ago by Elias Naur <[email protected]>
An interface for scaling dp and sp is overkill, at least for all
current uses. Make it a concret...
Signed-off-by: Elias Naur <[email protected]>
1603a6f3eef36931395538ae58d93646877347fe authored over 4 years ago by Elias Naur <[email protected]>Updates gio#139
Signed-off-by: Elias Naur <[email protected]>
3b54c665ca4dea212b8f639023e22915738f4a94 authored over 4 years ago by Elias Naur <[email protected]>
WM_CLASS is used by Linux desktops to provide hints for window
grouping, icons to show and start...
Signed-off-by: Elias Naur <[email protected]>
1eedd19231a9a21334ec73122570b935475639b1 authored over 4 years ago by Elias Naur <[email protected]>
At least one Samsung S9 device ignores the sRGB setting if the context
wasn't created with alpha...
Signed-off-by: Elias Naur <[email protected]>
04e605c1b263ac4a121392002bc7b1c9eebdb25b authored over 4 years ago by Elias Naur <[email protected]>
This adds a --disable flag to the kitchen example so that it's easy
to preview what all widgets ...
This commit configures all remaining widgets to draw themselves in a disabled state
when their l...
Signed-off-by: Elias Naur <[email protected]>
feacd1e2df1f12c6ae5756ac2d1554a26657c440 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f36674ddb3d645d0987bff5b6b7dd7db1d4883f1 authored over 4 years ago by Elias Naur <[email protected]>
Do is a function for accessing the underlying Android View in a safe
context, the main thread. D...
Signed-off-by: Elias Naur <[email protected]>
d045f492b41862c1e5d1ad24029157ab99a5e23c authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
65d9a9d1f160cb7a8bd80e5a3b66a51cd2f88519 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fda6fbcf84e07b20c8ef478895da716241ace112 authored over 4 years ago by Elias Naur <[email protected]>
The Activity context may not be available, so it's safer and simpler
to use the always available...
Signed-off-by: Elias Naur <[email protected]>
8a5f3f3dd5746682e6c9ca3511131177cb025d23 authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#136 (I think)
Signed-off-by: Elias Naur <[email protected]>
1b944c8e65563c0adb4d5685d13d5438d6b5376e authored over 4 years ago by Elias Naur <[email protected]>
Fixes misaligned carets when the Editor text contains code points
represented by multiple UTF-8 ...
Signed-off-by: Elias Naur <[email protected]>
4c28369aa2def353cb62ff7ca33514cf2c6c98d6 authored over 4 years ago by Elias Naur <[email protected]>Updates github.com/tailscale/tailscale/issues/431
Signed-off-by: Elias Naur <[email protected]>
6d5fbcba3f21ea92acfbe1232088f27e4009ca3b authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5fe3785bbd88360d0c3d2cd9a402f14ded3032cc authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
bb8bb504d82965be7746bcb687a064e13fed3954 authored over 4 years ago by Elias Naur <[email protected]>
It's more intuitive to specify the weight as a ratio of the total
weight of all Flexed children ...
Signed-off-by: Elias Naur <[email protected]>
b1df2a61a9f7433180a99d8de8cad3144aedf319 authored over 4 years ago by Elias Naur <[email protected]>Then, make layout.Context.Now a field, copied from FrameEvent.Now.
API change:
gofmt -r 'gtx....
6380baacb6c454e9ba6528e802405f072326e703 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
81a84d874b5ab98578df31e6789bf84ee1e0e2e7 authored over 4 years ago by Elias Naur <[email protected]>
The layout package imports io/system anyway, so depending on
FrameEvent does not introduce new d...
Signed-off-by: Elias Naur <[email protected]>
566132b4f573e05d14252ddf6bc8d9e8ec50d0a9 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a24a2c9fb6a5b188b138929dc57450924178cf88 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
0715c801e236eb4826942b661ee10504a206f2e6 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f7fea02312bfb701cb231c73797fba4f874eb8a0 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5e37a64ff126d70abb2f6c2538b31f23d4dd3e02 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1c6809142f1eb998f73c6eb32afd69dc452170d1 authored over 4 years ago by Elias Naur <[email protected]>While here, adjust inkwell sizes to match gtx.Constraints.Min.
Signed-off-by: Elias Naur <mail@...
ce5646492362c45de276450e6288041cca63b379 authored over 4 years ago by Elias Naur <[email protected]>
When a clickable is pressed and dragged any enclosing List will grab and
cancels the press. To m...
Signed-off-by: Elias Naur <[email protected]>
0444caa9e36c34f88593e13678671585123d3f59 authored over 4 years ago by Elias Naur <[email protected]>
Fixes a problem where a touch Release would signal gesture.Click
that it had left just before cl...
Signed-off-by: Elias Naur <[email protected]>
1ace1392d6553037ddc03b102ae1cbab210ff844 authored over 4 years ago by Elias Naur <[email protected]>Updates (maybe fixes) #130
Signed-off-by: Elias Naur <[email protected]>
6f15275e223cd71b329d653c566ccceb849adf5f authored over 4 years ago by Elias Naur <[email protected]>This reverts commit 504664e01497a60f063c8fc4b257a0d9b6886fc2.
Reason: Doesn't work.
Signed-off...
ab9b6383a46c2dc5be7abe02e658e448ca38669c authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
06f6f54b2d2519abfa4c1b931840441d4c6fdc97 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#130
Signed-off-by: Elias Naur <[email protected]>
98a603aed6d63fc7d1c7348d56efb699f2ff7891 authored over 4 years ago by Elias Naur <[email protected]>
Use greater-than-or-equal test and saturate the z depth buffer
when more than 65k objects are dr...
Drawing more than 65k objects is reasonable, but not today.
Updates gio#127
Signed-off-by: Eli...
52864950f139e4b354e2b33024e50c7d29e1f208 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
700d8d8c2c6d212d6106fc9a2b8c79517780a469 authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#129
Signed-off-by: Elias Naur <[email protected]>
ea85e80dc8dfe639a87f823a8781f623f7603670 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1c68b7d585ffb7055eb04b52e090ec63b4169e5b authored over 4 years ago by Elias Naur <[email protected]>The area transform is already stored in areaNode.
Updates gio#129
Signed-off-by: Elias Naur <m...
35e477757bf45b6db52482838e7599e8ed7746d6 authored over 4 years ago by Elias Naur <[email protected]>While here, replace the window hwnd-to-window map with a sync.Map.
Signed-off-by: Elias Naur <m...
64a516d7c9c0ebb4ca84719f6f7d9ab915155bf9 authored over 4 years ago by Elias Naur <[email protected]>
This adds a simple button that defaults to being disabled, but can
be enabled by toggling the st...
This adds a simple method that returns a copy of the Context
with no event queue. Widgets laid o...
This leverages the new semantics of a disabled layout.Context
to draw all of the button types in...
There may be unrelated events in the queue, so it's not appropriate
to clear the queue just beca...
Signed-off-by: Elias Naur <[email protected]>
d86f96503f6c71695b5c6e7a4df7df28e95e7c02 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8761550839a6aa18c89c04a9a3d7cac1d2279188 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#19
Signed-off-by: Elias Naur <[email protected]>
b3d14d2dd4c0a3e5571b48192acfcd27c91e3a26 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
352856fc24f6765e2a65587a293fc3d3c4932bfb authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#19
Signed-off-by: Elias Naur <[email protected]>
f710bdf8e8f17d8d18bc7164e7991685cdf5ca6f authored over 4 years ago by Elias Naur <[email protected]>Updates gio#19
Signed-off-by: Elias Naur <[email protected]>
c2c31a4d003eb28fb816ecc356699321ca99cccd authored over 4 years ago by Elias Naur <[email protected]>
Before this change, package font implemented a global font registry,
with the usual problems of ...
Signed-off-by: Elias Naur <[email protected]>
65078cdece5ce63e3d1f015c91ee87635eacdd59 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#128
Signed-off-by: Elias Naur <[email protected]>
78565c92329941704cc15a3c06e017cb946aad7b authored over 4 years ago by Elias Naur <[email protected]>Fixes #128
Signed-off-by: Elias Naur <[email protected]>
483084f4becdc919d2258fb9f2087d9c5babb3a6 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
0749afc13c32017836c5f462ad8cbdd0d5549ef0 authored over 4 years ago by Elias Naur <[email protected]>
This time without arbitrary offsets and with support for multiple
windows.
Signed-off-by: Elias...
144a5a9cf52d12dedd28aa873a371259b9ad7099 authored over 4 years ago by Elias Naur <[email protected]>Updates #19
Signed-off-by: Elias Naur <[email protected]>
4408c2a6957093e6cc0ccd4130d47e49a4d54fa1 authored over 4 years ago by Elias Naur <[email protected]>Updates #19
Signed-off-by: Elias Naur <[email protected]>
9efdc3409ccae18630a98d26b2800e1a95c9b8a0 authored over 4 years ago by Elias Naur <[email protected]>Updates #19
Signed-off-by: Elias Naur <[email protected]>
34c212d152ba00ffd73fa6212caefa9e0422109e authored over 4 years ago by Elias Naur <[email protected]>Updates #19
Signed-off-by: Elias Naur <[email protected]>
476bf8d263b8459ab2b58af34af0de2d3a0c4147 authored over 4 years ago by Elias Naur <[email protected]>Updates #19
Signed-off-by: Elias Naur <[email protected]>
7c22a888b1d654d1ca3c1b982ad9be2925577c24 authored over 4 years ago by Elias Naur <[email protected]>Scroll events are no longer special after gioui.org/commit/65d4707e3.
Signed-off-by: Elias Naur...
4f64ac17368f997ef5d6437442bcaab175b06f4d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a4e572d0e31e12997d5a7e317306601386d0a92f authored over 4 years ago by Elias Naur <[email protected]>
Replace the pointer.Scroll special case with a new priority that
indicates the foremost handler,...
Fixes #126
Signed-off-by: Elias Naur <[email protected]>
2accb8838128906494f7a48c9b729c09c4ca805d authored over 4 years ago by Elias Naur <[email protected]>The window and its view is guaranteed to outlast the display link.
Signed-off-by: Elias Naur <m...
278e9bc334005f3612a4a8479ae0a89e252bc04a authored over 4 years ago by Elias Naur <[email protected]>
All accesses to the view map now happens on the main thread, so
there is no need for a sync.Map ...
This eliminates needless redraws for handlers that care about drag events and not move events, l...
1a070a36b677363bbcd3b437b3fd35b3361ec08d authored over 4 years ago by Gordon Klaus <[email protected]>Signed-off-by: Elias Naur <[email protected]>
cb5cc0256027bf9475a791f007c4b4f983d00ce5 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Gordon Klaus <[email protected]>
33a87ac61c387c39a2b53f1d25dfae5ff9a8986a authored over 4 years ago by Gordon Klaus <[email protected]>Signed-off-by: Gordon Klaus <[email protected]>
9d2a6c48d88f709575c1660a04893945c6d0df08 authored over 4 years ago by Gordon Klaus <[email protected]>The race runtime allocates where the non-race runtime doesn't.
Signed-off-by: Elias Naur <mail@...
4484674ab1d796816345875c4cb6e3b751a1e187 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Gordon Klaus <[email protected]>
e188d0e6ffb269ccbc83bcee16c3786c3503d349 authored over 4 years ago by Gordon Klaus <[email protected]>assertEventSequence is shorter and clearer and more precise.
Signed-off-by: Elias Naur <mail@el...
275a91f26adda57c10be3a56a037f5d90112c5de authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d489c20b842132724faff70b45dc835692b8c385 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fc290f34571a15fc12844a6a3df52bba4f448deb authored over 4 years ago by Elias Naur <[email protected]>Asynchronous draws introduces flickering on resizes.
Fixes #123
Signed-off-by: Elias Naur <mai...
4cb96ccad9105f32b5cb7e0d9d68bd522097642d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ff71d0c518e31b2f151f85bd7c1d796195142466 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
9196ce0369bc03920862ccd57b559224117d8c9e authored over 4 years ago by Elias Naur <[email protected]>Converting
macro := op.Record(ops)
...
macro.Stop()
macro.Add()
to
macro := op.Record(o...
c19ed053429731010493c8a1515ee5dd5c0ac5ec authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ce0cc706adf1c8af9d1e58103f647d04ee522e49 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2bdf8c38515c255e55cb0b6128e1375d2f58497a authored over 4 years ago by Elias Naur <[email protected]>
The only mutable field is "recording", which is used for a sanity
check. THat check is performed...
To match Record, we'd like Push to return a value. To do that and
support the one-line
defer o...
3e8c502550bc87762753ecb03ebaea460fb5e852 authored over 4 years ago by Elias Naur <[email protected]>