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
They're not (yet) shown their use.
Signed-off-by: Elias Naur <[email protected]>
f36070f71656b3ccabaa62864311cbae4b6bffb0 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
a8aa1a9c7eac92da467979b8b755102af52672ce authored over 5 years agoExact was too special and can be expressed with RigidConstraints.
RigidConstraints is a better ...
667670f9c65670bf48034962d4d02119f8ad402a authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
8eb58ff2ebb33d19789084e28828f8676fa8699c authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
5b3090b128ef0cd9f5a5adccb7e1c3f69a048bf9 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
09b5752659136857828aeb2df5c49dc314d5ca68 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
07622a295cb28edd887b242d470bf87e58a35d69 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
619a90a6460267fecbe59f8a0e51ffbb7cac9e65 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
587b88d346ee89af9cbe7a22da6286ce8a5a40a4 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
26543ba1a51bf731f3951ae28f0436912313c047 authored over 5 years agoClients should use the size from DrawEvent instead.
Signed-off-by: Elias Naur <[email protected]>
6e97d65af145a4697a8e5e515ac375d9fa0cb32b authored over 5 years ago
Before this change `go list <pkg>` was used to sanitize the import
path of the package argument....
Signed-off-by: Elias Naur <[email protected]>
41990e3275819f4092aa552da66f6dd25123170d authored over 5 years ago
o.UserConfigDir is introduced in Go 1.13, which is not released yet.
Add a Go 1.12 stopgab until...
StagePaused is the zero value now that StateDead is gone.
Signed-off-by: Elias Naur <mail@elias...
4cde5d57d7fafdf9c6861c878351bf04f14f70a8 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
e13b9a499082d638c3bf015b6f3390942c133dd8 authored over 5 years ago
Replace the StageDead stage with DestroyEvent dedicated to ending
the event loop and, for premat...
Signed-off-by: Elias Naur <[email protected]>
8e307b40a6f4989545089eba10a72c4342d86fb4 authored over 5 years ago
Replace CreateWindow with NewWindow that immediately creates a Window
ready to use.
Drop the Wi...
a3b9c7818fa77861204c0d79e9e52896a2be3f65 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
46cee54dd6b033277a203aa2913d8077539969a7 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
98e1ef177c78fd8d8b4f3bc06d5508215e6826f2 authored over 5 years agoJust like the pointer and key packages.
Signed-off-by: Elias Naur <[email protected]>
2296393471aec887d9ea9549461134d9b540a38b authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
93368253ac506d3b2bfa9b46cbde58a83628f30c authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
759fdb2efefffdbb3841966b9d8e14ef83bd58e1 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
1336ca109ade92a068e55d8c718f064f26eed73b authored over 5 years ago
And add ProfileOp and ProfileEvent for registering and receiving
profile data.
Remove the Profi...
86533ae683e06627066e9d4ea1d3c9ede5a99784 authored over 5 years agoIn preparation for extracting more op types in Router.
Signed-off-by: Elias Naur <mail@eliasnau...
032e9a380edb5589afa1bc6746990b9fc714766c authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
c7eb9be9f3ea9a0d7daf008885d53c3a590a8cb7 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
25a20af2843d57abbfc0ece8b9ada44be7318112 authored over 5 years agoIn preparation for only redrawing when new events are available.
Signed-off-by: Elias Naur <mai...
ba1881740080d151f0554fe964163b4711f17428 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
c7fda6d37d3c3d69d483e9f383d1cd605b5f820b authored over 5 years agoRedrawing should only be scheduled when some UI state has changed.
Window has no way to know wh...
326f78c3413a018a52e027fff320b4d054a91083 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
343934d3de1e988916babf4c8f7ec96b6189bd75 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
46850653ef213668b57c00d1411f0281eab211bc authored over 5 years ago
Now that only app.Window needs the Router, make it unavailable for
clients.
Signed-off-by: Elia...
cbdda4e9c5c4531dc0bcdbc9706f5f34d45399ea authored over 5 years ago
I see no point in forcing the client to manage input events. Let's
put it on Window for now.
Si...
0d924a1950f5f6faa8f8b908e12509a25efbfd5e authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
b8eca3927729445e7399e2d4533b7b9adca86a19 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
fb9e5ca9022e9b698f64afcccf482490e749725e authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
3a6fda129a638467efe6ed5f06d6c603b88caf39 authored over 5 years agoSigned-off-by: Dan Kortschak <[email protected]>
3c2c404fa9699806739e6f8a8bc754f39ad25a6c authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
96b52d3493d3158e24ce0b329925c7fbca8240fa authored over 5 years agoSimpler and more ergonomic for clients.
Signed-off-by: Elias Naur <[email protected]>
37ac75f3bb4c01e02c9b35027f09c534b1bc3f77 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
6a4ba30c96e7d98a66aa2047e26510aab83d400e authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
a22bcfc88c893452b8308e4cdc92afd3b291658d authored over 5 years ago
Single stepping events only makes sense for widgets with complex
state, e.g. the text.Editor. Fo...
Signed-off-by: Elias Naur <[email protected]>
a9d4186bef163dafaed6361c6a98d28f1a04b8c3 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
fc7bb79c36d38be417ee4bb9e49ddabd520daf72 authored over 5 years ago
It doesn't carry its own weight; client can just as easily adjust
the Constraints themselves.
S...
0d49eb3f4b31b9a91b23526bd0c2b0e67ea709b4 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
5c3398f33d8de025bb916c14a5835eecb183165f authored over 5 years ago
The setting doesn't bear its own weight; it's simpler for the client
to adjust the constraints i...
Before this change, the weight applied to the space left, not the
total space available after ri...
Signed-off-by: Elias Naur <[email protected]>
9f394109cb4b7eafb1353580d72779d33773901f authored over 5 years ago
The type and argument to Flex.Flexible does not carry its weight;
It is just as easy to expand t...
Signed-off-by: Elias Naur <[email protected]>
15505cd63586079101f5f84b8a0ea514e1f3d798 authored over 5 years agoWith this change, a List l can be iterated with
for l.Init(...); l.More(); l.Next() {
...
Signed-off-by: Elias Naur <[email protected]>
431fa218b2ba961cec040b9db8f525a80d1cafeb authored over 5 years agoSigned-off-by: Dan Kortschak <[email protected]>
bcd5685e78c67423221716aaf52efc5bbe758521 authored over 5 years ago
Don't apply monitor scale to wayland font sizes, since it detects
the user scale itself.
Signed...
f4461721e3f715d36db5a9585c662a4d1fd64462 authored over 5 years ago
Insets is like image.Rectangle, but with properly named fields
and ui.Value instead of raw ints ...
Compressing resources.arsc result in warnings such as
"resources.arsc in APK '...' is compresse...
9d8d5da1069ac944c0d5d086eac8dbd96b9d8e00 authored over 5 years ago
Implement recomendations from
https://developer.android.com/preview/features/gesturalnav#java
W...
15c4ce9e2232b454821515d45922bc48b7c269f3 authored over 5 years ago
The verbose flag only triggered printing of commands, which is
traditionally named -x by other G...
Let the caller decide whether the constraints should be stretched.
Also unexport Constraint (no...
896f5a77dd20d42f4bd6ec1044473d2fbadcbd1e authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
dbe15b23a9d056e5500815f4a6282f9bbdce9c4d authored over 5 years ago
Now that the pass through mode is moved into its own PassOp op,
it doesn't make sense to collect...
Get rid of the confused LayerOp and the transparent property from
AreaOp. Add an explicit PassOp...
f90ef91b19dd5be4e6a6c7f39f11da77178c0387 authored over 5 years ago
Signed-off-by: Elias Naur <[email protected]>
cadfc88be2787be3ecf37ca69d576a55a707ec77 authored over 5 years ago
To keep the interface slim, remove the helper methods and shorten
the essential method, Pixels, ...
Signed-off-by: Elias Naur <[email protected]>
624ef78e1c8348d50a881bd90d4b9281f98fa556 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
320579814f859836c2fcf141ea2ade1b5a1b01b4 authored over 5 years agoWe don't know the DPI for random images from the internet.
Signed-off-by: Elias Naur <mail@elia...
e3ba84758c1c4709c8670cf20f44ba8524180a31 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
2aac09b3b286434790f8e4fe478526494f0d2b16 authored over 5 years ago
The dp and sp units are approximate and mostly used for layout
dimensions that operate in whole ...
Signed-off-by: Elias Naur <[email protected]>
bde04c68a251b4f77dfe30b02ccbbf5e0e24468e authored over 5 years agoWhile here, add String methods to ui.Value and ui.Unit.
Signed-off-by: Elias Naur <mail@eliasna...
25af3e3701deaa38aac55718e0865c18defd80de authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
4ec352727ef664e9bcb014b64190eaaee0ace77a authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
41626f5a6b50be0086b09e4983311cb73c427ffd authored over 5 years ago
And use a constant 72 DPI for the default scale, to ensure consistent
image sizes across display...
Signed-off-by: Elias Naur <[email protected]>
ca24026ffd2cd5a93e8f74c659c471ebfa18d739 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
f3164c9fce9627fb25828f0d305a748ddda8beaf authored over 5 years ago
Layout objects are usually ephemereal, but when saved and re-used
between frames their measureme...
It's not the way of the soft keyboards.
This reverts commit a0c04cb3b2f3d3bbcbb38701711662b6f12...
8a34469211edc61adf831470eb1b21aae1376ea5 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
da095a3e5d5a0f467b6562cb83fd8d00bf872439 authored over 5 years ago
The data dir string is returned to Go as a byte array of the UTF-8
encoded string, but it is not...
Signed-off-by: Elias Naur <[email protected]>
5f15f4c7690c59dd1e19cb08d2fa1f1b36a0bf20 authored over 5 years ago
IsAlive races with the StageDead event: if the client checks IsAlive
after the stage is updated ...
Signed-off-by: Elias Naur <[email protected]>
51905c0aad887163d329ecc88459d3ccd6244811 authored over 5 years agoIn case an event is returned, don't aggregate state changes in Next.
Signed-off-by: Elias Naur ...
84cd3fcdca23a02368a6d16f5b80ab62facba706 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
2292fd0c63fa4d0e24bb9d2c9134aa29336ab073 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
c884b7d4f0c1724ac45ae9fae654efce1025b330 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
491d81e0c8a882b17008a092dd4c81cb1e580ed1 authored over 5 years ago
It's not given that output to stderr is caused by an error
condition.
Signed-off-by: Elias Naur...
389783284219b0098c31cf81a55de15c264ab465 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
ab13a2ee7360fc2bafdb60d13e85da120680cdf7 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
a0c04cb3b2f3d3bbcbb38701711662b6f1245b87 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
47c6ea2dd2015c699c68f81e3a7631e6a83797b5 authored over 5 years ago
The file descriptors are probably overwritten on exec anyway, but at
least our intent is clear.
...
Signed-off-by: Elias Naur <[email protected]>
1a417d353ca2c77d2692649c2fd066ef1ef55f76 authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
31418eefbecc6fe2f79fe84a3fe451c6175b33bc authored over 5 years agoSigned-off-by: Elias Naur <[email protected]>
f110c26e3f24935993a311f16feb3378c38f29b4 authored over 5 years ago