<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit, branch v0.2.0</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>test/fs: sanity check for literal "~" directory (#6579)</title>
<updated>2017-04-24T20:45:03+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-24T20:45:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8f346a322bc18949ae256203ffa801d7ba1dd1c0'/>
<id>8f346a322bc18949ae256203ffa801d7ba1dd1c0</id>
<content type='text'>
If the CWD contains a directory with the literal name "~" then the tests
will have bogus failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the CWD contains a directory with the literal name "~" then the tests
will have bogus failures.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into lazier-arg_errmsg-gettext</title>
<updated>2017-04-20T21:33:12+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-20T21:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d463c9e03a79e981faaaa985b1160c292d08e172'/>
<id>d463c9e03a79e981faaaa985b1160c292d08e172</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>*: Add comment to all C files</title>
<updated>2017-04-19T16:11:50+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-19T16:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c2f3e361c52ec4e7149ea1d8c6a1202e0873da8e'/>
<id>c2f3e361c52ec4e7149ea1d8c6a1202e0873da8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Add a test for TV_CSTRING</title>
<updated>2017-04-14T20:58:47+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-13T21:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b54e5c220f0b1bff31ce65c6988f70cbb9780b5e'/>
<id>b54e5c220f0b1bff31ce65c6988f70cbb9780b5e</id>
<content type='text'>
Not using enum{} because SIZE_MAX exceeds integer and I do not really like how
enum definition is described in C99:

1. Even though all values must fit into the chosen type (6.7.2.2, p 4) the type
   to choose is still implementation-defined.
2. 6.4.4.3 explicitly states that “an identifier declared as an enumeration
   constant has type `int`”. So it looks like “no matter what type was chosen
   for enumeration, constants will be integers”. Yet the following simple
   program:

        #include &lt;stdint.h&gt;
        #include &lt;stdio.h&gt;
        #include &lt;stddef.h&gt;

        enum { X=SIZE_MAX };

        int main(int argc, char **argv)
        {
          printf("x:%zu m:%zu t:%zu v:%zu",
                 sizeof(X), sizeof(SIZE_MAX), sizeof(size_t), (size_t)X);
        }

    yields one of the following using different compilers:

    - clang/gcc/pathcc: `x:8 m:8 t:8 v:18446744073709551615`
    - pcc/tcc: `x:4 m:8 t:8 v:1844674407370955161`

    If I remove the cast of X to size_t then pcc/tcc both yield `x:4 m:8 t:8
    v:4294967295`, other compilers’ output does not change.

    All compilers were called with `$compiler -std=c99 -xc -` (feeding program
    from echo), except for `tcc` which has missing `-std=c99`. `pcc` seems to
    ignore the argument though: it is perfectly fine with `-std=c1000`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not using enum{} because SIZE_MAX exceeds integer and I do not really like how
enum definition is described in C99:

1. Even though all values must fit into the chosen type (6.7.2.2, p 4) the type
   to choose is still implementation-defined.
2. 6.4.4.3 explicitly states that “an identifier declared as an enumeration
   constant has type `int`”. So it looks like “no matter what type was chosen
   for enumeration, constants will be integers”. Yet the following simple
   program:

        #include &lt;stdint.h&gt;
        #include &lt;stdio.h&gt;
        #include &lt;stddef.h&gt;

        enum { X=SIZE_MAX };

        int main(int argc, char **argv)
        {
          printf("x:%zu m:%zu t:%zu v:%zu",
                 sizeof(X), sizeof(SIZE_MAX), sizeof(size_t), (size_t)X);
        }

    yields one of the following using different compilers:

    - clang/gcc/pathcc: `x:8 m:8 t:8 v:18446744073709551615`
    - pcc/tcc: `x:4 m:8 t:8 v:1844674407370955161`

    If I remove the cast of X to size_t then pcc/tcc both yield `x:4 m:8 t:8
    v:4294967295`, other compilers’ output does not change.

    All compilers were called with `$compiler -std=c99 -xc -` (feeding program
    from echo), except for `tcc` which has missing `-std=c99`. `pcc` seems to
    ignore the argument though: it is perfectly fine with `-std=c1000`.
</pre>
</div>
</content>
</entry>
<entry>
<title>win: os_shell_is_cmdexe() + tests</title>
<updated>2017-04-12T00:28:43+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-11T23:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03'/>
<id>7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #6439 from ZyX-I/fix-gc-failures</title>
<updated>2017-04-09T02:05:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-09T02:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=699e8406b5d57e1ca975af443329d8f24ae1b704'/>
<id>699e8406b5d57e1ca975af443329d8f24ae1b704</id>
<content type='text'>
unittests: Force GC, fix GC failures in typval_spec</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unittests: Force GC, fix GC failures in typval_spec</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Fix linter error</title>
<updated>2017-04-09T00:39:37+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-09T00:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=967fa96eb2ca263c0fefd9e9be74e9862e59d740'/>
<id>967fa96eb2ca263c0fefd9e9be74e9862e59d740</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Move allocating vimconv_T to a function</title>
<updated>2017-04-09T00:36:18+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-08T01:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8990490b50df651144658d0e68c7f582d7013376'/>
<id>8990490b50df651144658d0e68c7f582d7013376</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Do not GC typval_T which is owned by a di</title>
<updated>2017-04-09T00:36:18+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-08T01:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=233e71419ef18dcbf62425505a58d67169c1b4b1'/>
<id>233e71419ef18dcbf62425505a58d67169c1b4b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unittests: Do not unref partial which is owned by Callback structure</title>
<updated>2017-04-09T00:36:17+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-08T01:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=bac870433b828ea3a850e61710b636c62ecaa5ed'/>
<id>bac870433b828ea3a850e61710b636c62ecaa5ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
