Skip to content

Releases: dallison/cpp_toolbelt

Release 2.1.0

01 May 23:49
7616ac7

Choose a tag to compare

Make multicast-group helpers and vsock fallback portable to QNX (#20)

* Make multicast-group helpers and vsock fallback portable to QNX

Two small portability fixes so this builds on QNX (and stays building
on macOS / BSDs):

  * UDPSocket::JoinMulticastGroup / LeaveMulticastGroup used the
    Linux-only struct ip_mreqn (with imr_ifindex).  Switch to the
    POSIX-portable struct ip_mreq.  Behaviour is unchanged on Linux:
    the previous code passed imr_ifindex = 0, which is equivalent to
    INADDR_ANY in ip_mreq.imr_interface.

  * The fallback definition of struct sockaddr_vm in sockets.h had a
    typo `_APPLE__` (single leading underscore).  This is harmless on
    Apple, where <sys/vsock.h> is used instead, but on a system that
    actually hits the fallback (e.g. QNX) a true `__APPLE__` macro
    would never have inserted svm_len.  Fix the spelling.

Made-with: Cursor

* Fix bazel test //...

---------

Co-authored-by: Dave Allison <dave.allison@getcruise.com>

Release 2.0.2

20 Apr 21:51
c1c5cbd

Choose a tag to compare

What's Changed

Full Changelog: 2.0.1...2.0.2

Release 2.0.1

10 Mar 23:52

Choose a tag to compare

Fixes pedantic compiler warnings.
Update to new coroutines library

Full Changelog: 2.0.0...2.0.1

Release 2.0.0

27 Jan 02:29

Choose a tag to compare

What's Changed

  • Renamed module to cpp_toolbelt for BCR
  • Use const Coroutine pointers by @dallison in #17
  • Update to use coroutines from the bazel central registry by @dallison in #18

Full Changelog: 1.4.8...2.0.0

Virtual sockets with no header file

25 Sep 01:03
18aa1fd

Choose a tag to compare

Allows missing vm sockets header files.

Virtual sockets

25 Sep 01:00

Choose a tag to compare

Virtual sockets Pre-release
Pre-release

Support for missing vm sockets headers

Older kernels don't have VM sockets

25 Sep 00:39
30edc0f

Choose a tag to compare

Pre-release

Getting

toolbelt/sockets.h:20:10: fatal error: 'linux/vm_sockets.h' file not found
#include <linux/vm_sockets.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.

Trying Mikael's fix.

Minor changes to sockets

03 Sep 16:24
7659b3d

Choose a tag to compare

Merges Mikael's code to handle Unix socket names and removes some constructors for classes.

Virtual sockets and mac time function

28 Aug 20:13

Choose a tag to compare

Partially working virtual sockets for subspace

Changed mac os time function.

Coroutine-aware pipe read/write functions

24 Aug 19:44
09b2193

Choose a tag to compare

This adds coroutine awareness to pipe read/write functions and a bunch of tests.