Files
neovim/runtime/doc
Justin M. Keyes a141f6e922 fix(vim.mpack): rename pack/unpack => encode/decode #16175
Problem:
1. "unpack" has an unrelated meaning in Lua:
   https://www.lua.org/manual/5.1/manual.html#pdf-unpack
2. We already have msgpackparse()/msgpackdump() and
   json_encode()/json_decode(), so introducing another name for the same
   thing is entropy.

Solution:
- Rename vim.mpack.pack/unpack => vim.mpack.encode/decode

Caveat:
This is incongruent with the `Unpacker` and `Packer` functions.
- It's probably too invasive to rename those.
- They also aren't part of our documented interface.
- This commit is "reversible" in the sense that we can always revert
  it and add `vim.mpack.encode/decode` as _aliases_ to
  `vim.mpack.pack/unpack`, at any time in the future, if we want
  stricter fidelity with upstream libmpack. Meanwhile,
  `vim.mpack.encode/decode` is currently the total _documented_
  interface of `vim.mpack`, so this change serves the purpose of
  consistent naming in the Nvim stdlib.
2021-10-30 06:59:59 -07:00
..
2021-09-10 08:48:27 +02:00
2021-10-16 18:03:51 +02:00
2021-09-23 06:59:30 -07:00
2021-09-08 07:24:12 -07:00
2021-10-05 14:12:16 +02:00
2018-10-29 09:32:29 +01:00
2021-09-10 08:48:27 +02:00
2021-09-10 08:48:27 +02:00
2018-10-29 10:01:44 +01:00
2021-09-08 07:24:12 -07:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2019-11-17 19:06:59 -08:00
2021-04-27 09:21:31 -04:00
2021-05-01 23:47:11 -04:00
2021-09-09 00:37:59 -07:00
2018-08-25 15:25:49 +02:00
2021-04-28 21:29:57 -04:00
2021-05-01 22:29:03 -04:00
2021-09-10 08:48:27 +02:00
2019-11-17 19:06:59 -08:00
2019-03-26 19:55:33 +01:00
2021-10-16 18:03:51 +02:00
2018-10-29 09:55:07 +01:00
doc
2018-11-05 22:45:48 +01:00
2021-09-13 06:05:27 -07:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2015-08-15 15:25:30 -03:00
2021-05-01 22:29:02 -04:00
2021-10-05 14:12:16 +02:00
2021-09-10 06:59:17 -07:00
2021-09-08 07:24:12 -07:00
2021-04-29 21:08:09 -04:00
2019-03-26 19:55:33 +01:00
2021-09-10 08:48:27 +02:00
2019-08-02 16:20:22 +02:00
2021-09-08 07:24:12 -07:00
2021-09-13 06:05:27 -07:00
2021-04-27 09:21:35 -04:00
2021-04-27 09:21:34 -04:00
2021-10-05 10:48:48 -07:00
2021-04-27 09:21:31 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:30 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 23:19:57 -04:00
2021-05-02 10:23:35 -04:00
2021-09-10 06:59:17 -07:00
2019-08-02 16:20:22 +02:00
2021-04-27 21:47:42 -04:00
2021-09-08 07:24:12 -07:00
2021-09-08 07:24:12 -07:00
2021-04-28 21:29:56 -04:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2021-04-29 20:42:16 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:33 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-04-29 20:42:16 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2019-03-26 19:55:33 +01:00
2021-04-27 09:21:34 -04:00
2021-04-29 20:42:16 -04:00
2021-10-16 18:03:51 +02:00
2021-05-01 23:19:57 -04:00
2021-09-08 07:24:12 -07:00
2021-09-13 16:33:41 +02:00