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]>
3bb1450d0d0e86390e12d6c87b7013567baff08d authored over 4 years ago by Elias Naur <[email protected]>
Before users were limited to only use a appicon.png in the root directory.
Now the user is free ...
Go 1.15 is out so let's bump the version to 1.14 to sidestep the annoying
webassembly syscall/js...
An event reporting the most recent Android View attached to the Window is both
simpler to implem...
Signed-off-by: songpv <[email protected]>
c3574cdabdb100456fe2ecc6baef49d1dda57837 authored over 4 years ago by Elias Naur <[email protected]>
ANDROID_HOME is deprecated and slowly being removed from Android
tools.
Signed-off-by: Elias Na...
a063febed977becb63c834392576f0aee64d3526 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
83673ecb203f809e7630683a632a2c44bf29372a authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#149
Signed-off-by: Elias Naur <[email protected]>
3b95e291835998d8a762250810e9d4aee772dcc1 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
4a9d97784f24bec72350396df9f58149c7deedc7 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e381ff40d66b03e43f7e964cd4dea2ba75dc2588 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
9ac8c80d1529ad48d99ed66103fe99310231dada authored over 4 years ago by Elias Naur <[email protected]>
Gio apps use a single Android View for the entire UI, rendering the platform
focus highlight uns...
Signed-off-by: Elias Naur <[email protected]>
6ab43aba3ea5a7d76450f0636ef535cd2b906a45 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
39fd161bea1f0198f6dc427e6ece050280a6e314 authored over 4 years ago by Elias Naur <[email protected]>
This commit changes the ink-drawing code so that IconButtons that
are not perfectly circular wil...
Signed-off-by: Elias Naur <[email protected]>
40141e29f5d2bd3bd01a0356511cb2eb8fc753b7 authored over 4 years ago by Elias Naur <[email protected]>
Fixes gio#131
Fixes gio#133
Signed-off-by: Elias Naur <[email protected]>
47efa26cfc058d87e532f18373008e7eb6c7a02a authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f958f9512e716e31bdb9fa2b1f4876e00339d7b7 authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#147
Signed-off-by: Elias Naur <[email protected]>
e48b85f8d92eac4061cb650dba8e9331e5d5e544 authored over 4 years ago by Elias Naur <[email protected]>
I found the interplay of List's Layout/init/next/more/end methods
somewhat confusing and hard to...
Signed-off-by: Elias Naur <[email protected]>
773939fe1dd10b3ac5f937a7f9993045a91e23a7 authored over 4 years ago by Elias Naur <[email protected]>Tweak kitchen Border example as well.
Signed-off-by: Elias Naur <[email protected]>
742e1f9e7295137481021002dbe0e59924da26a6 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
188bfa9a0bbdae02a3afed0cbddaf2eede49efb3 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
713770f808fec742b5ef8524bc6857ae49d2d480 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
39550f3239958abc96da9721f576af07ef4d96a2 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c76b42e4869877c6448e255e105a09a13b0bdd91 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5a6ad65b853658b3ac4e13fac347aee6c847548f authored over 4 years ago by Elias Naur <[email protected]>
The pixel-aligned Rect is more efficient and easier to use in the common case
of layout clipping...
It wasn't used anywhere outside Rect.Add.
Signed-off-by: Elias Naur <[email protected]>
4818538ef8f18371ef2b2e4d7407f41b81bcb761 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
29f820caaac97eb0d5db5df8310d9ff8808e6152 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
de66aae15279e2cd8ba25e63c6125cf4d512198d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
692d6ab2219fa2e52061290f7ae5bffd18b6be26 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a97fa3f1ac8f079a6ad64e4eb1b15ea6f633075a authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
659849bb82028a76e7dd34fda5d002a53c4f77c1 authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#145 (I hope)
Signed-off-by: Elias Naur <[email protected]>
96da6945a7e929f6941a64c559971ab5123fd656 authored over 4 years ago by Elias Naur <[email protected]>
Added tests to make sure that opentype.Collection can be used as a
text.Face, and that it correc...
This change allows font collection files (extensions .ttc or .otc)
to be used as a text.Face. Th...
Implementations of text.Face are reused across multiple windows for efficiency.
Make the opentyp...
Release context on MakeCurrent failure paths as well.
Fixes gio#144
Signed-off-by: Elias Naur ...
e2278b64c112545803b9471a0416268aef2b4c52 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#144
Signed-off-by: Elias Naur <[email protected]>
30ad63283b96c1f066e1c859d27a989daa07a6ab authored over 4 years ago by Elias Naur <[email protected]>Updates gio#144
Signed-off-by: Elias Naur <[email protected]>
d53c92791f34892c82751e48fc71566af2a777d5 authored over 4 years ago by Elias Naur <[email protected]>
A single EGL display may be shared among several contexts. Don't
eglTerminate a context display ...
Updates gio#144
Signed-off-by: Elias Naur <[email protected]>
8bd0e85f2ee689630670e5ac94ce0b79e17266f9 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#144
Signed-off-by: Elias Naur <[email protected]>
dff037a84ea7c2d3ab3199e7e4283ccd09def493 authored over 4 years ago by Elias Naur <[email protected]>Add explicit inset to ButtonLayout.
Signed-off-by: Elias Naur <[email protected]>
223f8fd40ae44216f4941e1f4b7fa7131518fc71 authored over 4 years ago by Elias Naur <[email protected]>
ButtonLayout is for custom button content; insets belong to the
custom content, not the button.
...
Larry Clapp reported a panic from failing to start the display link.
Ignore the error and hope t...
Fixes gio#142
Signed-off-by: Elias Naur <[email protected]>
851255f7a67b14d5dc0199375241270346e70b53 authored over 4 years ago by Elias Naur <[email protected]>
Casting a *XClientMessageEvent or *XSelectionEvent to *XEvent is
technically incorrect because t...
Fixes gio#141
Signed-off-by: Elias Naur <[email protected]>
31e8339e1bf874e2a1f15ee9b284513065d955b4 authored over 4 years ago by Elias Naur <[email protected]>Add os.Exit to examples now that app.Main never returns.
Signed-off-by: Elias Naur <mail@eliasn...
f5985b5e7dea0446a3d094de47fade8aa31872ef authored over 4 years ago by Elias Naur <[email protected]>
This CL implements the app.Main function as a blocking-forever function
for JS, Wayland, Windows...
Signed-off-by: Elias Naur <[email protected]>
facf5cbb9d089ee770502572ecfa9d8929803f5f authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
acc0424dd7d7e0687360a8a0cc70af5fabeeb70c authored over 4 years ago by Elias Naur <[email protected]>
The Gio GioAppDelegate created the GioViewController programmatically.
When using gogio's -build...
We'd like to remove GioAppDelegate when Gio is embedded with
gogio's -buildmode=archive. Minimiz...
It's not used in text shaping, so let's not require it.
Note that the concrete opentype package...
913a780d64618ff12fb0e1da1857ff10d40defcb authored over 4 years ago by Elias Naur <[email protected]>
Before this change, Android and iOS were special for two reasons:
app.Main would return immediat...
Fixes a bug due to that f32.Rect.Intersect will not return the
empty rectangle for non intersect...
Signed-off-by: Elias Naur <[email protected]>
5bd0ecea5e437deda7848584d92acd9af95912ff authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
342c0da320bdea57ab6bf0f916941cab84b296c8 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2f984673a2395930c1a3693f374bcab5780d3b7a authored over 4 years ago by Elias Naur <[email protected]>
If the Android NDK is not found in a standard location (e.g. you are
on an F-Droid build server)...
Fixes the builders.
Signed-off-by: Elias Naur <[email protected]>
b664d68a7c0f446aaf5a26c83e9e1aed522cb187 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Sebastien Binet <[email protected]>
59f07023d489bee32764a12c6e9af1a182c6aa70 authored over 4 years ago by Sebastien Binet <[email protected]>The app.MinSize and app.MaxSize options restricts the window size:
w := app.NewWindow(
app.Siz...
Signed-off-by: Gordon Klaus <[email protected]>
20cf570709374a078ed8bf71ae38ebb4005e4a3d authored over 4 years ago by Gordon Klaus <[email protected]>Signed-off-by: Gordon Klaus <[email protected]>
5368743478e0f3be301e003f59da9109845176d6 authored over 4 years ago by Gordon Klaus <[email protected]>Signed-off-by: Elias Naur <[email protected]>
817e0fa9c32f4fa240e74105bb08b03a0065dc68 authored over 4 years ago by Elias Naur <[email protected]>Use op.Offset instead, or create and manipulate a f32.Affine2D.
API change. Update your code wi...
878131189b10c23417aee9cc81aaa45e604ebe9a authored over 4 years ago by Elias Naur <[email protected]>
A slice of FontFace pairs are simpler, and thread safe in case a client
wants to append or modif...
Signed-off-by: Elias Naur <[email protected]>
424a7289882b9116933d44c9d666ec7ec44bd2d5 authored over 4 years ago by Elias Naur <[email protected]>Include an example of transforming the entire UI in the example.
Signed-off-by: Viktor <viktor....
1a9ae1af69f515c5934a76e09ba7d36d6ca9c58a authored over 4 years ago by Viktor <[email protected]>
Reintroduce support for offset in stencil vertex so we can reuse
cached values if the only diffe...
Cache also CPU operations by moving pathCache into
drawOps and use it in collectOps to avoid spl...
This commit fixes a bug where a shape first drawn off-screen
and later moved into screen would n...
Save allocations by using pathData instead of *pathData.
Signed-off-by: Viktor <viktor.ogeman@g...
901478d102fd2ba9ea5f688c415cb561dded3329 authored over 4 years ago by Viktor <[email protected]>
f32color.RGBAFromSRGB is used extensively in package gpu, avoid an
interface type to save alloca...
To avoid duplicate work when using macros and non-offset transforms,
cache also the new bounding...
Benchmarking showed that the double map access calls
were a bottleneck. Rework the cache to avoi...
Previously the cache was only filled during gpu-buffer creation,
resulting in extra work on the ...
Uses app/headless to create a set of test cases for drawing operations, including clipping
textu...
Add support for affine transformations. The key changes are outlined
below.
- Painting/clipping...
24951a7ee7f79b5ec38850148b7b18db07a48f08 authored over 4 years ago by Viktor <[email protected]>Encode TransformOp as an Affince2D matrix instead and use that in gpu and io transform handling....
b247395c6259163cd0ca910cd55401d0e31919c4 authored over 4 years ago by Viktor <[email protected]>
Implements 2D affine transformations. This commit is a step
towards full affine transformations ...
This is a first step towards supporting affine drawing transforms.
The rendering algorithm relie...
Create a standard, representative set of benchmarks for the
rendering pipeline to allow for meas...
This change adds optional password masking to the Editor. To enable
this feature, set the new Ma...
In preparation for adding editor masking, Editor can't rely on the
Rune and Len fields of the la...
Signed-off-by: Elias Naur <[email protected]>
dcbbcbb5434333e935a475339e0802435100b7bb authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ffec83a001be70c169726b56cc293a839366c51f authored over 4 years ago by Elias Naur <[email protected]>
Only call layoutCaret when the text layout changes, adjust position
for caret movement.
Signed-...
ef21a7ace14e1e334a2b67486f6aaa01c3d9098e authored over 4 years ago by Elias Naur <[email protected]>In preparation for maintaining the caret position.
Signed-off-by: Elias Naur <[email protected]>
8f31f8da2c7c0a9d88ba86e9c8a5d04cbfd9f709 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
4eb66d27079788cf1198eb71569fc21d7140eb13 authored over 4 years ago by Elias Naur <[email protected]>
The caret x-offset tracks residual horizontal offset for arrow key
movements. Caret movement by ...
Don't leak the implementation details of the caret coordinates.
Signed-off-by: Elias Naur <mail...
2f23a326b8addca92b0f0b7eebb902432bac90d8 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
810be77412f473ac014848b91b22125eea44b67a authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e2f3bbdfc36707fbaff274aea031277ca0d5c459 authored over 4 years ago by Elias Naur <[email protected]>
Mice drags scroll on Android by convention. Further, ChromeOS converts
two-finger touchpad scrol...
88ced59dad93f4d8a51a1f5f04a6db3fcd2f9da6 authored over 4 years ago by Egon Elbre <[email protected]>