aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fixes #148 man pages for req/rep protocol neededGarrett D'Amore2017-11-04
|
* fixes #146 man pages for surveyor protocol neededGarrett D'Amore2017-11-03
|
* fixes #147 surveyor protocol needs NNG_OPT_MAXTTLGarrett D'Amore2017-11-03
|
* fixes #143 Protocols and transports should be "configurable"Garrett D'Amore2017-11-02
| | | | | | | | | | | | | | | | | | | | This makes all the protocols and transports optional. All of them except ZeroTier are enabled by default, but you can now disable them (remove from the build) with cmake options. The test suite is modified so that tests still run as much as they can, but skip over things caused by missing functionality from the library (due to configuration). Further, the constant definitions and prototypes for functions that are specific to transports or protocols are moved into appropriate headers, which should be included directly by applications wishing to use these. We have also added and improved documentation -- all of the transports are documented, and several more man pages for protocols have been added. (Req/Rep and Surveyor are still missing.)
* Add nng_bus man page.Garrett D'Amore2017-10-31
|
* fixes #137 Remove public access to numeric protocolsGarrett D'Amore2017-10-31
|
* Fix front matter for man pages.Garrett D'Amore2017-10-30
|
* Updated links to docs.Garrett D'Amore2017-10-30
|
* Minor markup fixes.Garrett D'Amore2017-10-30
|
* New strerror document.Garrett D'Amore2017-10-30
|
* Start of API landing page.Garrett D'Amore2017-10-30
|
* fixes #136 consider eliminating nng_shutdownGarrett D'Amore2017-10-30
|
* Simplify pollq_add, use SO_NOSIGNAL option on macOS.Garrett D'Amore2017-10-30
|
* Add conceptual overview doc.Garrett D'Amore2017-10-26
|
* Eliminate the unused DRYRUN flag.Garrett D'Amore2017-10-26
|
* Minor format changes, tie the sleep in preview to script exit.Garrett D'Amore2017-10-26
|
* Documentation updates.Garrett D'Amore2017-10-26
| | | | | | | | | This adds a few man pages, fixes the content and formatting on a few others. It also adds two utility scripts for me to use, publish.sh, which I use to publish updates to the gh-pages branch, and preview.sh, which I use to look at markup without cluttering my work directory.
* fixes #46 make device() use aios directlyGarrett D'Amore2017-10-26
| | | | | | | | | | This eliminates the separate threads used for devices, letting them benefit from the new aio framework. It also eliminates the legacy nni_sock_sendmsg and nni_sock_recvmsg internal APIs. It would appear that there is an opportunity here to provide asynchronous device support out to userland as well, exposing an aio to them. That work is deferred to later.
* fixes #45 expose aio to applicationsGarrett D'Amore2017-10-25
| | | | | | | | | | While here we added a test for the aio stuff, and cleaned up some dead code for the old fd notifications. There were a few improvements to shorten & clean code elsewhere, such as short-circuiting task wait when the task has no callback. The legacy sendmsg() and recvmsg() APIs are still in the socket core until we convert the device code to use the aios.
* Spelling fixes (thanks ispell).Garrett D'Amore2017-10-24
|
* Various man page fixups, add inproc header.Garrett D'Amore2017-10-24
| | | | | | | We added nng_inproc man page, and a header with an explicit registration method for it. We also fixed up the markup on several other pages, and corrected the include statements for nng_zerotier.
* fixes #132 Implement saner notification for file descriptorsGarrett D'Amore2017-10-24
| | | | | | | | | This eliminates the "quasi-functional" notify API altogether. The aio framework will be coming soon to replace it. As a bonus, apps (legacy apps) that use the notification FDs will see improved performance, since we don't have to context switch to give them a notification.
* Doc directory moved to make github pages happy.Garrett D'Amore2017-10-24
|
* Correct confusion about node vs. network numbers (bit sizes).Garrett D'Amore2017-10-24
|
* fixes #112 Need to move some stuff from socket to message queuesGarrett D'Amore2017-10-23
|
* fixes #127 Bad format TCP address causes null pointer exceptionGarrett D'Amore2017-10-23
| | | | I've added some tests to validate this too.
* Add socket address details for nng_zerotier(7).Garrett D'Amore2017-10-20
|
* Start of man-page documentation.Garrett D'Amore2017-10-20
| | | | | | | This includes a brief summary page and the nng_zerotier man page. We write all documentation in ASCIIDOC, and our hope is that this initial effort will inspire others to create amazing documentation for nng.
* And another compile time regression.Garrett D'Amore2017-10-19
|
* POSIX fixups for certain platforms.Garrett D'Amore2017-10-19
|
* Eliminate stale nng_clock function.Garrett D'Amore2017-10-19
|
* fixes #123 latency tests with wrong message sizeGarrett D'Amore2017-10-19
|
* fixes #84 Consider using msec for durationsGarrett D'Amore2017-10-19
| | | | | | There is now a public nng_duration type. We have also updated the zerotier work to work with the signed int64_t's that the latst ZeroTier dev branch is using.
* fixes #120 nng_sockaddr options initialized with garbage dataGarrett D'Amore2017-10-19
|
* fixes #114 docs: Major differences and motivation vs. nanomsgGarrett D'Amore2017-10-18
|
* fixes #116 Add missing ::nng_pipe_getopt_usec implementationGarrett D'Amore2017-10-18
|
* fixes #110 Cancellation race in ZeroTierGarrett D'Amore2017-10-10
|
* fixes #92 Support ZT federations (moons)Garrett D'Amore2017-10-10
| | | | This also fixes a fence post error in the ephemeral state handling .
* New platform API for storage methods.Garrett D'Amore2017-10-09
| | | | | | | | | | | This includes converting the ZeroTier transport to use these. The new API supports file creation, retrieval, and deletion. It also supports directory methods for traversal, creation, and deletion. It also has a few methods to obtain well-known directories like $TMPDIR and $HOME. A rich test suite for this functionality is added as well.
* Add NNG_OPT_DOMAIN and NNG_OPT_SOCKNAME support for legacy compat.Garrett D'Amore2017-10-06
| | | | | | | | The NNG_OPT_SOCKNAME option is settable, to a limit of 64 bytes. The NNG_OPT_DOMAIN is read-only, but changes to match the setting of the NNG_OPT_RAW field. New applications should not use the NNG_OPT_DOMAIN option -- it is provided solely for use with the legacy NN_DOMAIN option in the compatibility layer.
* Improve UDP test coverage, fix numerous issues found.Garrett D'Amore2017-10-05
| | | | | | | | | | | | | | | | We introduced richer, deeper tests for UDP functionality. These tests uncovered a number of issues which this commit fixes. The Windows IOCP code needs to support multiple aios on a single nni_win_event. A redesign of the IOCP handling addresses that. The POSIX UDP code also needed fixes; foremost among them is the fact that the UDP file descriptor is not placed into non-blocking mode, leading to potential hangs. A number of race conditions and bugs along the implementation of the above items were uncovered and fixed. To the best of our knowledge the current code is bug-free.
* fixes #99 Still seeing segfaults in pair1 (rarely)Garrett D'Amore2017-10-03
|
* fixes #5 Address propertiesGarrett D'Amore2017-10-03
| | | | | | | | | Added TCP socket address properties on pipes. This adds the plumbing for the various platform specifics, and includes both v4 and v6 handling. We've included a TCPv6 test as well.
* Added more complete tests, and changes to property handling.Garrett D'Amore2017-10-02
| | | | | | | | | | | | | | | | We allow some properties to be set on endpoints after they are started; transports now responsible for checking that. (The new values will only apply to new connections of course!) We added short-hand functions for pipe properties, and also added uint64_t shorthands across the board. The zerotier documentation got some updates (corrections). We have also added a separate header now for the ZT stuff. Also, dialers and listeners do not intermix anymore -- we test that only a dialer can be used with setting dialer options, and likewise for listeners.
* Add support for ZT sockaddr properties (pipe).Garrett D'Amore2017-09-30
| | | | Also add a generic property test function to trantest.
* Validate reconnect works after pipe close.Garrett D'Amore2017-09-30
|
* Windows UDP support.Garrett D'Amore2017-09-29
| | | | | | | This implements the basic UDP functionality for Windows (required for ZeroTier for example). We have also introduced a UDP test suite to validate that this actually works. While here a few Windows compilation warnings / nits were fixed.
* fixes #91 pair1 segfault seenGarrett D'Amore2017-09-28
|
* fixes #93 ZT physicalMTU parameter vanishedGarrett D'Amore2017-09-28
| | | | | | | fixes #94 don't allocate ZT send frame on stack Note that due to some other bug (in ZeroTier itself?) this fails to function unless ZT was built with -DZT_DEBUG=1 on macOS.
* fixes #85 Protocols need to set msg pipeGarrett D'Amore2017-09-27
| | | | | | | We looked at other options, but this is the least intrusive, even though it means that the protocols have to set it up. The reason is that transports have different methods of receiving messages, and there is no framework code between the transport and the protocol.