all: rename layout.Dimens to layout.Dimensions

Dimens is only 4 characters shorter and not worth the abbreviation.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: add donations section

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: (wayland) expand comments for double server roundtrip

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: fix example code in document

Signed-off-by: Kenshi Kamata <kenshi.kamata@gmail.com>
README.md: add link to Gophercon 2019 recording

Signed-off-by: Elias Naur <mail@eliasnaur.com>
website: require Go 1.12

Signed-off-by: Elias Naur <mail@eliasnaur.com>
website: add shortcuts for issues, commits and patches

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: merge goString implementations and add test

Fixes gio#30

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/internal/ops: go fmt

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/key,ui/pointer: rename HandlerOp to InputOp

"Input" is more specific and reads better than "handler".

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app(internal/gpu: remove unused parameters

Signed-off-by: Elias Naur <mail@eliasnaur.com>
all: remove a couple of unused parameters

Both from unexported functions, to keep the change low-risk. Found via
unparam.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
all: fix some issues spotted by static analysis

First, vet was upset by two incorrect fmt verbs. One was an extra %x,
when there was just one argument, so remove it. Another was a %p with a
non-pointer. It's a struct, so for now simply use %#v.

Second, staticcheck found some unused or unnecessary bits of code;
remove the obvious ones.

Finally, staticcheck also complained about some error strings which were
capitalized or had periods. Adjust those, which also makes all error
messages more consistent.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
README.md: add Gophercon UK 2019 talk

Signed-off-by: Elias Naur <mail@eliasnaur.com>
website: specify Go 1.11 and use default godoc repository root

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: expand usage document

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: replace errorf with a main function returning errors

While we're here, split the usage print out to its own function and
don't display the usage when a package is missing.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
go.*: drop -replace for gioui.org/ui

As pointed out by Daniel Martí, the replace line is convenient for
development but results in build differences depending on whether
you're inside or outside the gioui.org/apps module.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
all: delete unused variables

Found by Daniel Martí.

Fixes gio#24

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: use path.Base for Go import paths

Go import paths always use forward slashes as separators.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next