Commit graph

812 commits

Author SHA1 Message Date
Basile Burg 974a6edd1a update MEson build file and rlease 0.8.0 2019-05-26 20:26:26 +02:00
Cameron Ross 10356c8bf0 Promote Emitter exceptions to asserts or contracts (#246)
* promote emitter exceptions to asserts

* convert many emitter asserts to in contracts
2019-04-18 02:39:42 +02:00
Cameron Ross d10d2b2981 change accidental octal literals into decimal literals (#243)
change accidental octal literals into decimal literals
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-04-07 10:16:42 +02:00
Cameron Ross 2e556e4a3a don't create null anchors (#245)
don't create null anchors
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-04-07 10:15:54 +02:00
The Dlang Bot a538662c7e
Merge pull request #241 from Herringway/exception-fixes
Some Exception-related fixes
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-03-30 21:32:04 +01:00
The Dlang Bot 6834338736
Merge pull request #235 from Herringway/phobos-utf-validation
reimplement isPrintableValidUTF8 using phobos functions
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
2019-03-18 08:32:17 +01:00
Cameron Ross 8a31826124 remove Dumper.emit() and Loader.scan() (#239)
remove Dumper.emit() and Loader.scan()
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-03-18 07:10:47 +01:00
Cameron Ross dcb4dcb93a some simple @trusted -> @safe upgrades (#240)
some simple @trusted -> @safe upgrades
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-03-18 07:09:21 +01:00
Cameron Ross 5d7324a30c
fix some Exception constructors incorrectly using uint for line numbers instead of size_t 2019-03-17 19:59:35 -03:00
Cameron Ross dc9aa4ab9c
use enforce for most Scanner exceptions 2019-03-17 19:56:25 -03:00
Cameron Ross c7b8ff8a1b
remove awkward error 'optimization' from Scanner 2019-03-17 18:41:08 -03:00
Cameron Ross 11020e46ed make Serializer a non-templated struct (#237)
make Serializer a non-templated struct
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-03-17 20:40:10 +01:00
Cameron Ross 267b8662f0 remove pointless Composer destructor (#238) 2019-03-17 20:39:45 +01:00
Cameron Ross 942c353310 remove useless getter/setters and just make their properties public (#236)
remove useless getter/setters, make related fields public instead
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-03-17 06:11:38 +01:00
Cameron Ross e37c4daa7e switch to a non-templated Dumper struct (#234)
switch to a non-templated Dumper struct
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-07 08:48:50 +01:00
Cameron Ross 8de1a45922 convert Resolver to struct (#229)
convert Resolver to struct
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-05 10:00:48 +01:00
Cameron Ross fff8cead76 use in contracts in more places (#231)
convert several asserts to in contracts
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-05 09:59:31 +01:00
Cameron Ross 12a5732b1c remove an unused UTF conversion function (#230)
remove an unused UTF conversion function
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-05 09:40:18 +01:00
Cameron Ross dc5ee1a6ac replace if/else chain with final switch in Resolver.resolve() (#232) 2019-02-05 09:36:05 +01:00
Cameron Ross ff38f20b09
reimplement isPrintableValidUTF8 using phobos functions 2019-02-04 20:52:39 -04:00
Cameron Ross b63ea1aaae make node types into enums and clean up code using them (#225)
* make node types into enums and clean up code using them

* add some tests for anchorable
2019-01-28 02:56:00 +01:00
Cameron Ross bbfe2bbb69 let Scanner.handleDoubleQuotedScalarEscapes operate on const char arrays instead 2019-01-24 10:05:39 +01:00
Cameron Ross bc7e7f9593 range-ify Scanner 2019-01-24 10:05:39 +01:00
Cameron Ross aa9b4c8c2b fix a Resolver test 2019-01-24 07:27:30 +01:00
Cameron Ross 780f406e92 simplify Resolver initialization a bit 2019-01-24 07:25:59 +01:00
Cameron Ross 9d83c6a478 Remove tagcmp (#223)
Remove tagcmp
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-01-20 03:42:59 +01:00
Cameron Ross 59954acb49 change canFind() to among() where possible (#221)
change canFind() to among() where possible
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-16 07:23:48 +01:00
Cameron Ross 71917d501c let Queue be a range (#220)
let Queue be a range
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-16 05:27:38 +01:00
Cameron Ross d6300bc52e make Scanner a struct 2019-01-15 12:33:14 +01:00
BBasile c61f569f19 convert the composer to a struct (#218)
convert the composer to a struct
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-15 08:59:50 +01:00
Cameron Ross 7f913246ea Move custom types to Node (#213)
Move custom types to Node
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-15 08:37:50 +01:00
Cameron Ross beb160f1eb update documentation (#217)
update documentation
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-13 07:47:02 +01:00
Cameron Ross 8ed381bd56 remove deprecated Loader.loadAll() (#216)
remove deprecated Loader.loadAll()
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-11 05:31:58 +01:00
BBasile 7a8e5d10ec Add codecov badge to readme (#214)
Add codecov badge to readme
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-11 01:41:56 +01:00
Cameron Ross f183e4aa80 add an official yaml test suite runner (#209)
add an official yaml test suite runner
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-08 23:12:39 +01:00
The Dlang Bot 55b745fe2a
Merge pull request #212 from Herringway/fix-uri-escapes
fix UTF-8 decoding in URI sequences
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
2019-01-08 03:17:19 +01:00
Cameron Ross 08951119df
fix UTF-8 decoding in URI sequences 2019-01-07 22:07:31 -04:00
The Dlang Bot 3374dc6544
Merge pull request #210 from Herringway/dip1000
add scope to some emitter functions that need it
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
2019-01-06 22:44:38 +01:00
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