Commit Graph

162 Commits

Author SHA1 Message Date
Jeff Carr 833deb095c remove unused code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 18:04:00 -07:00
Jeff Carr 1f80bd3249 pass the account nickname to the socket
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 17:43:41 -07:00
Jeff Carr e5128f8b48 attempt to map & track open sockets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 16:38:51 -07:00
Jeff Carr 42c27dd329 remove old function name
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 16:09:09 -07:00
Jeff Carr a127997aae windows black text test
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 15:11:35 -07:00
Jeff Carr 2734ba2193 add buttons for each account
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 15:06:39 -07:00
Jeff Carr 2d13d83cf5 more colors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:42:35 -07:00
Jeff Carr 5fab51d2a3 attempts at default colors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:33:55 -07:00
Jeff Carr 6ba8970d23 more colors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:11:18 -07:00
Jeff Carr 4a639270ff more colors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:06:33 -07:00
Jeff Carr 845e1bf5b0 try a nil color on the tables
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:02:13 -07:00
Jeff Carr 56f987916c color test for macos & windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:57:24 -07:00
Jeff Carr 87ee1e2be2 trap window close and exit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:45:11 -07:00
Jeff Carr 41679c718b v0.5 : skip the account screens when the user already has one
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:27:05 -07:00
Jeff Carr d9633fe2db override the config file from the cmdline for debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:14:57 -07:00
Jeff Carr 3238695374 write out the config filename at the end
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:37:03 -07:00
Jeff Carr a3896449ca store the account information
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:33:30 -07:00
Jeff Carr 3eaa1bf85e implement QUIT and saving new account info to the config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:03:32 -07:00
Jeff Carr 0602047f56 pass the new account username and password through
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 10:50:18 -07:00
Jeff Carr f41884278b show the accounts from the config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 10:04:22 -07:00
Jeff Carr 84fc164e7f crap. the 'config' isn't parsing the JSON files correctly?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 09:47:48 -07:00
Jeff Carr 03f30a7161 tag v0.4
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 03:04:19 -07:00
Jeff Carr 1c7a68770d display golang build version & git commit rev
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 00:11:49 -07:00
Jeff Carr daca095873 move create VM tab back into GUI goroutine
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 22:33:16 -07:00
Jeff Carr 6557b04af5 streamline button click handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:34:31 -07:00
Jeff Carr e6a8dfdd65 more button tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:17:00 -07:00
Jeff Carr a05d7b4a19 add the main tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:02:02 -07:00
Jeff Carr 28e4b48a26 start moving everything to git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 20:16:16 -07:00
Jeff Carr b04ad7c0c4 structure rename
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 19:05:03 -07:00
Jeff Carr f3eaf0c5a0 add a test where literally every GUI thing is isolated in a seperate
goroutine

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 18:36:23 -07:00
Jeff Carr 32990af0fd try to delete and replace the ui.Tab(0)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:53:50 -07:00
Jeff Carr f98164e2fc make the button add the tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:28:24 -07:00
Jeff Carr 88040fe6fa use InsertAt() instead of Append()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:20:53 -07:00
Jeff Carr 3367793ea5 start making tabs to test behavior under Windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:15:22 -07:00
Jeff Carr 41e9f95789 makes the main window 'tabbed'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:06:33 -07:00
Jeff Carr 62df742725 show window at the end (for mswindows?)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:26:38 -07:00
Jeff Carr 81df3e09fc simple draw area example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:25:43 -07:00
Jeff Carr 59e1838663 minor changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:12:03 -07:00
Jeff Carr 75188b10ca another attempt
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 11:27:46 -07:00
Jeff Carr 28a96010fd does Distroy() on the ui.Box
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 11:14:42 -07:00
Jeff Carr b9d10aed57 crashes randomly but sometimes works. Strange.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 09:05:23 -07:00
Jeff Carr 7e787c10ca more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:18:59 -07:00
Jeff Carr 6868e87c5c clean up the libui table examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:00:45 -07:00
Jeff Carr 52f1673cf7 add a new UI table example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:45:39 -07:00
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