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

layout: fix comment

Signed-off-by: Elias Naur <[email protected]>

afcff9c8b507381281a5c39159adec65dadc115e authored about 5 years ago by Elias Naur <[email protected]>
example/go.*: update Gio version

Signed-off-by: Elias Naur <[email protected]>

72ed58e91496a001c223835bacb4b8c992858904 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: fix IconButton padding

Signed-off-by: Elias Naur <[email protected]>

86f45f813e9f6a96284c91337796c90d23694730 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: add and use Icon.Layout method

Signed-off-by: Elias Naur <[email protected]>

78963bdaae54f14b1e79bbe1a370a0738a8aa4b6 authored about 5 years ago by Elias Naur <[email protected]>
layout: rename formatState to formatter

Signed-off-by: Elias Naur <[email protected]>

c07b5201577390390ccb1efa882e62c7b5e271fc authored about 5 years ago by Elias Naur <[email protected]>
layout: parse empty names and let higher levels generate errors

Signed-off-by: Elias Naur <[email protected]>

79d505623a79df81aac42fcdffec613690b63345 authored about 5 years ago by Elias Naur <[email protected]>
layout: fix ambiguous parsing of stack and flex arguments

Fixed gio#44

Signed-off-by: Elias Naur <[email protected]>

dafb180176517e8a7714a754fdb5c64f47497825 authored about 5 years ago by Elias Naur <[email protected]>
layout: fix spelling of "northeast"

Fixes gio#45

Signed-off-by: Elias Naur <[email protected]>

32d51dd9e683971a06402346ead00e9c37ebfa37 authored about 5 years ago by Elias Naur <[email protected]>
app: add Handle type and PlatformHandle()

On Android, allow access to JVM and Application context.

Signed-off-by: Greg Pomerantz <gmp.gio...

5ef176af8145d2a15018dfc709b49109207d8a56 authored about 5 years ago by Greg Pomerantz <[email protected]>
cmd/gogio: Android: include jar files from package directory

Look for *.jar files in package directory for inclusion in
Android .apk file.

Signed-off-by: Gr...

175144fa99b57ad4f99ebbcb5393fba8a2eeb065 authored about 5 years ago by Greg Pomerantz <[email protected]>
widget/material: accept nil icon in IconButton.Layout

Signed-off-by: Elias Naur <[email protected]>

bf6741f2d66a8abcfcbedeb323c08d956f8f00fd authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: fix avatar image scaling

Signed-off-by: Elias Naur <[email protected]>

959da5e68f44eba5ddec032914fb25a586f4797e authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: clip in floating point

Signed-off-by: Elias Naur <[email protected]>

42d2c9845575dfc9fc14a7c2e45f59508520d9cb authored about 5 years ago by Elias Naur <[email protected]>
app/internal/gpu: don't apply gamma linearization to alpha values

Signed-off-by: Elias Naur <[email protected]>

0c75e7c6056c718008f32160403c9bd01eacf4b0 authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

Signed-off-by: Elias Naur <[email protected]>

0d4cd822ef2f9ac0f5950a3af6ef033817bc09d6 authored about 5 years ago by Elias Naur <[email protected]>
layout: update tests

Signed-off-by: Elias Naur <[email protected]>

5c0f1ed9546694d9c40dd649ec3305f1675fcaea authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: fix Windows build

Signed-off-by: Elias Naur <[email protected]>

b3c0eaac80c2ba7acb38fe189d2604fc9d6b16c5 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: don't scale image when constrained

Signed-off-by: Elias Naur <[email protected]>

3ec0948bbaf703d1cc89d2d54e18cf6fdc6a71f8 authored about 5 years ago by Elias Naur <[email protected]>
layout: rename "exp" layout variants to "max"; add "min" variants

Signed-off-by: Elias Naur <[email protected]>

862061b363da13e94529327a53cb6e51f1ab703a authored about 5 years ago by Elias Naur <[email protected]>
widget/material: don't use translucency for disabled icon buttons

Signed-off-by: Elias Naur <[email protected]>

7835d6999fb912963f3db8e55cfd6daed73a415f authored about 5 years ago by Elias Naur <[email protected]>
layout: add "exp" format layout for expanding both constraints

Signed-off-by: Elias Naur <[email protected]>

d7694ae95f9a7b1a5586b83930d38ee6dd21b337 authored about 5 years ago by Elias Naur <[email protected]>
layout: fix Flex baseline

Signed-off-by: Elias Naur <[email protected]>

759900902af363f70b921f43246ab1d40e731822 authored about 5 years ago by Elias Naur <[email protected]>
layout: skip Flex and Stack Layout when scanning format string

Signed-off-by: Elias Naur <[email protected]>

b1643e5e2a41c3cfc478a1186f37dba84b0d28b5 authored about 5 years ago by Elias Naur <[email protected]>
layout: more doc fixes for layout.Format

Signed-off-by: Elias Naur <[email protected]>

f442512888c26b0c8ebbde28456943f2a20d093f authored about 5 years ago by Elias Naur <[email protected]>
layout: fix godoc.org rendering of layout.Format docs

Signed-off-by: Elias Naur <[email protected]>

80b1af302440807840f71924f538e50b6927d7da authored about 5 years ago by Elias Naur <[email protected]>
layout: add support for layout format strings

Signed-off-by: Elias Naur <[email protected]>

c76490956d8e0ca71c27c76061dcb501889bddcf authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: correct baseline to be bottom-aligned

Signed-off-by: Elias Naur <[email protected]>

30d0c986b69f3d9c914ced7e958cd20808e66e59 authored about 5 years ago by Elias Naur <[email protected]>
layout: unexport Context.Layout and make it a function

Layout wasn't used outside package layout, so let's not export it.

Signed-off-by: Elias Naur <m...

7f07933eb3ecfae1dc3e033153a7defee21367c1 authored about 5 years ago by Elias Naur <[email protected]>
layout: invert baseline to measure positive distance from bottom

With an inverted baseline, the zero value results in the widget
baseline aligned to its bottom.
...

e2d0b3cfca8675d68b077fe76cf3d1015fb2dc33 authored about 5 years ago by Elias Naur <[email protected]>
layout: adjust only max constraints on Inset

Only adjust minimums, and insets, if necessary.

Signed-off-by: Elias Naur <[email protected]>

4bbad669474e452b649737b0ff0eb5a9d6a0a5fa authored about 5 years ago by Elias Naur <[email protected]>
layout: correct Align baseline

Signed-off-by: Elias Naur <[email protected]>

8e3d03f2c47850e5852da60a1fbd598d2039c926 authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

Signed-off-by: Elias Naur <[email protected]>

8234e8485c7845c754781626d851379c4dc1140f authored about 5 years ago by Elias Naur <[email protected]>
widget/material: use constraint minimums for background fills

160408ec034419f3c0270c82a029777c82d035c3 authored about 5 years ago by Elias Naur <[email protected]>
layout: allow Expand children to fill the available area

Signed-off-by: Elias Naur <[email protected]>

fd1fa859983382680319390f177301f8a7bc2480 authored about 5 years ago by Elias Naur <[email protected]>
layout: expand Flex children

Signed-off-by: Elias Naur <[email protected]>

45ccbbe5714e087786ee4557cf2ec0bb9b917af1 authored about 5 years ago by Elias Naur <[email protected]>
layout: enforce constraints in Context.Layout

Signed-off-by: Elias Naur <[email protected]>

6e44d355cc5d8286503e8dbd56fabbc84ac3d94d authored about 5 years ago by Elias Naur <[email protected]>
layout: relax constraints in Stack.Rigid

Signed-off-by: Elias Naur <[email protected]>

2990ceda6949b4b8a4c53f9c92770b97191e07af authored about 5 years ago by Elias Naur <[email protected]>
app/internal/window: fall back to OpenGL ES 2 if 3 is unavailable

Systems that only support ES 2 are unlikely to have the required
extensions available. But we'll...

1d47f0c5d8751e60b54346f6c929bd31c5aa9559 authored about 5 years ago by Elias Naur <[email protected]>
stack: fix comment

Signed-off-by: Elias Naur <[email protected]>

0783d1939ed1c34b96fab5b7620a82b8db5109b5 authored about 5 years ago by Elias Naur <[email protected]>
example: go fmt imports

Signed-off-by: Elias Naur <[email protected]>

b2a360098a3cbca24a939408d6f6fb35c70afe4b authored about 5 years ago by Elias Naur <[email protected]>
text: don't panic on missing default font

Signed-off-by: Elias Naur <[email protected]>

3a440c07c6bb7377a86fe23f8e0f36ecb228a175 authored about 5 years ago by Elias Naur <[email protected]>
op: complete the MacroOp example

Signed-off-by: Elias Naur <[email protected]>

4da6c57d83b33243f079908fdb978f24ac1d4c04 authored about 5 years ago by Elias Naur <[email protected]>
op: change signature of Ops.Write

By returning the allocated data buffer, Ops can become an interface
in a future change without f...

fa00b53e1300b7df857e906c374b76647bf20834 authored about 5 years ago by Elias Naur <[email protected]>
op/paint,app/internal/gpu: post-process paths during GPU upload

Signed-off-by: Elias Naur <[email protected]>

88208891de910d5fea7821dc682b29f1f20f343d authored about 5 years ago by Elias Naur <[email protected]>
op,op/paint: remove aux awareness from Ops

Aux data is now entirely confined to the writers (Path) and the
ops Reader parser.

Signed-off-b...

d9100b506ffcb0378fe33ee7dc171efc72b96fd5 authored about 5 years ago by Elias Naur <[email protected]>
op: assume aux ops are always wrapped by a macro

Shaves off a length, and prepares for further simplification.

Signed-off-by: Elias Naur <mail@e...

41eb3807f700014645eea6a34cd88827b8f92bf0 authored about 5 years ago by Elias Naur <[email protected]>
example/gophers: update gio version

Signed-off-by: Elias Naur <[email protected]>

f5e93206f6022fd2de8c450d2d985223e746db22 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: change Image to take an ImageOp, not an image.Image

Using ImageOps directly avoids the image copy by NewImageOp.

Signed-off-by: Elias Naur <mail@el...

8da2c9dbb4c4fba1e485c87f76f05b745a427326 authored about 5 years ago by Elias Naur <[email protected]>
op/paint: add NewImageOp, unexport ImageOp fields

With public ImageOp fields there was no way to mark an image.Image as modified.
Replace them wit...

74407a50d598bfd27e8f8e48b6832cc5df04de77 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: remove unused function

Signed-off-by: Elias Naur <[email protected]>

2e22edbb990abc9c66eee1cbc6c27049f0ebbb26 authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

Signed-off-by: Elias Naur <[email protected]>

3a27bcea2e78841374372eef44c0bb5cc82798c6 authored about 5 years ago by Elias Naur <[email protected]>
cmd/gogio: update gio version

The path of the supporting Android Java files and iOS header file
moved.

Signed-off-by: Elias N...

fc521ec1fffa6a0d8994e0e7f6bea455d11318d7 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/log: extract log setup to separate package

Signed-off-by: Elias Naur <[email protected]>

b30bf3cef8b1e3d7d73585f970367ce8b9f63a35 authored about 5 years ago by Elias Naur <[email protected]>
app,internal/window: extract native window code to separate package

Signed-off-by: Elias Naur <[email protected]>

10c1b2cb8dfe505a628b71dd8aff9d5701451044 authored about 5 years ago by Elias Naur <[email protected]>
app,io/system: extract system events to separate package

Package app is the only package that depends on native libraries and
Cgo. Minimize its API, ther...

36d1cd90f219241909f01914a09e28b39d88c4a7 authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: use a different color for the disabled button

Signed-off-by: Elias Naur <[email protected]>

641656b307506cc8171888f99f4c37dea9394b95 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: don't use transparency for disabled buttons

Signed-off-by: Elias Naur <[email protected]>

0559393633ca83dec879cfcc5af21e4c946ee439 authored about 5 years ago by Elias Naur <[email protected]>
app: disable darwin SIGPIPE workaround from Go 1.14

Signed-off-by: Elias Naur <[email protected]>

4475bf10bff4b08e952cc0837dcf1ca5f3a9b3dc authored about 5 years ago by Elias Naur <[email protected]>
app/internal/xkb: extra XKB interface to internal package

Signed-off-by: Elias Naur <[email protected]>

52fedc27a21b38b5f2b6328ea6888d2f2ca4e53f authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

Signed-off-by: Elias Naur <[email protected]>

7672c08f46a2d8b6555fa1fd3ca90dd2eb8374d1 authored about 5 years ago by Elias Naur <[email protected]>
widget/material: use font.Default

And simplify NewTheme to take no arguments.

Signed-off-by: Elias Naur <[email protected]>

8cd4c2e5de659d42a9488123906d0d4e5ded11d2 authored about 5 years ago by Elias Naur <[email protected]>
font/opentype,text/opentype: move package

Opentype parsing, layout and shaping will be used by subpackages to package
font. Move the opent...

edf0d8ef999f73e76337c01fb0071ff775beaf18 authored about 5 years ago by Elias Naur <[email protected]>
text: use the first registered font as the default in Shaper

Before this change, the default font was the one registered with an empty
Typeface.

We're about...

481cca5781448a3e9a18df281f84cdf654ad5ba5 authored about 5 years ago by Elias Naur <[email protected]>
font/gofont: add Go font convenience package

To use the Go font in a Gio program, import it:

import _ "gioui.org/font/gofont"

Signed-off-by...

445d85efe095cd66536243700783c042b0ebfad5 authored about 5 years ago by Elias Naur <[email protected]>
font: add a central font registry

Package font holds a singleton text.Shaper for general use. Subpackages
call Register to add fon...

40822ef26be1a8160e468f13c167d1127c7335af authored about 5 years ago by Elias Naur <[email protected]>
text: match Bold weight to CSS, add Variant and Typeface

d33461dd80fffa3497e31e21a25c7b92a3ede989 authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: place buttons on the same row

Signed-off-by: Elias Naur <[email protected]>

5a82fc9267c855ec6b7812433d4d4294e62691af authored about 5 years ago by Elias Naur <[email protected]>
io/pointer: delete Foremost priority

It wasn't used, and it's not clear that it is useful at all in its current
form. For example, a ...

e1de1ba5918ce36c2264e359b1f1c0d5c1687e7b authored about 5 years ago by Elias Naur <[email protected]>
cmd/gogio: update gio version

Signed-off-by: Elias Naur <[email protected]>

651e31f7e007263763432445c0a8c210518c7f5b authored about 5 years ago by Elias Naur <[email protected]>
example: update gio version

Signed-off-by: Elias Naur <[email protected]>

88e58a98b3d083d661f15bf6e86941ac6af1d4a8 authored about 5 years ago by Elias Naur <[email protected]>
example/kitchen: add example for demonstrating widgets and theming

Signed-off-by: Elias Naur <[email protected]>

48cf8af2f2550d69d189d987b010d8cfddbbc413 authored about 5 years ago by Elias Naur <[email protected]>
theme/material: add the material theme

Signed-off-by: Elias Naur <[email protected]>

abb99eca5c54238e34054cacb56936e17cff12a0 authored about 5 years ago by Elias Naur <[email protected]>
gesture: add Active methods to gestures

Active reports whether events are being processed. If not, widgets
can draw themselves as inacti...

d829e56194a95427aedc4c6d2c89b0f3fe131aca authored about 5 years ago by Elias Naur <[email protected]>
text: replace Editor.Event with Editor.Event and add Text to SubmitEvent

THe single-stepping Event was done so that SubmitEvents didn't have to
copy the text out if it w...

a5b22860accfcd3d25934b729c99420ea13877b0 authored about 5 years ago by Elias Naur <[email protected]>
text: remove padding from Editor

Before this change, the Editor computed a suitable padding for itself
from its font and text. Va...

dbb62ae0f6ced3db35c74627733f95102fc6cc93 authored about 5 years ago by Elias Naur <[email protected]>
text: refactor Editor

To prepare for separating drawing from state tracking, refactor
Editor so that only its top leve...

ea404bc8fc0d6a80839b5a72a3cf394c77e89de4 authored about 5 years ago by Elias Naur <[email protected]>
text: replace Family with Shaper, add Font, Face

There is now a single shaping implementation, Shaper, for all fonts, replacing
Family that only ...

bef7c39e4ce3a9e26a06f422c5933c511d5889ad authored about 5 years ago by Elias Naur <[email protected]>
text: tighten clip bounds for Editor and Label

We're about to remove the extra padding from Editor. To do that, the
clipping must account for t...

f35fe407b39b07927e8198f666fade408fd3aa41 authored about 5 years ago by Elias Naur <[email protected]>
text: remove themable properties from Editor and Label

Signed-off-by: Elias Naur <[email protected]>

bc8ad61b54677489b287e51c6de15ef1e0d436c1 authored about 5 years ago by Elias Naur <[email protected]>
widget,text: move Label and Editor from text to widget package

Signed-off-by: Elias Naur <[email protected]>

ff3fc7a24a9f28a1c378e74a20d711c4fcf2376b authored about 5 years ago by Elias Naur <[email protected]>
unit: add Value.Scale method

Signed-off-by: Elias Naur <[email protected]>

607d853b58a68c32cff7b8768c45f288e7e08c93 authored about 5 years ago by Elias Naur <[email protected]>
text: maintain valid Editor scroll offset

No functional changes.

Signed-off-by: Elias Naur <[email protected]>

d8e3d1077c04453c89f2c7548d877535ee5f32db authored about 5 years ago by Elias Naur <[email protected]>
op/paint: return ClipOp from Path.End

Instead of adding an implicit ClipOp, return a ClipOp ready to use, freeing the
caller from reco...

ef5cf5b724e02a8c3e69b3a3dfa66a0bf9e19050 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/input: remove event delivery tracking field

The "hadEvents" field of handlerEvents is enough to track event
delivery.

Signed-off-by: Elias ...

e49df512f6c6c5916cdf624922521db9077eaa0a authored about 5 years ago by Elias Naur <[email protected]>
app: rename UpdateEvent to FrameEvent and add Frame field

While "DrawEvent" was too specific (op.Ops contains non-draw events),
"Update" is too vague: it'...

a937a7653439333b8c6fc30c7a6039b717339766 authored about 5 years ago by Elias Naur <[email protected]>
app/internal/input: really reset dropped handlers

First, let the handlers know they're dropping with a cancel event.

Second, reset the grab flag ...

ff4fa717381e5f57798266e48b2c1045cf18aede authored about 5 years ago by Elias Naur <[email protected]>
app: remove two remaining Wayland references from xkb

Noticed by ~db47h.

Signed-off-by: Elias Naur <[email protected]>

a184faa50e887f12cf922beb34c003e1728003e9 authored about 5 years ago by Elias Naur <[email protected]>
text: fix editBuffer.runeBefore

Signed-off-by: Elias Naur <[email protected]>

163d9037e6c8f1b0c8ca48f8fd80340ac202c4c7 authored about 5 years ago by Elias Naur <[email protected]>
io/key: add String methods to Modifiers and Event

Signed-off-by: Elias Naur <[email protected]>

71731a613c7aff12b8331ae4395584e5f96309ea authored about 5 years ago by Elias Naur <[email protected]>
README.md: initialize a module before running module commands

Go 1.14 disables the use of `go run` in module mode outside a module,
see https://golang.org/iss...

a21e8bf7e405a5c9746d423b5cbf6a6e767630f2 authored about 5 years ago by Elias Naur <[email protected]>
cmd/gogio: create a temporary signing key if debug.keystore isn't found

Signed-off-by: Elias Naur <[email protected]>

e4b1a46dd243cb6ef948e5605aef74299056b9d2 authored over 5 years ago by Elias Naur <[email protected]>
cmd/gogio: look for javac in JAVA_HOME if it is not in PATH

Signed-off-by: Elias Naur <[email protected]>

468731538e3128fc843bdf13ca480898918212d4 authored over 5 years ago by Elias Naur <[email protected]>
cmd/gogio: fix Android toolchain path for Windows 64-bit

Signed-off-by: Elias Naur <[email protected]>

b749c5dd285a1f1c9b7dacf1dfa87f9618be82e5 authored over 5 years ago by Elias Naur <[email protected]>
README.md: remove text about the gophers example -token flag

It doesn't belong in a README about Gio.

Signed-off-by: Elias Naur <[email protected]>

e031d7325cd13a782826f0c335123e3fde046d0f authored over 5 years ago by Elias Naur <[email protected]>
example/go.*: update gio version

Signed-off-by: Elias Naur <[email protected]>

25c76cf8a1584327cbeed85321037a7fea090c01 authored over 5 years ago by Elias Naur <[email protected]>
app: another macOS < 10.12 build fix

Signed-off-by: Elias Naur <[email protected]>

a76de40e9a409104280701ec1f345025f4d5dda5 authored over 5 years ago by Elias Naur <[email protected]>
example/go.*: update gio version

Signed-off-by: Elias Naur <[email protected]>

23c590b9be0dc01b67d8b0ee7fde0ad266bc6cc5 authored over 5 years ago by Elias Naur <[email protected]>
app: fix more macOS 10.11 build warnings

Furthermore, add -Wno-deprecated-declarations; it is not worth it.

Updated gio#41

Signed-off-b...

da5a83d2b253b57f172851c8b4e0cb3151eea1ea authored over 5 years ago by Elias Naur <[email protected]>
example/go.mod: update gio version

Signed-off-by: Elias Naur <[email protected]>

6bc55d66c2feb857e1b1288abb632506c3e15ced authored over 5 years ago by Elias Naur <[email protected]>
app: fix build on macOS < 10.12

Fixes gio#41

Signed-off-by: Elias Naur <[email protected]>

c3a6ab1174b0930ea0d658dc352cbeb8cd06f992 authored over 5 years ago by Elias Naur <[email protected]>