<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/core, branch mix</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>ci: move BSD jobs from sourcehut to Cirrus CI #19616</title>
<updated>2022-09-08T22:12:42+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-09-08T22:12:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2d6735d8cecc587eb5549f65260ee9ddeb8e1d78'/>
<id>2d6735d8cecc587eb5549f65260ee9ddeb8e1d78</id>
<content type='text'>
dispatch.sr.ht is being deprecated, meaning that using sourcehut CI
won't be possible (see https://github.com/neovim/neovim/issues/19609).
Since Github Actions doesn't provide any BSD runners an external service
is required and Cirrus CI seems like a good replacement for sourcehut.

Initially experimented with using FreeBSD and OpenBSD virtual machines
in GitHub Actions, but Cirrus has been a much better fit with better
performance, logs and overall experience.

Failing tests are automatically skipped on FreeBSD regardless if it's on
CI or not. Ideally these tests should only be skipped in CI with the
help of `isCI` helper function. Unfortunately, the tests don't recognize
the environment variable CIRRUS_CI even if it's set manually. This
workaround is good enough for the time being, but we might want to only
skip tests when using the CI (or even better, fix the failing tests).

Closes: https://github.com/neovim/neovim/issues/19609</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dispatch.sr.ht is being deprecated, meaning that using sourcehut CI
won't be possible (see https://github.com/neovim/neovim/issues/19609).
Since Github Actions doesn't provide any BSD runners an external service
is required and Cirrus CI seems like a good replacement for sourcehut.

Initially experimented with using FreeBSD and OpenBSD virtual machines
in GitHub Actions, but Cirrus has been a much better fit with better
performance, logs and overall experience.

Failing tests are automatically skipped on FreeBSD regardless if it's on
CI or not. Ideally these tests should only be skipped in CI with the
help of `isCI` helper function. Unfortunately, the tests don't recognize
the environment variable CIRRUS_CI even if it's set manually. This
workaround is good enough for the time being, but we might want to only
skip tests when using the CI (or even better, fix the failing tests).

Closes: https://github.com/neovim/neovim/issues/19609</pre>
</div>
</content>
</entry>
<entry>
<title>revert: "jobstart(): Fix hang on non-executable cwd #9204" (#19826)</title>
<updated>2022-08-18T14:09:50+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-18T14:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=36f0b508c548ba7a6fe916be6c673c4a4738f246'/>
<id>36f0b508c548ba7a6fe916be6c673c4a4738f246</id>
<content type='text'>
This reverts commit c4c74c3883aa3122c0c877ca8dd7b26beb5cc4aa.

LibUV already gives an error for this, so this isn't needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c4c74c3883aa3122c0c877ca8dd7b26beb5cc4aa.

LibUV already gives an error for this, so this isn't needed.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7.4.1168 (#19645)</title>
<updated>2022-08-13T13:31:00+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-13T13:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=02a4974418b7fb18c5034b7b2fc85ce4cde7d370'/>
<id>02a4974418b7fb18c5034b7b2fc85ce4cde7d370</id>
<content type='text'>
Problem:    This doesn't give the right result: eval(string(v:true)). (Nikolay
            Pavlov)
Solution:   Make the string "v:true" instead of "true".
https://github.com/vim/vim/commit/f48aa160fdd7b8caa7678e1a2139244dd2bdc547</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    This doesn't give the right result: eval(string(v:true)). (Nikolay
            Pavlov)
Solution:   Make the string "v:true" instead of "true".
https://github.com/vim/vim/commit/f48aa160fdd7b8caa7678e1a2139244dd2bdc547</pre>
</div>
</content>
</entry>
<entry>
<title>test: make Ex mode exit test test what it wants to test (#19728)</title>
<updated>2022-08-12T01:04:08+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-12T01:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0d9e09bf670724caec9939a7165e25c4abc40291'/>
<id>0d9e09bf670724caec9939a7165e25c4abc40291</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.1281: the "trailing characters" error can be hard to understand</title>
<updated>2022-08-07T06:39:19+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-07T06:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=48051ed62cde6ab572bcd48768fe43740f3cd48c'/>
<id>48051ed62cde6ab572bcd48768fe43740f3cd48c</id>
<content type='text'>
Problem:    The "trailing characters" error can be hard to understand.
Solution:   Add the trailing characters to the message.
https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    The "trailing characters" error can be hard to understand.
Solution:   Add the trailing characters to the message.
https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(windows):exepath, stdpath return wrong slashes #19111</title>
<updated>2022-07-18T00:00:08+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2022-07-18T00:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1b462705d049fa0cf2bb99bae9112b84abea8d5a'/>
<id>1b462705d049fa0cf2bb99bae9112b84abea8d5a</id>
<content type='text'>
exepath and stdpath should respect shellslash and return path with
proper file separator.
Closes #13787
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
exepath and stdpath should respect shellslash and return path with
proper file separator.
Closes #13787
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): mouse=nvi  #19290</title>
<updated>2022-07-17T11:14:04+00:00</updated>
<author>
<name>matveyt</name>
<email>35012635+matveyt@users.noreply.github.com</email>
</author>
<published>2022-07-17T11:14:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb9b93b5e025386ec9431c9d35a4a073d6946d1d'/>
<id>eb9b93b5e025386ec9431c9d35a4a073d6946d1d</id>
<content type='text'>
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.

Solution:
Do it.
Closes #15521</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.

Solution:
Do it.
Closes #15521</pre>
</div>
</content>
</entry>
<entry>
<title>test(job_spec): accept alternate messages for "append environment" tests</title>
<updated>2022-07-16T18:08:27+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2022-07-16T18:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=bcb5b7b3f62dcb7777e8b47d8d1f7f99789afaac'/>
<id>bcb5b7b3f62dcb7777e8b47d8d1f7f99789afaac</id>
<content type='text'>
These tests commonly fail in Debian with

    [  ERROR   ] test/functional/core/job_spec.lua @ 81: jobs append environment with pty #env
    test/functional/helpers.lua:198:
    ==============================================================================
    test/helpers.lua:73: Expected objects to be the same.
    Passed in:
    (table: 0x2aa4bcc1040) {
     *[1] = {
        [1] = 'notification'
        [2] = 'stdout'
       *[3] = {
          [1] = 0
         *[2] = {
            [1] = 'hello world abc' } } } }
    Expected:
    (table: 0x2aa4bcc0d70) {
     *[1] = {
        [1] = 'notification'
        [2] = 'stdout'
       *[3] = {
          [1] = 0
         *[2] = {
            [1] = 'hello world abc'
           *[2] = '' } } } }

Since the test is validating the "hello world abc" message, not the
newlines, accept either set of message sequences.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These tests commonly fail in Debian with

    [  ERROR   ] test/functional/core/job_spec.lua @ 81: jobs append environment with pty #env
    test/functional/helpers.lua:198:
    ==============================================================================
    test/helpers.lua:73: Expected objects to be the same.
    Passed in:
    (table: 0x2aa4bcc1040) {
     *[1] = {
        [1] = 'notification'
        [2] = 'stdout'
       *[3] = {
          [1] = 0
         *[2] = {
            [1] = 'hello world abc' } } } }
    Expected:
    (table: 0x2aa4bcc0d70) {
     *[1] = {
        [1] = 'notification'
        [2] = 'stdout'
       *[3] = {
          [1] = 0
         *[2] = {
            [1] = 'hello world abc'
           *[2] = '' } } } }

Since the test is validating the "hello world abc" message, not the
newlines, accept either set of message sequences.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: --startuptime</title>
<updated>2022-07-09T22:45:02+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-07-09T20:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=797007997ce7b93b2e094c543a05cf325de1b513'/>
<id>797007997ce7b93b2e094c543a05cf325de1b513</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: stdpath('run'), /tmp/nvim.user/ #18993</title>
<updated>2022-06-30T11:16:46+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-06-30T11:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f50135a32e11c535e1dc3a8e9460c5b4e640ee86'/>
<id>f50135a32e11c535e1dc3a8e9460c5b4e640ee86</id>
<content type='text'>
Problem:
- Since c57f6b28d71d #8519, sockets are created in ~/.local/… but XDG
  spec says: "XDG_RUNTIME_DIR: Must be on the local filesystem", which
  implies that XDG_STATE_DIR is potentially non-local.
- Not easy to inspect Nvim-created temp files (for debugging etc).

Solution:
- Store sockets in stdpath('run') ($XDG_RUNTIME_DIR).
- Establish "/tmp/nvim.user/" as the tempdir root shared by all Nvims.
- Make ok() actually useful.
- Introduce assert_nolog().

closes #3517
closes #17093</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
- Since c57f6b28d71d #8519, sockets are created in ~/.local/… but XDG
  spec says: "XDG_RUNTIME_DIR: Must be on the local filesystem", which
  implies that XDG_STATE_DIR is potentially non-local.
- Not easy to inspect Nvim-created temp files (for debugging etc).

Solution:
- Store sockets in stdpath('run') ($XDG_RUNTIME_DIR).
- Establish "/tmp/nvim.user/" as the tempdir root shared by all Nvims.
- Make ok() actually useful.
- Introduce assert_nolog().

closes #3517
closes #17093</pre>
</div>
</content>
</entry>
</feed>
