From: Alexander Turenko <alexander.turenko@tarantool.org> To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Cc: Alexander Turenko <alexander.turenko@tarantool.org>, tarantool-patches@freelists.org Subject: [tarantool-patches] [PATCH v3 0/2] lua-yaml null/boolean fixes Date: Tue, 5 Feb 2019 06:30:15 +0300 [thread overview] Message-ID: <cover.1549336851.git.alexander.turenko@tarantool.org> (raw) The patchset improves validation of arguments in yaml.encode() and yaml.decode() functions and fixes encoding of string values like 'null', which should be quoted. The main change from the previous version is dropping the last patch, which was about encoding an empty document as null to better fit the YAML standard and corresponding decoding changes, but breaks backward compatibility in some sense. Also I have added API test cases for the first patch and have fixed Vlad's comments about the code. AKhatskevich (1): lua-yaml: verify arguments count Alexander Turenko (1): lua-yaml: fix strings literals encoding in yaml test/app-tap/console.test.lua | 21 ++++++-- test/app-tap/yaml.test.lua | 74 ++++++++++++++++++++++++++- third_party/lua-yaml/lyaml.cc | 95 +++++++++++++++++++++++++++-------- 3 files changed, 162 insertions(+), 28 deletions(-) -- 2.20.1
next reply other threads:[~2019-02-05 3:30 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-05 3:30 Alexander Turenko [this message] 2019-02-05 3:30 ` [tarantool-patches] [PATCH v3 1/2] lua-yaml: verify arguments count Alexander Turenko 2019-02-05 3:30 ` [tarantool-patches] [PATCH v3 2/2] lua-yaml: fix strings literals encoding in yaml Alexander Turenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1549336851.git.alexander.turenko@tarantool.org \ --to=alexander.turenko@tarantool.org \ --cc=tarantool-patches@freelists.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [tarantool-patches] [PATCH v3 0/2] lua-yaml null/boolean fixes' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox