Alberto Invernizzi
439d400ff3
fix path setup for osx/linux + improve readability
2021-06-28 00:12:58 +02:00
Alberto Invernizzi
37488aff66
double square brackets for if are not working in travis
2021-06-28 00:05:54 +02:00
Alberto Invernizzi
206239a663
use before_script in travis
2021-06-27 20:06:05 +02:00
Alberto Invernizzi
db90fde58c
export correct PATH for macOS
2021-06-27 19:47:16 +02:00
Alberto Invernizzi
b3970c451c
fix bash var set + use correct cmake bins (travis uses macos 10.12)
2021-06-27 19:41:46 +02:00
Alberto Invernizzi
ec6409292c
osx/linux cmake prebuilt binaries selection
2021-06-27 19:38:10 +02:00
Alberto Invernizzi
b9322bfce0
missing mkdir for the cmake install dir
2021-06-27 19:24:43 +02:00
Alberto Invernizzi
be1ca6f960
try downloading and installing last cmake version in travis
2021-06-27 19:15:47 +02:00
Alberto Invernizzi
cdec9dca0c
update cmake minimum requirement
2021-06-27 19:15:47 +02:00
Simon Giesecke
8e60667413
Problem: cpp-coveralls can no longer be installed using Python2 pip.
...
Solution: Use pip3 instead of pip to install coveralls.
2021-05-14 16:47:44 +01:00
Simon Giesecke
17ac458468
Merge pull request #490 from jlucke86/deprecated-shutdown
...
context_t close no longer uses deprecated function
2021-05-14 17:45:47 +02:00
Joshua Luckel
6ad0aceac5
context_t close no longer uses deprecated function
2021-05-13 10:27:09 +10:00
Dominic van Berkel
b65dde8725
Add support for socket_ref to multipart_t ctor/send/recv ( #487 )
...
* Add support for socket_ref to multipart_t ctor/send/recv
Fixes #448
2021-04-27 16:41:21 +02:00
Simon Giesecke
545b12c56a
Merge pull request #488 from barometz/draft-socket-types-4.3.4
...
Add all draft socket types up to libzmq 4.3.4
2021-04-19 08:27:59 +02:00
Dominic van Berkel
24837086cc
Add all DRAFT socket types up to libzmq 4.3.4
2021-04-17 15:53:28 +02:00
Simon Giesecke
4f111562e7
Merge pull request #473 from Katawann/pr-fix-example-cmake
...
Fix failed compilation for the examples
2021-03-10 22:22:06 +01:00
Simon Giesecke
dc4c0656a6
Merge pull request #482 from kevle/monitor-check_event-raii
...
Fix for potential memory leak in monitor_t::check_event
2021-03-10 22:21:42 +01:00
albestro
1a4ebda46e
genealize arithmetic operators for socket_base and derived ( #470 )
...
Generalize arithmetic operators for socket_base and derived
2021-03-10 22:20:33 +01:00
Kevin Leonardic
8d36a7c510
Problem: zmq_msg_t not closed on exception
...
Solution: Use zmq::message_t
2021-03-06 14:11:53 +01:00
Gudmundur Adalsteinsson
f428fee374
Problem: zmq_fd_t not used/available in zmq ( #452 )
...
* Problem: zmq_fd_t not used/available in zmq
Solution: Make zmq::fd_t available and use in poller_event
* Deprecate typedef with comment
2021-02-12 12:28:40 +01:00
Quentin Collet
da0d1b859a
example: add find_package of cppzmq
...
without this, compilation failed with /usr/bin/ld: cannot find -lcppzmq
2021-02-02 22:04:37 +01:00
Simon Giesecke
c591113bb7
Merge pull request #460 from gummif/gfa/if-warn
...
Problem: if constexpr warnings on MSVC
2021-01-15 10:28:53 +01:00
Simon Giesecke
d7a9909970
Merge pull request #459 from gummif/gfa/conv-warn
...
Problem: conversion warnings
2021-01-15 10:28:38 +01:00
Gudmundur Adalsteinsson
a7889af4bf
Problem: if constexpr warnings on MSVC
...
Solution: Use if constexpr where possible in C++17
2020-11-26 20:55:04 +00:00
Gudmundur Adalsteinsson
486b7226cb
Problem: conversion warnings
...
Solution: Silence them with casts
2020-11-26 20:54:09 +00:00
Simon Giesecke
18db4568f9
Merge pull request #451 from gummif/gfa/poller-size
...
Problem: Poller size function missing
2020-11-25 10:00:04 +01:00
Simon Giesecke
05ff657b1a
Merge pull request #450 from gummif/gfa/build-examples
...
Problem: Examples are not compiled
2020-11-25 09:57:17 +01:00
Simon Giesecke
e80cefa1cf
Merge pull request #458 from gummif/gfa/depr-connected
...
Problem: connected() is confusing
2020-11-25 09:51:12 +01:00
Simon Giesecke
4afe6444e9
Merge pull request #461 from gummif/gfa/catch-fix
...
Problem: Changes in Catch2 causes errors
2020-11-25 09:43:54 +01:00
Gudmundur Adalsteinsson
0f9e4c12d0
Problem: Changes in Catch2 causes errors
...
Solution: Use a fixed commit instead of a branch
2020-10-25 18:04:25 +00:00
Gudmundur Adalsteinsson
d57ffc5cf7
Problem: connected() is confusing
...
Solution: Deprecated it, it is not related to connect/disconnect.
2020-10-24 18:00:52 +00:00
Gudmundur Adalsteinsson
2af0c0105a
Problem: Poller size function missing
...
Solution: Add it to poller_t
2020-10-10 21:22:16 +00:00
Gudmundur Adalsteinsson
379793cbab
Compile and update the examples in the README
2020-10-10 15:32:51 +00:00
Gudmundur Adalsteinsson
7a6c904f94
Problem: Examples are not compiled
...
Solution: Compile the examples when tests are compiled and using C++11
or greater.
2020-10-10 13:42:00 +00:00
Simon Giesecke
03243ad64d
Merge pull request #447 from SylvainCorlay/vs2015-syntax-error
...
Fix VS 2015 syntax error with macro
2020-10-05 14:48:18 +02:00
Sylvain Corlay
c34d8eaaec
Fix VS2015 syntax error with ZMQ_DEPRECATED macro.
2020-10-05 12:26:28 +02:00
Simon Giesecke
07ac9fef63
Bump version number to 4.8.0 after release to prepare for next development iteration
2020-09-30 12:24:28 +02:00
Simon Giesecke
fef905d598
Merge pull request #399 from gummif/gfa/message-ctor
...
Problem: message_t ctor string inconsistency
2020-09-08 11:42:55 +02:00
Gudmundur Adalsteinsson
e9716fa6e6
Problem: C++ version not correctly estimated ( #429 )
...
* Problem: C++ version not correctly estimated
Solution: Include headers before checking macros and add additional checks for _MSVC_LANG.
2020-09-08 11:38:06 +02:00
Gudmundur Adalsteinsson
ae570b0835
Apply clang-format
2020-09-07 21:37:44 +00:00
Gudmundur Adalsteinsson
1897488a28
Problem: message_t ctor string inconsistency
...
Solution: Constuctor taking generic ranges including
string literals includes the null terminated char in
the message. Deprecate function and add overloads
for strings.
2020-09-07 21:37:01 +00:00
Simon Giesecke
bf4f75b971
Merge pull request #405 from gummif/gfa/active-poller-handler
...
Problem: Active poller double add mutates handler
2020-09-07 10:01:26 +02:00
Gudmundur Adalsteinsson
d237615a25
Problem: Active poller double add mutates handler
...
Solution: Check if socket already added before storing.
2020-09-06 13:46:08 +00:00
Gudmundur Adalsteinsson
3e3fe85b33
Add ctor to error_t taking errno and add noexcept specifiers
2020-09-06 13:25:11 +00:00
Simon Giesecke
7efc9b153f
Merge pull request #432 from or17191/bugfix/socket-move-assignment-not-initializing-ctxptr
...
Bugfix: socket_t move assignment doesn't initialize ctxptr
2020-09-04 11:33:41 +02:00
serg06
12c3003aa2
Add an example ( #423 )
...
I had a really tough time figuring out how to do simple pub-sub with cppzmq; I finally figured it out so I'd like to add it.
2020-09-04 11:23:56 +02:00
Simon Giesecke
4ceb2c8722
Merge pull request #395 from franzhollerer/Issue_#394_fix_cmake_library_dependency
...
[#394 ] fixes dependency on libzmq libraries
2020-09-04 11:15:03 +02:00
Franz Hollerer
96ce61fab7
[ #394 ] fixes dependency on libzmq libraries
...
simplified logic according @tau-mask suggestion
2020-09-04 10:13:17 +02:00
or17191
37e6334d5f
Bugfix: socket_t move assignment doesn't initialize ctxptr
...
Until now, we only assigned the _handle on
`zmq::socket_t::operator=(socket_t&&)`. This manifests when trying to
monitor a socket initialized by that constructor.
To avoid changing the public interface of the socket_t class, we tested
for the specific monitor usecase, since it's the only class accessing
zmq::socke_t::ctxptr.
NOTE: When running the new unit-test without the fix, it might hang on
`zmq_socket_monitor(socket_, NULL, 0)`. We haven't figured out the cause
for that, but we deemed it unimportant (or at least out of scope).
2020-07-18 19:17:19 +03:00
Simon Giesecke
89f4d1b187
Merge pull request #408 from gummif/gfa/ctx-handle
...
Problem: implicit conversion operators in context
2020-06-19 18:10:38 +02:00