aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* More man page reorganization.Garrett D'Amore2018-02-25
| | | | | | Man pages need special handling, and we can have other kinds of documentation like initial starting guides, etc., which would have different processing applied. So lets move them off into their own directory.
* Better way to handle copyright.Garrett D'Amore2018-02-25
| | | | | | | | We move the copyright info along with trademark info to the refman layout. The source files still have their own inline copyright (now in correct readable form). This leads towards being able to generate that master reference manual.
* Remove some attribute declarations, use build scripts.Garrett D'Amore2018-02-23
| | | | | | | | | This is phase 1. We still have the copyright text in place for now, but I intend to replace that too. The reason for this is to facilitate efforts to build a larger reference manual as a single PDF book file. The other problem I have to solve is the fact that man page chapters wind up creating page breaks, which is not desirable for a book form.
* Supply reference manual information.Garrett D'Amore2018-02-23
|
* Move compatibility header so that <nanomsg/nn.h> works.Garrett D'Amore2018-02-23
| | | | | | Basically, we have moved the compat stuff into a separate directory. Compatibility layer users will have to update their compile flags, but should be able to avoid changing any *source* files with this change.
* Updated rationale to reflect current state, improved markup.Garrett D'Amore2018-02-23
|
* Fix compilation of perf tool (broken by modularity changes.)Garrett D'Amore2018-02-22
|
* Add nng_opts_parse() API for handling command line options.Garrett D'Amore2018-02-22
| | | | | | | | | | | We have implemented this alternative to getopt() so that we can create nngcat. The reason we did not just use getopt() is that getopt() does not understand long options (which nanocat uses, and we want to preserve for compatibility) and getopt() is not available on Windows (and possibly other non-POSIX platforms.) This function handles long and short options, but does not have support for option clustering. It also is threadsafe & reentrant, unlike getopt.
* Add nng_send and nng_recv man pages.Garrett D'Amore2018-02-22
|
* Added pipeline references, adjusted markup for consistency.Garrett D'Amore2018-02-22
|
* Add actual copyright holders to the license (required per MIT text).Garrett D'Amore2018-02-22
|
* Modularize HTTP headers somewhat.Garrett D'Amore2018-02-21
| | | | | | We move the HTTP definitions out of the core nng.h and into a supplemental header. Most of this change was trivial updates to all of the HTTP related manual pages.
* CMake & CPack improvements.Garrett D'Amore2018-02-21
| | | | | | | | | These are incremental updates... we avoid using install() in the subdirectories, so that we can adapt properly to them in the single parent directory. We have started some of the work to improve support for CPack. This is still not yet done, but work in progress.
* Fixes for POSIX pollq structure.Garrett D'Amore2018-02-21
| | | | | | | | | | | | | | It was possible for pollq arm to be called on a node that was removed in some circumstances -- particularly and ep that was closed in the callback. While here, lets use normal booleans for closed state, and only call the arm function (which is not free -- typicall it involves a mutex and may even involve a system call) if we are going to arm some events. We also initialize these things properly, and clean up a stale comment. This work is done to faciliate the kqueue work by @liamstask.
* Fix incorrect cross reference.Garrett D'Amore2018-02-21
|
* Introduce 'porting layer' Public API.Garrett D'Amore2018-02-20
| | | | | | | This introduces portable primitives for time, random numbers, synchronization primitives, and threading. These are somewhat primitive (least common denominiators), but they can help with writing portable applications, especially our own demo apps.
* fixes #238 REP0 documention is unclearGarrett D'Amore2018-02-19
|
* Add dialer documentation.Garrett D'Amore2018-02-16
|
* Fix nng_listen_start to add NNG_FLAG_NONBLOCK.Garrett D'Amore2018-02-16
|
* Add nng_listen* man pages.Garrett D'Amore2018-02-16
|
* Minor markup fixes for TLS pages.Garrett D'Amore2018-02-15
|
* Simply posix pollq architecture somewhat.Garrett D'Amore2018-02-15
| | | | | | | | | | This change is being made to facilitate the work done for the kqueue port. We have created two new functions, nni_posix_pollq_init and nni_posix_pollq_fini, which can be used when creating or destroying the pollq nodes. Then nodes are *added* and *removed* from the pollq structure with nni_posix_pollq_add and nni_posix_pollq_remove. The add function in particular MUST NEVER be called unless the node has a valid file descriptor.
* fixes #234 Investigate enabling more verbose compiler warningsGarrett D'Amore2018-02-14
| | | | | | | We enabled verbose compiler warnings, and found a lot of issues. Some of these were even real bugs. As a bonus, we actually save some initialization steps in the compat layer, and avoid passing some variables we don't need.
* Use POSIX compliant shell syntax.Garrett D'Amore2018-02-14
|
* Backout #224 Does not work in CI, and breaks legacy compatibility.Garrett D'Amore2018-02-08
| | | | | | | It turns out that at least on some systems, the CreateNamedPipeW does not behave as we'd expect. Furthermore, using the Unicode variants seems have a negative impact on compatibility with legacy nanomsg.
* fixes #171 Refactor aio to use generic data fieldsGarrett D'Amore2018-02-08
| | | | | | | | This addresses the use of the pipe special field, and eliminates it. The message APIs (recvmsg, sendmsg) need to be updated as well still, but I want to handle that as part of a separate issue. While here we fixed various compiler warnings, etc.
* Add reqrep demo, but demonstrate zero copy, and sending binary data.Garrett D'Amore2018-02-08
|
* fixes #224 Windows pipe name restrictions, unicodeGarrett D'Amore2018-02-07
| | | | While here, we cleaned up a few other unused variables in the HTTP code.
* Introduce simple HTTP client demo application.Garrett D'Amore2018-02-07
|
* HTTP public API should initialize the library.Garrett D'Amore2018-02-07
|
* Add documentation for HTTP client API.Garrett D'Amore2018-02-07
|
* fixes #231 Need nng_aio_finish routineGarrett D'Amore2018-02-06
|
* Document HTTP server API completely.Garrett D'Amore2018-02-06
|
* Inital swag at HTTP handler docs.Garrett D'Amore2018-02-05
| | | | | We will need to document nng_aio_set_output, and both document and create an nng_aio_finish() function.
* Document nng_aio_xxx asynchronous I/O API.Garrett D'Amore2018-02-05
|
* fixes #228 aio iov should have larger limits (dynamically allocated)Garrett D'Amore2018-02-05
|
* Document the HTTP connection handling API.Garrett D'Amore2018-02-02
|
* Update markup with simpler copyright and new-style asciidoctor.Garrett D'Amore2018-02-02
|
* Add ToC for HTML output (left side).Garrett D'Amore2018-02-02
|
* Document HTTP request/reply structures and handling.Garrett D'Amore2018-02-02
|
* Add, and document, the url->u_requri member.Garrett D'Amore2018-02-02
| | | | | This member is the value passed in actual HTTP protocol, so it is useful with the function nng_http_req_set_uri().
* fixes #174 Define public HTTP client APIGarrett D'Amore2018-02-01
|
* fixes #173 Define public HTTP server APIGarrett D'Amore2018-02-01
| | | | | | | | | | | | | | | | | | | | | | | This introduces enough of the HTTP API to support fully server applications, including creation of websocket style protocols, pluggable handlers, and so forth. We have also introduced scatter/gather I/O (rudimentary) for aios, and made other enhancements to the AIO framework. The internals of the AIOs themselves are now fully private, and we have eliminated the aio->a_addr member, with plans to remove the pipe and possibly message members as well. A few other minor issues were found and fixed as well. The HTTP API includes request, response, and connection objects, which can be used with both servers and clients. It also defines the HTTP server and handler objects, which support server applications. Support for client applications will require a client object to be exposed, and that should be happening shortly. None of this is "documented" yet, bug again, we will follow up shortly.
* Expose scatter/gather I/O vectors; we will use for HTTP API.Garrett D'Amore2018-01-29
|
* fixes #223 Double definition of -DNNG_PLATFORM_POSIX for Darwin platformGarrett D'Amore2018-01-26
|
* fixes #222 Public URL APIGarrett D'Amore2018-01-23
|
* Add message handling man pages.Garrett D'Amore2018-01-23
| | | | | | Note that we're also no longer overriding the source formatter or the icons for new pages, since we can supply that on the command line in the script that generates output.
* Provide for icons and source formatting from script instead of content.Garrett D'Amore2018-01-23
|
* Better PDF output to work around limitations in asciidoctor.Garrett D'Amore2018-01-23
|
* Add description of URL canonicalization.Garrett D'Amore2018-01-23
|