Commit Graph

413 Commits

Author SHA1 Message Date
Jason Rhinelander a0b7c0d2e7
1.2.10 release 2021-12-02 19:20:40 -04:00
Jason Rhinelander f934f1e2d2
1.2.10 release 2021-12-02 19:11:52 -04:00
Jason Rhinelander 7ed2900ae6
Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 2021-12-02 19:11:50 -04:00
Jason Rhinelander 816fd31bf7
Merge remote-tracking branch 'origin/dev' into stable 2021-12-02 19:10:37 -04:00
Jason Rhinelander 3d178ce3ea
Merge pull request #71 from jagerman/disable-ipv6
Disable IPv6 by default
2021-12-02 19:06:50 -04:00
Jason Rhinelander fe8a1f4306
Disable IPv6 by default
libzmq's IPv6 support is buggy when also using DNS hostname: in
particular, if you try to connect to a DNS name that has an IPv6
address, then zmq will *only* try an IPv6 connection, even if the local
client has no IPv6 connectivity, and even if the remote is only
listening on its IPv4 address.

This is much too unreliable to enable by default.
2021-12-02 19:01:21 -04:00
Jason Rhinelander ca69b65e60 1.2.9 proper release 2021-11-30 14:35:04 -04:00
Jason Rhinelander ed1391e012 1.2.9 proper release 2021-11-30 14:32:36 -04:00
Jason Rhinelander 860bd871a3 Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 2021-11-30 14:32:26 -04:00
Jason Rhinelander dd566b99dc Merge remote-tracking branch 'origin/dev' into stable 2021-11-30 14:30:19 -04:00
Jason Rhinelander 3b634329ac Fix libc++
libc++ hates the forward declaration, so just include the <future>
header.
2021-11-30 14:29:24 -04:00
Jason Rhinelander 34b16bfd51 1.2.9 release 2021-11-30 14:25:58 -04:00
Jason Rhinelander d48d2bb9b6 Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 2021-11-30 14:25:56 -04:00
Jason Rhinelander 428def0ae6 Merge branch 'dev' into stable 2021-11-30 14:23:08 -04:00
Jason Rhinelander f88691b7e9 Bump version 2021-11-30 14:22:21 -04:00
Jason Rhinelander 9c022b29de
Merge pull request #69 from jagerman/null-logger
Allow null logger
2021-11-30 14:21:39 -04:00
Jason Rhinelander 4d68868482
Merge pull request #68 from jagerman/start-throws-at-caller
Propagate proxy thread startup exceptions
2021-11-30 14:21:31 -04:00
Jason Rhinelander 430951bf3c
Merge pull request #66 from jagerman/address-hashing
Add std::hash implementation for oxenmq::address
2021-11-30 14:21:24 -04:00
Jason Rhinelander 03749c87f0
Merge pull request #67 from jagerman/ipv6
Enable ipv6 support on sockets
2021-11-30 14:20:43 -04:00
Jason Rhinelander 85d35fa505 Propagate proxy thread startup exceptions
Currently if the proxy thread fails to start (typically because a bind
fails) the exception happens in the proxy thread which is uncatchable by
the caller (and aborts the program).

This makes it nicer by transporting startup exceptions back to the
start() call.
2021-11-30 14:16:17 -04:00
Jason Rhinelander e180187746 Allow null logger
Currently if you pass a nullptr for Logger you get a random
std::bad_function_call called from some random thread the first time a
log message goes out.

This fixes it allow a nullptr that logs nothing.
2021-11-30 14:14:55 -04:00
Jason Rhinelander e382373f2e
Merge pull request #70 from jagerman/internal-rebrand
Rebrand variables LMQ -> OMQ
2021-11-30 14:14:30 -04:00
Jason Rhinelander 375cfab4ce Rebrand variables LMQ -> OMQ
Various things still were using the lmq (or LMQ) names; change them all
to omq/OMQ.
2021-11-30 14:10:47 -04:00
Jason Rhinelander f04bd72a4c Enable ipv6 support on sockets
Without this you cannot bind or connect to IPv6 addresses because,
oddly, libzmq defaults ipv6 to disabled.
2021-11-30 13:50:24 -04:00
Jason Rhinelander 31f64821f8 Add std::hash implementation for oxenmq::address
So that you can store addresses in unordered_sets _maps.
2021-11-28 10:26:35 -04:00
Jason Rhinelander 8925a1b683 use prebuilt builder ci; reformat 2021-10-27 12:17:41 -03:00
Jason Rhinelander a53e1f1786 CI tweaks
- extract submodule commands (so that macOS gets the `--depth=1`)
- put deps into a list instead of a string
- remove extraneous submodule update from build steps
- move focal to after sid
2021-10-25 13:09:42 -03:00
Jason Rhinelander 5f0dfca1da 1.2.8 release 2021-10-21 23:01:12 -03:00
Jason Rhinelander e3f00bc3ba Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 2021-10-21 23:01:10 -03:00
Jason Rhinelander 81451ef095
Merge pull request #63 from oxen-io/dev
1.2.8 release
2021-10-21 22:57:36 -03:00
Jason Rhinelander 39b6d89037 Updates for pyoxenmq 1.0.0
Makes some send/connection options more robust to "do nothing" runtime
value, which the Python wrapper needs.

Also found a bunch of doc typos and fixes.

Bump version to 1.2.8 so that new pyoxenmq can build-depend on it.
2021-10-21 22:56:13 -03:00
Jason Rhinelander f0bb2c3d3f Update ci to use our pre-built images
Also tweak some of the builds a bit, and reformat.
2021-10-18 00:37:17 -03:00
Jason Rhinelander 5342b3b8dd fix lib version 2021-10-16 11:42:58 -03:00
Jason Rhinelander 94959eb0b3 1.2.7 release 2021-10-16 11:38:20 -03:00
Jason Rhinelander ad2aa5f3cf Rediff patches 2021-10-16 11:38:17 -03:00
Jason Rhinelander 3b55438e79 Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 2021-10-16 11:38:16 -03:00
Jason Rhinelander 0c3048d04e Merge branch 'dev' into stable 2021-10-16 11:28:10 -03:00
Jason Rhinelander 09f3de2232 Fix versioning in clang/llvm pipeline functions 2021-10-14 20:08:49 -03:00
Jason Rhinelander 519a107542
Merge pull request #53 from jagerman/allow-disabling-werror
Allow disabling -Werror via a cmake option
2021-10-14 11:43:10 -03:00
Jason Rhinelander 23c2d537a3 Maybe fix macos tests? 2021-10-14 11:10:28 -03:00
Jason Rhinelander 6a386b7d4a Crank clang to 13
Also reformat and move things around a bit.
2021-10-14 11:00:25 -03:00
Jason Rhinelander 5e9b8c0948 Update catch2 to latest 2.x upstream
Should fix build issues with newer libc.
2021-10-13 20:35:37 -03:00
Jason Rhinelander 560d38d069 Allow disabling -Werror via a cmake option 2021-10-13 19:03:18 -03:00
Jason Rhinelander 504d0d10ea
Merge pull request #52 from jagerman/convert-iterators
Make (and use) iterator approach for encoding/decoding
2021-10-13 18:17:28 -03:00
Jason Rhinelander 8bfe85fdd0 Rebuild hirsute package
No changes, but I accidentally pushed a change to the existing package
so this makes sure the proper one goes into the repo.
2021-10-12 13:37:55 -03:00
Jason Rhinelander 7695e770a7 drone: quiet/optimize image setup 2021-10-05 12:27:53 -03:00
Jason Rhinelander 0d0ed8efa9 Fix r narrowing initialization warning when uint_fast16_t is small 2021-10-05 12:21:38 -03:00
Jason Rhinelander 02a542b9c6 Simplify iterator initialization & avoid warnings 2021-10-05 12:12:16 -03:00
Jason Rhinelander 9a8adb5bfd Add methods for unpadded base64 construction
The iterator has them; this adds wrapper methods to access them when not
using the iterator directly.
2021-10-01 18:53:05 -03:00
Jason Rhinelander ee1d69f333 Add b32z/b64 invalid garbage tests
Tests the new restricted added for b32z/b64 trailing crap.
2021-10-01 18:52:30 -03:00