| 
						
					 | 
					
						
						
							
						
						41221076da
					 | 
					
						
						
							
							added missing -pthread compiler flag
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:13:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						406c7b2841
					 | 
					
						
						
							
							added comments to chat_networking.hpp to promote better understanding
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:13:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c256a9a928
					 | 
					
						
						
							
							commandline_chat's policies now get their messages via const reference
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:13:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ab4a102bad
					 | 
					
						
						
							
							fixed a bug, where messages would only be read till whitespaces
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:13:13 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						09c2dafba5
					 | 
					
						
						
							
							added a length() method for checking message length
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:12:05 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eed5fc25d9
					 | 
					
						
						
							
							added a little good old fashioned command-line chat action
						
						
						
						
						
						
					 | 
					
						2016-12-07 19:11:52 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d0a995d6da
					 | 
					
						
						
							
							fixed bugs (random tabs appering) regarding message content handling
						
						
						
						
						
						
					 | 
					
						2016-12-04 13:59:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cf4bc2f142
					 | 
					
						
						
							
							added a get_content() method, which excludes command byte & term byte
						
						
						
						
						
						
					 | 
					
						2016-12-04 13:58:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d673fd24d1
					 | 
					
						
						
							
							removed unused include
						
						
						
						
						
						
					 | 
					
						2016-12-04 13:29:45 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0283b3e2ed
					 | 
					
						
						
							
							removed boost.serialization from project, as it is not yet used
						
						
						
						
						
						
					 | 
					
						2016-12-04 12:52:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1bd1cb343a
					 | 
					
						
						
							
							implemented message handling for every type of message via policies
						
						
						
						
						
						
					 | 
					
						2016-12-04 12:51:28 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7eb1191a1d
					 | 
					
						
						
							
							completed TODO: handshaking messages are now handled by receive policy
						
						
						
						
						
						
					 | 
					
						2016-12-03 23:27:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e03a3e9aa3
					 | 
					
						
						
							
							removed code i have written learning boost::asio.
						
						
						
						
						
						
					 | 
					
						2016-12-03 20:56:07 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f6fb183649
					 | 
					
						
						
							
							added compile time check to cnm for the validity of the supplied policy
						
						
						
						
						
						
					 | 
					
						2016-12-03 20:56:02 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						66c758f13a
					 | 
					
						
						
							
							implemented a SFINAE compile-time checker for receive policies
						
						
						
						
						
						
					 | 
					
						2016-12-03 18:44:09 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7a9e581979
					 | 
					
						
						
							
							added missing include guard to chat_networking.hpp
						
						
						
						
						
						
					 | 
					
						2016-12-03 18:18:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						88aff84db1
					 | 
					
						
						
							
							what to do on received messages is now handled via template policies
						
						
						
						
						
						
					 | 
					
						2016-12-03 16:26:13 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5cfef17cc2
					 | 
					
						
						
							
							implemented cnm::close_connection() + general code cleaning + added TODOS
						
						
						
						
						
						
					 | 
					
						2016-12-03 15:30:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6f34d28458
					 | 
					
						
						
							
							rearranged code in client_network_manager, so it is more readable
						
						
						
						
						
						
					 | 
					
						2016-12-03 14:30:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ee9e5c812b
					 | 
					
						
						
							
							added some proof of concept receive handling in client_network_manager
						
						
						
						
						
						
					 | 
					
						2016-12-03 14:23:11 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						36f0aca693
					 | 
					
						
						
							
							made byte(message) helper method constexpr so it is compile time
						
						
						
						
						
						
					 | 
					
						2016-12-03 14:22:49 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						faaea542ce
					 | 
					
						
						
							
							added new source files to CMakeLists.txt and a test config
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:52:27 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						096d56d488
					 | 
					
						
						
							
							now client_network_manager::receive() actually works
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:51:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9c8f985210
					 | 
					
						
						
							
							added function byte(message) for more readable message->byte conversion
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:50:09 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9c9118c34d
					 | 
					
						
						
							
							added teszt.cpp to .gitignore -> use this for testing
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:23:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b42aa09286
					 | 
					
						
						
							
							reformatted source code
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:22:51 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						75f77766c1
					 | 
					
						
						
							
							moved everything to namespace chat to avoid namespace pollution
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:13:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						07284e5dc7
					 | 
					
						
						
							
							made client_network_manager mostly working. it can handle a handshake
						
						
						
						
						
						
					 | 
					
						2016-12-03 13:02:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f8c57c8e24
					 | 
					
						
						
							
							fixed chat_message: now enum class message has underlying type of char
						
						
						
						
						
						
					 | 
					
						2016-12-03 11:51:27 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						28f1fe7655
					 | 
					
						
						
							
							added missing const qualifier
						
						
						
						
						
						
					 | 
					
						2016-11-29 19:14:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						271faf4b0c
					 | 
					
						
						
							
							added default empty content to chat_message ctor
						
						
						
						
						
						
					 | 
					
						2016-11-29 18:46:09 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8cddc402f1
					 | 
					
						
						
							
							added a send() method to the network manager and removed a ctor parameter
						
						
						
						
						
						
					 | 
					
						2016-11-29 18:42:38 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						60bb1e6142
					 | 
					
						
						
							
							started working on the networking part of the chat client
						
						
						
						
						
						
					 | 
					
						2016-11-29 18:24:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c6750bbb54
					 | 
					
						
						
							
							added chat_message.hpp to represent messages
						
						
						
						
						
						
					 | 
					
						2016-11-29 17:55:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						be89be49da
					 | 
					
						
						
							
							added cmake-build-debug to .gitignore
						
						
						
						
						
						
					 | 
					
						2016-11-29 17:53:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						deb50433de
					 | 
					
						
						
							
							started work on the interface of chat_messages
						
						
						
						
						
						
					 | 
					
						2016-11-26 13:46:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4215343175
					 | 
					
						
						
							
							bugfix: messages would only be received till the first whitespace
						
						
						
						
						
						
					 | 
					
						2016-11-20 11:14:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						41f81518c2
					 | 
					
						
						
							
							reworked message's receive interface
						
						
						
						
						
						
					 | 
					
						2016-11-20 00:18:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5d124db96e
					 | 
					
						
						
							
							simplified protocol and implemented text_message::receive()
						
						
						
						
						
						
					 | 
					
						2016-11-19 23:52:43 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						15e6e869be
					 | 
					
						
						
							
							made interface of message and derived classes more reasonable
						
						
						
						
						
						
					 | 
					
						2016-11-19 18:03:56 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6cb3cb0c79
					 | 
					
						
						
							
							written a quick, unfinished implementation of message
						
						
						
						
						
						
					 | 
					
						2016-11-19 17:25:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						80cc602317
					 | 
					
						
						
							
							added message class for message based communication over sockets
						
						
						
						
						
						
					 | 
					
						2016-11-19 17:25:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c81126ad91
					 | 
					
						
						
							
							written an example server -- started experimenting with boost::asio
						
						
						
						
						
						
					 | 
					
						2016-11-18 16:11:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						55406b5bae
					 | 
					
						
						
							
							initial commit. written a CMakeLists.txt to import boost::asio & serialization
						
						
						
						
						
						
					 | 
					
						2016-11-17 20:48:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |