<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit/os, branch master</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>win: avoid duplicate separators in $PATH #12869</title>
<updated>2020-09-09T03:47:22+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2020-09-09T03:47:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=59712f6dbecfd9a7ccd021115170d1c9313b0969'/>
<id>59712f6dbecfd9a7ccd021115170d1c9313b0969</id>
<content type='text'>
Seems like redundant env var separators (";" on Windows) in $PATH can
cause weird behavior. From #7377:

&gt; After some time, system(['win32yank', '-o']) and system('win32yank -o')
&gt; start returning different results: specifically first returns an
&gt; empty string.
&gt;
&gt; 1. $PATH weirdly contains double semicolon followed by path to the
&gt;    “installation directory” (unpacked directory from archive).
&gt; 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed.

close #7377
ref 224f99b85d311ebd31451db13b66e4a3c7e51938</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems like redundant env var separators (";" on Windows) in $PATH can
cause weird behavior. From #7377:

&gt; After some time, system(['win32yank', '-o']) and system('win32yank -o')
&gt; start returning different results: specifically first returns an
&gt; empty string.
&gt;
&gt; 1. $PATH weirdly contains double semicolon followed by path to the
&gt;    “installation directory” (unpacked directory from archive).
&gt; 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed.

close #7377
ref 224f99b85d311ebd31451db13b66e4a3c7e51938</pre>
</div>
</content>
</entry>
<entry>
<title>lua: Use #var instead of deprecated table.getn(var)</title>
<updated>2020-07-31T05:33:42+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-07-31T05:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=55a885c17930e0f5833e01b35e559886166c9075'/>
<id>55a885c17930e0f5833e01b35e559886166c9075</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: fix typos</title>
<updated>2019-11-28T06:47:25+00:00</updated>
<author>
<name>Brian Wignall</name>
<email>brianwignall@gmail.com</email>
</author>
<published>2019-11-26T12:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=001e69cd4602e84219fd7cfd8ade62f0cb24097c'/>
<id>001e69cd4602e84219fd7cfd8ade62f0cb24097c</id>
<content type='text'>
close #11459
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
close #11459
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: improve error message with literat "~" directory (#11032)</title>
<updated>2019-09-16T22:39:33+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-16T22:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0b71bb73e8431400c870dcd458f322dc50da96d1'/>
<id>0b71bb73e8431400c870dcd458f322dc50da96d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build/tests: remove pre/uv.h #10531</title>
<updated>2019-07-28T09:10:22+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-28T09:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f4942a63f93e44470d9a7d979b3fb88408d584d1'/>
<id>f4942a63f93e44470d9a7d979b3fb88408d584d1</id>
<content type='text'>
Initially done in 28e59cb22, but does not appear to be necessary
anymore.

Uses UV_EEXIST directly, just like UV_ENOENT.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initially done in 28e59cb22, but does not appear to be necessary
anymore.

Uses UV_EEXIST directly, just like UV_ENOENT.</pre>
</div>
</content>
</entry>
<entry>
<title>test: cleanup, reduce verbosity</title>
<updated>2019-06-01T19:59:42+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-06-01T19:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2e171a6fd163e0d74c80d21a893cb6a3c3394b1f'/>
<id>2e171a6fd163e0d74c80d21a893cb6a3c3394b1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>os/env: use libuv v1.12 getenv/setenv API</title>
<updated>2019-02-27T22:29:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-02-24T19:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=89515304e4eb81ff9eb65f3a582136fc658de139'/>
<id>89515304e4eb81ff9eb65f3a582136fc658de139</id>
<content type='text'>
- Minimum required libuv is now v1.12
- Because `uv_os_getenv` requires allocating, we must manage a map
  (`envmap` in `env.c`) to maintain the old behavior of `os_getenv` .
- free() map-items after removal. khash.h does not make copies of
  anything, so even its keys must be memory-managed by the caller.

closes #8398
closes #9267
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Minimum required libuv is now v1.12
- Because `uv_os_getenv` requires allocating, we must manage a map
  (`envmap` in `env.c`) to maintain the old behavior of `os_getenv` .
- free() map-items after removal. khash.h does not make copies of
  anything, so even its keys must be memory-managed by the caller.

closes #8398
closes #9267
</pre>
</div>
</content>
</entry>
<entry>
<title>shell/logging: Fix E730 with verbose system({List}) #9009</title>
<updated>2018-09-21T07:20:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-09-21T07:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ecdd2df88ab52ed6e39057e2a8fb9eabfbb90bd5'/>
<id>ecdd2df88ab52ed6e39057e2a8fb9eabfbb90bd5</id>
<content type='text'>
ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790

Steps to reproduce:
    :set verbose=9
    :call system(['echo'])
    E730: using List as a String</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790

Steps to reproduce:
    :set verbose=9
    :call system(['echo'])
    E730: using List as a String</pre>
</div>
</content>
</entry>
<entry>
<title>test: Rename includes/pre/uv-errno.h to includes/pre/uv.h</title>
<updated>2018-07-11T04:26:07+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2018-07-09T15:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ba7704ab4ea6186f0a3090b930a4be7e3aa9857c'/>
<id>ba7704ab4ea6186f0a3090b930a4be7e3aa9857c</id>
<content type='text'>
libuv users are only supposed to directly include uv.h.  In v1.21.0, all
the uv-*.h headers were renamed to uv/*.h, which caused the unit tests
to fail with

    [123/125] Generating post/uv-errno.h
    FAILED: test/includes/post/uv-errno.h
    cd «SRCDIR»/src/neovim/build/test/includes &amp;&amp; /usr/bin/clang -std=c99 -E -P «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h -I/usr/include -I/usr/include -o «SRCDIR»/neovim/build/test/includes/post/uv-errno.h
    «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h:1:10: error: 'uv-errno.h' file not found with &lt;angled&gt; include; use "quotes" instead
    #include &lt;uv-errno.h&gt;
             ^~~~~~~~~~~~
             "uv-errno.h"

The intention of the file is to extend libuv's error constants with more
values used by the unit tests.  This can just as easily be achieved
without poking into pseudo-private header files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libuv users are only supposed to directly include uv.h.  In v1.21.0, all
the uv-*.h headers were renamed to uv/*.h, which caused the unit tests
to fail with

    [123/125] Generating post/uv-errno.h
    FAILED: test/includes/post/uv-errno.h
    cd «SRCDIR»/src/neovim/build/test/includes &amp;&amp; /usr/bin/clang -std=c99 -E -P «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h -I/usr/include -I/usr/include -o «SRCDIR»/neovim/build/test/includes/post/uv-errno.h
    «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h:1:10: error: 'uv-errno.h' file not found with &lt;angled&gt; include; use "quotes" instead
    #include &lt;uv-errno.h&gt;
             ^~~~~~~~~~~~
             "uv-errno.h"

The intention of the file is to extend libuv's error constants with more
values used by the unit tests.  This can just as easily be achieved
without poking into pseudo-private header files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into s-dash-stdin</title>
<updated>2018-04-14T19:17:51+00:00</updated>
<author>
<name>b-r-o-c-k</name>
<email>brockmammen@gmail.com</email>
</author>
<published>2018-04-14T19:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f'/>
<id>ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
