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
This commit introduces a special mechanism to load only the regular version
of the Go font. This...
This commit updates the internal representation of a font to separate the
threadsafe and non-thr...
Egon pointed out that the current default is unusable on touch screens in Slack, so this
change ...
This commit adds back support for loading font collections, which we
lost when switching to the ...
This matches the behavior on Linux and macOS.
Signed-off-by: Dominik Honnef <[email protected]>
cda73efa6a1c807603dd5d678921fc0bc32c721a authored over 1 year ago by Dominik Honnef <[email protected]>
Putting a string in an interface value has to (normally) heap allocate
the string header and str...
This commit picks up improvements in upstream go-text that (among other things)
allow the shaper...
This commit combs through the logic of computing glyph sizes and positions,
attempting to remove...
This is a fixup of 0dba85f52e5131c03d903c84355fb90cdb978811.
See discussion at
https://lists.sr...
c0d3f67b04687492e56a561ad3a149abdf98d4a0 authored almost 2 years ago by Elias Naur <[email protected]>
Clicking on the window border or the title bar initiates resizing and
moving of the window respe...
We panic when someone constructs a literal LabelStyle because they cannot possibly
populate the ...
This change adds ViewEvent for JS/WASM, which returns the HTMLElement
which Gio is been rendered...
This commit fixes a subtle problem when trunating text widgets that contain
multiple newline-del...
This commit moves the min/max width of shaped text and the text's Locale into
text.Parameters. T...
This commit separates the types for interactive and non-interactive text within
package widget. ...
This commit adds an exported method to enable widgets to detect
when the text displayed by a Sel...
This commit adds support for the idea of a text "Truncator", a string
that is shown at the end o...
This commit teaches the text widgets how to position their cursor according to
grapheme cluster ...
This commit allows the glyph index type to be reset and reused, preventing the
reallocation of n...
This commit adds caching to the process of extracting bitmap images
from glyphs, ensuring that w...
This commit upgrades our version of eliasnaur.com/font to include a color
emoji font and uses th...
This commit supports rendering opentype glyphs containing bitmap data instead of
color data. In ...
This commit upgrades our go-text version to the latest one which internalizes
harfbuzz and suppo...
This commit ensures that the Spacer type doesn't break layouts
by ignoring when its min constrai...
When no scale factor is set, scale by 1.0, mapping one image pixel to
one device-independent pix...
faceOrderer.sorted tried to put the "primary" font first by tweaking the
"less" function in sort...
This commit extends the key event handling for text widgets to always check for
appropriate modi...
Signed-off-by: Dominik Honnef <[email protected]>
107401cf07708c06faf22be5a566030507589a12 authored almost 2 years ago by Dominik Honnef <[email protected]>Signed-off-by: Dominik Honnef <[email protected]>
dc9a4a4009863a0597f4d4de5519f0142eccfbe9 authored almost 2 years ago by Dominik Honnef <[email protected]>Signed-off-by: Serhat Sevki Dincer <[email protected]>
35a8231963662815bab57457b1a8c48ee34903f5 authored almost 2 years ago by Serhat Sevki Dincer <[email protected]>Signed-off-by: Serhat Sevki Dincer <[email protected]>
4a1962e5e8c025d4b66fe200b41ce49fc02537ff authored almost 2 years ago by Serhat Sevki Dincer <[email protected]>Signed-off-by: Serhat Sevki Dincer <[email protected]>
39b115841025dd4d6730cd2f420a00014a8cb0ea authored almost 2 years ago by Serhat Sevki Dincer <[email protected]>
This commit changes _how_ the test for line wrapping is implemented to rely on the
exported API ...
Signed-off-by: Dominik Honnef <[email protected]>
5f818bc5e7f9d49464fab0d282b7e40768e9203a authored almost 2 years ago by Dominik Honnef <[email protected]>
The majority of scrolling happens by manipulating the index of the first
displayed item instead ...
Avoids CVE-2022-32149.
Signed-off-by: Elias Naur <[email protected]>
bb12508a8aa104846767c1452fd8c4971507b07a authored almost 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
0dba85f52e5131c03d903c84355fb90cdb978811 authored almost 2 years ago by Elias Naur <[email protected]>
References: https://todo.sr.ht/~eliasnaur/gio/479
Signed-off-by: Elias Naur <[email protected]>
When the line overlaps itself backtracking exactly, e.g.
path.MoveTo(0, 100)
path.LineTo(...
Apparently, alphaClose has been overflowing and giving the wrong answer
for a while and hence so...
Signed-off-by: Gordon Klaus <[email protected]>
db6b4de0f71bbde5ff84973c064ce72f7c17a89e authored almost 2 years ago by Gordon Klaus <[email protected]>Setting Float.Invert=true not only inverts the order of values (which was already easily done by...
22aa00f4767a62091329bbce1e67410136a0c19b authored almost 2 years ago by Gordon Klaus <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/473
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Larry Clapp <[email protected]>
e0cf570339bdf82bbb634ccba467ed238f0a5d52 authored almost 2 years ago by Larry Clapp <[email protected]>
References: https://todo.sr.ht/~eliasnaur/gio/469
Signed-off-by: Elias Naur <[email protected]>
This commit alters the textView API to give callers the option to provide
their own buffers for ...
Signed-off-by: Chris Waldon <[email protected]>
940f0f60212f3481fec40b642ef6899bc4e47b5e authored almost 2 years ago by Chris Waldon <[email protected]>Signed-off-by: Chris Waldon <[email protected]>
1c49532447cbce66d11eb4ccc25dab235b585187 authored almost 2 years ago by Chris Waldon <[email protected]>
This commit updates the textView to better describe the expectations
and behaviors of the Update...
Signed-off-by: Chris Waldon <[email protected]>
f6d56dba8934b6a4a5f681971416577773f0694d authored almost 2 years ago by Chris Waldon <[email protected]>It's not supported in OpenGL ES 2.
References: https://todo.sr.ht/~eliasnaur/gio/469
Signed-off...
Similarly to WebGL1, they're not supported in OpenGL ES 2.0.
References: https://todo.sr.ht/~el...
1a84517b12ba0faec346d933c278f56c2844deb4 authored almost 2 years ago by Elias Naur <[email protected]>
name old time/op new time/op delta
Packer-32 559µs ± 2% 295µs ± 1% -47.18% (p=0.00...
name old time/op new time/op delta
EncodeQuadTo-32 35.4ns ± 1% 11.9ns ± 3% -66....
go.mod specifies 1.18, due to go.mod behavior and to avoid some issues
with updating the depende...
PxToDp and PxToSp are useful when you are trying to calculate
text-size or widget size based on ...
The io.Reader based API has the potential to be significantly more
efficient, and there are very...
This commit adds exported methods to both LabelState and Editor
allowing callers to locate the t...
This commit rebuilds the editor and label types on the common
foundation provided by textView. T...
This commit adds a standalone state type for manipulating
and displaying text. It reads text fro...
io.Reader is actually a more efficient interface than io.RuneReader,
as we can pull bytes out an...
This commit provides a new ReadOnly boolean on the editor. If set, the
editor functions as a sel...
This commit unifies and fixes the shaper's handling of the alignment
minimum width. Previously i...
This commit extends the editor to keep track of its own minimum constraint
and to provide that v...
Signed-off-by: Elias Naur <[email protected]>
5d1d1df2061c7f78b199bd34321b9194b79d6a7c authored about 2 years ago by Elias Naur <[email protected]>
This commit updates the textIterator and glyphIndex types to consume
new flag information provid...
This commit adds a new flag to glyphs indicating that they are the
beginning of a new paragraph,...
Signed-off-by: Chris Waldon <[email protected]>
b0483975b747ae9e2c551ec6701db87e74596435 authored about 2 years ago by Chris Waldon <[email protected]>
This commit fixes a subtle discrepancy in the handling of text input
within the shaper. Text pro...
This commit pushes limiting the maximum number of lines of text into
the shaper implementation. ...
This commit unifies all widget text painting to use a single function
and fixes two bugs that co...
This commit restructures the entire text shaping stack to enable lines of shaped text to
have no...
The windowWillClose callback is too soon to destroy our Window:
at least draw callbacks may be c...
Signed-off-by: Elias Naur <[email protected]>
98f098f53fec339122431eb7b741862862984603 authored about 2 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
eccc94dceb55fd8bac04959278c4c81ba7bd5b24 authored about 2 years ago by Elias Naur <[email protected]>
Allow app ID to be set by linger flag -X gioui.org/app.ID=%s so that wayland
can group windows, ...
When applying window config on runtime, it is nessesary
to do full redraw in order to changed co...
Some IME editors don't send explicit GCS_CURSORPOS messages, in
which case we should assume the ...
This commit replaces invalid UTF8 codepoints with the replacement character
when they are insert...
This commit adds a series of benchmarks for text rendering. They are intended
to capture the per...
Signed-off-by: Chris Waldon <[email protected]>
b1942f64b0cbdb0f6f30d318795151e3d04279f4 authored about 2 years ago by Chris Waldon <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/455
Signed-off-by: Elias Naur <[email protected]>
References: https://todo.sr.ht/~eliasnaur/gio/455
Signed-off-by: Elias Naur <[email protected]>
This commit fixes the expectations of our ligature iteration tests to
match the new behavior of ...
This commit redefines incrementing a combinedPos to either move a single
rune forward, *or* tran...
This commit adds a test for the seekPosition helper, a function which can
be used to move a comb...
This commit adds an exhaustive test case for the positionGreaterOrEqual
helper function that our...
This commit adds documentation and tests for the clusterIndexFor helper,
making it easier to und...
This commit restructures seekPosition from a complex state-manipulating
loop into a simple loop ...
This commit adds a test to lock in the correct behavior of the
firstPos helper method.
Signed-o...
1be58a2bc4f773c6f0c43e72e70178961b472ca7 authored about 2 years ago by Chris Waldon <[email protected]>
This commit switches the way in which the editor and helper functions check
for RTL text from a ...
All GPU APIs except OpenGL ES 2 can generate mipmaps for textures.
This trades 33% more GPU memo...
The tag `noopengl` is useful for testing the Vulkan backend which
is no longer default.
Signed-...
e69ef4f0b42e035cf67e90585de58a5e1261c078 authored about 2 years ago by Elias Naur <[email protected]>
Like commit dbf64290265178823970cccf3e8c4a0b0aa45110, this change
makes the OpenGL backend defau...
Signed-off-by: Egon Elbre <[email protected]>
dead6e007f047652d63c7a21475ceb690daeae48 authored about 2 years ago by Egon Elbre <[email protected]>
Before this change, a macro not Stop'ed would result in an endless
loop during op decoding.
Sig...
80196f3c3ed34140a4fe68fd682c8be21806b37c authored about 2 years ago by Elias Naur <[email protected]>
Fixes: https://todo.sr.ht/~eliasnaur/gio/448
Signed-off-by: Elias Naur <[email protected]>
Now, Gio will send one system.StageEvent with system.StageInactive when
the window is not active...
This change removes `gofont.Collection()`, which imports multiples fonts and
increase the binary...
Before that change, Gio could crash when the WebGL context was lost
unexpectedly. Now, Gio will ...