ref-method and command merge #4

Merged
Mitch161 merged 39 commits from cmd--optimization into master 2020-08-19 21:29:44 +00:00

39 Commits

Author SHA1 Message Date
Mitchell b8440e8290 all basic command functionality added
allows for all commands from server side and client side to be tested correctly
2020-08-19 22:25:27 +01:00
Mitchell 81c5949de3 new changes from ref-method branch 2020-08-19 22:24:29 +01:00
Mitchell 573a625a04 new client api from ref-method branch 2020-08-19 22:24:10 +01:00
Mitchell 135a497f18 merge with ref-method changes 2020-08-19 22:17:49 +01:00
Mitchell c49bfb281e removed dead code tags to enum types 2020-08-18 13:27:29 +01:00
Mitchell c7edea3984 new commands system with branching removed 2020-08-18 13:00:37 +01:00
Mitchell 68b3ebf74b extra read was causing data to be lost 2020-08-16 18:30:00 +01:00
Mitchell b393223bfa server info unit test fix 2020-08-16 18:29:35 +01:00
Mitchell 399b9b8c59 changed enum layout 2020-08-16 17:15:34 +01:00
Mitchell f24a4f72df functionality for individual commands 2020-08-16 17:15:23 +01:00
michael-bailey b33c250d08 Merge branch 'ref-method' of https://github.com/mitch161/rust-chat-server into ref-method 2020-08-16 17:15:18 +01:00
michael-bailey ca3e559353 Update mod.rs
removed old commands
2020-08-16 17:13:53 +01:00
michael-bailey c1236bdcd3 fixed bug with the 1 2020-08-16 17:13:41 +01:00
michael-bailey ea98cc7688 removed old commands files. 2020-08-16 17:13:28 +01:00
michael-bailey 2837ab52e1 Update Cargo.toml
- removed machine learning lib
2020-08-16 17:12:50 +01:00
Mitchell b4a49918fc duplicated folder 2020-08-16 12:38:54 +01:00
Mitchell 5e1ba2e110 removed extra brace 2020-08-15 22:08:34 +01:00
michael-bailey dbf49a65b2 Revert "Merge branch 'master' into ref-method"
This reverts commit 1a6b344b58, reversing
changes made to be167055e8.
2020-08-12 20:56:05 +01:00
michael-bailey 1a6b344b58 Merge branch 'master' into ref-method 2020-08-12 17:24:12 +01:00
michael-bailey be167055e8 connecting and disconnecting works 2020-08-12 16:44:24 +01:00
michael-bailey b1ad04ed50 Update server_profile.rs
added Dissconnect method
2020-08-11 23:36:27 +01:00
michael-bailey 593fbc96ed Update client_profile.rs
removing the transmit method
2020-08-11 23:36:05 +01:00
michael-bailey dfcc3fbedc Update main.rs
~ hindered the main thread when in non gui mode to lowwer resources
2020-08-11 23:35:47 +01:00
michael-bailey 5057cec283 modified the command to use a trait to parse &str 2020-08-11 23:35:00 +01:00
michael-bailey 03ab7290c5 added functions 2020-08-09 21:17:17 +01:00
michael-bailey ef86b89042 added proper definition of traits for classes 2020-08-09 11:36:14 +01:00
michael-bailey a1474d01de increment version
+ clap crate
~ attempting fix on getting info
+ added clap arg parsing
+ added rudementary client, remove and update and error
2020-08-07 23:48:05 +01:00
michael-bailey 164542a56b changed ui 2020-08-05 16:30:13 +01:00
michael-bailey 20afff2931 Update main.rs
+ added a ui using cursive.
+ moved server star and stop into the ui.
+ added specific functions for constructing the ui
2020-08-03 12:43:53 +01:00
michael-bailey 22ed3db6bb Create mod.rs
+ started wok on a client api struct.
2020-08-03 12:43:03 +01:00
michael-bailey 46a6b30681 Update client_profile.rs
+ derived debug
+ added senders for it's thread.
+ added channel sender for the server.
+ working on heartbeat.
~ changed the handle to be a single function call invoked by the server
2020-08-03 12:42:42 +01:00
michael-bailey d56a7209c2 Update server_profile.rs
+ added thread spawning.
+added channels for server communication outside of the thread.
+ added main loop process.
~ changes the tcp listener to be non blocking.
+ added loop labels to break out of.
+ impl drop for the server that signals the thread to break.
2020-08-03 12:39:50 +01:00
michael-bailey f05323361c Create mod.rs
~ coverted Commands to commands-v2
2020-08-03 12:37:30 +01:00
michael-bailey 743433ab57 Update Cargo.toml
+ added cursive, crossterm, zeroize, and rayon.
2020-08-03 12:36:55 +01:00
michael-bailey 4cd27856ba Update main.rs 2020-07-21 16:55:06 +01:00
michael-bailey d34c9580bd Merge branch 'channel-structure' of https://github.com/mitch161/rust-chat-server into channel-structure 2020-07-21 16:55:03 +01:00
michael-bailey 0903a07cc0 Merge branch 'channel-structure' of https://github.com/mitch161/rust-chat-server into channel-structure 2020-07-17 20:53:47 +01:00
michael-bailey 8a07d278bf added derive clone 2020-07-17 20:52:28 +01:00
michael-bailey 8981f5c551 Update mod.rs 2020-07-17 20:52:10 +01:00