diff options
| author | Jeff Carr <[email protected]> | 2025-02-01 11:42:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-01 11:42:31 -0600 |
| commit | a78cd82dcdea71fbeb15a6b938780a11077a167c (patch) | |
| tree | d2ec02469cc9fc50c3afac431a8ebd26df5c0e29 | |
| parent | a8a918655a4831c3682730fdf7fe54de98837681 (diff) | |
GPL 3.0
| -rw-r--r-- | Makefile | 9 | ||||
| -rw-r--r-- | checkbox.go | 3 | ||||
| -rw-r--r-- | color.go | 3 | ||||
| -rw-r--r-- | debug.go | 3 | ||||
| -rw-r--r-- | dropdown.go | 3 | ||||
| -rw-r--r-- | eventBindings.go | 6 | ||||
| -rw-r--r-- | eventGocui.go | 3 | ||||
| -rw-r--r-- | eventMouse.go | 1 | ||||
| -rw-r--r-- | eventMouseClick.go | 3 | ||||
| -rw-r--r-- | find.go | 3 | ||||
| -rw-r--r-- | help.go | 3 | ||||
| -rw-r--r-- | init.go | 3 | ||||
| -rw-r--r-- | log.go | 3 | ||||
| -rw-r--r-- | place.go | 3 | ||||
| -rw-r--r-- | plugin.go | 3 | ||||
| -rw-r--r-- | size.go | 3 | ||||
| -rw-r--r-- | stdoutFakefile.go | 3 | ||||
| -rw-r--r-- | stdoutShow.go | 4 | ||||
| -rw-r--r-- | structs.go | 3 | ||||
| -rw-r--r-- | tree.go | 3 | ||||
| -rw-r--r-- | treeAdd.go | 3 | ||||
| -rw-r--r-- | treeDraw.go | 3 | ||||
| -rw-r--r-- | treeWidget.go | 3 | ||||
| -rw-r--r-- | view.go | 3 | ||||
| -rw-r--r-- | window.go | 3 |
25 files changed, 74 insertions, 9 deletions
@@ -1,14 +1,14 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d) -all: clean gocui.so +all: gocui.so @#ldd gocui.so gocui.so: goimports GO111MODULE=off go build -v -work -buildmode=plugin -o gocui.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: clean +install: go build -buildmode=plugin -o ~/go/lib/gocui-${VERSION}.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" cd ~/go/lib && ln -f -s gocui-${VERSION}.so gocui.so @@ -44,8 +44,5 @@ redomod: GO111MODULE= go mod init GO111MODULE= go mod tidy -view: - autogenpb --proto view.proto - -view.pb.go: view.proto +proto: autogenpb --proto view.proto diff --git a/checkbox.go b/checkbox.go index dac5e2e..6851949 100644 --- a/checkbox.go +++ b/checkbox.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main // information about how terminfo works @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/dropdown.go b/dropdown.go index f40f25d..8e34ec4 100644 --- a/dropdown.go +++ b/dropdown.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/eventBindings.go b/eventBindings.go index 330c255..1f86e1e 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -1,5 +1,6 @@ // Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is (now) governed by the GPL 3.0 +// Use of this source code is governed by the GPL 3.0 + package main @@ -68,10 +69,11 @@ func theNotsure(g *gocui.Gui, v *gocui.View) error { w, h := g.MousePosition() for _, tk := range findByXY(w, h) { if tk.WidgetType == widget.Stdout { + log.Log(GOCUI, fmt.Sprintf("findByXY() '2' key %-8s wId=%4d at (%3d,%3d) %s", tk.WidgetType, tk.node.WidgetId, w, h, tk.node.String())) log.Info("skipping stdout") continue } - log.Log(GOCUI, fmt.Sprintf("findByXY() 'f' key %-8s wId=%4d at (%3d,%3d) %s", tk.WidgetType, tk.node.WidgetId, w, h, tk.node.String())) + log.Log(GOCUI, fmt.Sprintf("findByXY() HIDDING %-8s wId=%4d at (%3d,%3d) %s", tk.WidgetType, tk.node.WidgetId, w, h, tk.node.String())) tk.Hide() } return nil diff --git a/eventGocui.go b/eventGocui.go index 39a4892..ef51f9e 100644 --- a/eventGocui.go +++ b/eventGocui.go @@ -1,5 +1,6 @@ // Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is (now) governed by the GPL 3.0 +// Use of this source code is governed by the GPL 3.0 + // Copyright 2014 The gocui Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/eventMouse.go b/eventMouse.go index 3a5e0a6..e88ee7e 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -1,6 +1,7 @@ // Copyright 2017-2025 WIT.COM Inc. All rights reserved. // Use of this source code is governed by the GPL 3.0 + // NOTE: our code is under the GPL, not BSD // note by [email protected] in 2025: this is one of the coolest diff --git a/eventMouseClick.go b/eventMouseClick.go index 07235e4..f96c144 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,4 +1,7 @@ // Copyright 2014 The gocui Authors. All rights reserved. +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -1,4 +1,7 @@ //gjcarro:pjcarrlugin +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + // Copyright 2014 The gocui Authors. All rights reserved. // Use of this source code is governed by a BSD-style @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main /* @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/stdoutFakefile.go b/stdoutFakefile.go index 5c54762..21e3d49 100644 --- a/stdoutFakefile.go +++ b/stdoutFakefile.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/stdoutShow.go b/stdoutShow.go index 4950e68..1b27b2c 100644 --- a/stdoutShow.go +++ b/stdoutShow.go @@ -1,3 +1,7 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + + package main import ( @@ -1,4 +1,7 @@ // LICENSE: same as the go language itself +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + // Copyright 2023 WIT.COM // all structures and variables are local (aka lowercase) @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main /* @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/treeDraw.go b/treeDraw.go index 5b92d9e..5fa991c 100644 --- a/treeDraw.go +++ b/treeDraw.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( diff --git a/treeWidget.go b/treeWidget.go index 6f41dfd..6fd09f5 100644 --- a/treeWidget.go +++ b/treeWidget.go @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( @@ -1,3 +1,6 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + package main import ( |
