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