-
Fixes for C API compliance.
-
Switched from
CHANGELOGtoNEWS.md.
- Added necessary includes for
stdio.handstddef.h.
- Edited documentation.
- Added
verbatim_logicalhelper function.
- clang deprecated
sprintf. Changed in included clib tosnprintf.
- C deprecated functions with no prototypes, these were added.
- Patch to put back in libyaml modifications that
as.yamlrelied on.
- Added
read_yamlparameterreadLines.warnthat defaults toTRUEfor overriding warnings about incomplete files.
- Fixed Bug #99, support for
BUILTINSXPfunctions as handlers.
- Removed some code that got reverted in the libyaml 0.2.5 merge at 2.2.4 release.
- Added omap support for output using proper tag.
- Made
eval.exprdefault toFALSE.
- Updated libyaml code from 0.2.5.
- Added attribute quote support for strings (#72, #109).
- Changed maintainer from Jeremy Stephens to Shawn Garbett.
- Moved Git repository to https://github.com/vubiostat/r-yaml.
- Added
merge.precedenceoption toyaml.load. - Fixed improper handling of explicit
!booltag (reported by Luke Goodsell). - Fixed memory issue flagged by valgrind.
- Updated LibYAML to 0.2.2.
- Fixed some
-Wallwarnings to appease CRAN.
- Added custom handlers to
as.yaml. - Added processing of 'verbatim' class in
as.yaml. - Added processing of 'tag' class in
as.yaml. - Changed examples/tests to write to tempfiles to appease CRAN.
- Fixed
as.yamlrepresentation of very small negative floating point numbers (reported by Ryan Welch). - Properly ignore a map key that would override a key from a merged map (reported by Bradley Saul).
- Gracefully fail compilation if GCC fast-math flag is enabled (reported by Dmitriy Selivanov).
- Switched from testthat to RUnit for unit testing since RUnit has fewer dependencies and does not require compilation.
- Fixed unserialization issues with
int#base60tag (reported by Nancy Irisarri). - Added
eval.exproption toyaml.loadfunction. - Fixed issue with
error.labelargument (patch by Gregory R. Warnes). - Fixed a few garbage collection protection issues.
- Fixed protection stack bugs (reported by Rich FitzJohn).
- Rewrote parsing functionality using pairlists instead of a self-managed protection stack in order to appease rchk.
- Use
MARK_NOT_MUTABLEinstead ofSET_NAMED, which is deprecated. - Show warning when duplicate map key is ignored during a merge.
- Fixed error checking bug regarding number conversions.
- Improved handling of UTF-8 encoded files.
- Added Github URL to description file.
- Added
read_yamlandwrite_yamlconvenience functions. - Added
error.labelparameter toyaml.loadandyaml.load_file. - Recognize floating point numbers without leading 0.
- Fixed nested list issue.
- Show warning for integer/real overflow.
- Marked character input/output as UTF-8 (patch submitted by Yihui Xie).
- Updated LibYAML to 0.1.7.
- Fixed integer overflow issue.
- Explicitly cast pointers from char to
yaml_char_t, and vice versa.
- Properly emit factors with NAs (bug submitted by Jenny Bryan).
- Updated LibYAML to 0.1.6.
- Updated LibYAML to 0.1.5.
- Properly escape names in data frames and lists (bug submitted by Paul Hodor).
- Removed extra digit in Windows when formatting exponential numbers.
- CRAN maintainers changed
memcpytomemmove.
- Properly emit and consume numeric values in scientific notation (bug submitted by Gergely Daróczi).
- Added 'precision' argument to
as.yamlto control how many digits are printed when emitting.
- Properly emit and consume special values:
Inf,-Inf,NaN,NA,TRUE, andFALSE(bug submitted by Richard Cotton).Infis emitted as.inf.-Infas-.inf.NaNas.nan.TRUEis now emitted asyes, andFALSEasno.
- Because the YAML specification does not specify how to handle NA values, the various NA types are emitted as follows:
NA:.naNA_real_:.na.realNA_integer_:.na.integerNA_character_:.na.character
- Added
unicodeoption toas.yaml()(bug submissions by Gergely Daróczi and Aleksandar Blagotić).
- Fixed
yaml.load()ignoring explicit quotes around strings (bug submitted by Jonas Zimmermann). - Fixed
as.yaml()not quoting strings that need to be quoted.
- Replaced
lang5()function for backwards compatibility with R < 2.12.0 (bug submitted by Philipp Hofmann).
- Fixed
as.yaml()converting numeric vectors incorrectly (bug submitted by Markus Göker).
- Fixed multiple anchor bug (bug submitted by apshaar).
- Removed redundant yaml-package help page.
- Fixed solaris compilation error.
- Removed printf/assert symbols from the compiled library.
- Rewrote
as.yamlin C (using libyaml's emitter). - Removed the
pre.indentoption toas.yaml, mainly because libyaml doesn't support pre-indention and I'm not sure the option is useful anymore; will revisit if requested.
- Switched from the Syck parser to the libyaml (0.1.4) parser.
- Sequences of sequences no longer collapse when they contain the same type; ex:
yaml.load("[1, [2, 3], 4]")returnslist(1L, c(2L, 3L), 4L).
- Added support for loading R expressions (using the
!exprtag). - Added multiline string support.
- Added support for nameless lists in
as.yaml(converts to a sequence).
- Added support for omaps.
- Added
yaml.load_filefunction to read from files/connections. - Using
formatinstead ofas.characternow inas.yaml.default.
- Fixed
as.yamlbug where a nested empty list wasn't converted correctly.
yaml.loadwill now load empty documents (bug submitted by Jeff Klingner).as.yamlwill return'[]'for empty objects (patch submitted by Brendan O'Connor).as.yamlwill now create valid YAML for a list that contains a list of length one (bug submitted by Gabor Grothendieck).