Commit Graph

118 Commits

Author SHA1 Message Date
Jeff Carr 847992a001 remove these garbage examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:34:54 -07:00
Jeff Carr 65d31eff26 more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:20:43 -07:00
Jeff Carr 977c054d71 ignore elf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:18:18 -07:00
Jeff Carr fb44fc3f58 add massive deubgging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:17:54 -07:00
Jeff Carr 5733d39056 try to fix table2 by adding images back
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:11:17 -07:00
Jeff Carr 33484d5aac add a single table UI example in a single file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 16:54:45 -07:00
Jeff Carr 6690122800 the original table example code from andlabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 15:37:32 -07:00
Jeff Carr 12cb01be84 eventChannel no longer imports 'ui' directly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 15:17:00 -07:00
Jeff Carr 5a9544b8d2 fix the flow
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 20:24:58 -07:00
Jeff Carr 50d084fc39 maybe each stage needs to be it's own package for now until
there is better abstraction of the GUI

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 20:18:42 -07:00
Jeff Carr 36d67d0d2e more work on an add account screen
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 19:21:35 -07:00
Jeff Carr 17ec92568d close on mouse click and keypress events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 14:25:40 -07:00
Jeff Carr 904cd2a221 add some keypress debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 13:19:46 -07:00
Jeff Carr 9a49f56147 seperate the area code into it's own file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 13:07:45 -07:00
Jeff Carr 81dabbe53d v0.3
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 12:54:35 -07:00
Jeff Carr 640c99c256 remove tabs from the main windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:52:40 -07:00
Jeff Carr 67813ac698 move splash screen into a seperate file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:35:03 -07:00
Jeff Carr 287dff1a08 This splash screen OK button might be exiting without causing a GTK panic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:23:48 -07:00
Jeff Carr eb9ddc3d5b this crashes. maybe a bug in libui?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:01:34 -07:00
Jeff Carr 7dc4972a63 playing around with Destroy() & Delete()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-16 11:42:28 -07:00
Jeff Carr 30632be83e how to compile to windows and macos
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 15:32:40 -07:00
Jeff Carr 04838e6c13 use the actually number of vms for the number of rows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 10:02:47 -07:00
Jeff Carr 12ab3b54a6 remove debugging stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-13 09:05:03 -07:00
Jeff Carr ebfc95089a remove the mapping from being stored for each row
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:56:29 -07:00
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