Commit graph

466 commits

Author SHA1 Message Date
Cameron Ross 151184a754
remove some refs to YStream 2018-07-05 18:45:19 -03: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
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
Basile Burg 09fe112ce6 partially address D-Scanner warnings in the whole project 2018-06-20 11:51:23 +02:00
Cameron Ross a76cac8a74
make rest of dyaml.scanner @safe 2018-06-16 02:57:34 -03: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
Cameron Ross efd3e403c7
use Appender for stacks 2018-06-16 02:01:42 -03:00
The Dlang Bot f2f8ae2a9f
Merge pull request #166 from Herringway/safe-dump
make Dumper.dump @safe
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-16 06:41:04 +02:00
Cameron Ross 1cda3fce89 Remove a number of unsafe immutable casts (#164)
Remove a number of unsafe immutable casts
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-16 06:40:27 +02:00
Cameron Ross ea956da667
make Dumper.dump @safe 2018-06-15 19:22:41 -03:00
Cameron Ross 648d95e4d3
isolate unsafe mark/state pushing into own function 2018-06-15 19:15:50 -03:00
Cameron Ross aee64a5161 add File overload for Loader.fromFile (#163)
add File overload for Loader.fromFile
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-15 11:01:43 +02:00
BBasile 894982e32d make the queue fully nogc and optimize it with a freelist (#161)
make the queue fully nogc and optimize it with a freelist
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-13 11:20:31 +02:00
Cameron Ross 1f556fdb70
clean up aliases 2018-06-13 05:17:20 -03:00
The Dlang Bot 61f875cbba
Merge pull request #160 from BBasile/style-event
style, address D-Scanner warnings on event.d
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-12 11:46:54 +02:00
The Dlang Bot 8391e9053c
Merge pull request #158 from BBasile/style-scanner
style, address D-Scanner warnings on scanner.d
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-12 11:45:41 +02:00
The Dlang Bot 444156ce94
Merge pull request #159 from BBasile/style-resolver
style, address D-Scanner warnings on resolver.d, also fix some DDOC stuff
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-12 11:45:14 +02:00
Basile Burg c839064133 style, address D-Scanner warnings on event.d 2018-06-12 11:41:20 +02:00
Basile Burg 257546c466 style, address D-Scanner warnings on resolver.d, also fix some DDOC stuff 2018-06-12 11:30:29 +02:00
Basile Burg 1bfc9c30c2 style, address D-Scanner warnings on scanner.d 2018-06-12 10:37:30 +02:00
Cameron Ross ab0e2c0519 remove redundant implicit_2 (#155)
remove redundant implicit_2
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-12 07:56:33 +02:00
Cameron Ross 1e3f629265
clean up some opAssigns 2018-06-10 16:04:02 -03:00
Cameron Ross 0084c37656
make dyaml.reader.countASCII @safe 2018-06-10 13:36:51 -03:00
Cameron Ross 799a27a99f
add Loader.opApply overload for @safe delegates 2018-06-10 12:29:03 -03:00
Basile Burg 4cd437b1ae Update tinyendian to 0.2.0 2018-06-10 11:24:52 +02:00
Cameron Ross 5757869e9a Merge Node constructors (#146)
Merge Node constructors
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-10 10:28:58 +02:00
The Dlang Bot 28a61180bf
Merge pull request #148 from Herringway/expose-style-control
add ability to set Node style
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-10 09:26:14 +02:00
Cameron Ross e4087c23f1
add ability to set Node style 2018-06-10 03:52:12 -03:00
The Dlang Bot da4980afa3
Merge pull request #145 from Herringway/allowed-simplification
simplify Node.allowed
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-10 08:49:31 +02:00
The Dlang Bot 468c497465
Merge pull request #144 from Herringway/add-for-empty-node
allow uninitialized nodes to become sequence/mapping nodes
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-06-10 08:48:52 +02:00
Cameron Ross 11ecd3e8cc
Remove redundant package visibility declarations 2018-06-10 03:11:50 -03:00
Cameron Ross 157c2c005f
simplify Node.allowed 2018-06-10 02:51:51 -03:00
Cameron Ross a6cc4ed229
allow uninitialized nodes to become sequence/mapping nodes 2018-06-10 00:49:15 -03:00
BBasile eec7aa3bba
Merge pull request #142 from Herringway/constructor-examples
convert dyaml.constructor unittests into examples
2018-05-31 10:04:41 +02:00
Cameron Ross 2f723b6480
convert dyaml.constructor unittests into examples 2018-05-31 04:58:44 -03:00
Cameron Ross fd85bca437
let buildMsg automatically be inferred @safe 2018-05-31 04:44:40 -03:00
Cameron Ross a0ac38fbd7 make Loader interface a bit more consistent (#124)
make Loader interface a bit more consistent
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-05-31 09:02:21 +02:00
The Dlang Bot a20d7143e7
Merge pull request #115 from Herringway/remove-redundancy
Remove redundant functions
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-05-31 08:57:04 +02:00
Cameron Ross 44c5d9d085
make Queue fully @safe to use 2018-05-10 23:49:48 -03:00
Cameron Ross 75e2d69d76
hey unittests - SHUT UP! 2018-04-30 19:11:36 -03:00
Cameron Ross 2ccdb49943 remove duped unittests in Dumper 2018-04-30 12:08:31 +02:00
The Dlang Bot 244fb4b3c4
Merge pull request #128 from Herringway/emitter-safety
wrap unsafe portion of Emitter in @trusted helper functions
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-04-30 12:06:03 +02:00
The Dlang Bot 1c105ee47e
Merge pull request #130 from Herringway/safer-constructor
make Constructor wholly @safe
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-04-30 12:02:33 +02:00
Cameron Ross 5c801d6689
make Constructor wholly @safe 2018-04-30 04:24:31 -03:00