- 06 Feb, 2016 17 commits
-
-
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 11 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.
-
Luca Boccassi authored
Solution: parse the value set by the ZMQ_PRE_ALLOCATED_FD sockopt when creating a new IPC socket and use it if valid. Add new tests/test_pre_allocated_fd_ipc.cpp unit test.
-
Luca Boccassi authored
Solution: add new [set|get]sockopt ZMQ_PRE_ALLOCATED_FD to allow users to let ZMQ use a pre-allocated file descriptor instead of allocating a new one. Update [set|get]sockopt documentation and test accordingly. The main use case for this feature is a socket-activated systemd service. For more information about this feature see: http://0pointer.de/blog/projects/socket-activation.html
-
Constantin Rack authored
Problem: Android build is slow and noisy
-
Pieter Hintjens authored
Solution: use --without-docs (changed from --without-documentation) and also --quiet.
-
- 03 Feb, 2016 10 commits
-
-
Joe Eli McIlvain authored
Problem: MSVC build does not detect libsodium
-
Pieter Hintjens authored
Caused by error in last commit which used HAVE_LIBSODIUM instead of HAVE_SODIUM. Solution: use HAVE_LIBSODIUM as we do in other configure scripts. The project is called 'libsodium' and not 'sodium'.
-
Constantin Rack authored
Windows command-line build is now configurable
-
Pieter Hintjens authored
There is an option to enable/disable libsodium via the Visual Studio UI. This is not practical for command-line usage (via msbuild). Solution: add configure.bat that searches for libsodium in sibling directory to libzmq; if it finds it, defines HAVE_LIBSODIUM 1. This is consistent with zproject, which has the same problem and is getting the same solution for all dependency resolution on Windows. Note that this approach also provides a way to support tweetnacl via a configure option. Also, removed duplicate props files and re-copy in configure.bat as it was an insane nightmare to update these by hand. (and not clear that they were identical. Now it's forced.)
-
Pieter Hintjens authored
Solution: fix .gitignore
-
Luca Boccassi authored
Solution: add myself to the list
-
Pieter Hintjens authored
Make VMCI work on Windows
-
Constantin Rack authored
configure doesn't correctly determine mingw64
-
Ilya Kulakov authored
select was improved to support multiple service providers on Windows. it should be slightly faster because of optimized iteration over selected sockets.
-
Ilya Kulakov authored
-