Jeff Carr
|
184bdd6677
|
code cleanup
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 23:02:10 -07:00 |
Jeff Carr
|
66924bb35f
|
Working display
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 22:05:56 -07:00 |
Jeff Carr
|
b0d88b2227
|
displays all the VM data
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 21:20:58 -07:00 |
Jeff Carr
|
0d405b91d1
|
very first time data is flowing through correctly to the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 21:00:55 -07:00 |
Jeff Carr
|
1ad02a816e
|
destroy() works on the Demo window
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 19:13:36 -07:00 |
Jeff Carr
|
7570bf6e27
|
spawns a second window (but segfaults if you close it)
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 18:55:15 -07:00 |
Jeff Carr
|
d207507bc3
|
lots of code refactoring
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 18:49:59 -07:00 |
Jeff Carr
|
049dbdac72
|
remove the dnssec socket code.
TODO: add the dns IPv6 checks to the gorilla websocket daemon
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 18:36:31 -07:00 |
Jeff Carr
|
58b5b2e923
|
freeze to try to fix things inside libui
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 15:32:38 -07:00 |
Jeff Carr
|
b75d6abdfb
|
duh. already had a structure for that
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 13:15:34 -07:00 |
Jeff Carr
|
d74712c835
|
make a structure to hold the column names and types
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 13:08:26 -07:00 |
Jeff Carr
|
06af8a0d14
|
remove all the delays. GUI is very stable on Linux. Haven't seen it
crash in days.
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 12:55:11 -07:00 |
Jeff Carr
|
2e4bbf7b91
|
actually sends the protobuf into the channel
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 12:32:29 -07:00 |
Jeff Carr
|
8807c8fc9b
|
clean up the websocket Dial code to correctly restart
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 06:18:06 -07:00 |
Jeff Carr
|
c926d8b441
|
more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-12 00:01:23 -07:00 |
Jeff Carr
|
082e717d3d
|
ready to do an event response
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 23:26:24 -07:00 |
Jeff Carr
|
06e60fbcb6
|
add a gorilla websocket send
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 23:21:57 -07:00 |
Jeff Carr
|
8b71cd76e5
|
variable rename
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 20:57:06 -07:00 |
Jeff Carr
|
2330e0a2b6
|
make a button to send a protobuf to a local socket
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 13:20:51 -07:00 |
Jeff Carr
|
b49aed2de0
|
updated to use the sample generated events
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 12:45:17 -07:00 |
Jeff Carr
|
0067c55003
|
remove old <STDIN> code. Attempt to send a protobuf over the socket
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 10:55:37 -07:00 |
Jeff Carr
|
a737a23d6f
|
This seems to actually add a protobuf to the channel (not Marshal'd though)
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-11 07:53:32 -07:00 |
Jeff Carr
|
fbe1900763
|
TAG v0.1 -- builds on Linux and MacOS. Seems Stable
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 16:42:15 -07:00 |
Jeff Carr
|
922e07cc0c
|
remove the demo stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:50:59 -07:00 |
Jeff Carr
|
fad05b3ffa
|
dumps the vm list
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:45:10 -07:00 |
Jeff Carr
|
5f8efcb81d
|
add a "test table" button
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:35:20 -07:00 |
Jeff Carr
|
6f149c2706
|
GUI more stable than before
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:27:28 -07:00 |
Jeff Carr
|
baecdd3d58
|
try to stabilize the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:21:32 -07:00 |
Jeff Carr
|
745ef852ef
|
start on a cloud info tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 23:25:27 -07:00 |
Jeff Carr
|
9ed38fd2b8
|
minor fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 22:35:29 -07:00 |
Jeff Carr
|
183ff58f8e
|
use the common nonblocking socket read
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 21:48:35 -07:00 |
Jeff Carr
|
562b20cbb4
|
kinda works better
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 20:46:44 -07:00 |
Jeff Carr
|
b932251092
|
cleaner handling of socket open
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 18:04:40 -07:00 |
Jeff Carr
|
24ae9a3033
|
add a -nogui option for debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 07:00:38 -07:00 |
Jeff Carr
|
4863991462
|
does multiline socket reads
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 06:52:51 -07:00 |
Jeff Carr
|
91b9a337e9
|
first attempt at passing in the column types and names
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 17:44:14 -07:00 |
Jeff Carr
|
67418e41da
|
successfully entered a row
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 15:29:06 -07:00 |
Jeff Carr
|
76bf66e1f9
|
try a table with 700 rows. very fast.
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 14:21:05 -07:00 |
Jeff Carr
|
2107a4876e
|
Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 14:03:10 -07:00 |
Jeff Carr
|
048c4f4b32
|
Move gui code into git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 13:09:44 -07:00 |
Jeff Carr
|
771f9eb29f
|
Isolate all GUI code in an attempt to make a library out of it.
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 13:02:27 -07:00 |
Jeff Carr
|
c5e590985e
|
merge code to create a table into gui.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 12:00:49 -07:00 |
Jeff Carr
|
37fefba92f
|
Rename 'modelHandler' to 'tableData' as all it stores is the data
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:55:51 -07:00 |
Jeff Carr
|
515ed74f58
|
Very close to a clean interface
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:43:33 -07:00 |
Jeff Carr
|
ca8b7d87a7
|
final value init() function deprecated
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:32:23 -07:00 |
Jeff Carr
|
a23144e9a8
|
add some more tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:11:25 -07:00 |
Jeff Carr
|
63fd4607dc
|
start removing the fixed entries from before
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 04:22:43 -07:00 |
Jeff Carr
|
9b58fc0eb0
|
first successful column append
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 04:05:14 -07:00 |
Jeff Carr
|
f8e6200c4c
|
minor cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:41:41 -07:00 |
Jeff Carr
|
fb89975cdf
|
almost completely able to automate adding columns
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:26:35 -07:00 |