Benjamin Sergeant
48166a9a72
mingw: fix compile errors with linenoise and fstream
2021-03-19 11:18:55 -07:00
Benjamin Sergeant
049d1eec63
remove some un-needed third party code
2020-12-25 15:28:39 -08:00
Benjamin Sergeant
82e759732b
(cmake) Stop using FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-30 14:24:04 -07:00
Benjamin Sergeant
6077f86af8
(cmake) use FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-26 14:11:40 -07:00
Benjamin Sergeant
2526a94454
(cmake) use FetchContent cmake module to retrieve spdlog third party dependency
2020-09-26 13:51:19 -07:00
Benjamin Sergeant
d3bcbdac26
(ws) upgrade to latest version of nlohmann json (3.9.1 from 3.2.0)
2020-08-13 22:10:38 -07:00
Benjamin Sergeant
fbd17685a1
(socket+websocket+http+redis+snake servers) expose the remote ip and remote port when a new connection is made (see #222 ) / only ipv4 is handled
2020-07-08 12:10:35 -07:00
Benjamin Sergeant
4789e190a0
zlib needs to be found (with vcpkg in CI), do not use our bundled copy
2020-07-06 18:09:45 -07:00
Benjamin Sergeant
6ed8723d7d
try to fix a double linking error on Windows with linenoise.hpp
2020-06-11 18:01:45 -07:00
Benjamin Sergeant
74efdfebba
remove bundled mbedtls
2020-04-25 15:41:39 -07:00
Ross Jacobs
5860c5c80b
Fixes #179 ( #180 )
2020-04-20 22:59:20 -07:00
Benjamin Sergeant
f1c106728b
(third_party deps) fix #177 , update bundled spdlog to 1.6.0
2020-04-11 13:32:16 -07:00
Benjamin Sergeant
738a3bf1c5
update bundled jsoncpp to 1.9.3
...
(still comment the deprecation warning, which we should eventually fix ...)
2020-03-28 10:44:05 -07:00
Benjamin Sergeant
a0ffb2ba53
cobra to statsd bot ported to windows + add unittest
2020-03-22 19:37:04 -07:00
Benjamin Sergeant
5ad54a8904
pre-commit / fix simple file trailing things
2020-03-21 19:31:38 -07:00
Benjamin Sergeant
c86fa8ad3b
update spdlog
2019-12-06 22:05:12 -08:00
Benjamin Sergeant
0f4def2338
fix windows compile error in include/spdlog/details/pattern_formatter-inl.h
2019-09-29 22:00:57 -07:00
Benjamin Sergeant
681390f22f
update and change how we build with spdlog
2019-09-29 11:13:24 -07:00
Benjamin Sergeant
d46ce7eb63
fix tsan errors on macOS when running the unittest
2019-09-23 21:51:55 -07:00
Benjamin Sergeant
e2121d809e
fix unittest warnings + remove trailing spaces
2019-09-12 11:43:52 -07:00
Benjamin Sergeant
65c5c5f894
update ws CLI11 (our command line argument parsing library) to the latest, which fix a compiler bug about optional
2019-09-09 21:25:33 -07:00
Benjamin Sergeant
ca9d59c1c1
add better line editing capability to ws connect, thanks to linenoise-cpp
2019-07-25 11:54:50 -07:00
Benjamin Sergeant
396d0d9bdc
Feature/ws windows ( #86 )
...
* try to build ws on window on travis 📮
* cmake invocation fixed on windows 🐝
* Can use mbedtls to calculate hmac + no openssl config option
* build only windows on travis 🕢
* run msbuild 💷
* proper command to build 🕛
* some build fixes
* change weird sizeof call 🐙
* warning and missing includes fixes 💮
* ifdef out statsd code on windows 🐍
* logic invertion in ifdef 👄
* bring back makefile 📜
* command line tool is built with mbedtls 🏥
2019-06-02 20:46:20 -07:00
Benjamin Sergeant
fd902c7a58
add notes about mbedtls CMake
2019-06-01 18:00:25 -07:00
Benjamin Sergeant
06cbebe22e
Feature/mbedtls ( #84 )
...
* try to import mbedtls and build it
* add stubs socket class
* some boilterplate, read and write function implemented
* more boilterplate / current error in handshake because no CA cert is setup
* add something so skip ca verification, can ws curl https://google.com !
* cleanup / close implemented
* tweak CMakefiles
* typo in include
* update readme
* disable unittests
2019-06-01 17:41:48 -07:00
Benjamin Sergeant
12fe55905c
enum class HttpErrorCode derives from int
2019-05-15 16:50:00 -07:00
Benjamin Sergeant
16758293ff
fix warning in statsd_client about %m gnu only printf special char
2019-05-11 09:22:29 -07:00
Benjamin Sergeant
e965322a98
fix overflow warning in msgpack11.cpp
2019-05-10 21:17:05 -07:00
Benjamin Sergeant
88adbf0ca2
cout -> spdlog
2019-05-10 12:33:34 -07:00
Benjamin Sergeant
dc1f9fb243
use spdlog for logging in ws + unittest + remove un-needed mutex
2019-05-09 15:30:44 -07:00
Benjamin Sergeant
f6ae490723
Fix data race in WebSocket where _url is accessed without protection in setThreadName
...
Also fix with url usage + docker container uses fedora and works with tsan
2019-04-25 16:11:46 -07:00
Dimon4eg
f61fd7b7f1
Link zlib statically for windows ( #35 )
...
* Add zlib 1.2.11 sources
* link zlib statically for windows
2019-04-19 09:14:03 -07:00
Benjamin Sergeant
65b11cb968
docker container works with SSL + fix compiler warnings in statsd third_party module
2019-04-18 09:11:12 -07:00
Benjamin Sergeant
51fcf65424
(ws) add subcommands: cobra subscribe, and cobra subscribe to statsd bridge
2019-04-08 21:56:01 -07:00
Benjamin Sergeant
f0f54434cb
Add clarification notice about third party modules
2019-03-29 09:34:17 -07:00
Benjamin Sergeant
eac611ab1e
Feature/connection state ( #25 )
...
* (cmake) add a warning about 32/64 conversion problems.
* fix typo
* New connection state for server code + fix OpenSSL double init bug
* update README
2019-03-20 18:34:24 -07:00
Benjamin Sergeant
523a6e989a
make PollResultType an enum class
2019-03-19 09:29:57 -07:00
Benjamin Sergeant
0c226c7629
readBytes does not read bytes one by one but in chunks
2019-03-02 21:11:16 -08:00
Benjamin Sergeant
86cc76388e
create a blocking + cancellable Socket::readBytes method
2019-03-02 11:01:51 -08:00
Benjamin Sergeant
76e2f9f3ac
add ws_chat and ws_connect sub commands to ws
2019-02-22 20:49:26 -08:00
Benjamin Sergeant
2d696b6806
Feature/ws cli ( #15 )
...
* New command line tool for transfering files / still very beta.
* add readme
* use cli11 for argument parsing
* json -> msgpack
* stop using base64 and use binary which can be stored in message pack
2019-02-21 21:24:53 -08:00
Benjamin Sergeant
1cf8b7e952
add a travis file
2019-01-07 18:04:28 -08:00
Benjamin Sergeant
85370dfd21
remove cmake sanitizer submodule
2019-01-07 11:26:23 -08:00
Benjamin Sergeant
76f196206b
sanitizer cmake stuff
2019-01-06 18:54:16 -08:00
Benjamin Sergeant
3eef8fba27
unittest on appveyor
2019-01-04 17:28:13 -08:00