Commit graph

590 commits

Author SHA1 Message Date
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
Basile Burg 5e47223b4a
Remove a deprecation message + add sub selections file to gitignore 2017-06-30 05:06:54 +02:00
Basile Burg fd5b9db100 Merge pull request #68 from wilzbach/fix-deprecations
Fix deprecations: remove the old std.string.removechars
2017-06-30 04:34:28 +02:00
Sebastian Wilzbach f798c4ac28 Enable CodeCov 2017-06-15 13:26:50 +03:00
Sebastian Wilzbach aab0953e31 Fix deprecations: remove the old std.string.removechars 2017-06-15 00:55:50 +02:00
Basile Burg 890ab45105 Merge pull request #65 from wilzbach/enable-appveyor
Enable testing on Windows with AppVeyor
2017-06-10 19:57:56 +02:00
Sebastian Wilzbach 6cf7c1ebc3 Enable testing on Windows with AppVeyor 2017-06-10 18:11:36 +02:00
Basile Burg aab7c7aabe fix #63 (#64)
* fix #63

* rather patch the context in case of corruption
2017-05-31 09:59:27 +02:00
Sebastian Wilzbach 3a01837c72 Merge pull request #62 from dlang-community/readme-ver
update readme
2017-05-27 12:43:40 +02:00
Basile Burg 854deb1a90 update readme 2017-05-27 07:28:58 +02:00
Matthias Klumpp 401053194e trivial: Remove unused graphic
This image is no longer needed since shields.io is used in the Readme
file.
2017-05-26 22:42:53 +03:00
Matthias Klumpp ef7791b6ba meson: Update project version 2017-05-26 22:42:53 +03:00
Matthias Klumpp bd31efa375 meson: Use dlang-community version of tinyendian 2017-05-26 22:42:53 +03:00
Sebastian Wilzbach b388322731 Merge pull request #59 from ximion/master
Apply a patch from the Sociomatic branch
2017-05-26 13:04:44 +02:00
Mihails Strasuns 93edffaab5 Fix .ptr + @safe deprecation
Deprecation: str ~ '\x00'.ptr cannot be used in @safe code, use &str ~ '\x00'[0]
2017-05-25 22:15:21 +02:00
Matthias Klumpp 5a526018b0 travis: Test Meson builds as well 2017-05-19 15:40:07 +03:00
Matthias Klumpp 7a641f39a2 Add Meson build definition 2017-05-19 15:40:07 +03:00
Basile Burg 4b175acc7f Merge pull request #39 from Herringway/master
add package.d, deprecate yaml/dyaml.all
2017-05-17 04:41:51 +02:00
Petar Kirov 6d518c27ee Update readme (#55)
* Update README.rst and dub.json
* Remove dead documentation links in the readme file
2017-05-16 23:02:26 +03:00
Petar Kirov 8e1e9893d1 Merge pull request #54 from BBasile/master
Merge changes from the fork used by the dlang tour
2017-05-16 22:09:23 +03:00
Petar Kirov 6fc5cc752a Merge pull request #6 from dlang-tour/yfile-stream-from-existing-file
Add support for writing strings to existing files through YFile stream
2016-12-10 20:41:13 +02:00
ZombineDev 38f1ba3900 Add support for writing strings to existing files through YFile stream 2016-12-10 20:33:43 +02:00
Petar Kirov 228d8f57cb Merge pull request #5 from dlang-tour/add-file-dumping-test
Add file dumping test
2016-12-10 20:11:35 +02:00
ZombineDev b01e99d8e6 Update source/dyaml/stream.d to conform to the existing coding style 2016-12-10 20:07:14 +02:00
ZombineDev 21c2f11a4f Add .editorconfig to enforce existing style 2016-12-10 20:05:07 +02:00
ZombineDev 1ce9935a06 Update Travis-CI badge in the readme 2016-12-10 19:57:37 +02:00
ZombineDev 655a0aadd2 Add test for file dumping 2016-12-10 19:56:44 +02:00
forbjok 6e0ef1aae0 Fix dumping to file producing garbage (#3)
* Fix dumping to file producing garbage

* Use rawWrite instead of casting to char[]
2016-12-10 19:45:43 +02:00
Petar Kirov edf871df22 Merge pull request #4 from forbjok/make-node-type-identifiers-public
Make Node type identification properties public
2016-12-10 13:58:36 +02:00
Forb.Jok 22c432fb52 Make Node type identification properties public 2016-12-08 18:01:08 +01: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
Petar Kirov 39cc3d0bc1 Merge pull request #2 from dlang-tour/update-readme
Update readme
2016-11-15 17:09:03 +02:00
ZombineDev 5a9a71ad00 Update readme 2016-11-15 17:07:42 +02:00
ZombineDev 388a8e9c94 Update dub.json
Rename package.json to dub.json and update the package name, so it can
be registered on code.dlang.org.
2016-11-15 16:32:05 +02:00
Petar Kirov 918965cb8c Merge pull request #1 from dlang-tour/update-readme
Update README
2016-11-06 20:45:06 +02:00
ZombineDev 2a2429f2e3 Update README 2016-11-06 20:42:00 +02: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
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
Ferdinand Majerech b2ad1b41b3 Merge branch 'burner-stream_replacement' 2016-04-30 14:31:44 +02:00
Robert burner Schadek 14ae4e6b06 removed dead code 2016-03-17 22:10:32 +01:00