Jaakko Moisio
cbe449908e
Problem: sock.get(zmq::sockopt::type)
is not typesafe
...
Solution: Add `zmq::sockopt::socket_type` that is used to `get()` an enumerator
from `zmq::socket_type` instead of plain `int`.
It makes code like this compile:
#include <zmq.hpp>
#include <cassert>
int main()
{
zmq::context_t ctx;
zmq::socket_t sock(ctx, zmq::socket_type::push);
assert(sock.get(zmq::sockopt::socket_type) == zmq::socket_type::push);
return 0;
}
2021-10-21 20:53:40 +03:00
Luca Boccassi
33ed54228e
Merge pull request #519 from zeromq/gfa/apioverview
...
Problem: No API documentation or overview
2021-09-23 17:55:12 +01:00
Gudmundur Adalsteinsson
f0efbf4745
Problem: No API documentation or overview
...
Solution: Add a simple overview of types and functions to begin with
2021-09-23 16:42:47 +00:00
Gudmundur Adalsteinsson
dd663fafd8
Merge pull request #518 from gummif/gfa/481
...
Bump version
2021-09-19 08:53:08 +00:00
Gudmundur Adalsteinsson
37d70cca7f
Bump version
2021-09-19 08:52:02 +00:00
Gudmundur Adalsteinsson
286d8be432
Merge pull request #515 from ashish-17/patch-1
...
ZMQ_DEPRECATED doesn't fallback for unrecognized compiler
2021-09-16 21:51:29 +00:00
Ashish Jindal
6f8a1805a5
ZMQ_DEPRECATED doesn't fallback for unrecognized compiler
...
If you use a compiler outside of _MSC_VER and _GNUC__, then the if-else check doesn't provide a fallback for ZMQ_DEPRECATED macro which leads to a build failure.
Specifically in my case , I am using Oracle's SunPro 5.13.0.
My suggestions is to fallback to noop in case you don't recognize a compiler.
2021-09-16 13:36:41 -04:00
Gudmundur Adalsteinsson
e0314c959e
Merge pull request #513 from geirhei/geirhei/multipart-equality-operator
...
Add == and != operators for multipart_t
2021-09-12 13:47:52 +00:00
Geir Henning Eikeland
14f304f987
Add == and != operators for multipart_t
...
Closes #512
2021-09-11 22:31:42 +02:00
Gudmundur Adalsteinsson
267d300d1c
Merge pull request #510 from Cazadorro/windows_zmq_static_find_fix
...
Fixes https://github.com/zeromq/cppzmq/issues/361 , by incorperating F…
2021-08-20 17:00:22 +00:00
Luca Boccassi
180fbcc561
Merge pull request #497 from zeromq/gfa/pollms
...
Problem: poll default timeout is deprecated
2021-08-13 15:10:19 +01:00
Cazadorro
3b67b10d98
Fixes https://github.com/zeromq/cppzmq/issues/361 , by incorperating Ferdnyc's changes in OpenShot/libopenshot, previously cppzmq was not looking for the correct names, and rejected valid static library names when looking for zmq on windows, this fix aims to include those other names
2021-07-28 14:04:53 -05:00
Gudmundur Adalsteinsson
2b466a6e40
Call non-deprecated functions in implementation
2021-07-25 18:42:44 +00:00
Gudmundur Adalsteinsson
b4c5c6ac77
Merge pull request #509 from hirokiht/fix_monitor_draft_libzmq-4-3
...
Fix handshake event don't need DRAFT API in libzmq v4.3.0 and above
2021-07-19 12:17:28 +00:00
Hiroki Takeuchi
e8d0f4a4e8
Fix handshake event don't need DRAFT API in libzmq v4.3.0 and above
2021-07-19 08:49:17 +00:00
Luca Boccassi
73b18d558c
Merge pull request #507 from gummif/gfa/gha
...
Problem: Actions, travis and appveyor for CI
2021-07-16 18:19:38 +01:00
Gudmundur Adalsteinsson
5c4e87e5ad
Update readme
2021-07-16 17:08:35 +00:00
Gudmundur Adalsteinsson
a8dae86e08
Remove old ci script
2021-07-16 17:07:12 +00:00
Gudmundur Adalsteinsson
4808d6df95
Problem: Actions, travis and appveyor for CI
...
Solution: Use only github actions
2021-07-16 17:07:12 +00:00
Gudmundur Adalsteinsson
3f2ba6b54a
Merge pull request #508 from zeromq/gfa/gha-macos
...
Add macos CI
2021-07-16 17:06:45 +00:00
Gudmundur Adalsteinsson
cb44ec43ca
Add macos CI
2021-07-16 17:00:01 +00:00
Gudmundur Adalsteinsson
d805bd3b3f
Merge pull request #506 from zeromq/gfa/coveralls
...
Coveralls upload in actions
2021-07-16 10:10:54 +00:00
Gudmundur Adalsteinsson
4c08773f86
Coveralls upload in actions
2021-07-15 21:58:53 +00:00
Gudmundur Adalsteinsson
7aa3f37a5c
Problem: poll default timeout is deprecated
...
Solution: default to std::chrono::milliseconds
2021-07-14 22:45:27 +00:00
Gudmundur Adalsteinsson
4108a5d266
Merge pull request #505 from gummif/gfa/actions-windows
...
CI action for windows
2021-07-14 19:00:58 +00:00
Gudmundur Adalsteinsson
27b7da3eb8
Testing for windows
2021-07-14 18:54:49 +00:00
Gudmundur Adalsteinsson
5822d39c51
Fix threading and build config
2021-07-14 11:44:07 +00:00
Gudmundur Adalsteinsson
05fab99e64
Try regex for windows tests
2021-07-14 11:34:10 +00:00
Gudmundur Adalsteinsson
05d8f133d7
Demo only on ubuntu
2021-07-14 11:13:48 +00:00
Gudmundur Adalsteinsson
3696f50b39
Refactor env variables
2021-07-14 10:52:34 +00:00
Gudmundur Adalsteinsson
8eb3515f8b
CI for windows
2021-07-13 23:53:13 +00:00
Gudmundur Adalsteinsson
62f6c5c16d
Merge pull request #504 from gummif/gfa/actions-old-gcc
...
CI for older gcc versions
2021-07-13 22:58:59 +00:00
Gudmundur Adalsteinsson
11bbef7d2b
Tests require full 11 support
2021-07-13 22:56:19 +00:00
Gudmundur Adalsteinsson
851e7bcb8b
Tests require full 11 support
2021-07-13 22:54:26 +00:00
Gudmundur Adalsteinsson
ff52ae8c01
CI for older gcc versions
2021-07-13 22:47:57 +00:00
Gudmundur Adalsteinsson
142c9d694a
Merge pull request #503 from gummif/gfa/actions4
...
Move build script into workflow yml
2021-07-08 17:53:08 +00:00
Gudmundur Adalsteinsson
1f5a57de8f
Move build script into workflow yml
2021-07-08 17:49:18 +00:00
Gudmundur Adalsteinsson
0289c1d19e
Merge pull request #501 from gummif/gfa/actions3
...
Use older gcc with older libzmq
2021-07-08 14:25:35 +00:00
Gudmundur Adalsteinsson
11a9e81686
Clang and older ubuntu builds
2021-07-08 14:19:40 +00:00
Gudmundur Adalsteinsson
0c6f8bb888
Specify CC
2021-07-08 11:04:48 +00:00
Gudmundur Adalsteinsson
3d13afacd2
Use older gcc with older libzmq
2021-07-08 10:57:02 +00:00
Gudmundur Adalsteinsson
784ce47316
Merge pull request #500 from gummif/gfa/actions2
...
Fix actions
2021-07-06 17:20:35 +00:00
Gudmundur Adalsteinsson
dec80e2cb1
Drop 03 and old libzmq
2021-07-06 16:13:00 +00:00
Gudmundur Adalsteinsson
c817589f1e
Fix actions
2021-07-06 15:06:05 +00:00
Gudmundur Adalsteinsson
9521e03d07
Merge pull request #499 from gummif/gfa/actions
...
Problem: Complex CI
2021-07-06 15:01:07 +00:00
Gudmundur Adalsteinsson
d0e54f7212
Problem: Complex CI
...
Solution: Add github actions support for linux. Windows support and
removal of appveyor and travis pending.
2021-07-06 14:52:39 +00:00
Gudmundur Adalsteinsson
bfaf8e884f
Merge pull request #466 from albestro/fix_catch2
...
Catch2 fixes
2021-06-30 11:28:21 +00:00
Alberto Invernizzi
b16104b916
test without the copy...trying to reverse engineer how it is structured
2021-06-30 08:48:09 +02:00
Alberto Invernizzi
d6b6b4434b
remove catch cache from appveyor
2021-06-30 08:36:23 +02:00
Alberto Invernizzi
613e6c9faa
trying changing path
2021-06-30 08:35:06 +02:00