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]>
3c924e2a180fb75c13e9ee1f9f219db61fdee648 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
aa703dfc3e334a269ddf004fde0f43cdfacfb016 authored over 5 years ago by Elias Naur <[email protected]>
Window.Draw is not the right name for a method that does more than
just drawing. Rename to Updat...
Signed-off-by: Elias Naur <[email protected]>
3d519c5a37cdbca3b00883e495e62a4d8f610684 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
20f9a72c1571f384fce3e09f937d00b6ce8f98e4 authored over 5 years ago by Elias Naur <[email protected]>The draw package name clashes with the standard library draw package.
Signed-off-by: Elias Naur...
dd35a48a61ab51f0e55d2485798a3db3d7daa5e4 authored over 5 years ago by Elias Naur <[email protected]>
Add decode functions to the packages that need them instead. For
TransformOp that is used in mul...
To better match ClipOp, which was renamed from OpClip.
Signed-off-by: Elias Naur <mail@eliasnau...
4d66669a9e06defe86de6b25c7bd38d23947e72a authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
eaa4efe5afd8c9c22f56d2fcc6ef5800abc0b561 authored over 5 years ago by Elias Naur <[email protected]>
To avoid import cycles, move the op constants to its own package,
internal/opconst.
Signed-off-...
b3517a365e8c1e6b81aa9164657b2dde84e08f0c authored over 5 years ago by Elias Naur <[email protected]>
Multiply is a bit longer but more clear. InvTransform was really
two operations: Invert and Tran...
Signed-off-by: Elias Naur <[email protected]>
9be695cc2426a690ae12a723399f654626e7c17a authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f223c7b0c9d9be26d3b43a624a087ad63a467a2d authored over 5 years ago by Elias Naur <[email protected]>Only mention the special case for iOS simulators.
Signed-off-by: Elias Naur <[email protected]>
ddcbccf041d979716c2e1f7eb0490728434085ce authored over 5 years ago by Elias Naur <[email protected]>
Sometimes it was "bezier", sometimes "beziér". Capitalize and put
accent on first e. https://e...
Signed-off-by: Elias Naur <[email protected]>
276cb104adbecc10ecff213e41608c0fbeea0c82 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8c3305e88b0d6afde2485de3de0df30858147052 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a27f12faf38eff6e4cda6bf9af4644f304774344 authored over 5 years ago by Elias Naur <[email protected]>Add them to the wiki so README.md ends up less overwhelming.
Signed-off-by: Elias Naur <mail@el...
9babb1389d906da42fc7bca45cf570cde4d6f6f6 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8472bbc78b576f6a99606c76d6da2a263051cc1b authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2d6111e31a210620c587d419ad89522db9dda808 authored over 5 years ago by Elias Naur <[email protected]>
Wrap backticks around the "div" tag mentioned in the README, so it looks
like this:
`<div i...
7f82b5d637263d82325fca4f1701128221e557c6 authored over 5 years ago by Larry Clapp <[email protected]>Signed-off-by: Elias Naur <[email protected]>
15dc714d4052a3576527c6519905bddf894f1e2f authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
38eb23cc311b0fc0b5f3316a64781929dbb3c28e authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e2df2f394a89eb39febe17b0c71f87fcf5bd1038 authored over 5 years ago by Elias Naur <[email protected]>
The space savings are minimal and we lose function names in the
browser debuggers.
Signed-off-b...
6ce224b89fc30a1061f6aca2f6e6216fa9730e09 authored over 5 years ago by Elias Naur <[email protected]>THe webassembly backend can create and add it itself.
Signed-off-by: Elias Naur <mail@eliasnaur...
1c5ceab9c1d2a1cfa706f54128ecc6e89eed9561 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
eee497f22a3d738e954a83052bcd24c3bdfd6c17 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
28bd97f87753c7e94c78cfc7dd31d4ebd5c11761 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e309fb42d48f185acebce8160ae48d9d88cbf515 authored over 5 years ago by Elias Naur <[email protected]>
showTextInput is called from the window loop in window.go, but
could result in an immediate even...
Signed-off-by: Elias Naur <[email protected]>
10792f0a0004c017dba4658c791fac6d54d180ae authored over 5 years ago by Elias Naur <[email protected]>
By returning all events, widgets that might return early from its
event loop might throw away su...
Signed-off-by: Elias Naur <[email protected]>
b15a32065f552046e8da502f8318ca1b8c8f8033 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
eefe3d146d79a8e16121975bc52da0dd178e7254 authored over 5 years ago by Elias Naur <[email protected]>
input.Event is enough if we stretch "input" to mean both input
devices and other events such as ...
Signed-off-by: Elias Naur <[email protected]>
69bba3aa4b3f2db7c2888966c83a27848ba2d3c9 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
06cee16c89036cbf38cccb002292f9caab09373d authored over 5 years ago by Elias Naur <[email protected]>
And then use the more general rectangles to add a buffer around
text.Editor click and scroll are...
Signed-off-by: Elias Naur <[email protected]>
d3df90887ed734bc872bf05d10d03f10f2534e94 authored over 5 years ago by Elias Naur <[email protected]>Work around golang.org/issue/33384
Signed-off-by: Elias Naur <[email protected]>
46b9e7b9ab44c852c274807072082eeb1bcf89d6 authored over 5 years ago by Elias Naur <[email protected]>Broken by 5f2adf9b2f2290e1ed82e96ca864ede354c25b43.
Clamp to 0 while we're here.
Signed-off-by...
3d9861011e24132d4b366017f21452346c6a7de9 authored over 5 years ago by Elias Naur <[email protected]>Strip also DWARF and the symbol table while here.
Signed-off-by: Elias Naur <[email protected]>
5bf5f1e64d91af49c20d2a5da90557ae42d3824c authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
7182e29d28cbed3eb3cae8cee2cbf4a7a729a2c9 authored over 5 years ago by Elias Naur <[email protected]>
It's not worth the special cases. Use a large value where needed
(layout.List, text.Editor...) i...
Signed-off-by: Elias Naur <[email protected]>
1b684ffab6fba7baf31bf1e85e2c4b267969b080 authored over 5 years ago by Elias Naur <[email protected]>The separate Transform type is not worth its weight.
Signed-off-by: Elias Naur <mail@eliasnaur....
5e1f078b12aeaa9c5c0dc9c6736b57123add22bf authored over 5 years ago by Elias Naur <[email protected]>Fixes gio#13
Signed-off-by: Elias Naur <[email protected]>
d178167c3bc41305ab57b43fb029099b8ce69fb6 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d93925c0c26289490a2024cde9f4ced0d7e89056 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a0d1d93ccf58e04e49cf62f385af1ec81abf4b34 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a2e485b56d2249fca033e4838283963e7f59fa03 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c1128e7f8ab888c60b1b7657332720f72843c206 authored over 5 years ago by Elias Naur <[email protected]>
Now that Gio runs main functions everywhere, init func are no longer
necessary.
Signed-off-by: ...
b45222b457004d3c4ed38424e69a2ee4399b5524 authored over 5 years ago by Elias Naur <[email protected]>
Android can only run c-shared libraries which means that every
Gio program must create its windo...
The app data dir is not set until after Go's init functions have
run, which means that DataDir i...
Signed-off-by: Elias Naur <[email protected]>
1ee8c08f3bf94a897d393a95c85cba899a52a551 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f47a38844b9047bc52bc16e0154db175e3d83077 authored over 5 years ago by Elias Naur <[email protected]>
It is never a good idea not to draw in response to a DrawEvent, but
let's not hang the program i...
Signed-off-by: Elias Naur <[email protected]>
4724666ba072259820360528f15d5e47720515bf authored over 5 years ago by Elias Naur <[email protected]>Instead of drwaing twice when updated, schedule a redraw.
Signed-off-by: Elias Naur <mail@elias...
2f9e29d87850873405bf7dbedb1595f689c29c03 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2cb3832c161ab3bdaf7a1fd513f773722e1950f9 authored over 5 years ago by Elias Naur <[email protected]>
Instead of querying the backing store scale for every pointer event,
use the scale from the last...
When moving a window to another monitor, update is called when the
opengl backing store updates ...
Compute and keep constant the pixel density, to avoid window content
changes when moving to anot...
Breaks the ack mechanism of sending a dummy ack event to ensure
the previous event has been proc...
Signed-off-by: Elias Naur <[email protected]>
2cf2f211cb00852b5fafd73987bc07a4067de138 authored over 5 years ago by Elias Naur <[email protected]>Clients have no need for the TextInputState type.
Signed-off-by: Elias Naur <[email protected]>
9e0e4af8c6020ddb299c93b761cdddb4e4b9b20f authored over 5 years ago by Elias Naur <[email protected]>
Now that the input router triggers a redraw when a focus event is
added, it is no longer necessa...
The key queue might generate focus events. Schedule a redraw if so.
Signed-off-by: Elias Naur <...
3f7735ccdf2611e8d081b9e0d24ccd623387fbae authored over 5 years ago by Elias Naur <[email protected]>
Input events are asynchronous, so add buffered to the event queue
so that a slow client does not...
Signed-off-by: Elias Naur <[email protected]>
5f0047567e6be49c2effed70f32b5ba41740ef0e authored over 5 years ago by Elias Naur <[email protected]>
I too often forget to initialize widgets' config and queue. Moving
them from fields to parameter...
Signed-off-by: Elias Naur <[email protected]>
6c0850ce604aceb443596f38203db878ebb5d4e2 authored over 5 years ago by Elias Naur <[email protected]>
I haven't found a reliable way to re-create the context and redraw
after deminiaturization or ap...
The NSOpenGLView owns the NSOpenGLContext so we can't just CFRelease
the context. Use [NSOpenGLV...
Signed-off-by: Elias Naur <[email protected]>
0b6e6c58dd7d2a676061bbbb9a61a08bdbe27f2a authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
4a9b6f30071c6221cf8e5833f5d55a738d374867 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
6b5714d15d6baa900138668bdd5c041dd0c5bd32 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
7f5393f9bed6c4e9b099c360c764aeec5b6025b6 authored over 5 years ago by Elias Naur <[email protected]>
The CVDisplayLink used for synchronizing rendering to the display
refresh rate runs on a separat...
Signed-off-by: Elias Naur <[email protected]>
a36372a2430bccc7fc5b97d1291fb1a68bb3518d authored over 5 years ago by Elias Naur <[email protected]>Delete a redundant loop; dropHandlers already does the required work.
Fixes pointer event issue...
c94315119b0b8dd6ed71801c02fc9b7767280473 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
75891f024c008430b797386416e29e37f3b11949 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d9d8df989d4cd80212b0af382b453621c707f45f authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8fc7a316cc7725ad36909076fc2530e158f6296a authored over 5 years ago by Elias Naur <[email protected]>To match widget.Image.Src field name.
Signed-off-by: Elias Naur <[email protected]>
84fb7279eb3bc6dbd083151e7dbe2bd3dcc76f80 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
934aa4fe8d61b6c6b0113cc7fd1508aafd4fa6f6 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fd096e8838357de63fef1825e29c8019036fad0e authored over 5 years ago by Elias Naur <[email protected]>To enable re-use.
Signed-off-by: Elias Naur <[email protected]>
b4441a8728e5ee704fcaf8173ffdbc7d104c611e authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8f0d741d9f2f14fd73d018300389fa0e71f11ad4 authored over 5 years ago by Elias Naur <[email protected]>
Before this change, there was no guarantee that a PopOp matched
the intended PushOp. With a sing...
Signed-off-by: Elias Naur <[email protected]>
f9fda47d256f9d29a360d599ed38c2f2b6b51c31 authored over 5 years ago by Elias Naur <[email protected]>Move the Record and Stop methods from Ops to MacroOp itself.
Before this change, Ops.Stop stopp...
94a913a371c43b5df8ac688f7e8b58661fafb1cd authored over 5 years ago by Elias Naur <[email protected]>opsData wasn't worth the complexity.
Signed-off-by: Elias Naur <[email protected]>
ba9ffe846e4724bddb966446cc039e39d4ba56da authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
6947ed9312ca4762aed5b0834515168f49e0dbd4 authored over 5 years ago by Elias Naur <[email protected]>
Without proper rounding, a pixel could be left uncovered at the end
of the flex layout.
Signed-...
eb9c2896cd1f89a1590eac102f017317285dfc1f authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f32b5fef4351ce7dbf6966354a18149da9cfd6a1 authored over 5 years ago by Elias Naur <[email protected]>Rename Insets to the verb Inset for consistency with Align.
Uniform is a better description tha...
00b9ff603f381885c2a393ac84545a0d64069529 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5b7b1eb00146f2e1906c0ee8f7ad31d451171b75 authored over 5 years ago by Elias Naur <[email protected]>It is a more precise name.
Signed-off-by: Elias Naur <[email protected]>
3b5fcfe2bb554542a217b82583108d458d9d3623 authored over 5 years ago by Elias Naur <[email protected]>