Cameron Ross
7ddea9db39
further refactoring and cleaning up of Node.get
2018-04-10 05:37:13 -03:00
Cameron Ross
a35536fe59
fix single-file builds again. add a comment as a reminder.
2018-04-10 05:03:19 -03:00
Cameron Ross
6532251979
cleanups
2018-04-10 04:03:05 -03:00
Cameron Ross
12494a7a78
make Node.mappingKeys and Node.mappingValues const-friendly too
2018-04-10 03:45:51 -03:00
Cameron Ross
fd50e2cefc
refactor portions of Node to allow const Nodes to be more useful
2018-04-10 03:36:09 -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
3ef3240a4c
remove misleading Error = ___Exception aliases
2018-04-09 19:34:45 -03:00
Cameron Ross
6088f0b632
major attribute fixing
2018-04-07 20:05:39 +02:00
Cameron Ross
683335aa3e
remove zerostring ( #94 )
...
remove zerostring
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-03-01 04:20:43 +01:00
Michail Pevnev
6a381528a3
Added 'enforce' checks on ranges' emptiness.
2017-08-01 18:31:34 +03:00
Michail Pevnev
c123e6afee
Fixed new ranges not being random-access ranges.
...
Forgot to add 'length' property.
2017-08-01 14:37:28 +03:00
Michail Pevnev
2b6c417006
Added ranges-iterators to the Node struct.
...
Added methods: sequence, mapping (iterates over pairs), mappingKeys,
mappingValues.
2017-08-01 14:13:35 +03:00
Basile Burg
a2c0c60884
fix issue #73 - Failure to compile when assigning a const(bool)
to a node
2017-08-01 01:12:35 +02:00
Forb.Jok
22c432fb52
Make Node type identification properties public
2016-12-08 18:01:08 +01:00
ZombineDev
bc1a2c2d0f
Stop using implicit string literal concatenation
...
Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd/pull/6155.
2016-11-04 02:50:32 +02: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
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
05270e5f60
Doc fixes
2015-02-21 14:31:55 +01:00
Ferdinand Majerech
0f017646fc
Reverted doc style due to DDoc issues.
2014-08-01 02:51:35 +02:00
Ferdinand Majerech
d8f19ffc33
A quick hack to get D:YAML to work with DMD 2.066 beta 4
2014-07-19 03:07:45 +02:00
Ferdinand Majerech
e6755e6615
Minor unittest improvement.
2014-07-19 02:00:04 +02:00
Ferdinand Majerech
28979baa6c
Doc style change in node.d
2014-07-19 01:58:24 +02:00
Ferdinand Majerech
7ae4de4776
Removed a pragma(msg) and fixed a minor tab/space issue
2014-05-20 23:19:02 +02:00
Ferdinand Majerech
f45323473c
Node size info at compile-time
2014-05-19 19:53:33 +02:00
Ferdinand Majerech
cd7d60bb0e
Stripped whitespaces in node.d
2014-05-19 19:53:18 +02:00
Ferdinand Majerech
e0e9082615
Loader ctors no longer pure (DMD 2.054)
2013-12-17 15:17:42 +01:00
Ferdinand Majerech
369c899e90
Node.Pair opCmp hack due to a DMD 2.054 linker error bug.
2013-12-17 15:17:15 +01:00
Kiith-Sa
85a0e2c0a3
Nothrow Node isValid, isScalar, isSequence, isMapping, isUserType, isNull
2013-10-16 23:16:41 +02:00
Kiith-Sa
28918d242d
Nothrow Node userValue, value.
2013-10-16 23:15:41 +02:00
Kiith-Sa
7b96993497
Nothrow Node hasEqualType, convertsTo, nodeTypeString
2013-10-16 23:15:23 +02:00
Kiith-Sa
e88b716d89
Nothrow Node.type and Node.isType.
2013-10-16 23:14:37 +02:00
Kiith-Sa
2f0c75f72e
Nothrow Node opAssign.
2013-10-16 23:14:02 +02:00
Kiith-Sa
4ecc4104da
Minor opBinaryRight style, doc & test changes.
2013-09-09 22:39:46 +02:00
Nathan M. Swan
cd0c9f54a0
Add 'in' operator for mappings
2013-09-09 11:46:42 -08:00
Kiith-Sa
a409cceeff
DMD 2.053 compatibility.
2013-05-23 14:33:34 +02:00
Kiith-Sa
2e3c6fe445
DUB forced property fix.
2013-04-24 01:32:16 +02: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