~eliasnaur/gio

apps/go.mod: update gioui.org/ui version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: add link to FAQ

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: move license last, tweak text

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: split out installation, integration, contributing sections

Add them to the wiki so README.md ends up less overwhelming.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app,cmd/gio: move running of main from driver to GioAppDelegate

Signed-off-by: Elias Naur <mail@eliasnaur.com>
website: add godoc.org redirects for the ui, cmd, apps modules

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: add backticks to giowindow div tag

Wrap backticks around the "div" tag mentioned in the README, so it looks
like this:

    `<div id="giowindow">`

Without the backticks, the markdown renderer renders it as an actual
<div> tag in the output html (without an ID, either).

Signed-off-by: Larry Clapp <larry@theclapp.org>
ui/app: add darwin build tag to ios files

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/go.mod: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/gophers: split main into App and UI and add BenchmarkUI

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: don't strip debug info for webassembly builds

The space savings are minimal and we lose function names in the
browser debuggers.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: don't add a container div for -target js

THe webassembly backend can create and add it itself.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: (wasm) create and add container div if one is not provided

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: delete unused field

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/go.mod: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: (wasm) avoid deadlock from focus changes

showTextInput is called from the window loop in window.go, but
could result in an immediate event which then deadlocks waiting for
the window loop to handle it.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/gophers: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/input: change Queue to return Events one at a time

By returning all events, widgets that might return early from its
event loop might throw away subsequent events. Instead of requiring
those widgets to store the event list, convert input.Queue to step
through the available events one at a time.

Functional revert of 1735d5ced8937ff6f853aa8b01fed3140738c744.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: (wasm) fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/go.mod: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: drop Event

input.Event is enough if we stretch "input" to mean both input
devices and other events such as profiling events and system
commands.

The pointer and key packages are separate already, so I don't
expanding the meaning is unreasonable.

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