Ferdinand Majerech
|
736de8beb9
|
Reader now uses validation to get the number of characters in the UTF8 buffer.
|
2014-07-29 23:22:16 +02:00 |
|
Ferdinand Majerech
|
ffef7bf6fc
|
Removed UTF-32 parts of Reader API.
|
2014-07-29 23:15:08 +02:00 |
|
Ferdinand Majerech
|
d1aaec6a60
|
Removed the UTF-32 SliceBuilder.
|
2014-07-29 23:10:46 +02:00 |
|
Ferdinand Majerech
|
ecc168dc75
|
insert() for SliceBuilder8.
|
2014-07-29 20:52:39 +02:00 |
|
Ferdinand Majerech
|
58e19d75ad
|
Assert message fix.
|
2014-07-29 20:52:24 +02:00 |
|
Ferdinand Majerech
|
302995354c
|
Fixed a SliceBuilder8.Transaction compilation bug.
|
2014-07-29 14:43:53 +02:00 |
|
Ferdinand Majerech
|
510357f4c7
|
insert() instead of insertBack() for SliceBuilder.
|
2014-07-29 14:41:46 +02:00 |
|
Ferdinand Majerech
|
4307ccbe82
|
Fixed a Reader compilation bug.
|
2014-07-29 03:18:54 +02:00 |
|
Ferdinand Majerech
|
a9def88eed
|
Docfix.
|
2014-07-29 03:06:51 +02:00 |
|
Ferdinand Majerech
|
3880adf81d
|
UTF-8 SliceBuilder.
|
2014-07-29 03:01:16 +02:00 |
|
Ferdinand Majerech
|
cb64197bb1
|
nogcutil import.
|
2014-07-29 02:59:58 +02:00 |
|
Ferdinand Majerech
|
76cfd7704d
|
forward() invalidates last decoded offsets.
|
2014-07-29 02:59:33 +02:00 |
|
Ferdinand Majerech
|
2e156a8ece
|
UTF-8 prefix()/get()
|
2014-07-29 02:59:16 +02:00 |
|
Ferdinand Majerech
|
709ab00e44
|
A UTF-8 slice().
|
2014-07-29 02:58:04 +02:00 |
|
Ferdinand Majerech
|
56057b43ec
|
peek() now uses the UTF-8 buffer.
|
2014-07-29 02:57:19 +02:00 |
|
Ferdinand Majerech
|
ef9053d7f3
|
Keeping buffer8_ and buffer_ positions in sync.
|
2014-07-29 02:54:39 +02:00 |
|
Ferdinand Majerech
|
6addaa4cbe
|
Better comment.
|
2014-07-29 02:52:01 +02:00 |
|
Ferdinand Majerech
|
634418b599
|
Added UTF-8 version of the Reader buffer (for now, side by side with UTF-32)
|
2014-07-29 02:51:46 +02:00 |
|
Ferdinand Majerech
|
4a4e83112c
|
utf8Stride is now globally visible in reader.d
|
2014-07-28 23:21:43 +02:00 |
|
Ferdinand Majerech
|
645b191948
|
Removed todo garbage.
|
2014-07-26 23:38:59 +02:00 |
|
Ferdinand Majerech
|
f07aaeef87
|
Reader UTF decoding is now private.
|
2014-07-26 23:37:56 +02:00 |
|
Ferdinand Majerech
|
a8c32430ed
|
Minor style.
|
2014-07-26 23:37:33 +02:00 |
|
Ferdinand Majerech
|
08f8168889
|
SliceBuilder assert fixes.
|
2014-07-26 03:07:32 +02:00 |
|
Ferdinand Majerech
|
acc7617fab
|
Forgotten SliceBuilder methods that enable new Scanner code.
|
2014-07-26 03:06:51 +02:00 |
|
Ferdinand Majerech
|
33e509659d
|
Minor doc fix.
|
2014-07-24 18:42:12 +02:00 |
|
Ferdinand Majerech
|
02494914e4
|
dchar[], not dstring in Reader/Scanner. Will be changed back where possible.
|
2014-07-24 03:06:24 +02:00 |
|
Ferdinand Majerech
|
a2cbb90d4e
|
SliceBuilder is now a part of Reader.
|
2014-07-24 02:43:28 +02:00 |
|
Ferdinand Majerech
|
d8f1221457
|
Transactions in SliceBuilder to allow reverting of eager slice changes.
|
2014-07-24 02:43:09 +02:00 |
|
Ferdinand Majerech
|
892aed303f
|
An API to build slices into read parts of Reader buffer.
|
2014-07-24 02:42:34 +02:00 |
|
Ferdinand Majerech
|
e493e7299d
|
Reader buffer is again dchar[].
|
2014-07-24 02:40:32 +02:00 |
|
Ferdinand Majerech
|
ae7331c710
|
Reader.buffer_ is now a dstring.
|
2014-07-23 01:49:11 +02:00 |
|
Ferdinand Majerech
|
98c66857bb
|
const(dstring) was redundant.
|
2014-07-23 01:36:38 +02:00 |
|
Ferdinand Majerech
|
0a625ec7a7
|
Rewritten UTFDecoder into a function.
|
2014-07-23 01:36:09 +02:00 |
|
Ferdinand Majerech
|
b060699950
|
Removed a GC allocation.
|
2014-07-23 00:46:37 +02:00 |
|
Ferdinand Majerech
|
66741654c3
|
More pure nothrow @nogc.
|
2014-07-23 00:46:00 +02:00 |
|
Ferdinand Majerech
|
949a396248
|
A risky Reader change to avoid allocations/exceptions.
|
2014-07-23 00:42:49 +02:00 |
|
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 |
|