Commit graph

567 commits

Author SHA1 Message Date
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
Robert burner Schadek b739ade285 no more stream!? 2016-03-17 01:00:54 +01:00
Robert burner Schadek 41133e3b0d it compiles at the tests run without segfault
I call this a first step
2016-03-17 00:55:57 +01:00
Robert burner Schadek daf1a0064f trying to rip the std.stream out 2016-03-17 00:43:58 +01:00
Ferdinand Majerech a8f12bc2e9 Merge pull request #40 from MartinNowak/master
fix for lookup change in 2.071.0
2016-03-12 23:09:46 +01:00
Martin Nowak 23f16cfbf2 fix for lookup change in 2.071.0
- local symbols are preferred over imported symbols making the mixed in
  canFind hide std.algorithm.canFind
2016-02-21 22:05:36 +01:00
Cameron Ross be0f967c6c add package.d, deprecate yaml/dyaml.all 2015-11-10 01:54:54 -04:00
Ferdinand Majerech 4c091cf5bb Merge pull request #38 from Herringway/master
use systime's duration overload instead of deprecated fracsec overload
2015-11-08 19:55:01 +01:00
Cameron Ross af724ddcf4 use systime's duration overload instead of deprecated fracsec overload 2015-11-05 20:28:12 -04:00
Ferdinand Majerech 77f32a16ba Merge pull request #37 from Herringway/master
avoid use of a static constructor in parser
2015-10-10 23:28:24 +02:00
Cameron Ross 989e1b3375 avoid use of a static constructor in parser
this makes usage in module constructors more reliable and improves
consistency with the emitter
2015-10-03 21:52:44 -03:00
Ferdinand Majerech e5d8c86395 Merge pull request #36 from Herringway/master
fix emitting of unicode characters >0xFFFF
2015-10-01 20:52:11 +02:00
Cameron Ross 91cdb9a6f4 fix emitting of unicode characters >0xFFFF 2015-09-25 03:18:37 -03: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 b5e028d239 Commit missing weOwnStream_ 2015-06-05 13:31:54 +02:00
Ferdinand Majerech 385cfd5420 If we create a File instance, be sure to destroy it. 2015-06-03 21:04:15 +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 0a0e966a26 Regenerated docs 2015-02-21 14:36:06 +01:00
Ferdinand Majerech 9775f35120 Using hmod instead of autoddoc 2015-02-21 14:34:16 +01:00
Ferdinand Majerech 05270e5f60 Doc fixes 2015-02-21 14:31:55 +01:00
Ferdinand Majerech 7f6b7cc2c3 hmod.cfg 2015-02-21 14:30:15 +01:00
Ferdinand Majerech 8bd901296b Travis 2014-12-31 15:33:57 +01:00