Ferdinand Majerech
3ce23f2892
Better Reader docs.
2014-07-23 00:41:43 +02:00
Ferdinand Majerech
86c015fb5a
Minor simplification.
2014-07-23 00:41:14 +02:00
Ferdinand Majerech
48f86653dc
More @safe pure nothrow @nogc in Reader.
2014-07-23 00:40:00 +02:00
Ferdinand Majerech
53b22c93ad
Reader now reuses the buffer created by UTFDecoder.
2014-07-23 00:09:40 +02:00
Ferdinand Majerech
9940bc91b9
Really minor whitespace change.
2014-07-23 00:06:06 +02:00
Ferdinand Majerech
9119836fa2
UTFDecoder now decodes everything at once.
2014-07-22 20:21:17 +02:00
Ferdinand Majerech
4ff3f8dc51
Optimized updateBuffer() for UTF-16/UTF-32
2014-07-22 03:41:46 +02:00
Ferdinand Majerech
3b6891dbe1
Reader is now more @safe.
2014-07-22 03:34:17 +02:00
Ferdinand Majerech
08a0a551d9
very minor whitespace change.
2014-07-22 03:33:50 +02:00
Ferdinand Majerech
81aee496ac
UTFDecoder is now pure nothrow and @safer.
2014-07-22 03:33:36 +02:00
Ferdinand Majerech
7affea320a
Rewroted UTFDecoder to enable nothrow.
2014-07-22 03:32:52 +02:00
Ferdinand Majerech
6e71d77e69
Localizes std.stream imports only where they are needed.
2014-07-22 02:40:44 +02:00
Ferdinand Majerech
630585970d
Updated docs/exceptions; using a buffer, not a stream.
2014-07-22 02:40:14 +02:00
Ferdinand Majerech
e30f6e0e80
UTFDecoder now works directly with a buffer, not a stream.
2014-07-22 02:39:02 +02:00
Ferdinand Majerech
7d4df103a7
Renamed UTFDecoder.buffer_ to decodedBuffer_ .
2014-07-22 02:18:26 +02:00
Ferdinand Majerech
c296a6e790
MemoryStream now constructed in UTFDecoder.
2014-07-22 02:15:33 +02:00
Ferdinand Majerech
dadd67eeb0
Removed @property in UTFDecoder.
2014-07-22 02:11:31 +02:00
Ferdinand Majerech
5f9f12a672
Reader no longer has direct access to MemoryStream.
2014-07-22 02:11:16 +02:00
Ferdinand Majerech
2728e63eb8
more @nogc in Reader
2014-07-22 01:23:15 +02:00
Ferdinand Majerech
9bf9a0c278
Stripped whitespace.
2014-07-22 01:10:23 +02:00
Ferdinand Majerech
72afe53ab8
Reader is now using MemoryStream, using tinyendian to fix endianness issues.
2014-07-22 01:09:27 +02:00
Ferdinand Majerech
e9a18c62b0
Doc fix.
2014-07-22 01:04:44 +02:00
Ferdinand Majerech
43026e6c13
Fixed a recent commit.
2014-07-22 01:03:19 +02:00
Ferdinand Majerech
3bb486de0b
More commit style/whitespace changes.
2014-07-22 00:41:13 +02:00
Ferdinand Majerech
1d81148aef
Whitespace changes.
2014-07-22 00:33:17 +02:00
Ferdinand Majerech
7af0292fd4
Import tinyendian and use UTFEncoding instead of Encoding in the UTF decoder
2014-07-22 00:23:15 +02:00
Ferdinand Majerech
de0af4899b
Copyright string update.
2014-07-22 00:21:42 +02:00
Ferdinand Majerech
8abea5a08f
doc fix
2014-07-21 09:58:16 +02:00
Ferdinand Majerech
0ac28e05bd
const instead of in
2014-07-21 09:57:59 +02:00
Ferdinand Majerech
94919339fa
Stripped Reader whitespace.
2014-07-21 09:56:41 +02:00
Ferdinand Majerech
9888925d23
Reader test reading a 1-byte file.
2014-07-21 09:54:08 +02:00
Ferdinand Majerech
d77646555d
More generic reader tests.
2014-07-21 09:53:28 +02:00
Ferdinand Majerech
a990771991
Whitespace and assert improvements in Reader.
2014-07-19 15:39:27 +02:00
Ferdinand Majerech
2332290950
Better @safe pure nothrow @nogc in Reader.
2014-07-19 15:38:43 +02:00
Ferdinand Majerech
3a4d1e7627
Exception ctor purity.
2013-12-17 15:16:43 +01:00
Jonathan M Davis
7a1e1ecce3
Another attempt at making d-yaml work with dub.
...
Creating a symlink in source to the dyaml directory does not actually
result in a symlink when another package grabs d-yaml as a dependency
via dub, and even if it did, it wouldn't work on Windows. So, this moves
the source into source so that it'll actually work, and cdc.d has been
adjusted accordingly so that building with it should still work.
2013-03-28 21:33:13 -07:00