Commit graph

829 commits

Author SHA1 Message Date
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 1e88dc5074
immutable byte arrays aren't quite @safe yet with D-YAML, so test mutable instead 2018-04-10 03:27:38 -03:00
Sebastian Wilzbach 02cbf4d459
Merge pull request #103 from Herringway/kill-whitespace-errors-dead
Kill whitespace errors dead, finally
2018-04-10 04:21:56 +02:00
Cameron Ross 9b7c882a03
remove blank line at EOF errors 2018-04-09 22:57:26 -03:00
Cameron Ross e411fad92f
remove trailing whitespace 2018-04-09 22:57:14 -03:00
Sebastian Wilzbach c682d1940b
Merge pull request #102 from Herringway/unittest-examples
Convert tests to doc'd examples and some minor doc param fixes
2018-04-10 03:38:47 +02:00
Cameron Ross af8f0c1f10
add example.yaml to .gitignore 2018-04-09 21:43:30 -03:00
Cameron Ross cd505b5fb9
fix missing yaml file for a resolver example 2018-04-09 21:43:07 -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
Sebastian Wilzbach 7b316fdffb
Merge pull request #101 from Herringway/remove-error-aliases
remove misleading Error = _____Exception aliases
2018-04-10 01:34:33 +02:00
Cameron Ross 3ef3240a4c
remove misleading Error = ___Exception aliases 2018-04-09 19:34:45 -03:00
Sebastian Wilzbach dc29868f7d
Merge pull request #100 from Herringway/remove-redundant-bom
remove redundant BOM definitions
2018-04-08 11:30:40 +02:00
Cameron Ross 8074792fb3
remove redundant BOM definitions 2018-04-08 04:14:03 -03:00
The Dlang Bot 85b6d077cc
Merge pull request #99 from Herringway/fix-json
make dub.json more standard-compliant
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-04-08 08:42:37 +02:00
Cameron Ross 59feae3ff4
make dub.json more standard-compliant 2018-04-08 03:15:11 -03:00
Cameron Ross 3b7033d046 allow dyaml.test.reader.testStreamError to be @safe 2018-04-07 20:05:39 +02:00
Cameron Ross 3cfdd7ba56 allow dyaml.test.representer.testRepresenterTypes to be @safe 2018-04-07 20:05:39 +02:00
Cameron Ross c1165b976e mark dyaml.parser.Parser.parseNode.get as @safe 2018-04-07 20:05:39 +02:00
Cameron Ross 6088f0b632 major attribute fixing 2018-04-07 20:05:39 +02:00
Matthias Klumpp d60db0c7df Modernize Meson file 2018-03-07 12:29:04 +02:00
Matthias Klumpp cbfa423c9b Make D-YAML easy to use as Meson subproject 2018-03-07 12:29:04 +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
Cameron Ross 72995df864 remove deprecated yaml/dyaml.all modules (#93)
remove deprecated yaml/dyaml.all modules
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-03-01 01:01:00 +01:00
The Dlang Bot 0784ca63ec
Merge pull request #92 from Herringway/bmp-fix
Fix issue #79: Support for non-BMP Unicode characters
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-02-28 01:24:54 +01:00
Cameron Ross 5ad4c3c435 minor refactor: move tests to dyaml.test.*, remove spaces at ends of lines (#91)
minor refactor: move tests to dyaml.test.*, remove spaces at ends of lines
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-02-28 01:24:05 +01:00
Cameron Ross 4a106181dd
Add support for unicode chars in the 0x10000 - 0x10FFFF range as required by spec 2018-02-27 14:15:47 -04:00
majiang e7ea38652b Do not emit BOM for UTF-8 (Solve #88) (#89)
Do not emit BOM for UTF-8 (Solve #88)
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-02-24 11:45:36 +01:00
Sebastian Wilzbach d514e9f67c
Merge pull request #90 from ximion/master
ci: Enable Meson builds again
2018-02-23 03:30:19 +01:00
Matthias Klumpp 39afcbc850 ci: Enable Meson builds again
This reverts commit 25e3a4fa65 and adds a
dependency on a bugfixed version of Meson.
2018-02-23 03:10:31 +01:00
Sebastian Wilzbach 050cade7b1
Merge pull request #87 from wilzbach/remove-gc
Remove use of the useless debugInfoC mode
2018-01-31 03:33:47 +01:00
Sebastian Wilzbach 1c396d8d77 Remove use of the useless debugInfoC mode 2018-01-31 03:31:30 +01:00
Sebastian Wilzbach 600feaae1e
Merge pull request #84 from wilzbach/fix-imports
Fix imports
2018-01-18 02:27:26 +01:00
Sebastian Wilzbach 25e3a4fa65 Temporarily disable meson builds 2018-01-18 02:25:10 +01:00
Sebastian Wilzbach d830832b02 Fix testsuite 2018-01-18 02:22:18 +01:00
Sebastian Wilzbach 8465a4a4b9 Update AppVeyor LDC links 2018-01-18 02:08:57 +01:00
Sebastian Wilzbach e4591f5847 Fix imports 2018-01-18 02:08:38 +01:00
Sebastian Wilzbach c1ebca38ec
Merge pull request #83 from ximion/master
Fix Travis CI
2018-01-18 02:05:54 +01:00
Matthias Klumpp 09f3e9bd81 travis: Limit ninja jobs
This is needed because Ninja sees too many CPUs in Travis' container,
and therefore spawns a lot of jobs which leads Travis to occasionally
kill a ninja process.
Limiting the jobs protects against that behavior.
2018-01-07 20:48:17 +01:00
Matthias Klumpp 7132946282 Add workaround for Meson subproject path regression
This works around Meson issue
https://github.com/mesonbuild/meson/issues/2719 by making the
subprojects directory a toplevel dir.
2018-01-07 17:42:42 +01:00
Matthias Klumpp 1390d2e365 trivial: Use newer Ninja 2018-01-07 17:41:40 +01:00
Matthias Klumpp d804837280 travis: Enforce Python version
Workaround for https://github.com/travis-ci/travis-ci/issues/8363 - the
matrix feature does not make sense here, so having this workaround is
acceptable.
2018-01-07 17:41:20 +01:00
Basile Burg a02acdd8c4 Merge pull request #75 from mpevnev/master
Added ranges for iteration over Nodes.
2017-08-19 06:33:30 +02:00
Michail Pevnev 6a381528a3 Added 'enforce' checks on ranges' emptiness. 2017-08-01 18:31:34 +03:00
Michail Pevnev e313fa1fbf Fix #28 2017-08-01 18:08:12 +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 860eab9be5 Merge pull request #74 from dlang-community/issue-73
fix issue #73 - Failure to compile when assigning a `const(bool)` to a node
2017-08-01 01:40:34 +02: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
Basile Burg 86079840f0 fix #71 - Unittests of package fails when calling as dependency 2017-07-19 17:00:40 +03:00
Basile Burg 8775767082 Merge pull request #70 from dlang-community/trivial-1
[TRIVIAL] Remove a deprecation message + add sub selections file to gitignore
2017-06-30 05:23:18 +02:00