Commit graph

366 commits

Author SHA1 Message Date
Sönke Ludwig fccde9c670 Fix Windows driver name in README. 2016-10-19 14:29:18 +02:00
Sönke Ludwig 5f243cbb18 Improve cross-platform organization and fix compilation on Windows (posix driver). 2016-10-18 11:53:52 +02:00
Sönke Ludwig c12fefadcf Add stub/partial implementation of WinAPI and kqueue based drivers. 2016-10-17 21:59:00 +02:00
Sönke Ludwig 201e4f6077 Make all releaseRef() methods return a Boolean. 2016-10-17 21:53:30 +02:00
Sönke Ludwig e4e78a860a Implement inotify based directory watcher. 2016-10-17 21:42:09 +02:00
Sönke Ludwig 8ecc583e4d Make timer wait semantics consistent with other wait() functions. 2016-10-17 21:41:48 +02:00
Sönke Ludwig 270543d3d8 Implement getaddrinfo_a based DNS lookup for Linux. 2016-10-16 23:01:22 +02:00
Sönke Ludwig bdaff3264f Implement listening for signals based on signalfd(). 2016-10-16 21:06:11 +02:00
Sönke Ludwig 0cce1123fc Add getaddrinfo based DNS lookup implementation. 2016-10-16 14:30:52 +02:00
Sönke Ludwig 2b442f949b Add ChoppedVector.opApply. 2016-10-16 14:30:12 +02:00
Sönke Ludwig 2518a6c301 Add DNS API and update Libasync stub. 2016-10-14 22:24:31 +02:00
Sönke Ludwig c6dec730d8 Split up PosixEventDriver into individual classes. 2016-10-12 22:59:15 +02:00
Sönke Ludwig 2a44817911 Fix safety errors on DMD 2.072.0-b2. 2016-10-12 10:00:31 +02:00
Sönke Ludwig 9f5c71d29a Also test the latest DMD beta. 2016-10-07 20:54:22 +02:00
Sönke Ludwig 7ba3202460 Make all examples/tests single-file packages. 2016-10-07 20:36:09 +02:00
Sönke Ludwig 84e1934e87 Add TCP test. 2016-10-07 20:23:04 +02:00
Sönke Ludwig c526b58866 Fix notification/resource management bugs.
- Enforce that objects stay alive as long as a callback is pending
- Avoid multiple connect callbacks for connectStream
2016-10-07 20:22:39 +02:00
Sönke Ludwig 4db1a68d6e Remove debug output. 2016-10-07 19:48:52 +02:00
Sönke Ludwig 6d9daa2f11 Add USDS test. 2016-10-07 19:40:50 +02:00
Sönke Ludwig 82d03e3e50 Add some remaining TODOs to the README. 2016-10-07 19:40:18 +02:00
Sönke Ludwig 9d833a7a62 Use template alias paramters for callbacks in all socket wrapper functions. 2016-10-07 19:40:01 +02:00
Sönke Ludwig e2814315e4 Fix some socket bugs and improve code. 2016-10-07 19:39:13 +02:00
Sönke Ludwig 45931f2c17 Add a draft version of a managed socket wrapper API. 2016-10-07 12:40:10 +02:00
Sönke Ludwig c4e985b73c Implement UDP socket support. 2016-10-07 12:39:38 +02:00
Sönke Ludwig 2a8c52f347 Add a thread pool based async file implementation. 2016-10-06 22:04:33 +02:00
Sönke Ludwig a2691ff0af Add SmallIntegerSet utility container. 2016-10-06 15:14:18 +02:00
Sönke Ludwig 49116ede13 Fix doc comment formatting. 2016-10-05 21:09:14 +02:00
Sönke Ludwig 95ccc347d5 Add stub libasync support. 2016-10-05 14:38:29 +02:00
Sönke Ludwig b95c9e5bbc Remove redundancies from API function names. 2016-10-05 14:09:51 +02:00
Sönke Ludwig 80ce62aacb Name handle types, to make compiler error debugging easier. 2016-10-05 13:43:18 +02:00
Sönke Ludwig 4758f1f371 Add all remaining driver API methods. 2016-10-05 13:40:38 +02:00
Sönke Ludwig 3868ee64ce Sketch the missing driver API functions and avoid virtual function calls.
The individual interface getters are now overridden in the final sub classes to avoid virtual calls whenever the final type is used.
2016-10-05 13:15:04 +02:00
Sönke Ludwig b1663cc472 Increase line buffer space in examples and add explicit error message. 2016-10-05 12:40:28 +02:00
Sönke Ludwig 8b2c178651 Add missing feature table entry. 2016-10-05 04:21:44 +02:00
Sönke Ludwig e3c4af8433 Split up EventDriver interface into individual sub interfaces. 2016-10-05 04:21:24 +02:00
Sönke Ludwig 021f918236 Update README.md. 2016-06-24 14:22:08 +02:00
Sönke Ludwig 208c9ab345 Consume eventfd data to avoid the select based driver getting stuck. 2016-06-18 08:11:34 +02:00
Sönke Ludwig 6e1690e804 Mention "experimental" in the package description. 2016-06-18 07:37:16 +02:00
Sönke Ludwig d8da9b7b45 Add license and copyright fields. 2016-06-18 07:36:31 +02:00
Sönke Ludwig f612ee0872 Add build badge to readme. 2016-06-18 07:32:17 +02:00
Sönke Ludwig 9f672e75ac Remove build configuration selection. 2016-06-18 07:28:42 +02:00
Sönke Ludwig cf4a5485e9 Add Travis-CI test script. 2016-06-18 07:23:04 +02:00
Sönke Ludwig b05354416f Avoid log noise. 2016-06-17 22:28:52 +02:00
Sönke Ludwig bae3761924 Fix consumed range constructor. 2016-06-17 16:55:59 +02:00
Sönke Ludwig d2477ab4eb Fix triggerEvent and improve logging. 2016-06-17 16:51:58 +02:00
Sönke Ludwig 45c9865b69 Fix timer ID allocation. 2016-06-17 16:49:13 +02:00
Sönke Ludwig 32394bb4c9 Add clearExitFlag(). 2016-06-16 10:42:38 +02:00
Sönke Ludwig 1e27b33f26 Consider fired timers to be events that cause processEvents to return. 2016-06-15 22:18:24 +02:00
Sönke Ludwig 96a8c95b81 Properly round event timeout for the epoll driver.
Avoids continuous 0 msec timeouts just before timers expire.
2016-06-15 22:17:34 +02:00
Sönke Ludwig 80df8e1ce8 Fix out-of-bounds error in ConsumableQueue. 2016-06-15 22:16:49 +02:00