<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/strings.c, 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>refactor: move function macros out of vim_defs.h (#26300)</title>
<updated>2023-11-29T15:10:21+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-11-29T15:10:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=86cc791debba09c8ed1aa0d863be844108866a38'/>
<id>86cc791debba09c8ed1aa0d863be844108866a38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: fix headers with IWYU</title>
<updated>2023-11-28T21:23:56+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-28T19:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=79b6ff28ad1204fbb4199b9092f5c578d88cb28e'/>
<id>79b6ff28ad1204fbb4199b9092f5c578d88cb28e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: rename types.h to types_defs.h</title>
<updated>2023-11-27T20:57:51+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-27T19:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6c14ae6bfaf51415b555e9a6b85d1d280976358d'/>
<id>6c14ae6bfaf51415b555e9a6b85d1d280976358d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: enable formatting for ternaries</title>
<updated>2023-11-20T18:57:09+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-16T09:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a6e3d93421ba13c407a96fac9cc01fa41ec7ad98'/>
<id>a6e3d93421ba13c407a96fac9cc01fa41ec7ad98</id>
<content type='text'>
This requires removing the "Inner expression should be aligned" rule
from clint as it prevents essentially any formatting regarding ternary
operators.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires removing the "Inner expression should be aligned" rule
from clint as it prevents essentially any formatting regarding ternary
operators.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: follow style guide</title>
<updated>2023-11-19T14:08:35+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-13T22:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ac1113ded5f8f09dd99a9894d7a7e795626fb728'/>
<id>ac1113ded5f8f09dd99a9894d7a7e795626fb728</id>
<content type='text'>
- reduce variable scope
- prefer initialization over declaration and assignment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- reduce variable scope
- prefer initialization over declaration and assignment
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: follow style guide</title>
<updated>2023-11-13T22:39:56+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-12T14:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=28f4f3c48498086307ed825d1761edb5789ca0e8'/>
<id>28f4f3c48498086307ed825d1761edb5789ca0e8</id>
<content type='text'>
- reduce variable scope
- prefer initialization over declaration and assignment
- use bool to represent boolean values
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- reduce variable scope
- prefer initialization over declaration and assignment
- use bool to represent boolean values
</pre>
</div>
</content>
</entry>
<entry>
<title>build: remove PVS</title>
<updated>2023-11-12T20:26:39+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-11-12T12:13:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=353a4be7e84fdc101318215bdcc8a7e780d737fe'/>
<id>353a4be7e84fdc101318215bdcc8a7e780d737fe</id>
<content type='text'>
We already have an extensive suite of static analysis tools we use,
which causes a fair bit of redundancy as we get duplicate warnings. PVS
is also prone to give false warnings which creates a lot of work to
identify and disable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already have an extensive suite of static analysis tools we use,
which causes a fair bit of redundancy as we get duplicate warnings. PVS
is also prone to give false warnings which creates a lot of work to
identify and disable.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: change some xstrndup() and xstrnsave() to xmemdupz() (#25959)</title>
<updated>2023-11-10T00:39:21+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-11-10T00:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=cd63a9addd6e1114c3524fa041ece560550cfe7b'/>
<id>cd63a9addd6e1114c3524fa041ece560550cfe7b</id>
<content type='text'>
When the given length is exactly the number of bytes to copy, xmemdupz()
makes the intention clearer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the given length is exactly the number of bytes to copy, xmemdupz()
makes the intention clearer.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.2041: trim(): hard to use default mask (#25692)</title>
<updated>2023-10-17T22:08:14+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-10-17T22:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bc5dfda441dd1b3de56bd64059b0a1df4075f050'/>
<id>bc5dfda441dd1b3de56bd64059b0a1df4075f050</id>
<content type='text'>
Problem:  trim(): hard to use default mask (partly revert v9.0.2040)
Solution: use default mask when it is empty

The default 'mask' value is pretty complex, as it includes many
characters.  Yet, if one needs to specify the trimming direction, the
third argument, 'trim()' currently requires the 'mask' value to be
provided explicitly.

Currently, an empty 'mask' will make 'trim()' call return 'text' value
that is passed in unmodified.  It is unlikely that someone is using it,
so the chances of scripts being broken by this change are low.

Also, this reverts commit 9.0.2040 (which uses v:none for the default
and requires to use an empty string instead).

closes: vim/vim#13358

https://github.com/vim/vim/commit/8079917447e7436dccc2e4cd4a4a56ae0a4712f2

vim-patch:9.0.2040: trim(): hard to use default mask

Problem:  trim(): hard to use default mask
Solution: Use default 'mask' when it is v:none

The default 'mask' value is pretty complex, as it includes many
characters.  Yet, if one needs to specify the trimming direction, the
third argument, 'trim()' currently requires the 'mask' value to be
provided explicitly.

'v:none' is already used to mean "use the default argument value" in
user defined functions.  See |none-function_argument| in help.

closes: vim/vim#13363

https://github.com/vim/vim/commit/6e6386716f9494ae86027c6d34f657fd03dfec42

Co-authored-by: Illia Bobyr &lt;illia.bobyr@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  trim(): hard to use default mask (partly revert v9.0.2040)
Solution: use default mask when it is empty

The default 'mask' value is pretty complex, as it includes many
characters.  Yet, if one needs to specify the trimming direction, the
third argument, 'trim()' currently requires the 'mask' value to be
provided explicitly.

Currently, an empty 'mask' will make 'trim()' call return 'text' value
that is passed in unmodified.  It is unlikely that someone is using it,
so the chances of scripts being broken by this change are low.

Also, this reverts commit 9.0.2040 (which uses v:none for the default
and requires to use an empty string instead).

closes: vim/vim#13358

https://github.com/vim/vim/commit/8079917447e7436dccc2e4cd4a4a56ae0a4712f2

vim-patch:9.0.2040: trim(): hard to use default mask

Problem:  trim(): hard to use default mask
Solution: Use default 'mask' when it is v:none

The default 'mask' value is pretty complex, as it includes many
characters.  Yet, if one needs to specify the trimming direction, the
third argument, 'trim()' currently requires the 'mask' value to be
provided explicitly.

'v:none' is already used to mean "use the default argument value" in
user defined functions.  See |none-function_argument| in help.

closes: vim/vim#13363

https://github.com/vim/vim/commit/6e6386716f9494ae86027c6d34f657fd03dfec42

Co-authored-by: Illia Bobyr &lt;illia.bobyr@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.1997: Some unused code in move.c and string.c</title>
<updated>2023-10-07T08:11:22+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-10-06T22:15:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7f65431d90e18819009c30aa3ee2a680d3b3958d'/>
<id>7f65431d90e18819009c30aa3ee2a680d3b3958d</id>
<content type='text'>
Problem:  Some unused code in move.c and string.c
Solution: Remove it

closes: vim/vim#13288

https://github.com/vim/vim/commit/580c1fcb4ad85360cd3a361c3c8e37b534153d60

Co-authored-by: dundargoc &lt;gocdundar@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  Some unused code in move.c and string.c
Solution: Remove it

closes: vim/vim#13288

https://github.com/vim/vim/commit/580c1fcb4ad85360cd3a361c3c8e37b534153d60

Co-authored-by: dundargoc &lt;gocdundar@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
