Cameron Ross
8ed381bd56
remove deprecated Loader.loadAll() ( #216 )
...
remove deprecated Loader.loadAll()
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-11 05:31:58 +01:00
Cameron Ross
1f5eb76996
Implement range interface for Loader, remove old opApply interface ( #196 )
...
* Implement range interface for Loader, remove old opApply interface
* remove dead Composer.getSingleNode
* add Returns: lines to range primitives
* a ddoc fixup
2018-09-04 17:01:56 +02:00
Cameron Ross
95872e6d0e
don't throw away file/line when throwing new YAMLExceptions
2018-07-17 20:41:59 -03:00
Basile Burg
c0c1122a51
\s\body\do
2018-07-12 10:06:46 +02:00
Cameron Ross
040d19b9bc
Rangify parser ( #176 )
...
Rangify parser
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-12 04:59:35 +02:00
Cameron Ross
8e0ca41eb5
Replace stream-based dumping interface with an outputrange-based interface ( #154 )
...
Replace stream-based dumping interface with an outputrange-based interface
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
2018-06-22 05:59:10 +02:00
BBasile
646315ca4c
Merge pull request #150 from Herringway/safe-opapply
...
add Loader.opApply overload for @safe delegates
2018-06-20 21:07:03 +02:00
Basile Burg
09fe112ce6
partially address D-Scanner warnings in the whole project
2018-06-20 11:51:23 +02:00
Cameron Ross
1cda3fce89
Remove a number of unsafe immutable casts ( #164 )
...
Remove a number of unsafe immutable casts
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-16 06:40:27 +02:00
Cameron Ross
aee64a5161
add File overload for Loader.fromFile ( #163 )
...
add File overload for Loader.fromFile
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-15 11:01:43 +02:00
Cameron Ross
799a27a99f
add Loader.opApply overload for @safe delegates
2018-06-10 12:29:03 -03:00
Cameron Ross
a0ac38fbd7
make Loader interface a bit more consistent ( #124 )
...
make Loader interface a bit more consistent
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-05-31 09:02:21 +02:00
The Dlang Bot
a20d7143e7
Merge pull request #115 from Herringway/remove-redundancy
...
Remove redundant functions
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-05-31 08:57:04 +02:00
Cameron Ross
75e2d69d76
hey unittests - SHUT UP!
2018-04-30 19:11:36 -03:00
Cameron Ross
993dd6c5bc
remove many unnecessary destructors
2018-04-22 15:22:10 -03:00
Cameron Ross
e411fad92f
remove trailing whitespace
2018-04-09 22:57:14 -03:00
Cameron Ross
9d35b773b4
convert examples to doc'd unittests, fix some parameter errors, remove some redundancy
2018-04-09 21:14:51 -03:00
Cameron Ross
6088f0b632
major attribute fixing
2018-04-07 20:05:39 +02:00
ZombineDev
503357e3ea
Stop using implicit string literal concatenation in one more place
...
Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd/pull/6155.
2016-11-15 20:07:48 +02:00
ZombineDev
8d5b75b879
Fix compilation with DMD 2.072.0
...
The following DMD PRs added more rigorous safety checks directly
affecting this project:
* dlang/dmd#5852 (fix Issue 15399 - unaligned pointers are not
`@safe`) - triggered at line:
https://github.com/kiith-sa/D-YAML/blob/v0.5.3/source/dyaml/emitter.d#L1011
* dlang/dmd#5940 (Unions may break immutability / unions with
pointers are un-`@safe` ) - triggered at line:
https://github.com/kiith-sa/D-YAML/blob/v0.5.3/source/dyaml/event.d#L230
* dlang/dmd#5876 (Casting from `void[]` to `T[]` is erroneously
considered `@safe`) - triggered at line:
https://github.com/kiith-sa/D-YAML/blob/v0.5.3/source/dyaml/loader.d#L186
* dlang/dmd#5860 (array.ptr in @safe code may point past end
of array) - triggered at line:
https://github.com/kiith-sa/D-YAML/blob/v0.5.3/source/dyaml/zerostring.d#L35
2016-11-04 02:37:29 +02:00
Robert burner Schadek
daf1a0064f
trying to rip the std.stream out
2016-03-17 00:43:58 +01:00
Ferdinand Majerech
05270e5f60
Doc fixes
2015-02-21 14:31:55 +01:00
Ferdinand Majerech
1916b1953a
Loader doc fix.
2014-08-05 22:07:35 +02:00
Ferdinand Majerech
97e717df1b
Loader creates Constructor/Resolver lazily to avoid garbage when user-provided
2014-08-04 02:14:01 +02:00
Ferdinand Majerech
6aa50b8898
A benchmark Loader method that scans a file but throws away the tokens.
2014-08-02 23:26:46 +02:00
Ferdinand Majerech
0f017646fc
Reverted doc style due to DDoc issues.
2014-08-01 02:51:35 +02:00
Ferdinand Majerech
151871e1b3
Better Loader docs.
2014-07-31 14:52:40 +02:00
Ferdinand Majerech
e100047572
Updated Loader examples.
2014-07-31 02:22:42 +02:00
Ferdinand Majerech
626337f6ed
More readable error throws in Loader.
2014-07-31 02:16:53 +02:00
Ferdinand Majerech
ddd89c22d5
Updated Loader unittest.
2014-07-31 02:09:44 +02:00
Ferdinand Majerech
e919f4be51
Added a char[] fromString.
2014-07-31 02:08:08 +02:00
Ferdinand Majerech
24a8e945bd
Removed docs of deprecated API.
2014-07-31 02:07:32 +02:00
Ferdinand Majerech
d18a41999e
Loader ctor from buffer, deprecated old API, constructing Reader from buffer.
2014-07-31 02:01:08 +02:00
Ferdinand Majerech
882df6148a
Doc fix in Loader.
2014-07-19 15:39:36 +02:00
Ferdinand Majerech
4961cb163f
assumeSafeAppend in Loader functions to reduce GC usage.
2014-07-19 14:49:13 +02:00
Ferdinand Majerech
a7f5aa1cf2
Minor doc reformat.
2014-07-19 14:45:50 +02:00
Ferdinand Majerech
bf4762cbcf
Low-hanging @nogc fruit in Loader.
2014-07-19 14:41:30 +02:00
Ferdinand Majerech
647fe9b657
Removed @property from Loader.
2014-07-19 14:39:49 +02:00
Ferdinand Majerech
a50907b0bd
Loader whitespace fixes.
2014-07-19 14:38:35 +02:00
Ferdinand Majerech
d2fe876316
Loader doc style update.
2014-07-19 14:32:16 +02:00
Ferdinand Majerech
bc7519f561
Fixed deprecation errors for DMD 2.066
2014-07-19 04:17:18 +02:00
Ferdinand Majerech
e0e9082615
Loader ctors no longer pure (DMD 2.054)
2013-12-17 15:17:42 +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