starting uv conversion. untested. probably going to segfault in 20 places.
tons more conversion. im trying to build the whole thing converted before running any tests so its all fresh in my head. need to quit for the night, stopped somewhere in the middle of signals. got utils, events, tcp, dns, and some signal crap done (as in, replaced le:* with uv:* and re-wired any architectural stuff that needs it (for isntance, libevent uses pull, whilst libuv pushes data out of a socket, forcing us to rework tcp streaming.
wrapping allocation/freeing of req/handles via libuvs size helpers, fixed a lot of segfaults. some other pointer/structure cffi bs fixes as well. delays/timers are working great now (no random segfaults) but TCP is not wanting to write via uv_write. working on it.
got TCP client read/write working! cool shit, man. for some reason, the loop isnt ending after tcp closes though. wtflol. so trying to figure that out. also, havent tested tcp server yet
FIXED event loop hanging open! was an issue with the way timers were being closed/freed. need to make better use of uv_close from now on.
memleak: was allocating shutdown req on close-socket even when not using (force: t). also, matching uv:alloc-uv-buf with new uv:free-uv-buf function
adding actual error reasons in event handler
DNS is working!!
cleanup
cffi tweaks/fixes
tcp server working. that was easy. on to signals...
signal handling in the bag
fixing event-handler error catching and also wrapping conditions in #<DNS-ERROR .... #x12345> BS when printing. makes matching error objects together much easier
converting le call to uv
connect-cb bugfix
more funcall fixes in tcp
removing usec BS
number of improvements in closing/freeing resources. adding notifiers (threaded callback notifications). adding ref/unref (implemented as generic function, methods in event/notifier).
with-delay: making time optional (this has bugged me for a while)
tcp stream tests now passing! had to buffer the output in the stream until the socket connected (and signal to the stream to empty the buffer into the socket when the connect happens) but it works great.