Commit graph

774 commits

Author SHA1 Message Date
Cameron Ross 7c39a2db82
add scope to some emitter functions that need it 2019-01-06 17:25:31 -04:00
The Dlang Bot 74481bdef9
Merge pull request #208 from dlang-community/BBasile-patch-1
fix ci performance regression due to slow setup of python 3.6
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-14 09:25:40 +01:00
BBasile 9d75bae8c2
fix ci performance regression due to slow setup of python 3.6 2018-12-14 02:55:55 +01:00
The Dlang Bot a8734185d1
Merge pull request #207 from Herringway/remove-size-asserts
remove all sizeof asserts
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-11 21:38:05 +01:00
Cameron Ross 6ad32fa6b3
remove all sizeof asserts 2018-12-11 16:29:19 -04:00
Basile Burg d51e75aec5 fix CI broken due to mess with python version 2018-12-11 15:11:44 +01:00
Basile Burg ee9f28338b fix #205 by removing useless assertions about Value and Node sizes 2018-12-11 15:11:44 +01:00
BBasile 7dbec8d1ad Prevent running CI twice when PRs are originated from the origin (#204)
Prevent running CI twice when PRs are originated from the origin
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-02 06:05:10 +01:00
BBasile 4bf20167f3
remove useless dyaml.hack module, close #193 (#201) 2018-10-01 06:20:11 +02:00
The Dlang Bot 9d9acb5204
Merge pull request #200 from BBasile/ci-failures
fix CI failures due to Meson and DMD nightlies
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-30 09:30:02 +02:00
Basile Burg 8f1be7b0f6 fix CI failures due to Meson and DMD nightlies 2018-09-30 09:25:09 +02: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 9c2ae02792 eliminate @trusted hack in dyaml.emitter (#199)
eliminate @trusted hack in dyaml.emitter
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-31 12:41:57 +02:00
The Dlang Bot 0a4057472a
Merge pull request #198 from Herringway/enum-casing
use camelCasing for enum members
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-30 12:25:56 +02:00
The Dlang Bot a55c59dac0
Merge pull request #197 from Herringway/dub-json-fixes
some dub.json cleanup, add self to authors, update copyright
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-27 05:50:20 +02:00
Cameron Ross 74c555d22e
use camelCasing for enum members 2018-08-26 21:49:14 -03:00
Cameron Ross 46e55257bc
some dub.json cleanup, add self to authors, update copyright 2018-08-26 17:23:45 -03:00
The Dlang Bot 35b9d62201
Merge pull request #192 from Herringway/fix-verbose
fix verbose test output
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-16 03:22:56 +02:00
Cameron Ross eff9fef7da
fix verbose test output 2018-08-15 16:14:57 -03:00
The Dlang Bot 8c637e95ec
Merge pull request #191 from BBasile/tuto-gh-pages
fix #190 - Possible broken link #190
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-14 09:57:15 +02:00
Basile Burg 2c9c40269e fix #190 - Possible broken link #190 2018-08-14 09:54:53 +02:00
The Dlang Bot 206995836d
Merge pull request #188 from Herringway/linebreak-tests
fix windows/mac linebreaks
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-31 20:30:49 +02:00
Cameron Ross d4ed861920
fix windows/mac linebreaks 2018-07-31 15:08:07 -03:00
The Dlang Bot 1448c8fe86
Merge pull request #186 from Herringway/preserve-exception-source
don't throw away file/line when throwing new YAMLExceptions
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-18 14:16:37 +02:00
Cameron Ross 6e12cf9d64 a handful of DIP1000 fixes (#185)
a handful of DIP1000 fixes
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-18 09:14:42 +02:00
Cameron Ross 95872e6d0e
don't throw away file/line when throwing new YAMLExceptions 2018-07-17 20:41:59 -03:00
The Dlang Bot 46db7d3ba2
Merge pull request #182 from BBasile/style-body-do
\s\body\do
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-12 10:10:05 +02: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 26eb0913f1 Some YAMLObject simplification (#180)
* change YAMLObject to an interface

* move YAMLContainer constructor with other private member

* some YAMLContainer simplification
2018-07-06 08:35:27 +02:00
BBasile 93cdaa90dc
Merge pull request #178 from Herringway/remove-ystream-refs
remove some refs to YStream
2018-07-06 05:38:56 +02:00
Cameron Ross c306c19ef4 Remove dyaml.flags, Use std.typecons.BitFlags (#177)
Remove dyaml.flags, Use std.typecons.BitFlags
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-06 05:37:51 +02:00
Cameron Ross 151184a754
remove some refs to YStream 2018-07-05 18:45:19 -03:00
The Dlang Bot eed2b54d99
Merge pull request #174 from russel/rw_meson_build
Update the tinyendian ersion number. Update the D-YAML version number.
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-27 11:07:20 +02:00
Russel Winder cb9e1eecf9 Update the tinyendian ersion number. Update the D-YAML version number. 2018-06-22 12:13:32 +01: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
The Dlang Bot 8f9dafdef3
Merge pull request #172 from BBasile/esc-sw
convert toEscapes AA to a switch for faster convertion
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-22 05:34:58 +02:00
Basile Burg cc13b4168d convert toEscapes AA to a switch for faster convertion
- prevent to use a module ctor
- Now a single call is enough when used by an Emitter
2018-06-21 09:21:57 +02:00
Cameron Ross bb7b87370a add tojson subpackage for converting yaml docs to json (#171)
add tojson subpackage for converting yaml docs to json
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-21 05:34:07 +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
The Dlang Bot 53f5d9c799
Merge pull request #170 from BBasile/apply-dscanner
partially address D-Scanner warnings in the whole project
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-20 21:06:39 +02:00
Basile Burg 09fe112ce6 partially address D-Scanner warnings in the whole project 2018-06-20 11:51:23 +02:00
The Dlang Bot deb56415e5
Merge pull request #169 from Herringway/safe-scanner
make rest of dyaml.scanner @safe
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-16 08:28:45 +02:00
Cameron Ross a76cac8a74
make rest of dyaml.scanner @safe 2018-06-16 02:57:34 -03:00
The Dlang Bot 2b9f4091a7
Merge pull request #168 from Herringway/appender-stacks
Use Appender for stacks
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-16 07:30:48 +02:00
Cameron Ross 9eb6f314ec
revert emitter copying 2018-06-16 02:20:30 -03:00
Cameron Ross 118fc291e9
remove obsolete std.container imports 2018-06-16 02:18:31 -03:00
Cameron Ross 590f0cfece
replace dyaml.scanner's Array with an Appender 2018-06-16 02:18:09 -03:00
Cameron Ross ccaa7749bb
use copies of Emitter instead of passing pointers around 2018-06-16 02:10:19 -03:00
Cameron Ross 5172f8b932
eliminate an unnecessary heap allocation 2018-06-16 02:04:48 -03:00