Constantin Rack
64b07d8132
Merge pull request #2278 from bluca/msg_t_size_draft
2016-12-29 21:48:39 +01:00
Luca Boccassi
8c22ba246c
Problem: bug fixes not mentioned in NEWS file
...
Solution: add most relevant bug fixes since 4.2.0
2016-12-29 21:07:39 +01:00
Luca Boccassi
113feb60a2
Problem: ZMQ_MSG_T_SIZE draft but not in DRAFT section
...
Solution: move it there, add it to src/zmq_draft.h and clarify in the
documentation and in the NEWS file that this option is not yet stable
2016-12-29 21:07:39 +01:00
Luca Boccassi
715f87fec7
Merge pull request #2277 from bluca/automake_1.14
...
Problem: debian build fails with automake < 1.14
2016-12-28 16:36:58 +01:00
Luca Boccassi
47c7d8ee50
Problem: debian build fails with automake < 1.14
...
Solution: create config subdir as a workaround if building the
packages with automake < 1.14
2016-12-28 00:55:17 +01:00
Constantin Rack
ef88b8c760
Merge pull request #2276 from bluca/sodium_pkg
2016-12-27 16:28:08 +01:00
Luca Boccassi
bbae5d0f9a
Problem: dpkg-query might fail in CI build and fail the build
...
Solution: rework the bash test to avoid build failures as intended
and make it an easier one-liner
2016-12-27 14:45:45 +01:00
Constantin Rack
b2a2bb8609
Merge pull request #2275 from bluca/travis_pkg
2016-12-27 12:51:19 +01:00
Luca Boccassi
b1137b7672
Problem: documentation build not tested on Travis
...
Solution: install asciidoc and xmlto in the libsodium build run, since
it already refreshes APT to download other packages, so the delay is
smaller
2016-12-27 12:20:18 +01:00
Luca Boccassi
822def9b2b
Problem: Travis rebuilds libsodium every time
...
Solution: use packages on Ubuntu and brews on OSX. The packages and
the brews are always kept up to date, so it's no use to rebuild the
libsodium stable branch manually everytime.
2016-12-27 11:48:38 +01:00
Luca Boccassi
a1220b7fd4
Problem: Travis OSX workaround for libtool no longer needed
...
Solution: Revert "Problem: Travis CI OSX builds are broken"
This reverts commit 531b3bf7c3
.
2016-12-27 11:28:09 +01:00
Luca Boccassi
1f86019e3f
Problem: Travis installs packages when not needed
...
Solution: narrow down the matrix to install valgrind and lcov only
for the test runs that use them.
CMake is part of the default image so no need to install it at all.
2016-12-27 11:27:33 +01:00
Constantin Rack
5871ea5df8
Merge pull request #2274 from bluca/cloexec
2016-12-26 20:18:12 +01:00
Luca Boccassi
06055a7b74
Problem: cmake does not run test_zmq_poll_fd
...
Solution: add it to the list
2016-12-26 19:20:09 +01:00
Luca Boccassi
6e708ce144
Problem: socketpair leaks file on fork+exec
...
Solution: if available, call socketpair with SOCK_CLOEXEC flag to
make the process close the socket on fork+exec
2016-12-26 19:13:02 +01:00
Luca Boccassi
f287c7a2aa
Problem: eventfd leaks socket on fork+exec
...
Solution: if available, use eventfd with EFD_CLOEXEC flag to make
the process close the socket on fork+exec
2016-12-26 19:08:27 +01:00
Luca Boccassi
211898d243
Problem: epoll leaks socket on fork+exec
...
Solution: if available, use epoll_create1 with EPOLL_CLOEXEC flag to
make the process close the socket on fork+exec
2016-12-26 19:08:27 +01:00
Constantin Rack
16439e42d2
Merge pull request #2272 from bluca/document_read_after_free
2016-12-26 15:24:44 +01:00
Constantin Rack
d68e2e018e
Merge pull request #2273 from bluca/docs
2016-12-26 15:12:40 +01:00
Luca Boccassi
3dc016cab3
Problem: no documentation for ZMQ_SOCKS_PROXY
...
Solution: add paragraphs to zmq_get/setsockopt man pages
2016-12-26 14:54:58 +01:00
Luca Boccassi
baf32a1985
Problem: no documentation for zmq_curve_public
...
Solution: add manpage
2016-12-26 14:54:58 +01:00
Luca Boccassi
a06f97d73a
Problem: fix for read-after-free not documented
...
Solution: add a comment as it's easy to miss and very tempting to
"optimize"
2016-12-25 18:01:55 +01:00
Luca Boccassi
dc39ceb347
Merge pull request #2268 from imkos/master
...
Mingw32 Compile
2016-12-22 13:55:03 +01:00
Kos
43941052a9
add link libsodium.a
2016-12-22 14:25:00 +08:00
Kos
edad90f770
mingw32 fix
2016-12-22 09:35:49 +08:00
Luca Boccassi
fe3756defa
Merge pull request #2266 from Cziken/master
...
Problem: Duplicated code
2016-12-19 18:07:37 +01:00
Wojciech Kula
ee72493e14
Problem: Duplicated code
...
Solution: set_curve_key method in options_t struct with little
improvement in switch-case block
2016-12-19 12:13:14 +01:00
Constantin Rack
7a8180ece7
Merge pull request #2265 from bluca/contribution_notice_github
...
Problem: contributing guidelines unclear for new devs
2016-12-18 16:52:15 +01:00
Luca Boccassi
e6b1f56131
Problem: contributing guidelines unclear for new devs
...
Solution: port Github PR template from CZMQ
2016-12-18 11:46:08 +00:00
Constantin Rack
2dec320b22
Merge pull request #2263 from bluca/revert_curve_break
2016-12-16 18:12:37 +01:00
Luca Boccassi
48e9e24726
Problem: #2262 broke curve
...
Solution: Revert "Problem: Duplicated code"
This reverts commit 022eeaf33d
.
2016-12-16 16:50:17 +00:00
Constantin Rack
2aa09d34ff
Merge pull request #2262 from Cziken/master
...
Problem: Duplicated code
2016-12-16 17:32:27 +01:00
Wojciech Kula
022eeaf33d
Problem: Duplicated code
...
Solution: set_curve_key method in options_t struct with little
improvement in switch-case block
2016-12-16 17:09:53 +01:00
Cziken
d514bb598a
Fixed handling of WSAEWOULDBLOCK to be generic ( #2260 )
...
* Fixed handling of WSAEWOULDBLOCK to be generic
I don't know what was the intention of this early if statement but
now this is properly evaluated in wsa_error_no function if this is
performance issue I suggest moving evaluating this error code to the
beginning of wsa_error_no.
* Fixed handling of WSAEWOULDBLOCK to be generic
Introduced default pointer to const char * and overrides this as NULL
if function is called by zmq::wsa_error()
* Fixed handling of WSAEWOULDBLOCK to be generic
Introduced default pointer to const char * and overrides this as NULL
if function is called by zmq::wsa_error()
2016-12-16 15:51:00 +01:00
Luca Boccassi
2b565088d0
Merge pull request #2257 from minrk/check-event
...
zmq_poll: only compare FD when neither item is a zmq socket
2016-12-15 14:20:46 +01:00
Min RK
0abdc28c84
only compare FD when neither item is a zmq socket
2016-12-15 14:05:40 +01:00
Luca Boccassi
1910ef8d3e
Merge pull request #2256 from laplaceyang/pr_zmq4_pub_with_zmtp_v1_sub
...
fix bug zmq4.x PUB msg to ZMTP1.0 SUB server
2016-12-15 14:02:50 +01:00
Min RK
02a6079968
Merge pull request #2255 from bluca/poll_fd_testcase
...
Problem: no mixed FD and zmq socket zmq_poll test
2016-12-15 13:39:20 +01:00
laplaceyang
8e8fdcc9ed
fix bug zmq4.x PUB msg to ZMTP1.0 SUB server
2016-12-15 20:29:58 +08:00
Luca Boccassi
272d340c1f
Problem: no mixed FD and zmq socket zmq_poll test
...
Solution: add one
2016-12-15 12:03:48 +00:00
Luca Boccassi
f9d231437a
Merge pull request #2251 from hnwyllmm/master
...
misuse of 'close'
2016-12-13 12:43:07 +01:00
Laughing
a4e448d586
misuse of 'close'
...
use 'pollset_destroy' instead of 'close' to release pollset_fd
2016-12-13 11:09:01 +08:00
Constantin Rack
9052862619
Merge pull request #2250 from bluca/poll_regression
...
Problem: check for item.fd causes zloop_poller regression
2016-12-11 07:51:31 +01:00
Luca Boccassi
72176d5fbe
Problem: check for item.fd causes zloop_poller regression
...
Solution: fix the check for the socket.
This regression happens when using zloop with zmq_pollitem_it with
only file descriptors registerted through zloop_poller.
2016-12-10 23:49:18 +00:00
Luca Boccassi
c47e017bdd
Merge pull request #2249 from pavel-pimenov/fix-v817
...
"%" -> '%'
2016-12-10 16:01:38 +01:00
pavel.pimenov
4d6fbe17e0
"%" -> '%'
2016-12-10 17:27:42 +03:00
Luca Boccassi
39947d55c7
Merge pull request #2248 from pavel-pimenov/fix-precompiled
...
Add #include "precompiled.hpp"
2016-12-10 14:57:14 +01:00
pavel.pimenov
eff42fa321
Add #include "precompiled.hpp"
2016-12-10 16:44:51 +03:00
Constantin Rack
f64d3ad1e7
Merge pull request #2247 from bluca/trusty_unwind
...
Problem: there is no libunwind-dev on Ubuntu 14.04LTS
2016-12-09 20:57:01 +01:00
Luca Boccassi
379028fbd9
Problem: there is no libunwind-dev on Ubuntu 14.04LTS
...
Solution: depend on libunwind-dev | libunwind8-dev | libunwind7-dev
2016-12-09 18:42:19 +00:00