eb796e0ddf
Add bitmanip.BitFlags
2018-09-16 19:07:55 +02:00
5865e355cd
Fix EV_SET 0 length on 32-bit BSD
2018-07-08 12:54:47 +02:00
f51e9405c9
Update socket documentation
2018-06-20 07:59:37 +02:00
52ec88bd04
async: Annotate system tests
2018-05-31 18:43:21 +02:00
c0f9e5be10
Replace std min/max. Fix #35
2018-04-26 10:23:06 +02:00
9b0bc77b7a
async: Remove unused imports
2018-03-21 08:30:47 +01:00
17cb592b13
Replace Queue with DList
2018-03-09 08:19:17 +01:00
8fa033a49f
Fix #32
2018-03-09 05:27:32 +01:00
fbbdb36853
Use defaultAllocator in the async
...
Instead of hard-coded MmapPool.
2018-03-05 17:42:44 +01:00
048ddf21ff
Replace body with do
2018-01-31 12:05:06 +01:00
74b085b88d
Sort imports
2017-10-01 19:03:42 +02:00
9b54017840
Move all windows specific definitions from network.socket to the sys-package
2017-09-15 10:58:23 +02:00
ce425b9ce5
Move simple socket definitions to sys.windows
2017-09-14 07:31:26 +02:00
64f2295d1a
Fix #276
...
Add link to the source file for each module.
2017-08-12 17:01:51 +02:00
e6b91f70cb
Add style checking
...
A lot of tests are disabled. They should be enabled successively.
2017-07-14 00:05:13 +02:00
2c9867c577
Fix generating async docs for different OS
2017-06-25 09:46:02 +02:00
bdf87570e2
Add basic unit tests for the event loop
2017-06-11 09:15:10 +02:00
b1c217e272
Fix kqueue to work with SocketType
2017-05-25 22:21:45 +02:00
8687df1fbb
Define AddressFamily in network.socket
2017-05-21 10:20:57 +02:00
8c42cbfd63
Rename Vector to Array
...
For consistency with Phobos.
2017-05-16 12:12:57 +02:00
Eugen Wissner
d210a39249
Implement IOCPTransport.close and isClosing
2017-02-18 14:10:54 +01:00
e86ff63f91
Add DuplexTransport.close for the selector transport
2017-02-12 18:51:00 +01:00
3454a1965a
Move all IOWatcher members to the transports
2017-02-11 19:47:57 +01:00
c41fa2e98f
Adjust kqueue build
2017-02-10 23:01:33 +01:00
a012ca4003
Remove StreamTransport interface
...
Implement DuplexTransport and SocketTransport separately.
2017-02-10 22:30:12 +01:00
b74e5aa4ee
Make event loop implementations final
2017-02-10 19:19:37 +01:00
b1b652b943
Fix Kqueue buil with the new watcher-transport
2017-02-09 21:40:52 +01:00
530a482402
Inherit IOCPTransport from IOWatcher
2017-02-09 21:40:52 +01:00
f9023cf0ab
Let Transport extend IOWatcher
2017-02-09 21:40:52 +01:00
0e91ea6786
Pass client socket directly to the IOWatcher
2017-02-09 21:40:52 +01:00
63c6226a2a
Implement protocol property for IOCPTransport
2017-02-08 21:21:12 +01:00
48a49c2a2d
Add protocol property to the transport
...
Transport should be protocol aware because it should be possible to
switch the protocol if the operation is supported, for example for upgrading
HTTP to web sockets or HTTP 1.1 to HTTP/2.
2017-02-08 20:04:05 +01:00
43c28b749d
Rename async.loop.Loop.done_ to done
...
Since there is no property with a conflicting name.
2017-02-04 14:55:52 +01:00
fe884541fc
Rename Vector.data to Vector.get
2017-01-13 15:23:42 +01:00
8973bdb2af
Fix if EPOLLIN and EPOLLOUT come together
2017-01-13 10:20:11 +01:00
7bed7f039f
Remove default parameter value from Protocol.disconnected
2017-01-12 18:07:39 +01:00
8ddea0aa46
Loop.maxEvents is const, not inout const
2017-01-12 10:43:02 +01:00
cb6cc65113
async: Switch to the internal use of the vector instead of built-in arrays
2017-01-12 10:17:12 +01:00
4de42ca227
Use only one queue for the async events
2017-01-12 09:09:33 +01:00
ab930657b6
Queue: Leave only enqueue/dequeue/empty/opApply
2017-01-11 18:24:50 +01:00
0156c5a883
Don't allocate watcher queue on the heap
2016-12-25 00:54:05 +01:00
c966b42ac3
Fix FreeBSD build
2016-12-24 22:25:34 +01:00
e32af2d09e
Add scalar type template parameter for buffers
2016-12-19 21:24:28 +01:00
40857e69b7
Add capacity capabilities to the vector
2016-12-18 18:48:25 +01:00
ab9f96e0c7
Replace class Queue with the struct Queue
2016-12-13 10:56:29 +01:00
fa607141e4
Make allocator shared and fix some RefCounted bugs
2016-12-06 21:29:08 +01:00
f7f92e7906
Switch to container.queue. Remove PendingQueue
2016-12-02 19:18:37 +01:00
ed0eb4ac74
Fix epoll connection bugs
2016-11-30 21:53:30 +01:00
192ee20bf7
Remove shared from the allocators
2016-11-30 21:20:18 +01:00
cbeb0395f9
Remove @safe from potentially unsafe code
2016-11-30 16:21:20 +01:00