<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/contrib/local.mk.example, branch mix_20240309</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>feat(docs): replace lua2dox.lua</title>
<updated>2024-02-27T14:41:17+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-02-15T17:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9beb40a4db5613601fc1a4b828a44e5977eca046'/>
<id>9beb40a4db5613601fc1a4b828a44e5977eca046</id>
<content type='text'>
Problem:

The documentation flow (`gen_vimdoc.py`) has several issues:
- it's not very versatile
- depends on doxygen
- doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C.
- The intermediate XML files and filters makes it too much like a rube goldberg machine.

Solution:

Re-implement the flow using Lua, LPEG and treesitter.

- `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic.
- `lua2dox.lua` is gone!
- No more XML files.
- Doxygen is now longer used and instead we now use:
  - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`).
  - LPEG for C parsing (see `scripts/cdoc_parser.lua`)
  - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`).
  - Treesitter for Markdown parsing (see `scripts/text_utils.lua`).
- The generated `runtime/doc/*.mpack` files have been removed.
   - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly.
- Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:

The documentation flow (`gen_vimdoc.py`) has several issues:
- it's not very versatile
- depends on doxygen
- doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C.
- The intermediate XML files and filters makes it too much like a rube goldberg machine.

Solution:

Re-implement the flow using Lua, LPEG and treesitter.

- `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic.
- `lua2dox.lua` is gone!
- No more XML files.
- Doxygen is now longer used and instead we now use:
  - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`).
  - LPEG for C parsing (see `scripts/cdoc_parser.lua`)
  - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`).
  - Treesitter for Markdown parsing (see `scripts/text_utils.lua`).
- The generated `runtime/doc/*.mpack` files have been removed.
   - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly.
- Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change).
</pre>
</div>
</content>
</entry>
<entry>
<title>build: remove luarocks</title>
<updated>2023-09-10T13:32:47+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-09-09T16:14:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9f8f287c6139b8b8ff2809f4d1aebb57021cd043'/>
<id>9f8f287c6139b8b8ff2809f4d1aebb57021cd043</id>
<content type='text'>
Luarocks is no longer needed after
25e51d393a420765d5efd44c1b4be823a5cf280a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Luarocks is no longer needed after
25e51d393a420765d5efd44c1b4be823a5cf280a.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(log): reduce compile time LOG_LEVEL granularity</title>
<updated>2023-03-04T14:26:17+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2023-02-26T11:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2ba224e1526681c1a0b1b2b095b1ef2b0874db48'/>
<id>2ba224e1526681c1a0b1b2b095b1ef2b0874db48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: fix typos (#16361)</title>
<updated>2021-11-27T16:10:48+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-11-27T16:10:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=caa6992a1071a2ac373bec21085685da4a1790d6'/>
<id>caa6992a1071a2ac373bec21085685da4a1790d6</id>
<content type='text'>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: use LibFindMacros for utf8proc (#11114)</title>
<updated>2019-09-29T02:44:02+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-29T02:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0a2a1e241fee64d8ceeca023dab4aca71b62dfbb'/>
<id>0a2a1e241fee64d8ceeca023dab4aca71b62dfbb</id>
<content type='text'>
Also update doc.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also update doc.</pre>
</div>
</content>
</entry>
<entry>
<title>doc: contrib/local.mk.example: include ENABLE_LTO  (#11097)</title>
<updated>2019-09-26T21:43:49+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-26T21:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fe9d54f418973f59ec88ca05489da6df3609811f'/>
<id>fe9d54f418973f59ec88ca05489da6df3609811f</id>
<content type='text'>
Using it takes 30+ additional seconds for me with a ccache-enabled build
(43s vs. 12s).

While it certainly makes sense to use DEBUG during development,
bisecting etc, it should be made clearer what causes this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using it takes 30+ additional seconds for me with a ccache-enabled build
(43s vs. 12s).

While it certainly makes sense to use DEBUG during development,
bisecting etc, it should be made clearer what causes this.</pre>
</div>
</content>
</entry>
<entry>
<title>build: clean up / remove X_USE_STATIC (#10713)</title>
<updated>2019-08-07T20:19:55+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-08-07T20:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6ebe476675923cdade0a460148209ee9f01c2fd6'/>
<id>6ebe476675923cdade0a460148209ee9f01c2fd6</id>
<content type='text'>
This was discouraged (as an option) in 5b5d353151 [1], not enabled/used by
default, and not working according to the comment in local.mk.example.

Taken out of https://github.com/neovim/neovim/pull/10395.

1: https://github.com/neovim/neovim/pull/2465</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was discouraged (as an option) in 5b5d353151 [1], not enabled/used by
default, and not working according to the comment in local.mk.example.

Taken out of https://github.com/neovim/neovim/pull/10395.

1: https://github.com/neovim/neovim/pull/2465</pre>
</div>
</content>
</entry>
<entry>
<title>local.mk.example: add example for -Werror  [ci skip] #10178</title>
<updated>2019-06-10T15:20:41+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-06-10T15:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6fe430f582f2297ca190d04639a885c789b532ae'/>
<id>6fe430f582f2297ca190d04639a885c789b532ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for using jemalloc instead of the system allocator</title>
<updated>2019-01-19T23:09:52+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2019-01-19T23:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c2343180d74f547d99abcc3c4979a9ebb047af17'/>
<id>c2343180d74f547d99abcc3c4979a9ebb047af17</id>
<content type='text'>
There was never any investigation done to determine whether using
jemalloc was actually a net benefit for nvim.  It has been a portability
limitation and adds another factor to consider when triaging issues.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was never any investigation done to determine whether using
jemalloc was actually a net benefit for nvim.  It has been a portability
limitation and adds another factor to consider when triaging issues.
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib: fix local.mk.example (#8286)</title>
<updated>2018-04-16T19:21:44+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro+github@gmail.com</email>
</author>
<published>2018-04-16T19:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9a1f57b488778bf8b365ae118153638609f4494d'/>
<id>9a1f57b488778bf8b365ae118153638609f4494d</id>
<content type='text'>
We have two ways to disable third-party/

  1. make USE_BUNDLED_DEPS=OFF
  2. cmake USE_BUNDLED=OFF

The example used the make option in a cmake context.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have two ways to disable third-party/

  1. make USE_BUNDLED_DEPS=OFF
  2. cmake USE_BUNDLED=OFF

The example used the make option in a cmake context.</pre>
</div>
</content>
</entry>
</feed>
