| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | Fixes for PUB/SUB. | Garrett D'Amore | 2017-01-06 | |
| | | | | | | This fixes several issues, and brings PUB/SUB to operational correctness. Included is test code to verify that. | |||
| * | Message API was awkward. | Garrett D'Amore | 2017-01-06 | |
| | | | | | | | | The use of a single function to get both size and length actually turned out to be awkward to use; better to have separate functions to get each. While here, disable some of the initialization/fork checks, because it turns out they aren't needed. | |||
| * | Start of PUB/SUB testing. Fixed a subscribe bug. | Garrett D'Amore | 2017-01-06 | |
| | | ||||
| * | Added test for cancellation, fixed retry bug. | Garrett D'Amore | 2017-01-05 | |
| | | | | | | | On retry we were pushing back to the queue. The problem with this is that we could wind up pushing back many copies of the message if no reader was present. The new code ensures at most one retry is outstanding. | |||
| * | Change a bunch of copyrights to 2017 for work done since the 1st. | Garrett D'Amore | 2017-01-05 | |
| | | ||||
| * | Add nng_shutdown() for sockets to help avoid close race. | Garrett D'Amore | 2017-01-05 | |
| | | | | | Also we added a two phase shutdown for threads. | |||
| * | Fixes for TCP transport. Working now. | Garrett D'Amore | 2017-01-04 | |
| | | ||||
| * | TCP listen and accept test. | Garrett D'Amore | 2017-01-04 | |
| | | | | | There is an occasional use-after-free bug we need to fix still. | |||
| * | Test for duplicate address listen, and fix in TCP for same. | Garrett D'Amore | 2017-01-04 | |
| | | ||||
| * | Starting a common transport testing framework. | Garrett D'Amore | 2017-01-04 | |
| | | ||||
| * | Leak fixes for valgrind. | Garrett D'Amore | 2017-01-02 | |
| | | ||||
| * | Fixes to enable REQ/REP to operate. | Garrett D'Amore | 2017-01-02 | |
| | | | | | | | | This uncovered a few problems - inproc was not moving the headers to the body on transmit, and the message chunk allocator had a serious bug leading to memory corruption. I've also added a message dumper, which turns out to be incredibly useful during debugging. | |||
| * | Begin testing REQ/REP. | Garrett D'Amore | 2017-01-02 | |
| | | ||||
| * | Valgrind test fixes (leaks due to unreaped threads.) | Garett D'Amore | 2017-01-01 | |
| | | ||||
| * | Stack related fixes for valgrind platform test. | Garrett D'Amore | 2017-01-01 | |
| | | ||||
| * | Fix possible race in platform test. | Garrett D'Amore | 2017-01-01 | |
| | | ||||
| * | New thread infrastructure -- not used anywhere yet, but tested. | Garrett D'Amore | 2017-01-01 | |
| | | ||||
| * | One more c99 thing. | Garrett D'Amore | 2016-12-31 | |
| | | ||||
| * | Can't use C99 in tests either. | Garrett D'Amore | 2016-12-31 | |
| | | ||||
| * | Richer tests and fixes for idhash. Also dynamically allocate idhash. | Garrett D'Amore | 2016-12-29 | |
| | | ||||
| * | Test suite for idhash, fix symbol errors, and value changing. | Garrett D'Amore | 2016-12-29 | |
| | | ||||
| * | Send and receive now work. | Garrett D'Amore | 2016-12-27 | |
| | | | | | | | This fixes a few core issues, and improves readability for the message queue code as well. inproc delivery of messages works now. | |||
| * | Buffer resizing implemented. (Needed for single threaded inproc tests.) | Garrett D'Amore | 2016-12-27 | |
| | | ||||
| * | Substantial fixes for listen & dialers. | Garrett D'Amore | 2016-12-25 | |
| | | | | | | | | | | | At this point listening and dialing operations appear to function properly. As part of this I had to break the close logic up since otherwise we had a loop trying to reap a thread from itself. So there is now a separate reaper thread for pipes per-socket. I also changed lists to be a bit more rigid, and allocations now zero memory initially. (We had bugs due to uninitialized memory, and rather than hunt them all down, lets just init them to sane zero values.) | |||
| * | New dial/listen API. Dialing might work now. | Garrett D'Amore | 2016-12-25 | |
| | | | | | | | | | | In order to give control over synchronous vs. async dialing, we provide a flag to indicate synchronous dialing is desired. (Hmm. Should we reverse the default sense?) We extend listen to have the same flag. Logic is moved to endpt.c since dialing is really and endpoint specific operation. There are other minor related bug fixes here too. | |||
| * | Expose nng_sendmsg. | Garrett D'Amore | 2016-12-24 | |
| | | ||||
| * | Getopt implemented (and minimal test). | Garrett D'Amore | 2016-12-24 | |
| | | ||||
| * | Add thread & condition variable checks to platform tests. | Garrett D'Amore | 2016-12-23 | |
| | | ||||
| * | Coarse clocks can return exact times. | Garrett D'Amore | 2016-12-23 | |
| | | ||||
| * | Fix for incorrect nni_usleep(), found with newly created platform tests. | Garrett D'Amore | 2016-12-23 | |
| | | ||||
| * | nng_setopt works (rcvtimeout, etc.) External API adjustments. | Garrett D'Amore | 2016-12-23 | |
| | | | | | | | | The external API now uses simpler names for various things, notably we ditch the whole nng_socket_xx prefix. For example, intstead of nng_socket_create, we just use nng_open(). There are no more nng_socket_xxx calls. | |||
| * | Try to satisfy uncrustify version differences. Make test use verbose by ↵ | Garrett D'Amore | 2016-12-23 | |
| | | | | | default. | |||
| * | Some tests around recvmsg (no senders yet). Fixes for some edge cases. | Garrett D'Amore | 2016-12-23 | |
| | | ||||
| * | Initial tests -- open & close work (no pipes or endpoints yet). | Garrett D'Amore | 2016-12-23 | |
| | | ||||
| * | More C99-ification. Also end the _t thing for types (ISO C rules). | Garrett D'Amore | 2016-12-22 | |
| | | ||||
| * | Updates to reflect new external convey framework. | Garrett D'Amore | 2016-12-20 | |
| | | ||||
| * | Fix the definition of Main() in convey.h | Garrett D'Amore | 2016-12-19 | |
| | | ||||
| * | fix windows compilation bug (colon instead of semicolon) | Garrett D'Amore | 2016-12-19 | |
| | | ||||
| * | test_main in terms of test_main_group and test_group. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Minor bug fixes to test.h and co. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Nicer convey API - more closely mirrors the Go one. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Remove stale clean up handler bits. Attempt to provide Win32 API support. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Added support for test_reset(), better than cleanup or other hacks. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Suppress exposure of contexts to code under test. | Garrett D'Amore | 2016-12-18 | |
| | | | | | Fix timing display, and other output bugs. | |||
| * | Add test groups, free memory used by tests. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | Added linked list test suite. | Garrett D'Amore | 2016-12-18 | |
| | | ||||
| * | So "test" target now does something useful. | Garrett D'Amore | 2016-12-17 | |
| | | ||||
| * | Test framework is dev-complete. More functionality may be added later. | Garrett D'Amore | 2016-12-17 | |
| | | | | | Also, the current code is not Win32 safe. | |||
| * | Nicer test framework -- more internals in the .C, nicer and more correct | Garrett D'Amore | 2016-12-17 | |
| | | | | | test result output. | |||
| * | Early test framework, modeled on GoConvey. | Garrett D'Amore | 2016-12-15 | |
