Commit Graph

687 Commits

Author SHA1 Message Date
Stefan Dietel
72730168d6 made test more robust by increasing tries for polling and breaking after event occurred 2023-09-07 08:40:13 +02:00
Stefan Dietel
f2e9762bc9 replaced chrono literals because they are not available prior to cpp14 2023-08-28 09:40:41 +02:00
Stefan Dietel
be5206f3c7 explicitly include chrono for monitor test 2023-08-28 08:38:17 +02:00
Stefan Dietel
d8ab66a7af keep _monitor_socket as private member 2023-08-25 16:26:41 +02:00
Stefan Dietel
2dcab86425 add test for using active poller on monitor 2023-08-25 16:19:55 +02:00
Stefan Dietel
224bfca5b7 moved process_event into protected area 2023-08-25 14:18:58 +02:00
Stefan Dietel
f2301a8769 split check_event
made monitor_socket protected
2023-08-25 14:18:32 +02:00
Gudmundur Adalsteinsson
945d60c36b
Merge pull request #606 from stephanschim/ssc/active-poller-fd
Add file descriptor support for poller
2023-07-27 09:02:41 +00:00
Stephan Schim
2533a7e7a2 socket ref or native file descriptor for poller without use of std::variant_t 2023-07-25 19:11:42 +02:00
Gudmundur Adalsteinsson
f9f6b79e18
Merge pull request #608 from LocutusOfBorg/patch-1
Update CMakeLists.txt
2023-07-25 14:26:29 +00:00
Gianfranco Costamagna
9c3991caa8
Update CMakeLists.txt
Require at least cmake 3.11 to run examples, as its required in main CMakeLists.txt file. Newer cmake issue errors with version less then 3.5
See e.g. https://bugs.debian.org/1040723
2023-07-20 11:48:13 +02:00
Stephan Schim
dd67d56eae unit test for active_poller and poller_t support for file descriptors 2023-07-19 17:06:48 +02:00
Stephan Schim
b5ce0ada48 active_poller and poller_t support for file descriptors 2023-07-19 16:09:27 +02:00
Gudmundur Adalsteinsson
c94c20743e
Merge pull request #598 from zeromq/gummif-patch-1
Version 4.10.0
2023-06-20 10:05:35 +00:00
Gudmundur Adalsteinsson
b1bd1410cd
Version 4.10.0 2023-06-20 10:00:01 +00:00
Gudmundur Adalsteinsson
9a655c16f2
Merge pull request #595 from uyha/poller-fd
add function for adding file descriptor to poller_t
2023-06-09 12:26:40 +00:00
Uy Ha
36b6053f92 call the correct function 2023-06-07 14:51:03 +00:00
Uy Ha
f51fa9695a add function for adding file descriptor to poller_t 2023-06-07 14:27:26 +00:00
Gudmundur Adalsteinsson
2e6eff0dcc
Merge pull request #594 from mschubert/master
add DRAFT socket options for libzmq 4.3.2-4
2023-05-30 12:57:26 +00:00
Michael Schubert
21320c8f45 add DRAFT socket options for libzmq 4.3.2-4 2023-05-30 00:12:13 +02:00
Gudmundur Adalsteinsson
c66fc6094b
Merge pull request #581 from Teebonne/patch-1
Fixes warning noexcept
2022-10-16 14:29:17 +00:00
Teebonne
6020e1ab36
ZMQ_NOTHROW for compatibility 2022-10-15 16:04:08 +01:00
Teebonne
fa0f112ac6
Fixes warning
This type of function should not throw, adding noexcept
2022-10-14 01:02:54 +01:00
Gudmundur Adalsteinsson
d96155cbc3
Merge pull request #579 from Teebonne/patch-1
Rebuild with string argument, like the constructor
2022-10-10 21:01:16 +00:00
Teebonne
9fa9fbfddf
Rebuild with string argument, like the constructor
More convenient
2022-10-10 20:08:02 +01:00
Gudmundur Adalsteinsson
2aee6cd8c5
Merge pull request #578 from Teebonne/patch-1
Disambiguation from other max functions
2022-10-10 13:52:09 +00:00
Teebonne
dc151e2ba6
Disambiguation from other max functions
Otherwise it creates an error on some environments
2022-10-10 11:19:49 +01:00
Gudmundur Adalsteinsson
d67b6352b8
Merge pull request #577 from gummif/gfa/release-4.9.0
Version 4.9.0
2022-10-09 14:21:32 +00:00
Gudmundur Adalsteinsson
21607318f6 Version 4.9.0 2022-10-09 14:20:05 +00:00
Gudmundur Adalsteinsson
c25f595506
Merge pull request #576 from gummif/gfa/monitor-test-flaky
Problem: Intermittent monitor test failures
2022-10-09 14:16:48 +00:00
Gudmundur Adalsteinsson
918be1d175 Update deprecated CI OS 2022-10-09 14:02:06 +00:00
Gudmundur Adalsteinsson
326a994c5f Problem: Intermittent monitor test failures
Solution: Do not require delayed connection event
2022-10-09 13:53:58 +00:00
Gudmundur Adalsteinsson
381f699d37
Merge pull request #570 from FrankXie05/vcpkg-instructions
Add vcpkg installation instructions
2022-09-20 22:51:02 +00:00
FrankXie
7d68f82221 correct name 2022-09-19 23:20:36 -07:00
FrankXie
6798618a9d Complete the script name 2022-09-13 23:26:54 -07:00
FrankXie
6604d3fa7d Add vcpkg installation instructions 2022-09-09 00:32:06 -07:00
Gudmundur Adalsteinsson
e70dd63a34
Merge pull request #564 from stephanlachnit/p-add-pkg-config
Add pkg-config file
2022-08-18 13:53:10 +00:00
Gudmundur Adalsteinsson
361156a345
Merge pull request #568 from stephanlachnit/p-fix-pubsub_multithread_inproc
examples: fix missing header
2022-08-12 13:56:50 +00:00
Stephan Lachnit
3f8cc0ae99
examples: fix missing header
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-08-12 13:36:12 +02:00
Nicolas Benes
6f7338cb05
Add pkg-config file 2022-07-29 20:52:55 +02:00
Gudmundur Adalsteinsson
7742eb3693
Merge pull request #559 from nandanvasudevan/master
Updating Catch2 v2 to v2.13.9
2022-06-15 20:34:48 +00:00
nandanv
60aa6ad515 Updating Catch2 v2 to v2.13.9
Fixes issue with MINSIGSTKSZ which is no longer a constant -> https://github.com/JuliaLang/julia/issues/39822

Issue was fixed in https://github.com/catchorg/Catch2/releases/tag/v2.13.5
2022-06-15 20:43:02 +05:30
Gudmundur Adalsteinsson
9070e7c473
Merge pull request #558 from drolevar/master
Add support for ZMQ_ONLY_FIRST_SUBSCRIBE option
2022-06-10 09:45:32 +00:00
Andrij Abyzov
cfb0073717
Add support for ZMQ_ONLY_FIRST_SUBSCRIBE option 2022-06-08 16:04:42 +02:00
Gudmundur Adalsteinsson
26362337a9
Merge pull request #553 from gin-ahirsch/gcc-non14-constexpr
Suppress ZMQ_EXTENDED_CONSTEXPR on gcc with partial C++14 support
2022-05-10 13:05:26 +00:00
Alexander Hirsch
b9f6e06a16 Suppress ZMQ_EXTENDED_CONSTEXPR on gcc with partial C++14 support 2022-05-06 09:09:12 +02:00
Gudmundur Adalsteinsson
a98fa4a91d
Merge pull request #524 from egpbos/patch-1
add link to CPPZMQ tour to README
2021-10-25 21:44:57 +00:00
Patrick Bos
d9a43fb342
add link to CPPZMQ tour to README
Problem: a comprehensive documentation of cppzmq is missing from this repo.

Solution: add a link to the very extensive tour of cppzmq by @brettviren.
2021-10-25 12:27:19 +02:00
Gudmundur Adalsteinsson
c170aabf92
Merge pull request #523 from jasujm/master
Problem: `sock.get(zmq::sockopt::type)` is not typesafe
2021-10-22 14:07:03 +00:00
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