Commit graph

581 commits

Author SHA1 Message Date
Cameron Ross
989e1b3375 avoid use of a static constructor in parser
this makes usage in module constructors more reliable and improves
consistency with the emitter
2015-10-03 21:52:44 -03:00
Ferdinand Majerech
e5d8c86395 Merge pull request #36 from Herringway/master
fix emitting of unicode characters >0xFFFF
2015-10-01 20:52:11 +02:00
Cameron Ross
91cdb9a6f4 fix emitting of unicode characters >0xFFFF 2015-09-25 03:18:37 -03:00
Ferdinand Majerech
2f3d782c84 Fixed compilation with DMD 2.068
Had to use a lot of @trusted as std.variant.VariantN is again less safe.
Will need to change that back once it gets safer, or at least isolate
code using it so that half of Node API doesn't need to be @trusted.
2015-08-23 09:09:24 +02:00
Ferdinand Majerech
b5e028d239 Commit missing weOwnStream_ 2015-06-05 13:31:54 +02:00
Ferdinand Majerech
385cfd5420 If we create a File instance, be sure to destroy it. 2015-06-03 21:04:15 +02:00
Ferdinand Majerech
96f64eb221 Merge pull request #29 from soarqin/dmd2067_fix
Fixed compilation for dmd 2.067
2015-06-03 20:33:39 +02:00
Ferdinand Majerech
6d706dd3dc nothrow Node constructors where possible (at the moment) 2015-06-03 20:30:19 +02:00
Soar Qin
bfd8654816 Fixed compilation for dmd 2.067 2015-03-17 14:08:40 +08:00
Ferdinand Majerech
0a0e966a26 Regenerated docs 2015-02-21 14:36:06 +01:00
Ferdinand Majerech
9775f35120 Using hmod instead of autoddoc 2015-02-21 14:34:16 +01:00
Ferdinand Majerech
05270e5f60 Doc fixes 2015-02-21 14:31:55 +01:00
Ferdinand Majerech
7f6b7cc2c3 hmod.cfg 2015-02-21 14:30:15 +01:00
Ferdinand Majerech
8bd901296b Travis 2014-12-31 15:33:57 +01:00
Ferdinand Majerech
f5c2a00985 shield link fix 2014-12-30 20:08:34 +01:00
Ferdinand Majerech
caf3fa2af8 code.dlang.org shield 2014-12-30 20:07:07 +01:00
Ferdinand Majerech
e3c6c52dea Merge pull request #27 from ColdenCullen/patch-1
Changed exceptions to take line as a size_t
2014-09-19 19:02:56 +02:00
Colden Cullen
df0624fa1f Changed exceptions to take line as a size_t
`Exception` takes `line` as a `size_t`, so this is for consistency.
2014-09-19 12:58:16 -04:00
Ferdinand Majerech
034f5d8f86 Fixed dub.json in the Getting Started tutorial. 2014-08-07 15:27:48 +02:00
Ferdinand Majerech
e7131aafa9 Very minor README fix. 2014-08-06 18:06:42 +02:00
Ferdinand Majerech
ec5771efe2 README now points to the API docs. 2014-08-06 18:05:10 +02:00
Ferdinand Majerech
c630f4713e Examples now point to the dub D:YAML package so they can ba stand-alone. 2014-08-06 17:39:53 +02:00
Ferdinand Majerech
d0ac642a6e Updated docs. 2014-08-06 17:13:54 +02:00
Ferdinand Majerech
6ead027e51 Changelog fixes. 2014-08-06 16:58:14 +02:00
Ferdinand Majerech
f1eab6a5da Updated changelog. 2014-08-06 16:55:30 +02:00
Ferdinand Majerech
3e69df499e Updated README. 2014-08-06 16:15:45 +02:00
Ferdinand Majerech
494dcd30d9 tinyendian is now a DUB package. 2014-08-06 16:15:02 +02:00
Ferdinand Majerech
510065b111 Style. 2014-08-06 14:17:32 +02:00
Ferdinand Majerech
b254e35762 Unittest build now works with 'dub test' 2014-08-06 14:17:07 +02:00
Ferdinand Majerech
c47714c950 .gitignore update. 2014-08-06 14:15:23 +02:00
Ferdinand Majerech
0268a1ea39 Refactored func attribs in Reader. 2014-08-05 23:00:23 +02:00
Ferdinand Majerech
ada8335504 Compound pure nothrow @nogc in Scanner. 2014-08-05 22:52:51 +02:00
Ferdinand Majerech
cd879c05d3 Spaces. 2014-08-05 22:41:40 +02:00
Ferdinand Majerech
1916b1953a Loader doc fix. 2014-08-05 22:07:35 +02:00
Ferdinand Majerech
893b43edee Style. 2014-08-05 21:31:42 +02:00
Ferdinand Majerech
fd93830243 Using the Scanner FastCharSearches wherever they apply. 2014-08-05 21:31:36 +02:00
Ferdinand Majerech
755eb4e468 Moved common FastCharSearch instantiations to Scanner body to minimize bloat. 2014-08-05 21:30:59 +02:00
Ferdinand Majerech
d505728824 Moved a branch outside of aloop in scanPlain() to improve performance. 2014-08-05 20:58:05 +02:00
Ferdinand Majerech
57d936ed0f Scanner using prefixBytes() for optimization. 2014-08-05 20:57:30 +02:00
Ferdinand Majerech
3b303f6e82 An ASCII (bytes) version of prefix(). 2014-08-05 20:56:59 +02:00
Ferdinand Majerech
8f94a40730 Doc fixes. 2014-08-05 20:56:30 +02:00
Ferdinand Majerech
568e75d3de Removed decodeCount_, as it's no longer used. 2014-08-05 20:53:04 +02:00
Ferdinand Majerech
2b7ea42199 Removed the old (obsolete) Reader decoding method. 2014-08-05 20:52:43 +02:00
Ferdinand Majerech
92396b4cae An optimized version of forward() with length == 1. 2014-08-05 20:52:05 +02:00
Ferdinand Majerech
34e6f55bd9 forward() now uses upcomingASCII_ 2014-08-05 20:46:00 +02:00
Ferdinand Majerech
c828c6b132 peek()/slice() now use upcomingASCII() 2014-08-05 20:44:15 +02:00
Ferdinand Majerech
d9079de427 get() now calls slice() directly instead of through prefix(). 2014-08-05 20:42:51 +02:00
Ferdinand Majerech
bfa2f1bd5c Using checkASCII in Reader. 2014-08-05 20:42:22 +02:00
Ferdinand Majerech
e01c40ede5 Func to count consecutive ASCII chars starting at current Reader position. 2014-08-05 20:36:33 +02:00
Ferdinand Majerech
7409f3bbd9 ASCII optimizations for isPrintableValidUTF8. 2014-08-05 19:34:28 +02:00