<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/os, branch 20230125_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>fix(lua): mark some eval functions that can run in API-fast</title>
<updated>2023-02-02T13:21:44+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-02-02T13:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b02eeb6a7281df0561a021d7ae595c84be9a01be'/>
<id>b02eeb6a7281df0561a021d7ae595c84be9a01be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: add manifest file to correctly determine Windows version (#21953)</title>
<updated>2023-01-23T22:47:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-23T22:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5a94d24095c3f817310a82ef739952416b00a704'/>
<id>5a94d24095c3f817310a82ef739952416b00a704</id>
<content type='text'>
In Windows 8.1 and later, GetVersionEx does not automatically give the
correct information if a manifest file doesn't explicitly mention we
support that version. This will enable further detection for Windows 8.1
and Windows 10/11 when using windowsversion(), with an easy way to add
future versions. A list of all operating system versions can be found
here:
https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Windows 8.1 and later, GetVersionEx does not automatically give the
correct information if a manifest file doesn't explicitly mention we
support that version. This will enable further detection for Windows 8.1
and Windows 10/11 when using windowsversion(), with an easy way to add
future versions. A list of all operating system versions can be found
here:
https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version</pre>
</div>
</content>
</entry>
<entry>
<title>fix(Windows): restore console title at exit #21922</title>
<updated>2023-01-23T09:45:18+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2023-01-23T09:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b36b58d0d4869b573ca6657db0d43eed2cbdd72f'/>
<id>b36b58d0d4869b573ca6657db0d43eed2cbdd72f</id>
<content type='text'>
Fixes #21404</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #21404</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: replace char_u with char 25 (#21838)</title>
<updated>2023-01-19T14:25:56+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-19T14:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4c531714ff24d82bf1a85decf0e0c63c5785e686'/>
<id>4c531714ff24d82bf1a85decf0e0c63c5785e686</id>
<content type='text'>
refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: replace char_u with char 24 (#21823)</title>
<updated>2023-01-18T13:17:11+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-18T13:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8a4285d5637c146a0ae606918a8e77063c6a5f0d'/>
<id>8a4285d5637c146a0ae606918a8e77063c6a5f0d</id>
<content type='text'>
refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: replace char_u with char 22 (#21786)</title>
<updated>2023-01-17T13:17:40+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-17T13:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0344bfad0fc87d2e256ea2b80de7abd069ba1dd2'/>
<id>0344bfad0fc87d2e256ea2b80de7abd069ba1dd2</id>
<content type='text'>
Work on https://github.com/neovim/neovim/issues/459</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Work on https://github.com/neovim/neovim/issues/459</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #21831 from bfredl/nofd</title>
<updated>2023-01-16T10:55:34+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2023-01-16T10:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=90493beb1584b9a99d3a71658bccd536d601e0f7'/>
<id>90493beb1584b9a99d3a71658bccd536d601e0f7</id>
<content type='text'>
fix(ui): re-organize tty fd handling and fix issues</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(ui): re-organize tty fd handling and fix issues</pre>
</div>
</content>
</entry>
<entry>
<title>fix(exepath)!: prefers extensionless for powershell</title>
<updated>2023-01-16T10:26:57+00:00</updated>
<author>
<name>Anton Kriese</name>
<email>anton.kriese@gmx.de</email>
</author>
<published>2022-11-24T12:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=52268afb1cc47ca5ac91ca265e95827bff2901bd'/>
<id>52268afb1cc47ca5ac91ca265e95827bff2901bd</id>
<content type='text'>
PROBLEM:
exepath("test") should prefer ".bat" when shell=powershell.
Current behavior differs from Vim 8.2.3071.

TEST CASE:
1. in a folder which is in $PATH, create files "test" "test.bat".
   - "(Get-Command test).Path test" returns "test.bat".
2. compare nvim:
     nvim --clean
     :set shell=powershell
     :echo exepath("test")
3. should returns "path\to\test.bat" (before this patch it returns "path\to\test").

SOLUTION:
After this patch, the binary files "text.exe", "test.bat", "test.com"
will be found, but the file "test" (without any extension) will not be
found (matches Vim 8.2.3071). But powershell's `where` and
`Get-Command` _do_ find the extensionless 'test' file.

But Nvim with ":set shell=cmd.exe", doesn't find "test" either (before
and after this patch), even though `where test` returns correct path in
cmd.

- `where` is a program to find files in general, not just executable files.
-`Get-Command` returning extensionless (and thus non-executable) file is
  puzzling even to Chris Dent, [PowerShell expert][1] (asked on
  Discord).

[1]: https://www.amazon.com/Mastering-PowerShell-Scripting-Automate-environment-ebook/dp/B0971MG88X

Co-authored-by: Enan Ajmain &lt;3nan.ajmain@gmail.com&gt;
Helped-by: erw7 &lt;erw7.github@gmail.com&gt;

Fixes #21045
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PROBLEM:
exepath("test") should prefer ".bat" when shell=powershell.
Current behavior differs from Vim 8.2.3071.

TEST CASE:
1. in a folder which is in $PATH, create files "test" "test.bat".
   - "(Get-Command test).Path test" returns "test.bat".
2. compare nvim:
     nvim --clean
     :set shell=powershell
     :echo exepath("test")
3. should returns "path\to\test.bat" (before this patch it returns "path\to\test").

SOLUTION:
After this patch, the binary files "text.exe", "test.bat", "test.com"
will be found, but the file "test" (without any extension) will not be
found (matches Vim 8.2.3071). But powershell's `where` and
`Get-Command` _do_ find the extensionless 'test' file.

But Nvim with ":set shell=cmd.exe", doesn't find "test" either (before
and after this patch), even though `where test` returns correct path in
cmd.

- `where` is a program to find files in general, not just executable files.
-`Get-Command` returning extensionless (and thus non-executable) file is
  puzzling even to Chris Dent, [PowerShell expert][1] (asked on
  Discord).

[1]: https://www.amazon.com/Mastering-PowerShell-Scripting-Automate-environment-ebook/dp/B0971MG88X

Co-authored-by: Enan Ajmain &lt;3nan.ajmain@gmail.com&gt;
Helped-by: erw7 &lt;erw7.github@gmail.com&gt;

Fixes #21045
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ui): re-organize tty fd handling and fix issues</title>
<updated>2023-01-16T10:26:49+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2023-01-10T13:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=160c69b655ce2e47fbedcc87fcb4949c2bc04dce'/>
<id>160c69b655ce2e47fbedcc87fcb4949c2bc04dce</id>
<content type='text'>
- Use the correct fd to replace stdin on windows (CONIN)
- Don't start the TUI if there are no tty fd (not a regression,
  but makes sense regardless)
- De-mythologize "global input fd". it is just STDIN.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use the correct fd to replace stdin on windows (CONIN)
- Don't start the TUI if there are no tty fd (not a regression,
  but makes sense regardless)
- De-mythologize "global input fd". it is just STDIN.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: fix IWYU mapping file and use IWYU (#21802)</title>
<updated>2023-01-15T13:16:33+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-15T13:16:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3269902a13df3bccf8705db73488c0a47f495514'/>
<id>3269902a13df3bccf8705db73488c0a47f495514</id>
<content type='text'>
Also add the EXITFREE definition to main_lib rather than the nvim target, as the header generation needs the EXITFREE flag to work properly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add the EXITFREE definition to main_lib rather than the nvim target, as the header generation needs the EXITFREE flag to work properly.</pre>
</div>
</content>
</entry>
</feed>
