Commit Graph

300 Commits

Author SHA1 Message Date
Tony Garnock-Jones c42deefbef New approach to node representation; sexp utilities; beginnings of test cases 2011-01-02 11:49:56 -05:00
Tony Garnock-Jones f1ab541e57 Yield between handled messages in relay 2011-01-02 11:49:05 -05:00
Tony Garnock-Jones 0a0b458057 Switch to hex representation of UUIDs for now 2011-01-02 11:46:59 -05:00
Tony Garnock-Jones e7fa9b1642 Clear link pointer on dequeue 2011-01-02 11:44:31 -05:00
Tony Garnock-Jones 6d01ea359a Add sexp_write_flush, and use it to trace messages 2011-01-02 10:30:41 -05:00
Tony Garnock-Jones 1994245cea Add std{in,out,err}_h 2011-01-02 10:30:17 -05:00
Tony Garnock-Jones 5e7a6efeb8 Warn when deleting an IOHandle with waiting processes 2011-01-02 10:29:47 -05:00
Tony Garnock-Jones f044c3b8ff Compile on linux 2011-01-01 21:31:11 -05:00
Tony Garnock-Jones 5963d884bc An additional assertion in DECREF 2011-01-01 21:31:04 -05:00
Tony Garnock-Jones dae85b8b15 Avoid stompling on n->names during unbind_all 2011-01-01 21:30:24 -05:00
Tony Garnock-Jones f67d46efdb Link to ossp-uuid on linux 2011-01-01 21:30:03 -05:00
Tony Garnock-Jones ca7a7eb433 Little test stub 2011-01-01 21:14:43 -05:00
Tony Garnock-Jones fd85e4d243 Initial attempt at queue implementation 2011-01-01 21:14:37 -05:00
Tony Garnock-Jones 957108f8a2 Sexp utilities 2011-01-01 21:14:17 -05:00
Tony Garnock-Jones c4999306e1 Cosmetic 2011-01-01 21:13:58 -05:00
Tony Garnock-Jones 99ab1d60aa Add info() on bind/unbind of nodes 2011-01-01 21:13:41 -05:00
Tony Garnock-Jones 54c13c9694 Add factory message handler 2011-01-01 21:13:21 -05:00
Tony Garnock-Jones 9e0191b274 Add suspend() and resume() to harness 2011-01-01 21:12:54 -05:00
Tony Garnock-Jones a5c2ec5830 Comment out scheduler noise 2011-01-01 21:12:35 -05:00
Tony Garnock-Jones 6c9c026a20 Add queue_append() 2011-01-01 21:11:45 -05:00
Tony Garnock-Jones 35f42c110a Link against libuuid (OSSP) 2011-01-01 21:11:25 -05:00
Tony Garnock-Jones e055c7fb82 Inline cmsg_cstring_bytes; add gen_uuid 2011-01-01 21:11:00 -05:00
Tony Garnock-Jones 006168b544 Tweak comments 2011-01-01 17:38:50 -05:00
Tony Garnock-Jones 7a85e75b3d Relay node implementation; inlineize sexp macros 2011-01-01 17:29:38 -05:00
Tony Garnock-Jones a28ddbe9aa Configs for static linking 2011-01-01 11:29:29 -05:00
Tony Garnock-Jones ce5de71e11 sexp_assoc 2011-01-01 10:15:01 -05:00
Tony Garnock-Jones 53609faa82 Correct syntax error in sexp_string 2010-12-31 17:26:54 -05:00
Tony Garnock-Jones a2fabf1605 Make IOHandles shareable 2010-12-31 17:26:39 -05:00
Tony Garnock-Jones e491109d98 Analyze source dependencies in Makefile 2010-12-30 13:32:50 -05:00
Tony Garnock-Jones 0f57884762 Fix refcount error 2010-12-30 00:34:18 -05:00
Tony Garnock-Jones ef32c01e67 Add release_sexp_cache() to help valgrind out; call it on EOF 2010-12-30 00:32:29 -05:00
Tony Garnock-Jones 66c19fea96 Valgrind found this uninitialized block of memory 2010-12-30 00:31:25 -05:00
Tony Garnock-Jones 420d53c511 Add interrupt_harness() 2010-12-30 00:30:54 -05:00
Tony Garnock-Jones dff260f74a Fix check on result of sexp_write() 2010-12-29 23:58:17 -05:00
Tony Garnock-Jones a3ebf4df37 Steps toward node, factory and relay functionality. 2010-12-29 23:56:31 -05:00
Tony Garnock-Jones 17edf15cbd Add hashtable_contains() 2010-12-29 23:55:15 -05:00
Tony Garnock-Jones 23cb773630 Add sexp_read_atom() 2010-12-29 18:34:09 -05:00
Tony Garnock-Jones 20ef8dfd46 Permit whitespace between display hint and display body 2010-12-29 18:23:01 -05:00
Tony Garnock-Jones 84219ff9dc Hashtable impl; make cmsg_bytes_t hold chars; SPKI SEXP impl 2010-12-29 18:12:38 -05:00
Tony Garnock-Jones f395f95fd3 Split out queue data structure 2010-12-29 11:35:02 -05:00
Tony Garnock-Jones 78fc0a40a0 Remove some info() scheduling noise 2010-12-29 09:21:58 -05:00
Tony Garnock-Jones 615dce02b1 Looks like 10.5 has more aggressive stack requirements than 10.6. 2010-12-29 09:11:53 -05:00
Tony Garnock-Jones 2e43b12616 Add nap(); fix blocking bugs on write flush 2010-12-27 22:49:28 -05:00
Tony Garnock-Jones e37e81599b Stub connection handler 2010-12-27 18:51:22 -05:00
Tony Garnock-Jones 63ee4ecea3 endpoint_name needs to be reentrant and stack-safe 2010-12-27 18:50:58 -05:00
Tony Garnock-Jones 0a895ac5c0 IO framework in harness 2010-12-27 18:50:42 -05:00
Tony Garnock-Jones e20c8d6dd1 Turns out stack size on linux was too small. 2010-12-27 18:50:12 -05:00
Tony Garnock-Jones 920d5aaaf9 Improve BCHECK and PCHECK macros 2010-12-27 18:49:58 -05:00
Tony Garnock-Jones 0c97b76064 Fix EMPTY_BYTES definition 2010-12-27 18:49:37 -05:00
Tony Garnock-Jones f966b37d7a Initial commit 2010-12-27 16:56:42 -05:00