| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | Remove NNI_TYPE_OPAQUE altogether. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | | | | This also fixes a couple of minor bugs -- changing the socket name could be incorrect as the termination was not applied properly, and the ZeroTier code got a change -- note that it is only possible in this revised version to pass a single moon ID for ZT orbit. The ZT code is a bit stale, and untested anyway. | |||
| * | Remove untyped nng_socket_get and nng_socket_set. | Garrett D'Amore | 2024-11-03 | |
| | | ||||
| * | Remove untyped nng_dialer_get/set and nng_listener_get/set. | Garrett D'Amore | 2024-11-03 | |
| | | ||||
| * | Remove nng_ctx untyped option functions | Garrett D'Amore | 2024-11-03 | |
| | | ||||
| * | Remove untyped stream option functions. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | The underlying stream APIs have no need for untyped accessors. Another step on the road to removal of NNI_TYPE_OPAQUE. | |||
| * | Remove untyped nng_pipe_get, support for untyped sockaddr set. | Garrett D'Amore | 2024-11-03 | |
| | | | | | This is a step on the path to removing unsafe untyped option accesses. | |||
| * | Add some more tests for sub coverage. | Garrett D'Amore | 2024-11-03 | |
| | | ||||
| * | Replace NNG_OPT_SUB_SUBSCRIBE/UNSUBSCRIBE with functions. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | The main purpose is to eliminate the NNI_TYPE_OPAQUE options, by putting these into their own first class, protocol-specific, functions. | |||
| * | Replace `NNG_OPT_RAW` with `nng_socket_raw`. | Garrett D'Amore | 2024-11-02 | |
| | | | | | Similar to the other identities, this simplifies code a bit. | |||
| * | Replace `NNG_OPT_PROTO`, `NNG_OPT_PROTONAME`, and friends with functions. | Garrett D'Amore | 2024-11-02 | |
| | | | | | | | Socket options were a little awkward, and these are core properties of the socket. Few if any applications need these. This also avoids some dynamic allocations. | |||
| * | Remove unused compat CMakeLists.txt | Garrett D'Amore | 2024-11-02 | |
| | | ||||
| * | Remove nng_ctx/socket_set/get_addr | Garrett D'Amore | 2024-11-02 | |
| | | | | | | Support for setting or getting sockaddrs on sockets or on contexts makes little sense, since these are always transport specific. | |||
| * | NNG_OPT_RECVFD and NNG_OPT_SENDFD converted to functions. | Garrett D'Amore | 2024-11-02 | |
| | | | | | | | | | | | These options are removed entirely, and their functionality is now available via special functions, `nng_socket_get_send_poll_fd` and `nng_socket_get_recv_poll_fd`, making these first class methods on the socket. This eliminates a bit of wasteful code, and provides type safety for these methods. | |||
| * | NNI_GETXX macros are brittle due to casting mistake. | Garrett D'Amore | 2024-11-02 | |
| | | | | | | Essentially, we forgot to dereference as uint8_t *, which can lead to some suprises if these are misused. | |||
| * | Include sys/types.h to resolve possible missing type | Garrett D'Amore | 2024-10-28 | |
| | | ||||
| * | Remove nng_stream_set function family. | Garrett D'Amore | 2024-10-28 | |
| | | | | | This was not really used or useful. | |||
| * | streams: drop some stream set functions | Garrett D'Amore | 2024-10-28 | |
| | | | | | | | | | | | | We don't need nng_stream_set_addr nor nng_stream_set_ptr. These methods are simply not useful for streams, which have their properties established at creation time. Arguably in fact, all of nng_stream_set_* could go away -- the only properties it is implemented for are TCP keepalive and nodelay tuning, and those should be reasonably set by the creator of the stream. | |||
| * | tls: move definitions to core nng.h | Garrett D'Amore | 2024-10-28 | |
| | | | | | | | TLS is not really merely supplemental anymore. Its pretty fundamental. Let's make it accessible directly. This will allow us to define typed property access functions. | |||
| * | tls: Remove the individual TLS configuration options | Garrett D'Amore | 2024-10-28 | |
| | | | | | | | | | This is a breaking change. TLS configuration changes are to be made using TLS configuration objects, and then set on a listener or dialer with NNG_OPT_TLS_CONFIG. This should be a bit less racy, and allows for simpler code. | |||
| * | README doc links | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | Reenable jekyll | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | docs: fix message links | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | docs: fix various links | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | Fix publish dir | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | Need mdbook plugins | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | fix mdbook (try 3) | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | fix mdbook (try 2) | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | fix mdbook (try 1) | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | mdbook action (trial) for publish | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | docs: update nng_sleep_aio for mdbook | Garrett D'Amore | 2024-10-27 | |
| | | ||||
| * | docs: AIO chapter (consumer only) converted to mdbook. | Garrett D'Amore | 2024-10-24 | |
| | | ||||
| * | docs: nng_opts_parse converted to chapter. | Garrett D'Amore | 2024-10-23 | |
| | | ||||
| * | docs: document error codes | Garrett D'Amore | 2024-10-23 | |
| | | ||||
| * | Remove the libnanomsg compatibility layer | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: master cross-reference table | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: URL chapter | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: idmap into its own chapter | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: consolidate misc chapter | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: add memory chapter | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: fix markup snafu in msgm.md | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | fix typo | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: move migration docs into book | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | docs: messages API converted to single chapter. | Garrett D'Amore | 2024-10-22 | |
| | | ||||
| * | doc: remove unused index.md for thr/ | Garrett D'Amore | 2024-10-21 | |
| | | ||||
| * | remove legacy support for configuration of transport options on socket | Garrett D'Amore | 2024-10-20 | |
| | | | | | | | | | | Transport specific options should be configured on the end point. This has the most impact for TLS, as TLS dialers and listeners will need to be allocated apriori, to configure TLS options. Some legacy tests were removed... we're going to remove the legacy libnanomsg compatibility layer anyway. | |||
| * | docs: fix clock cross references | Garrett D'Amore | 2024-10-20 | |
| | | ||||
| * | docs: Move time related functions into single chapter. | Garrett D'Amore | 2024-10-20 | |
| | | ||||
| * | Forgot to commit synch.md | Garrett D'Amore | 2024-10-20 | |
| | | ||||
| * | docs: thread converted to new style | Garrett D'Amore | 2024-10-20 | |
| | | ||||
| * | Use `const` for nng_stat when possible. | Garrett D'Amore | 2024-10-20 | |
| | | | | | | This should help the compiler enforce checks, and may result in better optimizations. | |||
