4d737be931Fixed a bug that broke mappings longer than 65536 lines.
Ferdinand Majerech
2012-09-26 11:51:47 +0200
c7e97b6113User defined constructors now can construct all default types (e.g. float).
kiith-sa
2012-09-22 22:45:37 +0200
edf3e2a799Using std.typecons.Flag where possible, and more in->const.
kiith-sa
2012-09-14 01:21:01 +0200
19d88d156aSimplified some Emitter code.
kiith-sa
2012-09-14 01:16:05 +0200
58fc17197bReplaced some incorrect 'in' uses with 'const'.
kiith-sa
2012-09-13 21:37:28 +0200
4f78702a57Added pure/@safe/nothrow where possible.
kiith-sa
2012-09-09 01:42:13 +0200
37a661b034Fixed compilation with DMD 2.058.
kiith-sa
2012-08-30 15:38:51 +0200
c690d56d9fAdded a property to determine if the node is null.
Ferdinand Majerech
2012-04-07 03:59:54 +0200
5aacfe79b2Improved an error message when there's no constructor for a tag.
Ferdinand Majerech
2012-04-01 16:57:21 +0200
fdceb1bdcbFixed a bug on Ubuntu 10.04
Ferdinand Majerech
2012-03-23 19:57:57 +0100
206499a399Fixed CDC on Windows
Ferdinand Majerech
2012-03-20 06:29:25 +0100
1a1783a228Fixed a compilation bug on 32bit.
Ferdinand Majerech
2012-03-19 14:31:11 +0100
d64de6a312Merged implementations of Node.remove() and Node.removeAt().
Ferdinand Majerech
2012-03-01 17:43:42 +0100
2505c0b3afImproved Node exception messages.
Ferdinand Majerech
2012-03-01 15:23:53 +0100
2448c69f55Added containsKey() to check if a mapping has specified key.
Ferdinand Majerech
2012-03-01 13:17:32 +0100
ebc6e64c2bAPI BREAKING:
Ferdinand Majerech
2012-03-01 11:44:05 +0100
7673281ae4CDC fixes for Windows.
Ferdinand Majerech
2012-01-24 11:23:06 +0100
242960e927Updated DMD links.
Ferdinand Majerech
2012-01-23 18:40:05 +0100
aad93aa42eUpdated changelog for 0.4 .
Ferdinand Majerech
2012-01-23 16:57:40 +0100
3e1b01f097Updated version numbers to 0.4 .
Ferdinand Majerech
2012-01-23 16:20:52 +0100
9596806644Red-Black Trees are now used for duplicate detection, and planned to be used for unordered map storage. This is because AAs still don't work correctly and even if they did, require the user to define both toHash and opCmp/opEquals for every YAML struct/class. Now only opCmp needs to be defined. Documentation/tutorials/examples have been updated accordingly.
Ferdinand Majerech
2012-01-23 15:57:26 +0100
07eadc9403Fixed a bug with parsing null values caused by std.regex changes, and a minor ZeroString fix.
Ferdinand Majerech
2012-01-23 01:19:49 +0100
06e3a6db3bCDC improvements and an a fix in AutoDDoc.
Ferdinand Majerech
2012-01-23 01:16:57 +0100
d46a3ac5c2Fixed a bug that caused an out of range error when a key in a mapping could not be found.
Ferdinand Majerech
2012-01-22 17:03:32 +0100
04af9bf240Fixed some compilation bugs on 32bit.
Ferdinand Majerech
2012-01-22 10:37:44 +0100
01c0ea6cd6Merge pull request #1 from stefanhepp/master
Ferdinand Majerech
2012-01-20 01:37:19 -0800
bb54e6db41Fix for compile error with dmd 2.057
Stefan Hepp
2012-01-19 17:51:42 +0100
10dbb55ed8Minor documentation and API fixes.
Ferdinand Majerech
2011-11-18 12:28:29 +0100
fbc962623dSimplified the Constructor API.
Ferdinand Majerech
2011-11-17 23:53:24 +0100
ab154480fbFinal commit before tha 0.3 release.
Ferdinand Majerech
2011-11-16 20:41:21 +0100
2c9d464389Reader was reimplemented. After experiments with loading the whole file at once, and with decoding and parsing in separate thread, lazy reader turned to be the fastest/least memory intensive solution. Characters are now decoded in small batches. This improved parsing speed by ~20%.
Ferdinand Majerech
2011-11-16 03:10:29 +0100
f95f0d14c8Const correctness and minor bugfixes all over the code.
Ferdinand Majerech
2011-10-30 20:24:43 +0100
8208e817deUpdated Node for much more constness (unfortunately, quite some code duplication as well). No longer need a custom Variant.
Ferdinand Majerech
2011-10-30 18:12:02 +0100
508696584eMore constness in Node.
Ferdinand Majerech
2011-10-30 10:52:40 +0100
b3a51800f7Removed Node.getToVar as it turned out to be a premature optimization.
Ferdinand Majerech
2011-10-29 22:53:46 +0200
c385a3ae4dFixed a documentation bug.
Ferdinand Majerech
2011-10-29 21:57:36 +0200
e835f1a191Updated Representer API doc, minor documentation changes.
Ferdinand Majerech
2011-10-29 20:43:30 +0200
0e0113ef0eMoved variant.d to dyaml/std/variant. Profile build doesn't inline anymore (made profiling too difficult). More optimizations, speedup (parsing only).
Ferdinand Majerech
2011-10-29 18:21:44 +0200
be5664a24dUpdated D:YAML with DMD 2.056 support. Fixed some bugs. Found a bug in std.variant and bundled a fixed version.
Ferdinand Majerech
2011-10-29 00:31:14 +0200
5d35f44416Nodes now remember their scalar and collection style, although these are not accessible by the user (as the spec says). This allows D:YAML to remember styles between loading and dumping.
Ferdinand Majerech
2011-10-27 23:13:14 +0200
c787531497Node struct enlarged to 40 bytes. There is no significant slowdown and a slight memory usage increase. Fixed a potential bug in Reader. Tag is now implemented as a zero-terminated string, removing the need for global state. Node opIndex now returns a reference.
Ferdinand Majerech
2011-10-26 21:05:56 +0200
6eda5d9d4aAdded a profile build target (release with debug symbols). Release doesn't have debug symbols anymore.
Ferdinand Majerech
2011-10-26 06:39:06 +0200
60b57ca00dMinor optimizations. Queue now only adds ranges to the GC if the type allocated has indirections.
Ferdinand Majerech
2011-10-26 06:30:10 +0200
62f7e2e4dfOptimized dumping performance. Dumping is now about half as fast as loading. Also slightly improved loading performance. Greatly improved performance with very small files. We can now load 10000 24 byte files in a second, and dump them at the same speed. Fixed another FastCharSearch bug.
Ferdinand Majerech
2011-10-25 20:23:44 +0200
8b995e5061Fixed a bug in FastCharSearch. Reader buffer is now manually allocated, decreasing GC workload even further.
Ferdinand Majerech
2011-10-25 00:16:43 +0200
97bdf819faReplaced possibleSimpleKeys associative array in Scanner with an ordinary array, added a mixin to generate fast lookup tables for character search, and used said mixin in the greatest bottlenecks. Another great speedup, at least 20%, can't keep track of it anymore.
Ferdinand Majerech
2011-10-24 20:36:26 +0200
97693b4417Got rid of most UTF-8 decoding that took a lot of time. Removed unnecessary calls to Stream.available(), again for grat speed gain. Also various small optimizations. Overall, improved loading speed about 400%.
Ferdinand Majerech
2011-10-24 00:46:35 +0200
9d68b6fa9aOptimized GC performance when loading, greatly decreasing memory usage and improving speed by 30% or more.
Ferdinand Majerech
2011-10-23 20:17:37 +0200
915428c8edCDC and yaml_bench makefile now always compile with debug symbols. yaml_bench can now repeat the benchmark many times in a single run. yaml_gen can now disable collection keys in mappings.
Ferdinand Majerech
2011-10-23 16:10:27 +0200
13ea5f0c24Added a shortcut alias called "as" for Node.get(), and replaced get() with as() all over the code, tutorials, examples and docs. Fixed a bug in YAML benchmark makefile. Fixed a bug in autoddoc configuration.
Ferdinand Majerech
2011-10-22 17:06:32 +0200
fb67e775e4Added a YAML benchmark that loads and optionally extracts data from and/or dumps a YAML file.
Ferdinand Majerech
2011-10-22 16:20:06 +0200
3078262129Fixed an Emitter bug which caused tags to always be emitted in full format. Specified field names for the tag directive tuple to make code more readbvle. Fixed a bug in Dumpler.tagDirectives documentation example.
Ferdinand Majerech
2011-10-22 11:18:57 +0200
1f2243190fAdded a random YAML generator to serve as an example and for benchmarking.
Ferdinand Majerech
2011-10-22 00:24:29 +0200
7402d8f827Fixed Makefile of the yaml_stats example. Fixed a bug in Node that caused an empty exception message.
Ferdinand Majerech
2011-10-21 20:40:37 +0200
f726ff0b94Added an example application that displays statistics about YAML documents.
Ferdinand Majerech
2011-10-20 23:20:02 +0200