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: Elias Naur <[email protected]>
fc6e51deba0edec4f01a5187b809772ab03fbb10 authored about 1 year ago by Elias Naur <[email protected]>
This adds support for nearest neighbor filtering,
which can be useful in quite a few scenarios.
...
Signed-off-by: Elias Naur <[email protected]>
23b6f06e3e0bd85cc52d928f418db4d6692b39a7 authored about 1 year ago by Elias Naur <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
c8801fe23370b7882ba2ca57b3f0ad4d3ac90650 authored about 1 year ago by Chris Waldon <[email protected]>
This commit introduces Update(gtx) functions for both Selectable and Editor, allowing their
stat...
This commit adds a GIODEBUG=text log message each time a system font is resolved.
This makes it ...
This shrinks text.Glyph from 72B to 58B.
LabelStatic/1000runes-RTL-arabic-32 63.62µ ± 0% ...
df8a8789a341b379d883e687ee396b2c1f2600f7 authored about 1 year ago by Egon Elbre <[email protected]>4GB of render data should be sufficient for anyone.
By replacing an int with uint32, it allows ...
49296bd0ca9720cc2a408ac9d5f60e5ed7504700 authored about 1 year ago by Egon Elbre <[email protected]>
The hash calculation is a significant bottleneck in caching,
replace it with a simpler "add; mul...
processGlyph does not modify the value, so there's no reason to
return the struct.
Signed-off-b...
48bd5952b17d2337b91781d029ddda5656734b66 authored about 1 year ago by Egon Elbre <[email protected]>It's not supposed to be used outside of package app.
Signed-off-by: Elias Naur <mail@eliasnaur....
d078bf0ed73173c07740108db7647f028b4946cb authored about 1 year ago by Elias Naur <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/539
Signed-off-by: Elias Naur <[email protected]>
Selectable was using a key event filter copied directly from editor.go,
but it didn't actually p...
This change replace the global rand use with a local source, to avoid
the recently deprecated gl...
This reverts commit 7fde80e8050b25df4f0592c0b8d8e25b66b4645d, because
Wakeup can no longer be ca...
The goroutine started by Window.run runs concurrently with the user
goroutine receiving from Win...
Chrome was required when gogio was part of the repository. It is no
longer.
Signed-off-by: Elia...
7550d8544732ff048d37ca3950f959662ee67ed5 authored about 1 year ago by Elias Naur <[email protected]>Change the gesture state update methods to align with the convention.
Signed-off-by: Elias Naur...
c756986d9e79517bdb1efaf5f1fcd636ebb73c00 authored about 1 year ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
23e44292bbeaea0fb633b1d1efe38ea00591096c authored about 1 year ago by Elias Naur <[email protected]>
Similar to an earlier change for other widgets, this change separate
Enum state changes for acce...
This change removes the extra frame scheduled when events was delivered
during a frame. This ext...
This change allows users of Float to determine its state before Layout
by calling Update.
While...
d42dae73f09f8d9425ff47ced6653e71a9b2ffdf authored about 1 year ago by Elias Naur <[email protected]>
Similar to a previous change for Clickable and Bool this change separates
state changes from Dec...
Similar to a previous change for Clickable, this change separates Bool
state changes to its rena...
Before this change, Clickable state updates would happen in Layout.
However, that is too late in...
"Kind" is the Go idiomatic name for distinguishing structs outside of
the type system.
Signed-o...
1686874d07cdfbe95632f7a43d68f0decb0837d0 authored about 1 year ago by Elias Naur <[email protected]>
Kind is the idiomatic field name for distinguishing a struct without
using separate types.
Sign...
650ccea28d921b88a9d3413735a40a570264dcce authored about 1 year ago by Elias Naur <[email protected]>
The double-negative DisabledOp is harder to understand than a
straightforward EnabledOp. Note th...
The NSWindow.zoomed property is not reliable when a window is being
constructed. Only call it wh...
Fixes: https://todo.sr.ht/~eliasnaur/gio/536
Signed-off-by: Elias Naur <[email protected]>
This commit prevents the insertion of LineTo and QuadTo path segments that have
no visible effec...
As described in https://devblogs.microsoft.com/oldnewthing/20150304-00/?p=44543
Windows extends ...
And fix a typo while here.
Signed-off-by: Elias Naur <[email protected]>
f30e936d9a38c2357caa2a1575783e8b148db297 authored over 1 year ago by Elias Naur <[email protected]>
The new paint.PushOpacity allows for adjusting the opacity of a group
of drawing operations.
Si...
ae3bd2a1e1b3d634caee4e3a72626de4f34d44a3 authored over 1 year ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ae43d18ced20bb83380c476a81a0cb11f41660ea authored over 1 year ago by Elias Naur <[email protected]>
When storing a string in an interface value that escapes, Go has to heap
allocate space for the ...
Signed-off-by: Dominik Honnef <[email protected]>
b9654eb4eb16224fa2d75bd291eb28bb54ec6719 authored over 1 year ago by Dominik Honnef <[email protected]>Signed-off-by: Dominik Honnef <[email protected]>
89d20c7d99bbccf9e24141ecf7e5ed75c913d283 authored over 1 year ago by Dominik Honnef <[email protected]>
NSView only has events for left, right, and other. Also, the Go side
wasn't actually checking fo...
This commit updates the logic behind SemanticAt to use the same hit area
traversal as normal eve...
Without eglTerminate, using EGL will crash or report spurious errors after
creating and destroyi...
This commit changes the shaper's behavior when truncating text. Previously, if the final
line al...
This commit reverts the work of several previous attempts to resolve truncation-related
rune acc...
Discovered while debugging #528 with -race.
References: https://todo.sr.ht/~eliasnaur/gio/528
S...
Fixes: https://todo.sr.ht/~eliasnaur/gio/527
Signed-off-by: Elias Naur <[email protected]>
Commit c0c25b777 replaced the synchronizing of the display link callback
from a sync.Map to a cg...
This commit fixes a platform inconsistency that prevented custom-decorated windows
from being re...
This commit fixes the non-intuitive behaviour, where hitting return or
space with a button focus...
When running ActionAt, the router used to only consider the topmost clip area, even
if that clip...
Signed-off-by: Elias Naur <[email protected]>
0e77a2b5210ddf5767ca1e57b21cd968e4dacfe6 authored over 1 year ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
63550cc81ef6ef632887822592709db7f281e226 authored over 1 year ago by Elias Naur <[email protected]>
NewShaper cannot be called prior to opening an application window on Android unless
the applicat...
This commit ensures that multiple newlines in a row still produce expected
results when occuring...
This commit updates us to a version of go-text that correctly provides text
dimensions for the e...
This commit fixes another rune accounting bug that the fuzzer discovered. If we
shaped a space i...
This commit updates the shaper fuzzer to try truncating the text, exposing
new edge cases.
Sign...
d41411699064a48e5b89478713fe4aea2c6dfe30 authored over 1 year ago by Chris Waldon <[email protected]>
This commit fixes another rune accounting issue that only existed when shaping
a solitary newlin...
This commit tests and fixes some edge cases that threw off rune accounting
when a newline charac...
We previously were not handling glyphs that extended vertically beyond the
ascent/descent declar...
This commit removes the logic that calculates the bounding box of a line.
We don't actually use ...
This commit updates the strategy of our cursor positioning index to eliminate
cursor positions *...
The previous logic kept the y offset of a line as a fractional value
until the last possible mom...
This commit adds several notable fuzz test failure cases to our corpus.
Signed-off-by: Chris Wa...
1d8b54892a2cb6eb89bae3705216d8c29eda9e0d authored over 1 year ago by Chris Waldon <[email protected]>
This commit updates our version of go-text to pick up important bugfixes to the
line wrapper (fi...
This commit ensures that we properly handle the case in which an input string is only
a newline ...
Signed-off-by: Egon Elbre <[email protected]>
d62057a62e67f529cf40351f2c1a15fc2287fa2c authored over 1 year ago by Egon Elbre <[email protected]>
This commit surfaces fields to manipulate the line height of all label and editor
types. It's un...
This commit introduces the material.Theme.Face field, which will automatically
populate the Font...
This commit updates the text package to be able to load system fonts. As a consequence,
applicat...
This commit adds a parser for a simple domain-specific language that
can express a comma-delimit...
This commit defines an environment-variable-based debug mechanism allowing
users to toggle vario...
This commit alters the android backend to automatically populate some environment
variables as e...
We only support the most recent two go versions, and using 1.18 prevents use of
atomic.Bool, fai...
Fixes: https://todo.sr.ht/~eliasnaur/gio/517
Signed-off-by: inkeliz <[email protected]>
74a87b10920841cdb800dc565d33f0b0ca882946 authored over 1 year ago by inkeliz <[email protected]>
This commit ensures that any given paragraph of text shaped by Gio will use a single
internal li...
In the general case, it isn't possible for us to efficiently find system fonts that
are monospac...
This commit fixes a bug that would incorrectly baseline bitmap glyphs text if the line
contained...
This commit adds a note describing our tagged-version policy to the README.
Signed-off-by: Chri...
6d925a12ffa3a5ab4047be6ecd35e00982d725c9 authored over 1 year ago by Chris Waldon <[email protected]>
This commit updates the logic that computes scroll viewport coordinates to correctly
consume lay...
│ sec/op │ sec/op vs base │
SplitCubic/4-10 37.36n ...
Signed-off-by: Egon Elbre <[email protected]>
55404aec91df1efea228a5625270ed512c72ca87 authored over 1 year ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
0edc00a72152177b39f7b6a67ddf0ead0082badd authored over 1 year ago by Egon Elbre <[email protected]>
When building GPU vertices from paths, we call stroke.SplitCubic once
per OpCubic. Before this c...
There are many times when an application wants to know metadata about shaped text without
alloca...
If there's no keyboard attached we don't want to panic
when querying modifiers.
Signed-off-by: ...
49bb7670484ffb73f6bdc464b2b870b8ffb5de6c authored over 1 year ago by Egon Elbre <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/505
Signed-off-by: Lothar May <[email protected]>
Now that all events are not emitted at the top level, there is no longer
a way to receive the cl...
This commit enables consumers of the text shaper to select a policy for how
line breaking candid...
Signed-off-by: Elias Naur <[email protected]>
a2523943563c66a36faf3fa2be8574f86fc619fa authored over 1 year ago by Elias Naur <[email protected]>
This reverts commit 28c206fc78c76b1481fc3ed4c28ce3562ce424ba. The commit
introduced counter-intu...
When consuming text from an io.Reader, the shaper could hit an EOF when reading the
text, then s...
There doesn't seem to be a need for a two-step shutdown sequence, so a
single channel is enough ...
Adds support for horizontal scroll using mousewheel with a shift key.
Support is added for windo...
This commit adds two helper methods to layout.Contraints that make it easier to
manipulate the c...
This commit fixes a problem in the unpacking of text.GlyphID on 32 bit architectures.
Incorrectl...
This commit introduces a 32-bit test run to our Linux CI in an attempt
to detect architecture de...
Some devices with high refresh rates limit SurfaceView apps to 60hz
and need a specific API call...
The previous docs claimed that failing to set a textMaterial would result in
invisible glyphs wh...
This commit removes some inefficiencies from the pre-shaper-cache processing of
text. The text i...
This commit switches to the new Regular() collection method in gofont,
ensuring that the regular...