<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit/os, branch v0.1.1</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>Use libuv errors instead of errno in unit tests</title>
<updated>2015-11-25T23:16:37+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>raf-ep@gmx.com</email>
</author>
<published>2015-10-27T13:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=28e59cb2235c9cf37571e339bd09df3e8acacaf6'/>
<id>28e59cb2235c9cf37571e339bd09df3e8acacaf6</id>
<content type='text'>
Replaced old unit tests for errno with libuv error codes UV_ENOENT
and UV_EEXIST (for os_open and os_getperms).

Added libuv include path to test/includes compiler calls - needed
to get hold of libuv headers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced old unit tests for errno with libuv error codes UV_ENOENT
and UV_EEXIST (for os_open and os_getperms).

Added libuv include path to test/includes compiler calls - needed
to get hold of libuv headers.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/unit: clean up according to luacheck</title>
<updated>2015-11-23T12:57:21+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2015-11-17T14:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=32ecd75a16371fcfbe0cfc25eacaf041a755ac03'/>
<id>32ecd75a16371fcfbe0cfc25eacaf041a755ac03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>os/fs: Allow os_mkdir_recurse directory name to end with ///</title>
<updated>2015-10-23T11:54:11+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2015-10-19T12:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fefcc01cc1da9540767a2c0b14ebb532a51dd412'/>
<id>fefcc01cc1da9540767a2c0b14ebb532a51dd412</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: os_system: spec for non-zero exit. #3419</title>
<updated>2015-10-05T02:57:21+00:00</updated>
<author>
<name>Russ Adams</name>
<email>r.adams@arca.com</email>
</author>
<published>2015-10-03T14:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7be75a02917b40e5791e3f98d177f833a348df35'/>
<id>7be75a02917b40e5791e3f98d177f833a348df35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>os/fs.c: remove os_file_is_readonly()</title>
<updated>2015-08-17T05:15:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-17T03:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8f09fa1a49ffa1fc00eabf78c54908d515d0aaa5'/>
<id>8f09fa1a49ffa1fc00eabf78c54908d515d0aaa5</id>
<content type='text'>
os_file_is_readonly() in its current form is equivalent to
!os_file_is_writable(). This does not appear to be a bug, because Vim's
use of check_file_readonly() (which we changed to os_file_is_readonly())
is equivalent to !os_file_is_writable() in every case.

os_file_is_readonly() also fails this test:

    returns false if the file is non-read, non-write

A more useful form would define behavior under these cases:

  - path is executable (but not writable)
  - path is non-existent
  - path is directory

But there is no reason for os_file_is_readonly() to exist, so remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
os_file_is_readonly() in its current form is equivalent to
!os_file_is_writable(). This does not appear to be a bug, because Vim's
use of check_file_readonly() (which we changed to os_file_is_readonly())
is equivalent to !os_file_is_writable() in every case.

os_file_is_readonly() also fails this test:

    returns false if the file is non-read, non-write

A more useful form would define behavior under these cases:

  - path is executable (but not writable)
  - path is non-existent
  - path is directory

But there is no reason for os_file_is_readonly() to exist, so remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: more cases for os_file_is_readonly()</title>
<updated>2015-08-17T05:14:13+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-12T01:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d5cd15e67f8a4cfdc6a29d39efbce2697578783c'/>
<id>d5cd15e67f8a4cfdc6a29d39efbce2697578783c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: cover os_file_is_readable()</title>
<updated>2015-08-17T05:07:48+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-11T21:04:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ad6b3561196867d7fcf8f8fbb0730c457e7cea45'/>
<id>ad6b3561196867d7fcf8f8fbb0730c457e7cea45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix pending() invocations</title>
<updated>2015-08-10T02:33:28+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-07T22:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5c1dc0fbe7388528875aff9d7b5055ad718014de'/>
<id>5c1dc0fbe7388528875aff9d7b5055ad718014de</id>
<content type='text'>
AFAICT busted does not report pending() invocations without the 2nd
argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AFAICT busted does not report pending() invocations without the 2nd
argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>os/fs: Move mkdir_recurse from eval.c to os/fs.c</title>
<updated>2015-07-25T23:34:32+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2015-07-12T11:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1206ac953f0cf2bc29ac3591fe151ca172863b1a'/>
<id>1206ac953f0cf2bc29ac3591fe151ca172863b1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>event loop: New abstraction layer with refactored time/signal API</title>
<updated>2015-07-17T03:19:19+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-07-17T02:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=991d3ec1e679bb6407f2a5820910d2968424183c'/>
<id>991d3ec1e679bb6407f2a5820910d2968424183c</id>
<content type='text'>
- Add event loop abstraction module under src/nvim/event. The
  src/nvim/event/loop module replaces src/nvim/os/event
- Remove direct dependency on libuv signal/timer API and use the new abstraction
  instead.
- Replace all references to uv_default_loop() by &amp;loop.uv, a new global variable
  that wraps libuv main event loop but allows the event loop functions to be
  reused in other contexts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add event loop abstraction module under src/nvim/event. The
  src/nvim/event/loop module replaces src/nvim/os/event
- Remove direct dependency on libuv signal/timer API and use the new abstraction
  instead.
- Replace all references to uv_default_loop() by &amp;loop.uv, a new global variable
  that wraps libuv main event loop but allows the event loop functions to be
  reused in other contexts.
</pre>
</div>
</content>
</entry>
</feed>
