summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-03release as v0.6.5v0.6.5Jeff Carr
good standard release really clean interaction to plugin really clean debug flags implementation common doAppend() idea, but it probably won't work re-implement combobox. this code base almost doesn't suck slider & spinner set values now tab set margin works convert dropdown to Send() lots of other changes to try to implement single line Entry() I guess use golang file names even though internalally the go developers use underscore chars in the actual go sources. Maybe there is a reason for that? go channel debug window does something make a debug window for channels. add sample icons Signed-off-by: Jeff Carr <[email protected]>
2023-03-01minor makefile changeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-03-01lots cleaner code between the pluginv0.6.1Jeff Carr
Queue() around SetText is helping userspace crashing merge forceDump(bool) into Dump() debugging output configuration is pretty clean keep cutting down duplicate things --gui-verbose flag works make label "standard" code add debug.FreeOSMemory() move the GO language internals to display in the GUI update push to do tags and go to github.com/wit-go/ remove the other license file it might be confusing golang.org and github proper WidgetType added a Quit() button Signed-off-by: Jeff Carr <[email protected]>
2023-02-25The debugging window is finally usefulJeff Carr
the gui enabled debugging works --gui-debug works from the command line The debug window can now select things debugging now includes widget types all the debug flags work finally working debugging flags via gui checkboxes add debian packaging rules use log() in the toolkit use a standard log() to simplify debugging flags add reference to 'GO Style Guide' use the same LICENSE from the GO developers. TODO: make this threadsafe TODO: fix plugin stuff Signed-off-by: Jeff Carr <[email protected]>
2022-11-14setup building without plugins on windowsv0.5.1Jeff Carr
notes from github remote keep removing os.Exit() rename from andlabs2 back to andlabs rename files for windows andlabs/ui gocui always sets STDOUT a file in /tmp/ Signed-off-by: Jeff Carr <[email protected]>
2022-11-13Massive refactor to use go plugins. This is neat.Jeff Carr
update README.md set xterm title. make os.Exit() default on window close add a toolkit.Widget to the node structure remove 'Greeter' symbol mapping scheme removed the testing greeter code plugins: attempt to load plugins in a sensible order andlabs/ui: working andlabs/ui plugin (andlabs2) buttons work in andlabs plugin TODO: re-implement non-plugin version for Windows mswindows doesn't support go plugins yet gocui: put the gocui console so file in the binary does a full init of gocui plugin Button() and Group() working very well with gogui cleanly exit gocui technically you can load two toolkits at the same time kinda both working at the same time. esoteric two working plugins at the same time give up working on two gui's at the same time this is fun, but _not interesting wow. this actually works. NewButton() from both toolkits examples: all the examples run again remove early helloplugin example buttonplugin example cmd code buttonplugin runs and ldd is minimum Signed-off-by: Jeff Carr <[email protected]>
2022-11-09cleanup of the example commands. more plugin workv0.4.6Jeff Carr
add a button in two plugins at the same time! added a button in andlabs/ui & gocui attempt a common widget struct between wit/gui & the plugins start handling missing plugins rename Makefile command examples remote examples used for testing filename improvements golang src code uses lowercase and _ in filenames fix crash when button click function == nil fix wrong name 'gocli' -> 'gocui' keep fighting with goreadme generated README.md Signed-off-by: Jeff Carr <[email protected]>
2022-11-06Implement a early AddButton() via a golang pluginv0.4.5Jeff Carr
pass a name to gocui.AddButton() cleaner plugin usage add the start to golang plugin plugin stuff in a single file added a button correctly andlabs/ui added a button via plugin to gocli hot diggity! trying to invoke a gocli plugin function from the andlabs ui load the plugin hide more debugging output turn off all output Signed-off-by: Jeff Carr <[email protected]>
2022-11-06start trying to make the tookits pluginsv0.4.3Jeff Carr
totally minimize helloworld demo try to make a button plugin example debug changes final changes before attempting to use a golang plugin actually running gocui as a plugin add gocli-as-plugin example try to convert the go-cui toolkit into a plugin doc updates make a minimal console gui Signed-off-by: Jeff Carr <[email protected]>
2022-11-05v0.4.2 more code cleanups and improvementsv0.4.2Jeff Carr
Add command line argv handling using go-arg make hello world dumb stupid simple again more swtiching to common code move debugging options to support go-args more debugging output cleanup more debugging cleanups fix null pointer crash
2022-10-21correct markdown syntaxJeff Carr
2022-10-21minor doc changeJeff Carr
2022-10-21manually adjust docsJeff Carr
2022-10-21add url's in markup syntaxJeff Carr
2022-10-21OnChanged(doc.go) func() {goreadme > README.md}Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-21forgot to update the README.mdJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-21v0.4.1 set sane toolkit default look and feelv0.4.1Jeff Carr
autogenerate README.md from doc.go (goreadme cmd) remove passing arguements on a mouse click() make defaults for padding, margin, stretchy, etc add a checkbox widget function rename to NewButton() keep cleaning up toolkit code fix date. I was somehow in the future Signed-off-by: Jeff Carr <[email protected]>
2022-10-20Squashed commit of the following:Jeff Carr
all non binary tree structs are gone (almost all) Use names from https://en.wikipedia.org/wiki/Graphical_widget toolkit andlabs/ui is isolated from being accessable all direct references to andlabs are removed working dropdown widgets add debugging more buttons and windows
2022-10-19Refactor to 'gui/toolkit/'Jeff Carr
* add a example cmds/consolemouse uses a console button to launch the andlabs/ui * fix wrong return value in toolkit/NewLabel() * redirect STDIN output to a file * wonderful fix of Window() exit * finally remove the ancient stupid variables x & y * phase out struct 'box' and use 'node' instead * better names for things: use NewFoo() and NewBar()
2022-10-17purge lots of old codeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17GROUP: implement 'group' in toolkit/Jeff Carr
move gui.group into toolkit remove duplicate code update demo
2022-10-17TITLE: set the window titlev0.3.3Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17remove old codeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17DEMO: change the toolkit demo to not use 'tabs'Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17DEMO: work on a toolkit demoJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17DEMO: add andlabs/ui demo windowJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-17start moving tab handling into toolkit/v0.3.2Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-16add a GO Language Debugging WindowJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-16fix andlabs.ui.NewLabel()Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-16Add slander and spinbox in toolkit/andlabsJeff Carr
fix the helloworld demo move slider into toolkit/ move more into the toolkit directory add spinbox() fix example minor update fix examples Fix andlabs.ui.Slider() to work again correctly implement custom OnChange() callback Signed-off-by: Jeff Carr <[email protected]>
2022-10-11Merge branch 'master' into develv0.3.1Jeff Carr
2022-10-11Merge branch 'jcarr'Jeff Carr
2022-10-11Merge branch 'master' of git.wit.org:wit/guiJeff Carr
2022-10-11build without go.mod fileJeff Carr
2022-10-11Merge branch 'refactor'Jeff Carr
2022-10-11Change Node to BoxJeff Carr
2022-10-08Try renaming 'Node' to 'Box'Jeff Carr
2022-10-08Merge branch 'master' into jcarrJeff Carr
2022-10-08use the old way to ignore go.mod?Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2022-10-08BUILD: builds again with go 1.19 on sid as of todayJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04KILL: how did this get here?Jeff Carr
2021-11-04NOTE: minorJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04SMALL: some stuff hanging aroundJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04GOOD: font button shows up again (doesn't do anything)Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04GOOD: read text from multi-line entryboxJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04GOOD: use global 'Stretchy' settingJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04GOOD: add Node.SetMargined()Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-04PANIC: remove almost all panic()sJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-03EDITBOX: pull in a edit box exampleJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2021-11-03GUI: show error windowsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>