summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/autoload/msgpack.vim
AgeCommit message (Collapse)AuthorFiles
2024-06-27refactor(typval)!: remove distinction of binary and nonbinary stringsbfredl1
This is a breaking change which will make refactor of typval and shada code a lot easier. In particular, code that would use or check for v:msgpack_types.binary in the wild would be broken. This appears to be rarely used in existing plugins. Also some cases where v:msgpack_type.string would be used to represent a binary string of "string" type, we use a BLOB instead, which is vimscripts native type for binary blobs, and already was used for BIN formats when necessary. msgpackdump(msgpackparse(data)) no longer preserves the distinction of BIN and STR strings. This is very common behavior for language-specific msgpack bindings. Nvim uses msgpack as a tool to serialize its data. Nvim is not a tool to bit-perfectly manipulate arbitrary msgpack data out in the wild. The changed tests should indicate how behavior changes in various edge cases.
2023-06-22fix(messages): use "Vimscript" instead of "VimL" #24111Justin M. Keyes1
followup to #24109 fix #16150
2021-12-25fix(msgpack#strptime): use calendar.timegm to get seconds since epochJames McCoy1
datetime.datetime.timestamp does not exist on Windows and datetime.datetiem.strftime('%s') is not supported, since '%s' is a POSIX format. Instead, use the recommended `calendar.timegm(obj.utctimetuple())`.
2018-09-06runtime/msgpack: Fix inf/nan regexpZyX1
Not making minus sign optional as inf/nan without optional minus should’ve already been handled by the very first case.
2018-05-10msgpack.vim: require python3 on WindowsJustin M. Keyes1
timestamp.strftime('%s') workaround only works on unix. ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
2018-05-09msgpack.vim: fix syntax errors, python2 errorsJustin M. Keyes1
2017-01-04plugin/msgpack: Support character constants like '\0'ZyX1
2016-04-18runtime/msgpack: Add support for special valuesZyX1
2016-02-02runtime/msgpack: Fix msgpack#string that expects old string() behaviorZyX1
2015-11-01runtime: Add autoload/msgpack.vim helper fileZyX1