Commit graph

84 commits

Author SHA1 Message Date
Christoph Heiss 14c3d80861 Split out commandline-arguments parsing into each indiviual component. 2018-02-26 12:41:21 +01:00
Christoph Heiss c41ed12131 Fix including directories from environment variables. 2018-02-26 12:10:03 +01:00
Christoph Heiss 21cd407cdf Update documentation. 2018-02-26 12:05:58 +01:00
Christoph Heiss 11619d5f10 Continue read loop if no command was entered. 2018-02-26 11:37:27 +01:00
Christoph Heiss 4dcbd478fa Add support for the pub-sub mechanism. 2018-02-26 11:29:28 +01:00
Christoph Heiss ee704fece5 Simplify ping-pong test. 2018-02-26 11:04:19 +01:00
Christoph Heiss b91c211b03 Quote string responses to indicate that these are in fact strings. 2018-02-26 10:32:04 +01:00
Christoph Heiss d722892ca6 Unify response reading to avoid duplicate code. 2018-02-26 10:12:48 +01:00
Christoph Heiss 1233e6eb9d Do some chores and cleanup/restructure some code. 2018-02-23 16:24:34 +01:00
Christoph Heiss 0178cf9d5c Update documentation of RespParser. 2018-02-23 13:47:04 +01:00
Christoph Heiss 169e2c26c8 Add pipelined client. 2018-02-23 13:24:40 +01:00
Christoph Heiss 30f24e7d03 Small cleanups and commenting two constructors. 2018-02-23 13:23:20 +01:00
Christoph Heiss 8d1af09ca5 Fix not returning the result when using the integral-specilization template of command(). 2018-02-22 21:23:29 +01:00
Christoph Heiss 0e05a7bf65 tests: Do not output result. 2018-02-22 20:15:36 +01:00
Christoph Heiss 4530a63b26 Do not output an extra newline. 2018-02-22 17:04:38 +01:00
Christoph Heiss f4e13cb016 Completely rewrite the response parser. 2018-02-22 17:04:19 +01:00
Christoph Heiss 131a42c77a Fix passing of parameters in mget-array test. 2018-02-22 11:20:17 +01:00
Christoph Heiss a224e9f2fc Fix serialization of RESP commands.
Since RESP commands never take an integer as argument due to ambiguity,
always serialize them as bulk strings.
2018-02-22 11:15:40 +01:00
Christoph Heiss fede599f1a Mark second constructor for RespClient as explicit. 2018-02-22 11:15:00 +01:00
Christoph Heiss 60e8cf208b Properly format array output. 2018-02-22 10:51:50 +01:00
Christoph Heiss 968268d623 Doxygen: Include README into generated documentation. 2018-02-20 20:48:02 +01:00
Christoph Heiss b8ace60d4f Update inline documentation. 2018-01-31 15:06:05 +01:00
Christoph Heiss 1be30fea8e Update Doxyfile template to also include private members. 2018-01-31 15:05:19 +01:00
Christoph Heiss ba29e6179e Report status when executing tests. 2018-01-31 11:48:05 +01:00
Christoph Heiss 4db079b620 Switch to C++17 and remove unused Windows-specific conditions. 2018-01-31 11:11:21 +01:00
Christoph Heiss 2c17d9c8ad Add mget-test for testing array parsing. 2018-01-31 11:10:35 +01:00
Christoph Heiss 087cacacc5 doc: RESP already stands for 'REdis Serialisation Procotol - no need for RAS syndrome. 2018-01-31 09:36:11 +01:00
Christoph Heiss dc4ab40ae5 Rename resply::Result::Type::ProtError to [..]::ProtocolError for clarifcation. 2018-01-31 09:35:58 +01:00
Christoph Heiss 4cc46c0cf4 Move check_asio_error() into anonymous namespace. 2018-01-31 09:00:13 +01:00
Christoph Heiss b6fd6ab8c1 Remove unneeded file(GLOB ..) 2018-01-25 23:39:12 +01:00
Christoph Heiss 0eabbd9fa2 Simplify parsing code a little bit. 2018-01-23 14:11:15 +01:00
Christoph Heiss 5b19d61511 Use asio::read instead of asio::read_until. No functional change.
asio::read and asio::read_until seem to have the same semantic - at
least on my machine. Both read until the buffer is full -
asio::read_until does not care about the delimiter.
2018-01-23 14:09:14 +01:00
Christoph Heiss 9271af0a6a Fix error with multiple tests. 2018-01-20 00:20:55 +01:00
Christoph Heiss b3daaceb3a Initial commit. 2018-01-19 18:31:32 +01:00