e1964e47a5
Merge branch 'master' into utf8string
2017-04-08 08:44:21 +02:00
6e2ce5d686
Remove opApply from containers
...
opApply requires additional overloads for the const containers (with a
const delegate). If using a templated opApply foreach cannot infer the
types for the variables. foreach with one argument still works
(opIndex() is used), for more complex cases slicing should be used.
2017-04-07 16:00:50 +02:00
ba6bf554fb
Make SList range public
2017-04-07 15:17:14 +02:00
b1d2b9bd9e
Fix Vector.insertAfter/Before an empty range
2017-04-04 15:11:14 +02:00
4cd6126d6b
Fix SList documentation for insertFront and insertBefore
2017-03-29 17:22:25 +02:00
b870179a35
Move bitvector to another branch till it is finished
2017-03-29 11:17:03 +02:00
aabb4fb534
Add SList.opAssign
2017-03-29 10:35:45 +02:00
4d8b95812e
Implement opAssign for the Vector
2017-03-28 20:42:42 +02:00
49cae88645
Add insertBefore and remove to SList
2017-03-24 20:54:28 +01:00
d0ada39fa7
Add Mallocator as an alternative allocator
2017-03-18 08:07:01 +01:00
f4145abfd1
Add SList constructors
2017-03-09 06:07:23 +01:00
093d499729
Fix element order inserted from a range into list
2017-03-08 07:12:23 +01:00
f90a03501b
Move BitVector from the crypto branch
2017-03-02 11:27:26 +01:00
c6a99b114e
SList.insertFront for ranges
2017-03-01 19:23:54 +01:00
43319e4e3a
Initialization from a UTF-16 string
2017-02-27 11:27:24 +01:00
33dbf042c2
Add dchar constructor
2017-02-26 22:40:27 +01:00
3c23aca6a6
Improve Vector module and reserve documentation
2017-02-20 12:03:49 +01:00
885fca9b5e
Add String.reserve and shrink
2017-02-20 12:01:15 +01:00
f4b90d8b51
Add string skeleton
2017-02-10 19:22:46 +01:00
b74e5aa4ee
Make event loop implementations final
2017-02-10 19:19:37 +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
b2baba9237
SList: Add length and opEquals
2017-01-25 19:41:05 +01:00
a48d9cb739
Add range support for SList
2017-01-24 08:20:07 +01:00
a7206cbd02
Fix #4
2017-01-22 10:48:34 +01:00
1450a6adfe
Vector.insertBack: Accept by value and by ref
2017-01-20 05:40:28 +01:00
5fa9bd7b49
Rename Allocator.expand to reallocateInPlace
...
Rename and extend Allocator.expand to reallocateInPlace. The problem is
that realloc for example doesn't guarante that the shrinking of the
memory block won't cause address change. So not only expanding should
have "in place" version, but the shrinking as well.
2017-01-18 09:33:39 +01:00
c7eb233fc7
Make passed length parameter const
2017-01-16 10:56:45 +01:00
20c8b659d1
Remove mutation methods from vector range
...
in favor of std.algorithm.mutation.
2017-01-16 09:02:00 +01:00
4ea9c2b740
Vector: Reuse available methods
2017-01-15 08:38:19 +01:00
f5fe7bec4a
Queue optimization. Fix #5
2017-01-14 21:27:07 +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
ab930657b6
Queue: Leave only enqueue/dequeue/empty/opApply
2017-01-11 18:24:50 +01:00
291920b479
Vector constructors for initializing from a vector
2017-01-10 06:34:53 +01:00
999c9bdb0f
Vector: remove core.stdc.string import
2017-01-09 19:52:39 +01:00
405b6d9f9f
Accept only ranges for slicing assignment
2017-01-09 19:32:51 +01:00
87b74b2542
Fix reallocating the vector
2017-01-09 17:03:09 +01:00
d6514cb515
Fix Ddoc
2017-01-07 17:53:57 +01:00
8e0b742748
MmapPool: Merge blocks on deallocation if possible
2017-01-05 14:25:54 +01:00
4271c8583e
Remove static constructor from the MmapPool
2017-01-05 07:35:29 +01:00
e27d0fe58c
Fix Vector.remove not destroying from the end copied elements
2017-01-04 20:37:55 +01:00
67952dabdb
Implement Vector.remove
2017-01-03 13:21:19 +01:00
b8d5d4c2bd
Fix template condition for Vector.insertBack
2017-01-03 10:03:28 +01:00
b6413823cd
Add opEquals for all combinations of vector ranges
2017-01-02 17:33:01 +01:00
48e355b87f
Vector: allow insert multiple items in insertBack
2017-01-02 12:47:41 +01:00
b3f4ea572e
Vector: Use opEquals if defined to compare items
2017-01-02 06:59:05 +01:00