aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/msgpack.vim
Commit message (Collapse)AuthorAge
* refactor(typval)!: remove distinction of binary and nonbinary stringsbfredl2024-06-27
| | | | | | | | | | | | | | | | | | | | | 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.
* fix(messages): use "Vimscript" instead of "VimL" #24111Justin M. Keyes2023-06-22
| | | | followup to #24109 fix #16150
* fix(msgpack#strptime): use calendar.timegm to get seconds since epochJames McCoy2021-12-25
| | | | | | 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())`.
* runtime/msgpack: Fix inf/nan regexpZyX2018-09-06
| | | | | Not making minus sign optional as inf/nan without optional minus should’ve already been handled by the very first case.
* msgpack.vim: require python3 on WindowsJustin M. Keyes2018-05-10
| | | | | | timestamp.strftime('%s') workaround only works on unix. ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
* msgpack.vim: fix syntax errors, python2 errorsJustin M. Keyes2018-05-09
|
* plugin/msgpack: Support character constants like '\0'ZyX2017-01-04
|
* runtime/msgpack: Add support for special valuesZyX2016-04-18
|
* runtime/msgpack: Fix msgpack#string that expects old string() behaviorZyX2016-02-02
|
* runtime: Add autoload/msgpack.vim helper fileZyX2015-11-01