<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/cmake, branch rahm</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>build: mark CMake variables advanced #31412</title>
<updated>2024-12-10T00:10:27+00:00</updated>
<author>
<name>Eisuke Kawashima</name>
<email>e.kawaschima+github@gmail.com</email>
</author>
<published>2024-12-10T00:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1b90f4a9c472e674d707cbc01520423d305f6b17'/>
<id>1b90f4a9c472e674d707cbc01520423d305f6b17</id>
<content type='text'>
The variables are not marked as advanced, thus they appear in e.g. `ccmake`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variables are not marked as advanced, thus they appear in e.g. `ccmake`.</pre>
</div>
</content>
</entry>
<entry>
<title>build: specify POST_BUILD when using add_custom_command</title>
<updated>2024-11-09T12:07:16+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-11-08T16:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=07b14c8e2ed288dfca382719aeb26d544573f51a'/>
<id>07b14c8e2ed288dfca382719aeb26d544573f51a</id>
<content type='text'>
This is needed specifically for the second signature of
add_custom_command, which appends an operation to an existing target.
This will prevent the cmake warning CMP0175.

Reference: https://cmake.org/cmake/help/latest/policy/CMP0175.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed specifically for the second signature of
add_custom_command, which appends an operation to an existing target.
This will prevent the cmake warning CMP0175.

Reference: https://cmake.org/cmake/help/latest/policy/CMP0175.html
</pre>
</div>
</content>
</entry>
<entry>
<title>build(lpeg): search for lpeg.so on MacOS</title>
<updated>2024-10-22T12:29:20+00:00</updated>
<author>
<name>Tom Scogland</name>
<email>tom.scogland@gmail.com</email>
</author>
<published>2024-10-10T18:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e178331488a0fb6a9c48152511a21a3f95d66750'/>
<id>e178331488a0fb6a9c48152511a21a3f95d66750</id>
<content type='text'>
Problem: Currently Neovim only searches for lpeg.dylib, liblpeg.dylib,
etc. on MacOS, but a normal installation of lpeg will produce lpeg.so
instead.  There are explicit workarounds for this by modifying lpeg's
package in Homebrew, and will shortly be another in spack.

Solution: also search for lpeg.so even if that's not the platform
default, because Lua and luarocks use it anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Currently Neovim only searches for lpeg.dylib, liblpeg.dylib,
etc. on MacOS, but a normal installation of lpeg will produce lpeg.so
instead.  There are explicit workarounds for this by modifying lpeg's
package in Homebrew, and will shortly be another in spack.

Solution: also search for lpeg.so even if that's not the platform
default, because Lua and luarocks use it anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: remove enforcement of cmake build type</title>
<updated>2024-10-22T09:21:54+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-10-13T23:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=573bcb2aaf3e2421e0d2593b048f684ee05251a6'/>
<id>573bcb2aaf3e2421e0d2593b048f684ee05251a6</id>
<content type='text'>
Forcing the build type to be one of the default types was intended to
prevent usage of custom build types which risks unpredictability.
Unfortunately, many distributions patch this check out so they can use
a custom type anyway, making the check moot in the first place. Instead,
allow custom build types but don't try to accomodate them in the code:
we're making the assumption that anyone who wants to use a custom build
type will be able to set any additional necessary flags needed for their
specific system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forcing the build type to be one of the default types was intended to
prevent usage of custom build types which risks unpredictability.
Unfortunately, many distributions patch this check out so they can use
a custom type anyway, making the check moot in the first place. Instead,
allow custom build types but don't try to accomodate them in the code:
we're making the assumption that anyone who wants to use a custom build
type will be able to set any additional necessary flags needed for their
specific system.
</pre>
</div>
</content>
</entry>
<entry>
<title>build(cmake): remove unnecessary policy code</title>
<updated>2024-09-22T15:21:10+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-09-22T15:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=327110ff8c5965eaae92f363f06b04a4986b6ef7'/>
<id>327110ff8c5965eaae92f363f06b04a4986b6ef7</id>
<content type='text'>
Policy CMP0092 is by default on for minimum cmake versions above 3.15.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Policy CMP0092 is by default on for minimum cmake versions above 3.15.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add support for wasm parsers</title>
<updated>2024-08-26T14:44:03+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-04-19T15:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=688b961d13bd54a14836f08c3ded3121d3fb15a0'/>
<id>688b961d13bd54a14836f08c3ded3121d3fb15a0</id>
<content type='text'>
Problem: Installing treesitter parser is hard (harder than
climbing to heaven).

Solution: Add optional support for wasm parsers with `wasmtime`.

Notes:

* Needs to be enabled by setting `ENABLE_WASMTIME` for tree-sitter and
  Neovim. Build with
  `make CMAKE_EXTRA_FLAGS=-DENABLE_WASMTIME=ON
  DEPS_CMAKE_FLAGS=-DENABLE_WASMTIME=ON`
* Adds optional Rust (obviously) and C11 dependencies.
* Wasmtime comes with a lot of features that can negatively affect
  Neovim performance due to library and symbol table size. Make sure to
  build with minimal features and full LTO.
* To reduce re-compilation times, install `sccache` and build with
  `RUSTC_WRAPPER=&lt;path/to/sccache&gt; make ...`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Installing treesitter parser is hard (harder than
climbing to heaven).

Solution: Add optional support for wasm parsers with `wasmtime`.

Notes:

* Needs to be enabled by setting `ENABLE_WASMTIME` for tree-sitter and
  Neovim. Build with
  `make CMAKE_EXTRA_FLAGS=-DENABLE_WASMTIME=ON
  DEPS_CMAKE_FLAGS=-DENABLE_WASMTIME=ON`
* Adds optional Rust (obviously) and C11 dependencies.
* Wasmtime comes with a lot of features that can negatively affect
  Neovim performance due to library and symbol table size. Make sure to
  build with minimal features and full LTO.
* To reduce re-compilation times, install `sccache` and build with
  `RUSTC_WRAPPER=&lt;path/to/sccache&gt; make ...`
</pre>
</div>
</content>
</entry>
<entry>
<title>build(deps): vendor libvterm at v0.3.3</title>
<updated>2024-08-10T08:26:07+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-08-08T10:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fa79a8ad6deefeea81c1959d69aa4c8b2d993f99'/>
<id>fa79a8ad6deefeea81c1959d69aa4c8b2d993f99</id>
<content type='text'>
Problem: Adding support for modern Nvim features (reflow, OSC 8, full
utf8/emoji support) requires coupling libvterm to Nvim internals
(e.g., utf8proc).

Solution: Vendor libvterm at v0.3.3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Adding support for modern Nvim features (reflow, OSC 8, full
utf8/emoji support) requires coupling libvterm to Nvim internals
(e.g., utf8proc).

Solution: Vendor libvterm at v0.3.3.
</pre>
</div>
</content>
</entry>
<entry>
<title>build(deps): remove msgpack-c dependency</title>
<updated>2024-08-05T10:22:12+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2024-07-02T11:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1247684ae14e83c5b742be390de8dee00fd4e241'/>
<id>1247684ae14e83c5b742be390de8dee00fd4e241</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: add utf8proc as dependency</title>
<updated>2024-06-28T17:47:39+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-06-12T15:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e'/>
<id>32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e</id>
<content type='text'>
utf8proc contains all the data which is currently in
unicode_tables.generated.h internally, but in quite a different format.
Ideally unicode_tables.generated.h should be removed as well so we rely
solely on utf8proc. We want to avoid a situation where the possibility
of unicode mismatch occurs, e.g a distro using both unicode 12 and
unicode 13.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
utf8proc contains all the data which is currently in
unicode_tables.generated.h internally, but in quite a different format.
Ideally unicode_tables.generated.h should be removed as well so we rely
solely on utf8proc. We want to avoid a situation where the possibility
of unicode mismatch occurs, e.g a distro using both unicode 12 and
unicode 13.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: reuse code for deps.txt for both deps and main build</title>
<updated>2024-05-28T18:58:07+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-05-28T09:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f09f5c45facc597bb3f70b7821412641bf31a592'/>
<id>f09f5c45facc597bb3f70b7821412641bf31a592</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
