- 09 Feb, 2016 6 commits
-
-
Pieter Hintjens authored
These options are confusing and redundant. Their names suggest they apply to the tcp:// transport, yet they are used for all stream protocols. The methods zmq::set_tcp_receive_buffer and zmq::set_tcp_send_buffer don't use these values at all, they use ZMQ_SNDBUF and ZMQ_RCVBUF. Solution: merge these new options into ZMQ_SNDBUF and ZMQ_RCVBUF. This means defaulting these two options to 8192, and removing the new options. We now have ZMQ_SNDBUF and ZMQ_RCVBUF being used both for TCP socket control, and for input/output buffering. Note: the default for SNDBUF and RCVBUF are otherwise 4096.
-
Pieter Hintjens authored
The proper name is ZMQ_THREAD_SAFE Solution: fix in the documentation.
-
Pieter Hintjens authored
This option has a few issues. The name is long and clumsy. The functonality is not smooth: one must set both this and ZMQ_XPUB_VERBOSE at the same time, or things will break mysteriously. Solution: rename to ZMQ_XPUB_VERBOSER and make an atomic option. That is, implicitly does ZMQ_XPUB_VERBOSE.
-
Pieter Hintjens authored
Solution: rename to ZMQ_MAXRT This is the option name used on Windows, so easier to use and remember.
-
Pieter Hintjens authored
Problem: ZMQ_USEFD does not follow conventions
-
Luca Boccassi authored
Solution: rename socket option (and variables and files) from usefd to use_fd.
-
- 08 Feb, 2016 10 commits
-
-
Constantin Rack authored
Problem: ZMQ_PRE_ALLOCATED_FD is too long
-
Luca Boccassi authored
Solution: rename socket option (and variables and files) from pre_allocated_fd to usefd.
-
Pieter Hintjens authored
CMake and tweetnacl CI
-
Luca Boccassi authored
Solution: add builds/cmake/ci_build.sh and call it from travis.yml
-
Luca Boccassi authored
Solution: bump CMake required version to 2.8.12 to avoid: CMake Error at tests/CMakeLists.txt:110 (target_include_directories): Unknown CMake command "target_include_directories".
-
Luca Boccassi authored
Solution: add builds/tweetnacl/ci_build.sh and add it in travis.yml
-
Luca Boccassi authored
Solution: disable -pedantic when building with tweetnacl to avoid warning about "long long" not existing in ISO C++ 98
-
Pieter Hintjens authored
fallback on tweetnacl if libsodium is not found and not explicitly requested
-
Min RK authored
-
Min RK authored
allows building with tweetnacl without cmake
-
- 07 Feb, 2016 9 commits
-
-
Luca Boccassi authored
Fixes to Windows builds
-
Pieter Hintjens authored
Solution: fix these.
-
Pieter Hintjens authored
Solution: at least for vs2015, add vs2015/build.bat to work the same was as zproject.
-
Pieter Hintjens authored
Fix a typo in "Add ZMTP heartbeats" changes
-
Pieter Hintjens authored
Change to detect POSIX Thread priority support properly
-
Pieter Hintjens authored
Use memcpy instead of assuming option values are aligned
-
OBATA Akio authored
-
OBATA Akio authored
-
Brian Silverman authored
Otherwise, it's undefined behavior. ubsan catches alignment issues in the libzmq test suite without this.
-
- 06 Feb, 2016 15 commits
-
-
Constantin Rack authored
Refinement of #f4fe375b
-
Pieter Hintjens authored
Solution: be more explicit in the code, and in the zmq_recv man page (which is the most unobvious case). Assert if length is not zero and buffer is nonetheless null.
-
Pieter Hintjens authored
There's no value in this as the same pattern is repeated in several places and it's fair to expect people to understand it. Solution: revert to the old, one-liner style.
-
Pieter Hintjens authored
It is poor style for test cases to use the internal API (i.e. libzmq classes or header files), as this code serves the purpose of teaching developers how to use the library (it doesn't do this very well, it's an ambition). Also, including headers in src/ creates problems when compiling. Solution: remove use of src/macros.hpp.
-
Pieter Hintjens authored
Solution: update (with correct one from VS2015)
-
Pieter Hintjens authored
updates for bumped _WIN32_WINNT version with mingw builds
-
Michael authored
windows.hpp must be included first due to increases _WIN32_WINNT version
-
Pieter Hintjens authored
Don't call memcpy with 0 size and NULL pointer(s)
-
Michael authored
added conditional includes for unix / windows
-
Michael authored
mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check
-
Michael authored
mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check
-
Michael authored
-
Michael authored
-
Michael authored
-
Michael authored
used static_cast<signed int> around WSA_WAIT_FAILED as it is an unsigned implicitly defined as (0xFFFFFFFF ion winbase.h) and causes a comparison error. removed use of c++11 style initialiser list for 'sockaddr addr { 0 }' and changed it to 'sockaddr addr = { 0 }'
-