<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/watch_spec.lua, branch fix_repeatcmdline</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>test: skip failing watch file tests on freebsd (#26110)</title>
<updated>2023-11-19T17:37:49+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2023-11-19T17:37:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95'/>
<id>7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95</id>
<content type='text'>
Quick fix as follow up to https://github.com/neovim/neovim/pull/26108

kqueue only reports events on a watched folder itself, not for files
created or deleted within. So the approach the PR took doesn't work on FreeBSD.

We'll either need to bring back polling for it, combine watching with manual
file tracking, or disable LSP file watching on FreeBSD</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Quick fix as follow up to https://github.com/neovim/neovim/pull/26108

kqueue only reports events on a watched folder itself, not for files
created or deleted within. So the approach the PR took doesn't work on FreeBSD.

We'll either need to bring back polling for it, combine watching with manual
file tracking, or disable LSP file watching on FreeBSD</pre>
</div>
</content>
</entry>
<entry>
<title>perf(lsp): replace file polling on linux with per dir watcher  (#26108)</title>
<updated>2023-11-19T13:25:32+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2023-11-19T13:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=de28a0f84c577e264f37cd001b03d640db7d5ef9'/>
<id>de28a0f84c577e264f37cd001b03d640db7d5ef9</id>
<content type='text'>
Should help with https://github.com/neovim/neovim/issues/23291

On linux `new_fs_event` doesn't support recursive watching, but we can
still use it to watch folders.

The downside of this approach is that we may end up sending some false
`Deleted` events. For example, if you save a file named `foo` there will
be a intermediate `foo~` due to the save mechanism of neovim.

The events we get from vim.uv in that case are:

- rename: foo~
- rename: foo~
- rename: foo
- rename: foo
- change: foo
- change: foo

The mechanism in this PR uses a debounce to reduce this to:

- deleted: foo~
- changed: foo

`foo~` will be the false positive.
I suspect that for the LSP case this is good enough. If not, we may need
to follow up on this and keep a table in memory that tracks available
files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should help with https://github.com/neovim/neovim/issues/23291

On linux `new_fs_event` doesn't support recursive watching, but we can
still use it to watch folders.

The downside of this approach is that we may end up sending some false
`Deleted` events. For example, if you save a file named `foo` there will
be a intermediate `foo~` due to the save mechanism of neovim.

The events we get from vim.uv in that case are:

- rename: foo~
- rename: foo~
- rename: foo
- rename: foo
- change: foo
- change: foo

The mechanism in this PR uses a debounce to reduce this to:

- deleted: foo~
- changed: foo

`foo~` will be the false positive.
I suspect that for the LSP case this is good enough. If not, we may need
to follow up on this and keep a table in memory that tracks available
files.</pre>
</div>
</content>
</entry>
<entry>
<title>test: skip failing test on freebsd</title>
<updated>2023-11-10T20:10:15+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-10T16:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4e33ef747ca4b26f67c43e73f3105b174e9ef5b6'/>
<id>4e33ef747ca4b26f67c43e73f3105b174e9ef5b6</id>
<content type='text'>
The watch_file test started failing on bsd after
3ca967387c49c754561c3b11a574797504d40f38.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The watch_file test started failing on bsd after
3ca967387c49c754561c3b11a574797504d40f38.
</pre>
</div>
</content>
</entry>
<entry>
<title>test(fs): vim.loop was renamed to vim.uv (#24376)</title>
<updated>2023-07-17T11:27:55+00:00</updated>
<author>
<name>kylo252</name>
<email>59826753+kylo252@users.noreply.github.com</email>
</author>
<published>2023-07-17T11:27:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=98b22867c33a45aaaf057afbeda8acb0216494e3'/>
<id>98b22867c33a45aaaf057afbeda8acb0216494e3</id>
<content type='text'>
test(fs): vim.loop has been replaced with vim.uv</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test(fs): vim.loop has been replaced with vim.uv</pre>
</div>
</content>
</entry>
<entry>
<title>test(fs): get tmpdir robustly #23021</title>
<updated>2023-07-16T12:50:10+00:00</updated>
<author>
<name>kylo252</name>
<email>59826753+kylo252@users.noreply.github.com</email>
</author>
<published>2023-07-16T12:50:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f660b794808ac809ee8cafe82ddd824840bc8e2c'/>
<id>f660b794808ac809ee8cafe82ddd824840bc8e2c</id>
<content type='text'>
Problem:
helpers.tmpname() may create a local file, depending on circumstances.

Solution:
Only use helpers.tmpname() for its parent directory (the "temp root").
Use fs_mkdtemp() to actually get a unique name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
helpers.tmpname() may create a local file, depending on circumstances.

Solution:
Only use helpers.tmpname() for its parent directory (the "temp root").
Use fs_mkdtemp() to actually get a unique name.</pre>
</div>
</content>
</entry>
<entry>
<title>perf(lsp): reduce polling handles for workspace/didChangeWatchedFiles (#23500)</title>
<updated>2023-06-14T10:40:11+00:00</updated>
<author>
<name>Jon Huhn</name>
<email>nojnhuh@users.noreply.github.com</email>
</author>
<published>2023-06-14T10:40:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=79a5b89d66db74560e751561542064674e980146'/>
<id>79a5b89d66db74560e751561542064674e980146</id>
<content type='text'>
Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix(watchfiles): skip Created events when poll starts (#23139)</title>
<updated>2023-04-17T16:50:05+00:00</updated>
<author>
<name>Jon Huhn</name>
<email>nojnhuh@users.noreply.github.com</email>
</author>
<published>2023-04-17T16:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6cc76011ca28ff61f1c2f8de6d895d4c6d0a1ad8'/>
<id>6cc76011ca28ff61f1c2f8de6d895d4c6d0a1ad8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: replace lfs with luv and vim.fs</title>
<updated>2023-04-04T19:59:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-04-04T19:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=743860de40502227b3f0ed64317eb937d24d4a36'/>
<id>743860de40502227b3f0ed64317eb937d24d4a36</id>
<content type='text'>
test: replace lfs with luv

luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test: replace lfs with luv

luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix flaky watchfiles tests (#22637)</title>
<updated>2023-03-26T09:41:27+00:00</updated>
<author>
<name>Jon Huhn</name>
<email>nojnhuh@users.noreply.github.com</email>
</author>
<published>2023-03-26T09:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6a6191174afd7604b82fcc04b9a27b8d51133c9f'/>
<id>6a6191174afd7604b82fcc04b9a27b8d51133c9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): implement workspace/didChangeWatchedFiles (#22405)</title>
<updated>2023-03-05T06:52:27+00:00</updated>
<author>
<name>Jon Huhn</name>
<email>nojnhuh@users.noreply.github.com</email>
</author>
<published>2023-03-05T06:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ac69ba5fa0081026f2c5e6e29d5788802479b7b9'/>
<id>ac69ba5fa0081026f2c5e6e29d5788802479b7b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
