| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | Include time.h for getms. | Garrett D'Amore | 2017-01-17 | |
| | | ||||
| * | Public pipe and endpoint APIs use IDs instead of pointers. | Garrett D'Amore | 2017-01-17 | |
| | | ||||
| * | Added dynamic ID generation & management for idhash tables. | Garrett D'Amore | 2017-01-17 | |
| | | | | | | | This will allow us to use idhash tables to manage id handles a bit more flexibly. For example, sockets, pipe IDs, etc. can all be generated, and we can use hash tables to ensure that values do not collide. | |||
| * | Whoops, Windows color fixes, 2nd pass. | Garrett D'Amore | 2017-01-16 | |
| | | ||||
| * | External event API for send/recv implemented. | Garrett D'Amore | 2017-01-16 | |
| | | | | | | | This was the main blocker, I think, for the nanomsg legacy compat shim. Now that we have this, it should be relatively straight-forward to implement the legacy nanomsg API, including the SENDFD, RECVFD thing. | |||
| * | Import updated C-Convey (for color on Windows). | Garrett D'Amore | 2017-01-16 | |
| | | ||||
| * | Fix pipeline test failure. | Garrett D'Amore | 2017-01-16 | |
| | | | | | | | | | | I think there are a couple of linked issues; it really comes down to the fact that various threads start up asynchronously, and might not have gotten to the point where they are ready to receive. Making matters worse is the fact that when the message queues are unbuffered, the absence of a reader *right then* can cause pushback, which causes the load balance test to pass over a queue it really shouldn't. | |||
| * | Fixes for 32-bit Windows compilation. | Garrett D'Amore | 2017-01-16 | |
| | | ||||
| * | Various complaints found in AppVeyor build. | Garrett D'Amore | 2017-01-16 | |
| | | ||||
| * | Compile static *and* shared libraries. | Garrett D'Amore | 2017-01-15 | |
| | | | | | | Test code needs to use the static libraries so that they can get access to the entire set of symbols, including private ones that are not exported. | |||
| * | Use Windows tick clock instead of Performance counters. | Garrett D'Amore | 2017-01-14 | |
| | | | | | | | | | | | | | Since we use the tick counter to sleep, we should use the same clock for validation. The problem is that the high performance tick counter on the CPU may be slightly out of agreement with the windows clock. Furthermore, the tick counter is probably lots faster to retrieve since it is already updated, and needn't be recalculated each time. (We should consider just switching to millisecond clock resolution internally as well. It turns out that I don't think that timers that are shorter than 1ms are very useful.) | |||
| * | Many fixes for Windows. It compiles, and some tests work. | Garrett D'Amore | 2017-01-13 | |
| | | | | | | | Windows is getting there. Needs a couple of more more hours to enable everything, especially IPC, and most of the work at this point is probably some combination of debug and tweaking things like error handling. | |||
| * | Add IPC (UNIX domain sockets) for POSIX, and test suite. | Garrett D'Amore | 2017-01-12 | |
| | | ||||
| * | Fixes for survey test. (We need to complete the connection first.) | Garrett D'Amore | 2017-01-12 | |
| | | ||||
| * | Bus working, and added bus test. | Garrett D'Amore | 2017-01-11 | |
| | | ||||
| * | Cleanup debug. | Garrett D'Amore | 2017-01-09 | |
| | | ||||
| * | (Briefly) debug output for hang in survey test. | Garrett D'Amore | 2017-01-09 | |
| | | ||||
| * | Add survey test (and fix survey pattern). | Garrett D'Amore | 2017-01-09 | |
| | | | | | | | | As part of this, we've added a way to unblock callers in a message queue with an error, even without a signal channel. This was necessary to interrupt blockers upon survey timeout. They will get NNG_ETIMEDOUT, but afterwards callers get NNG_ESTATE. | |||
| * | Fix small message leak in pipeline test. | Garrett D'Amore | 2017-01-07 | |
| | | ||||
| * | Add another dial to ensure that accept loop has made progress. | Garrett D'Amore | 2017-01-07 | |
| | | ||||
| * | Pipeline fixes. | Garrett D'Amore | 2017-01-07 | |
| | | ||||
| * | Pipeline test. | Garrett D'Amore | 2017-01-07 | |
| | | ||||
| * | Fix startup race in the tests. | Garrett D'Amore | 2017-01-06 | |
| | | | | | | Pub pipes might not be connected yet. Do the dial from the pub side synchronously, and we can be sure no data will be lost. | |||
| * | Bump the timeouts even more for Travis. | Garrett D'Amore | 2017-01-06 | |
| | | ||||
| * | Bump timeout for crummy Travis -- 50 ms isn't enough! | Garrett D'Amore | 2017-01-06 | |
| | | ||||
| * | Fix for valgrind leak. | Garrett D'Amore | 2017-01-06 | |
| | | ||||
| * | Bunch of copyright fixes. | Garrett D'Amore | 2017-01-06 | |
| | | ||||
| * | 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 | |
| | | ||||
