2019-12-19 03:24:12 +00:00
|
|
|
|
|
|
|
|
2019-12-24 15:05:24 +00:00
|
|
|
- Clean up the cwObject namespace - add an 'object' namespace inside 'cw'
|
2019-12-19 03:24:12 +00:00
|
|
|
|
2019-12-24 15:05:24 +00:00
|
|
|
- Add underscore to the member variables of object_t.
|
|
|
|
|
|
|
|
-
|
2019-12-19 03:24:12 +00:00
|
|
|
|
|
|
|
- logDefaultFormatter() in cwLog.cpp uses stack allocated memory in a way that could easily be exploited.
|
|
|
|
|
|
|
|
- lexIntMatcher() in cwLex.cpp doesn't handle 'e' notation correctly. See note in code.
|
|
|
|
|
2019-12-24 15:05:24 +00:00
|
|
|
- numeric_convert() in cwNumericConvert.h could be made more efficient using type_traits.
|
|
|
|
|
|
|
|
- thread needs setters and getters for internal variables
|
|
|
|
|
|
|
|
- change cwMpScNbQueue so that it does not require 'new'.
|
|
|
|
|
2019-12-27 21:52:45 +00:00
|
|
|
- cwAudioBuf.cpp - the ch->fn in update() does not have the correct memory fence.
|
|
|
|
|
|
|
|
- change file names to match object names
|
|
|
|
|
|
|
|
- change all NULL's to nullptr
|
|
|
|
|
|
|
|
- implement kTcpFl in cwTcpSocket.cpp
|
2019-12-24 15:05:24 +00:00
|
|
|
|
2020-03-18 19:11:39 +00:00
|
|
|
# Development Setup
|
|
|
|
|
|
|
|
1) Install libwebsockets.
|
|
|
|
|
2020-03-18 19:53:11 +00:00
|
|
|
```
|
|
|
|
sudo dnf install g++ openssl-devel cmake
|
2020-03-18 19:11:39 +00:00
|
|
|
cd sdk
|
|
|
|
git clone https://libwebsockets.org/repo/libwebsockets
|
|
|
|
cd libwebsockets
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/kevin/sdk/libwebsockets/build/out ..
|
2020-03-18 19:53:11 +00:00
|
|
|
```
|
2020-03-18 19:11:39 +00:00
|
|
|
|
2020-03-18 19:53:11 +00:00
|
|
|
2) Environment setup:
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=~/sdk/libwebsockets/build/out/lib
|
|
|
|
|