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
Cameron Ross
74c555d22e
use camelCasing for enum members
2018-08-26 21:49:14 -03: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
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
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
Basile Burg
09fe112ce6
partially address D-Scanner warnings in the whole project
2018-06-20 11:51:23 +02:00
Cameron Ross
118fc291e9
remove obsolete std.container imports
2018-06-16 02:18:31 -03:00
Cameron Ross
efd3e403c7
use Appender for stacks
2018-06-16 02:01:42 -03:00
Cameron Ross
1f556fdb70
clean up aliases
2018-06-13 05:17:20 -03: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
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
4cb78ff6f5
wrap unsafe portion of Emitter into @trusted helper functions
2018-04-29 18:48:02 -03:00
Cameron Ross
cd88b7ad17
remove fastcharsearch
2018-04-22 15:22:11 -03:00
Cameron Ross
04e2c3baab
begin removing fastcharsearch
2018-04-22 15:22:08 -03:00
Cameron Ross
d5ef119f1d
allow @safe access to anchor/tag/tagDirectives of events
2018-04-16 21:59:47 -03:00
Cameron Ross
e411fad92f
remove trailing whitespace
2018-04-09 22:57:14 -03:00
Cameron Ross
3ef3240a4c
remove misleading Error = ___Exception aliases
2018-04-09 19:34:45 -03:00
Cameron Ross
8074792fb3
remove redundant BOM definitions
2018-04-08 04:14:03 -03:00
Cameron Ross
6088f0b632
major attribute fixing
2018-04-07 20:05:39 +02:00
Cameron Ross
683335aa3e
remove zerostring ( #94 )
...
remove zerostring
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-03-01 04:20:43 +01:00
majiang
e7ea38652b
Do not emit BOM for UTF-8 (Solve #88 ) ( #89 )
...
Do not emit BOM for UTF-8 (Solve #88 )
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-02-24 11:45:36 +01: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
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
Robert burner Schadek
14ae4e6b06
removed dead code
2016-03-17 22:10:32 +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
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
91cdb9a6f4
fix emitting of unicode characters >0xFFFF
2015-09-25 03:18:37 -03:00
Ferdinand Majerech
bc7519f561
Fixed deprecation errors for DMD 2.066
2014-07-19 04:17:18 +02:00
Ferdinand Majerech
fc0aba516d
Should fix issues 17 and 18 (although I couldn't reproduce them).
2014-05-20 22:30:39 +02:00
Kiith-Sa
a0a09597ef
Fixed DMD 2.053 immutable warning.
2013-05-31 00:23:23 +02:00
Kiith-Sa
2e3c6fe445
DUB forced property fix.
2013-04-24 01:32:16 +02:00
Jonathan M Davis
7a1e1ecce3
Another attempt at making d-yaml work with dub.
...
Creating a symlink in source to the dyaml directory does not actually
result in a symlink when another package grabs d-yaml as a dependency
via dub, and even if it did, it wouldn't work on Windows. So, this moves
the source into source so that it'll actually work, and cdc.d has been
adjusted accordingly so that building with it should still work.
2013-03-28 21:33:13 -07:00