Interface #6

Merged
michael-bailey merged 53 commits from Interface into Development 2021-02-08 21:12:11 +00:00

53 Commits

Author SHA1 Message Date
michael-bailey a7590d9f22 Update mod.rs
+ added self referenceing to teh client manager with a weak reference

+ added channels to the client manager
2021-02-08 17:46:22 +00:00
michael-bailey 7165c60fa7 tidying up client struct 2021-02-07 21:21:47 +00:00
michael-bailey f06f4e3ca2 Moving files around and implementing more of the client manager. 2021-02-07 18:16:08 +00:00
michael-bailey f13ee42063 Update server v3 tests 2020-09-27 16:58:39 +01:00
michael-bailey 3fbfc7f3d8 Update main_menu.rs
fixed accidental renaming
2020-09-27 16:58:24 +01:00
michael-bailey e212865be1 adding documentation 2020-09-27 16:57:23 +01:00
michael-bailey e1e5bbd29e Update server_view_controller.rs 2020-09-27 16:57:07 +01:00
michael-bailey 6277278e4a Update server_v3.rs
added unit tests
2020-09-27 16:56:53 +01:00
michael-bailey 11e7192dcf Update main_menu.rs
renamed the main menu function
2020-09-27 16:56:29 +01:00
michael-bailey 779fd6858c Update control_panel.rs 2020-09-27 16:56:12 +01:00
michael-bailey 1e75844ee9 Update control_panel.rs
fixed issue where i didnt put anything into a child function call
2020-09-27 16:56:09 +01:00
michael-bailey f021804521 Update client_v3.rs
removed redundant error clause in handle connection
2020-09-27 16:55:26 +01:00
michael-bailey 21f272aa1b Update server_v3.rs
fixed unused variable warning
2020-09-27 16:54:48 +01:00
michael-bailey 257b2365dc Update server_v3.rs
fixed reference issue with options
2020-09-27 16:54:33 +01:00
michael-bailey 2ae3ce8534 Update server_v3.rs
fixed the start function
2020-09-27 16:54:18 +01:00
michael-bailey 610ec36836 Update server_v3.rs
renamed serverstate states
2020-09-27 16:53:30 +01:00
michael-bailey f1838c1d23 added eq and PartialEq support to serverState 2020-09-27 16:52:54 +01:00
michael-bailey e693d8fdda optimised imports 2020-09-27 16:52:28 +01:00
michael-bailey 9ce38aeb49 fixed warning on unused result 2020-09-27 16:52:16 +01:00
michael-bailey df39e03f93 renamed functions 2020-09-27 16:51:54 +01:00
michael-bailey 7e17b2e0f6 Update main.rs
renamed Server view controller
2020-09-27 16:50:54 +01:00
michael-bailey 81e7d9b211 Update mod.rs 2020-09-27 16:50:27 +01:00
michael-bailey 74452bc679 removed unessesery function 2020-09-27 16:50:24 +01:00
michael-bailey e98c5c58a5 Allowing dead code 2020-09-27 16:50:09 +01:00
michael-bailey cfd9388979 Update main.rs
removing useless macros
2020-09-27 16:49:10 +01:00
michael-bailey ef0d2c23d9 optimising imports
optimising imports
2020-09-27 16:48:38 +01:00
michael-bailey 2e6c6b9e62 optimising imports 2020-09-27 16:48:06 +01:00
michael-bailey e9d7dc3091 Update main.rs
removed redundent and useless ui code
2020-09-27 16:08:12 +01:00
michael-bailey 8aa05bd25a renamed the about panel. 2020-09-27 16:07:45 +01:00
michael-bailey 8229243386 Update server_view_controller.rs
changed the name of the ServercontrolView
2020-09-27 10:48:46 +01:00
michael-bailey 1023846b7c Update ServerV3.rs
removed use statement
2020-09-27 10:48:21 +01:00
michael-bailey dbef4e6986 Update mod.rs
added the new client to the module tree
2020-09-27 10:48:08 +01:00
michael-bailey d426f23e3b moving menu bar to another file 2020-09-27 10:47:51 +01:00
michael-bailey 32319c5fab added module file for ui 2020-09-27 09:00:11 +01:00
michael-bailey 454355a1d0 updated server view controller
forgot the imports
2020-09-27 08:58:46 +01:00
michael-bailey 734d795020 Create server_view_controller.rs
added a server view controller that holds the display and enables events

it uses views from other modules to create the ui tree.

the cursive user_data store is used to hiold the server
2020-09-27 08:58:07 +01:00
michael-bailey d371792cec Update server_profile.rs
changed the function in the update list handler
2020-09-27 08:49:44 +01:00
michael-bailey e9fb59793a Update server_profile.rs
removed extern crate uses
2020-09-27 08:49:08 +01:00
michael-bailey 829b222d55 Update server_profile.rs 2020-09-27 08:48:59 +01:00
michael-bailey 5775c276dd Update server_profile.rs
removed unused imports
2020-09-27 08:48:55 +01:00
michael-bailey 23f8c7adac Update server_profile.rs
updated to account for the new threadpool location
2020-09-27 08:48:43 +01:00
michael-bailey 4b5914b625 Update server_profile.rs
removed get client list
2020-09-27 08:48:03 +01:00
michael-bailey 208c5c0b7f Update server_profile.rs
added spaces and other changes
2020-09-27 08:47:47 +01:00
michael-bailey 3276d71f98 Update server_profile.rs
removed the need for a arc for server properties
2020-09-27 08:47:02 +01:00
michael-bailey 10f175dc40 Update mod.rs
added new modules for the new ui and server.
2020-09-27 08:46:03 +01:00
michael-bailey e1b5ffd4ee Update main.rs
extracting the ui from the main function
2020-09-27 08:45:23 +01:00
michael-bailey c9cce63cec Create control_panel.rs
creating a control panel for the server
2020-09-27 08:44:25 +01:00
michael-bailey 7bec2135ff Create About_Panel.rs
added an about layer function that returns a view
2020-09-27 08:43:10 +01:00
michael-bailey 0cc1d4a1ef Update client_profile.rs
set the channels t use crossbeam_channels
2020-09-27 08:42:29 +01:00
michael-bailey 776d4b733c created server version 3
this works on the face that a ui framework will have an event loop. so changes include:
+ start sets up the listener and allows the server to ba called
+ stop sets the server to disconnect other users and close the listener
+ tick should be called by the event loop this will allow any new connections to be handled, any pending
2020-09-27 08:41:38 +01:00
michael-bailey d537502ad9 removed dashmap form commands 2020-09-27 08:33:09 +01:00
michael-bailey fb4eaa8ae4 Update LICENSE 2020-09-27 08:32:34 +01:00
michael-bailey 8f591f24d5 got running flag to display 2020-08-27 18:47:59 +01:00