Commit Graph

593 Commits

Author SHA1 Message Date
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
Alberto Invernizzi
3d86f2a288 remove duplicated include Catch 2021-06-30 08:30:36 +02:00
Alberto Invernizzi
eddeaf44ca fix CHECK_THROWS_AS usage
"Note that the exception type is extended with const& and you should not include it yourself."

according to https://github.com/catchorg/Catch2/blob/devel/docs/assertions.md#exceptions
2021-06-30 07:14:13 +02:00
Alberto Invernizzi
b6420aa22f fix header 2021-06-30 07:14:13 +02:00
Alberto Invernizzi
197f8d2516 update cmake for catch2 2021-06-30 07:14:13 +02:00
Gudmundur Adalsteinsson
1ae57c983b
Merge pull request #496 from albestro/update_cmake_ci
Update CMake in CI
2021-06-29 22:03:57 +00:00
Alberto Invernizzi
e748f5f66c wrong variable name 2021-06-28 00:22:15 +02:00
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