Well, not much to say - spent some quality time behind my iMac, here's the list of things that got fixed related to HydraNode on Mac OS X:
- Fixed bind() usage on OSX when addr is localhost.
- Use configure to detect the presence of signal.h and execinfo.h.
- Use configure to check for bzero and memset (former is missing on win32 apparently)
- Signal handlers (SIGKILL, SIGTERM, SIGQUIT) now enabled also on OSX.
- Alternative implementation of Log singleton - no longer crashes on OSX.
- Alternative implementation of SchedBase Singleton pattern to also work on OSX.
- Implemented a workaround for boost/placeholders causing multiply defined symbols on OSX.
- Modified Event engine to also work on OSX - namely, standard "Singleton" pattern obviously doesnt work on OSX, and Event engine was also using it. Now Event engine works on OSX, HydraNode is capable of connecting to ed2k, hnsh also works.
HydraNode should compile and run out-of-the-box on darwin now. There are still some subtle bugs left (server.met saving was one I noticed), but the complex issues on OSX port are resolved now.
Madcat, ZzZz