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