- 08 Feb, 2016 3 commits
-
-
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 19 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 }'
-
Michael authored
includes windows.hpp if on windows build for mingw build errors from including zmq.h before windows.h
-
Michael authored
-
Michael authored
-
Michael authored
-
- 05 Feb, 2016 2 commits
-
-
Brian Silverman authored
It's undefined behavior, and ubsan flags it.
-
Joe Eli McIlvain authored
Problem: CI builds libsodium from dev branch
-
- 04 Feb, 2016 7 commits
-
-
Luca Boccassi authored
Solution: checkout stable branch instead. Several warnings are printed when building from the master branch, and developers recommend using the stable branch instead.
-
Joe Eli McIlvain authored
Problem: commit a464eec7 really broke VS2015 builds
-
Pieter Hintjens authored
Took me over 8 hours to track down the cause of bizarre link errors when building with libsodium. The VS project files are not simple things. Note to self and other maintainers: when someone is obviously out of their depth, do not merge their changes to build scripts without cynical appraisal. Solution: undo the damage.
-
Joe Eli McIlvain authored
Problem: Valgrind reports read of freed memory
-
Luca Boccassi authored
Solution: when iterating over a map and conditionally deleting elements, an erased iterator gets invalidated. Call erase using postfix increment on iterator to avoid using an invalid element in the next iteration.
-
Pieter Hintjens authored
Problem: no support for pre-allocated file descriptors [systemd | upstart socket-based activation]
-
Luca Boccassi authored
Solution: parse the value set by the ZMQ_PRE_ALLOCATED_FD sockopt when creating a new TCP socket and use it if valid. Add new tests/test_pre_allocated_fd_tcp.cpp unit test.
-