<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/mpack, branch tmp</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>fix(mpack): make sure a `bool` always is a `bool`</title>
<updated>2022-08-10T18:36:28+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-08-10T18:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=faccae47fca5cb671e5c900e128b7da5a9937534'/>
<id>faccae47fca5cb671e5c900e128b7da5a9937534</id>
<content type='text'>
before, RelWithDebInfo linking gave this warning:

    src/mpack/conv.h:36:16: warning: type of ‘mpack_unpack_boolean’ does not match original declaration [-Wlto-type-mismatch]
       36 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t) FUNUSED FPURE;
          |                ^
    src/mpack/conv.c:196:16: note: return value type mismatch
      196 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t)
          |                ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
before, RelWithDebInfo linking gave this warning:

    src/mpack/conv.h:36:16: warning: type of ‘mpack_unpack_boolean’ does not match original declaration [-Wlto-type-mismatch]
       36 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t) FUNUSED FPURE;
          |                ^
    src/mpack/conv.c:196:16: note: return value type mismatch
      196 | MPACK_API bool mpack_unpack_boolean(mpack_token_t t)
          |                ^
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(api): use a unpacker based on libmpack instead of msgpack-c</title>
<updated>2022-06-02T14:05:24+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-05-23T17:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d5f047bee04a42f40425c34061c84b39af846e1f'/>
<id>d5f047bee04a42f40425c34061c84b39af846e1f</id>
<content type='text'>
Currently this is more or less a straight off reimplementation,
but this allow further optimizations down the line, especially
for avoiding memory allocations of rpc objects.

Current score for "make functionaltest; make oldtest" on a -DEXITFREE build:

is 117 055 352 xfree(ptr != NULL) calls (that's NUMBERWANG!).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently this is more or less a straight off reimplementation,
but this allow further optimizations down the line, especially
for avoiding memory allocations of rpc objects.

Current score for "make functionaltest; make oldtest" on a -DEXITFREE build:

is 117 055 352 xfree(ptr != NULL) calls (that's NUMBERWANG!).
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(PVS/V560): part of conditional expression is always true/false</title>
<updated>2022-02-13T16:51:48+00:00</updated>
<author>
<name>Dundar Göc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2022-02-08T13:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2ed6b99a42c41ca4cc28f57dc79274263384d5bb'/>
<id>2ed6b99a42c41ca4cc28f57dc79274263384d5bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: suppress -Wunused-but-set-variable warns</title>
<updated>2021-12-19T13:20:17+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2021-12-15T10:26:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e0750f3e8acad4f492dedc0fed6a1cfbfa232e8b'/>
<id>e0750f3e8acad4f492dedc0fed6a1cfbfa232e8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: fix typos (#16361)</title>
<updated>2021-11-27T16:10:48+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-11-27T16:10:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=caa6992a1071a2ac373bec21085685da4a1790d6'/>
<id>caa6992a1071a2ac373bec21085685da4a1790d6</id>
<content type='text'>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.mpack): rename pack/unpack =&gt; encode/decode #16175</title>
<updated>2021-10-30T13:59:59+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-10-30T13:59:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a141f6e9225fea065d8580b37510de2de168f9de'/>
<id>a141f6e9225fea065d8580b37510de2de168f9de</id>
<content type='text'>
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 =&gt; 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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 =&gt; 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.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mpack): clang warning: unused variable #15968</title>
<updated>2021-10-08T23:05:26+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-10-08T23:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1e876bd9a8290b6abfdd2c4e52f2f9f930af3464'/>
<id>1e876bd9a8290b6abfdd2c4e52f2f9f930af3464</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(PVS/V1048): "variable was assigned the same value" #15870</title>
<updated>2021-10-06T14:47:31+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-10-06T14:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d0c0878b3e8b2d2b80fa56038caea1f69c5d5499'/>
<id>d0c0878b3e8b2d2b80fa56038caea1f69c5d5499</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ci(PVS): PVS/V009: add required header #15751</title>
<updated>2021-09-21T16:02:43+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-09-21T16:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a65d8c34e6427fea00bf9a3d35752fc00054d503'/>
<id>a65d8c34e6427fea00bf9a3d35752fc00054d503</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ci): don't enrage the CI Gods by calling a file 'core.*'</title>
<updated>2021-09-09T14:06:43+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2021-09-09T12:57:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ad8eda3f5b7db424de912ac748bce6b02e43f64f'/>
<id>ad8eda3f5b7db424de912ac748bce6b02e43f64f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
