sigiesec
ac775ba48b
Problem: clang-format-diff does not run
...
Solution: fix execution directory
2018-02-02 15:47:43 +01:00
sigiesec
749a85cb21
Problem: travis-ci is using outdated clang(-format)
...
Solution: explicitly select clang-5.0
2018-02-02 15:47:43 +01:00
sigiesec
26b5b5b2d9
Problem: out-of-scope files are considered by cmake clang-format targets
...
Solution: restrict to src, tests, perf, tools and include directories
2018-02-02 15:47:43 +01:00
sigiesec
4161793d19
Problem: clang-format not run on CI
...
Solution: add clang-format to cmake, and add another travis-ci build type
2018-02-02 15:47:43 +01:00
sigiesec
41f459e1dc
Problem: formatting inconsistent
...
Solution: applied clang-format
2018-02-02 15:47:43 +01:00
sigiesec
6d8baea714
Problem: no definition for applying automated formatting
...
Solution: added .clang-format file
2018-02-02 15:46:47 +01:00
Luca Boccassi
a45e4bb7bc
Merge pull request #2909 from eponsko/master
...
Problem: ZMQ_DISH triggers assert when hitting the watermark(?)
2018-02-02 15:36:08 +01:00
Pontus Sköldström
542fe67f25
Problem: ZMQ_DISH triggers assert when hitting the watermark(?)
...
Solves issue #2907 by checking whether the msg already has a group
2018-02-02 14:01:45 +01:00
Luca Boccassi
390d79e0ab
Merge pull request #2904 from jimklimov/jf-testlog
...
Improve handling of Jenkinsfile failed testlog archives
2018-02-01 08:17:29 +00:00
Jim Klimov
2559a99570
Improve handling of Jenkinsfile failed testlog archives
...
Port from zproject / czmq : Jenkinsfile :
* add RETRY_NUMBER suffix to test-suite tarballs
* and set build UNSTABLE if retries were needed
2018-02-01 01:40:49 +01:00
Luca Boccassi
c6bd123650
Merge pull request #2903 from sigiesec/fix-2895-2
...
Problem: in case of exhausted resources on creation of a context, assertions are triggered
2018-01-31 22:35:37 +00:00
sigiesec
206c832167
Problem: in case of exhausted resources on creation of a context, assertions are triggered
...
Solution: signal error to caller, and apply appropriate cleanup
2018-01-31 20:53:06 +01:00
Luca Boccassi
4e2b9e6e07
Merge pull request #2902 from jimklimov/jf-testlog
...
Update Jenkinsfile according to current zproject template
2018-01-30 18:52:29 +00:00
Jim Klimov
21b0628cd1
Jenkinsfile : regenerated with zproject support for logging test-suite results (revised)
2018-01-30 19:51:40 +01:00
Jim Klimov
aec6ea78c5
Jenkinsfile : regenerated with zproject support for logging test-suite results
2018-01-30 18:32:46 +01:00
Jim Klimov
7186cd515d
Jenkinsfile : regenerated with zproject support for failed-test retries
2018-01-30 18:31:42 +01:00
Jim Klimov
c6a6ec39a6
Jenkinsfile : regenerated with zproject support for better workspace cleanup before test preparation
2018-01-30 18:28:17 +01:00
Jim Klimov
4110c6b751
Jenkinsfile : regenerated with zproject support for configurable test timeout
2018-01-30 18:27:12 +01:00
Jim Klimov
59347f68b8
Jenkinsfile : regenerated with zproject support for cppcheck among other tests
2018-01-30 18:24:29 +01:00
Jim Klimov
70d3cc23be
Jenkinsfile : regenerated with zproject support for DO_DIST_DOCS option
2018-01-30 18:21:49 +01:00
Luca Boccassi
da7d4d0760
Merge pull request #2901 from thedrow/patch-1
...
Enable ccache for faster builds
2018-01-27 10:37:41 +00:00
Omer Katz
befe62674c
Enable ccache for faster builds.
2018-01-27 11:01:35 +02:00
Luca Boccassi
c52ca3c284
Merge pull request #2897 from sigiesec/fix-2895
...
Problem: add_fd might be called with fd_ == retired_fd
2018-01-26 10:08:50 +00:00
Simon Giesecke
7488be61c2
Problem: add_fd might be called with fd_ == retired_fd
...
Solution: add assertion
2018-01-25 16:03:43 +01:00
Luca Boccassi
4518e0cc35
Merge pull request #2889 from SalvoVirga/fix/libzmq-static-cmake
...
Correct linking for libzmq-static
2018-01-15 10:29:30 +00:00
Salvo Virga
9d6a5f3c2f
linkage is now homogeneous for both targets libzmq and libzmq-static
...
all calls to target_link_libraries are now at the same location
2018-01-15 00:36:02 +01:00
Constantin Rack
2540e1a609
Merge pull request #2888 from minrk/fix-cmake
...
Fix inclusion of cmake files in dists
2018-01-14 05:42:19 +01:00
Min RK
35c4b68a09
fix inclusion of cmake modules in dist
2018-01-13 13:15:51 -08:00
Min RK
5f8488de6d
move FindSodium to builds/cmake/Modules
...
with the rest of the CMake modules
2018-01-13 13:15:51 -08:00
Min RK
f8da0ac721
move cmake ZeroMQConfig.cmake.in to builds/cmake
2018-01-13 13:14:53 -08:00
Luca Boccassi
e2ed5a357e
Merge pull request #2886 from SylvainCorlay/cmake-soversion
...
[cmake] fix SOVERSION
2018-01-13 10:11:56 +00:00
Sylvain Corlay
8d35cf82f1
[cmake] fix SOVERSION
2018-01-13 09:31:04 +01:00
Luca Boccassi
21927a74d9
Merge pull request #2885 from JohanMabille/librt_fix
...
removing hard-coded path of librt
2018-01-10 23:08:15 +00:00
Johan Mabille
b2a8bbd89b
removing hard-coded path of librt
2018-01-10 21:07:25 +01:00
Giuseppe Corbelli
020b0bede8
Fix CMake tests on Windows ( #2872 )
...
* Changed CMake tests to use check_symbol_exists in network-related libraries on win32 instead of check_library_exists
2018-01-09 17:15:24 +00:00
Luca Boccassi
cea60575f3
Merge pull request #2879 from WallStProg/dup-connect
...
prevent duplicate connections from PUB sockets also
2017-12-29 23:03:39 +01:00
Bill Torpey
ec05166545
prevent duplicate connections from PUB sockets also (see https://github.com/zeromq/libzmq/issues/788 )
2017-12-29 14:36:59 -05:00
Luca Boccassi
4621e5885e
Merge pull request #2878 from evoskuil/master
...
Problem: NuGet package versioning out of sync with releases.
2017-12-28 10:37:39 +01:00
evoskuil
2859cdea0b
Problem: generated NuGet files out of date.
2017-12-27 17:31:02 -08:00
evoskuil
2b91051cda
Problem: NuGet package versioning out of sync with releases.
2017-12-27 16:48:04 -08:00
Luca Boccassi
4e20c4592a
Merge pull request #2870 from evoskuil/master
...
Problem: vc++ 11.0 (vs 2012) compile fails on move semantics.
2017-12-15 10:09:12 +00:00
evoskuil
f41b51ee04
Problem: NuGet packaging versions out of date.
2017-12-14 17:24:38 -08:00
evoskuil
7133eafae1
Problem: shared NuGet packaging descr. is compiler-specific.
2017-12-14 14:58:02 -08:00
evoskuil
9622984241
Problem: vc++ 11.0 (vs 2012) compile fails on move semantics.
2017-12-14 14:58:02 -08:00
BJovke
9f7a6aac23
Merge pull request #2869 from evoskuil/master
...
Problem: fn pointers are not bool (vc++ warning C4550).
2017-12-14 23:07:20 +01:00
evoskuil
8d78e08f71
Problem: fn pointers are not bool (vc++ warning C4550).
2017-12-14 12:47:38 -08:00
Luca Boccassi
87fbe5a542
Merge pull request #2868 from jasperla/openbsd/ucred
...
Problem: Build is broken on OpenBSD
2017-12-14 09:08:15 +00:00
Jasper Lievisse Adriaanse
22b57f6f28
Problem: Build is broken on OpenBSD
...
Solution: re-instate block for OpenBSD erroneously removed in 9622a830
2017-12-14 09:47:49 +01:00
Constantin Rack
15828e4804
Merge pull request #2866 from bluca/new_ver
...
Problem: 4.2.3 is out, version(s) are out of date
2017-12-14 07:32:32 +01:00
Luca Boccassi
28a65cad50
Merge pull request #2867 from gouarin/fix-missing-file
...
add ZeroMQConfig.cmake.in in EXTRA_DIST
2017-12-13 19:51:01 +00:00
gouarin
084568bdf9
add ZeroMQConfig.cmake.in in EXTRA_DIST
2017-12-13 20:15:38 +01:00
Luca Boccassi
65a1e458ab
Problem: 4.2.3 is out, version(s) are out of date
...
Solution: bump changelog, ABI revision, library and packaging version
2017-12-13 14:12:15 +00:00
Luca Boccassi
3226b8ebdd
Finalise changelog for 4.2.3
v4.2.3
2017-12-13 13:25:26 +00:00
Luca Boccassi
fa85072fc3
Problem: no NEWS item for #2861
...
Solution: add it
2017-12-13 13:25:26 +00:00
Luca Boccassi
66fe4296ff
Merge pull request #2865 from jimklimov/jenkins-agent
...
Problem: nuget packaging refers to imatix gsl
2017-12-13 13:22:48 +00:00
Jim Klimov
e4fee1d3e0
Problem: nuget packaging refers to imatix gsl
...
Solution: re-point to the maintained zeromq fork
Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
2017-12-13 14:20:27 +01:00
Luca Boccassi
028d02a038
Merge pull request #2864 from jimklimov/jenkins-agent
...
Problem: Jenkinsfile uses "any" agent
2017-12-13 13:17:15 +00:00
Jim Klimov
3af762441a
Problem: Jenkinsfile uses "any" agent
...
Solution: avoid using infrastructure and default agents by requiring a reasonable label (like in GSL and zproject)
Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
2017-12-12 16:08:37 +01:00
Luca Boccassi
e2dbc99c4c
Merge pull request #2861 from glaure/master
...
export ZMQ_STATIC compile flag to depending projects (MSVC)
2017-12-12 10:57:08 +00:00
Gunther Laure
5189898479
export ZMQ_STATIC compile flag to depending projects (MSVC)
...
Signed-off-by: Gunther Laure <glaure@dewetron.com>
2017-12-12 10:25:19 +01:00
Constantin Rack
9bb863618c
Merge pull request #2860 from bluca/cmake_win_static
...
Problem: static build broken on Win + CMake
2017-12-11 07:49:42 +01:00
Luca Boccassi
53e536a983
Problem: static build broken on Win + CMake
...
Solution: revert the objects optimisation, and go back to building
everything twice on Windows, as the static builds needs different
preprocessor definitions from the shared one, so the objects have to be
rebuilt.
Keep the optimisation for all the other platforms.
Fixes #2858
2017-12-10 17:42:42 +00:00
Luca Boccassi
1dd42fef83
Merge pull request #2857 from jimklimov/jfdc
...
Problem: Jenkinsfile does not pass distcheck etc.
2017-12-07 09:20:09 +00:00
Jim Klimov
822c6341dd
Problem: Jenkinsfile does not pass DISTCHECK_CONFIGURE_FLAGS and LD_LIBRARY_PATH into make
2017-12-07 08:30:16 +01:00
Jim Klimov
c6356b9c5a
Problem: Jenkinsfile tests libzmq for memcheck - there is not spoon
2017-12-07 07:11:01 +01:00
Jim Klimov
e7440779a4
Problem: Jenkinsfile timeouts expire
2017-12-07 03:28:14 +01:00
Jim Klimov
e201985ad3
Problem: Jenkinsfile does not use DISTCHECK_CONFIGURE_FLAGS
2017-12-07 02:43:26 +01:00
Luca Boccassi
737ea1f60d
Merge pull request #2856 from scpeters/patch-1
...
Problem: WIN32 CMAKECONFIG_INSTALL_DIR is broken
2017-12-06 22:34:13 +00:00
Steven Peters
de5e7a3983
Problem: WIN32 CMAKECONFIG_INSTALL_DIR is broken
...
Solution: set it to CMake instead of a subfolder of share.
See cmake find_package documentation for further info.
2017-12-06 12:45:48 -08:00
Constantin Rack
d15795b4e3
Merge pull request #2852 from bluca/pkg_include_cppzmq
...
Problem: Debian packages are missing zmq.hpp
2017-12-02 09:44:59 +01:00
Luca Boccassi
dee655959c
Merge pull request #2853 from jimklimov/jf
...
Problem: No Jenkinsfile
2017-12-01 09:21:13 +00:00
Luca Boccassi
83c042ccda
Problem: Debian packages are missing zmq.hpp
...
Solution: install it if available. Download it from its repo as part
of the OBS source run.
Debian and Ubuntu always ship zmq.hpp in libzmq-dev, so do the same.
In the RPM world it is in its own separate package, so don't do the
same for RPM.
2017-12-01 01:09:28 +00:00
Jim Klimov
f90dbe08bb
Introduce Jenkinsfile
2017-12-01 02:02:23 +01:00
Constantin Rack
fcacb603d6
Merge pull request #2851 from bluca/zpoller_wait_news
...
Problem: DRAFT API change not in NEWS
2017-11-26 14:32:45 +01:00
Luca Boccassi
156633feaa
Problem: DRAFT API change not in NEWS
...
Solution: add it
2017-11-26 11:53:16 +00:00
Jim Klimov
d8aa8fc794
Merge pull request #2846 from bluca/appveyor_vs2013
...
Problem: no coverage for VS2013 and VS2017
2017-11-24 11:14:00 +01:00
Constantin Rack
a88abaa579
Merge pull request #2848 from bluca/linger_news
...
Problem: ZMQ_LINGER doc change not in NEWS
2017-11-24 08:00:59 +01:00
Luca Boccassi
e3cbdf4b93
Problem: ZMQ_LINGER doc change not in NEWS
...
Solution: add it
2017-11-23 17:27:09 +00:00
Luca Boccassi
90ea11c999
Merge pull request #2847 from fnaime/default_linger
...
Wrong ZMQ_LINGER default value
2017-11-23 17:24:37 +00:00
fnaime
da9bc91053
Wrong ZMQ_LINGER default value
...
Problem: Wrong linger default value
Solution: correct documentation
2017-11-23 14:15:09 -02:00
Luca Boccassi
96252e4aac
Problem: Appveyor builds Libsodium when disabled
...
Solution: use if statements to avoid building it when it's disabled
2017-11-22 18:59:29 +00:00
Luca Boccassi
16d7686b48
Problem: no VS2013/17 CI jobs
...
Solution: add them to Appveyor
2017-11-22 18:41:12 +00:00
Jim Klimov
9f83a5988d
Merge pull request #2844 from bluca/cmake_double_build
...
Problems: CMake rebuilds everything twice, warnings with Tweetnacl, no autoconf option to disable Werror
2017-11-20 20:32:10 +01:00
Luca Boccassi
574d72b0e2
Problem: Travis builds with brew fail
...
Solution: add workaround until Travis really fixes the issue:
https://github.com/travis-ci/travis-ci/issues/8552
2017-11-20 15:55:35 +00:00
Luca Boccassi
08289d8f33
Problem: cannot disable Werror with autoconf
...
Solution: add --disable-Werror flag like the existing
--disable-pedantic or CMake's -DLIBZMQ_WERROR=OFF
Fixes #2818
2017-11-20 15:55:35 +00:00
Luca Boccassi
0298d037d0
Problem: CMake rebuilds everything twice
...
Solution: build all the objects separately before the link step, to
avoid rebuilding when doing both static and shared builds
2017-11-20 15:55:35 +00:00
Luca Boccassi
5264d49eab
Problem: duplicate definition in CMake tweetnacl builds
...
Solution: don't redefine preprocessor macro if it's already defined in
platform.hpp
2017-11-19 12:47:05 +00:00
Constantin Rack
b3bf51716e
Merge pull request #2842 from bluca/accept4
...
Problem: accept4 not available on all platforms
2017-11-18 13:00:13 +01:00
Luca Boccassi
ac552ba448
Problem: accept4 not available on all platforms
...
Solution: check for availability in CMake and autoconf before using it
2017-11-18 11:33:53 +00:00
Constantin Rack
0d0d72e836
Merge pull request #2841 from bluca/news
...
Problems: no NEWS for 4.2.3, missing some events docs, whitespace in header
2017-11-18 10:00:54 +01:00
Luca Boccassi
5a8fd337fd
Problem: NEWS not up to date
...
Solution: add main features and bug fixes
2017-11-17 18:15:25 +00:00
Luca Boccassi
e523adf3da
Problem: new monitor events missing from docs
...
Solution: add them
2017-11-16 22:00:14 +00:00
Luca Boccassi
7a7c776abb
Problem: trailing whitespace in include/zmq.h
...
Solution: remove it
2017-11-16 21:54:15 +00:00
Luca Boccassi
d49b0fad6d
Merge pull request #2840 from ccpaging/master
...
Problem: Build fails in Visual Studio 2008 without `stdint.h`
2017-11-16 11:48:30 +00:00
Simon Giesecke
700d7cd142
Merge pull request #2839 from bluca/linger_test
...
Problems: test_security_{zap|curve} often hangs, debian builds ignore test failures hiding issues
2017-11-16 10:07:14 +01:00
ccpaging
e8ad51e62f
Clean code for Visual Studio 2008 compiler
2017-11-16 14:09:13 +08:00
Luca Boccassi
741e5c3db4
Problem: debian builds ignore test failures hiding issues
...
Solution: make test failures fail the build
2017-11-16 00:47:24 +00:00
Luca Boccassi
de8f14adf5
Problem: test_security_{zap|curve} often hangs
...
Solution: set 0 linger on the sockets immediately after creating them
rather than immediately before closing them.
Running through helgrind/drd highlights a few race conditions, one of
which is the setting of linger vs checking it when closing the socket.
Work around it by setting it immediately to fix the test hangs.
2017-11-16 00:44:29 +00:00
Jim Klimov
d2b6985028
Merge pull request #2833 from bluca/stream_test_parallel
...
Problem: test_stream_exceeds_buffer cannot be ran in parallel
2017-11-13 13:23:50 +01:00
Luca Boccassi
cffc1c4d2d
Merge pull request #2832 from ebyrob/fix-doc-zmq_msg_init-zmq_recv
...
Change zmq_recv to zmg_msg_recv since zmq_msg_t used there.
2017-11-10 16:02:15 +00:00