<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/treesitter/node_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>fix(treesitter): fix another TSNode:tree() double free</title>
<updated>2023-08-29T09:35:46+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2023-08-29T09:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=50a03c0e9975925e3198a2741c5b9fc0ad727e84'/>
<id>50a03c0e9975925e3198a2741c5b9fc0ad727e84</id>
<content type='text'>
Unfortunately the gc=false objects can refer to a dangling tree if the
gc=true tree was freed first. This reuses the same tree object as the
node itself is keeping alive via the uservalue of the node userdata.
(wrapped in a table due to lua 5.1 restrictions)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately the gc=false objects can refer to a dangling tree if the
gc=true tree was freed first. This reuses the same tree object as the
node itself is keeping alive via the uservalue of the node userdata.
(wrapped in a table due to lua 5.1 restrictions)
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): fix TSNode:tree() double free (#24796)</title>
<updated>2023-08-29T08:48:23+00:00</updated>
<author>
<name>nwounkn</name>
<email>nwounkn@gmail.com</email>
</author>
<published>2023-08-29T08:48:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6e45567b498ca8455aaf3628c10de997ac070ee1'/>
<id>6e45567b498ca8455aaf3628c10de997ac070ee1</id>
<content type='text'>
Problem: `push_tree`, every time its called for the same TSTree with
`do_copy=false` argument, creates a new userdata for it. Each userdata,
when garbage collected, frees the same TSTree C object.

Solution: Add flag to userdata, which indicates, should C object,
which userdata points to, be freed, when userdata is garbage collected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: `push_tree`, every time its called for the same TSTree with
`do_copy=false` argument, creates a new userdata for it. Each userdata,
when garbage collected, frees the same TSTree C object.

Solution: Add flag to userdata, which indicates, should C object,
which userdata points to, be freed, when userdata is garbage collected.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: deprecate top level indexes to modules (#22761)</title>
<updated>2023-03-24T14:43:14+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-03-24T14:43:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=cbbf8bd666c8419fdab80a0887948c8a36279c19'/>
<id>cbbf8bd666c8419fdab80a0887948c8a36279c19</id>
<content type='text'>
The following top level Treesitter functions have been moved:
  - vim.treesitter.inspect_language() -&gt; vim.treesitter.language.inspect()
  - vim.treesitter.get_query_files() -&gt; vim.treesitter.query.get_files()
  - vim.treesitter.set_query() -&gt; vim.treesitter.query.set()
  - vim.treesitter.query.set_query() -&gt; vim.treesitter.query.set()
  - vim.treesitter.get_query() -&gt; vim.treesitter.query.get()
  - vim.treesitter.query.get_query() -&gt; vim.treesitter.query.get()
  - vim.treesitter.parse_query() -&gt; vim.treesitter.query.parse()
  - vim.treesitter.query.parse_query() -&gt; vim.treesitter.query.parse()
  - vim.treesitter.add_predicate() -&gt; vim.treesitter.query.add_predicate()
  - vim.treesitter.add_directive() -&gt; vim.treesitter.query.add_directive()
  - vim.treesitter.list_predicates() -&gt; vim.treesitter.query.list_predicates()
  - vim.treesitter.list_directives() -&gt; vim.treesitter.query.list_directives()
  - vim.treesitter.query.get_range() -&gt; vim.treesitter.get_range()
  - vim.treesitter.query.get_node_text() -&gt; vim.treesitter.get_node_text()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following top level Treesitter functions have been moved:
  - vim.treesitter.inspect_language() -&gt; vim.treesitter.language.inspect()
  - vim.treesitter.get_query_files() -&gt; vim.treesitter.query.get_files()
  - vim.treesitter.set_query() -&gt; vim.treesitter.query.set()
  - vim.treesitter.query.set_query() -&gt; vim.treesitter.query.set()
  - vim.treesitter.get_query() -&gt; vim.treesitter.query.get()
  - vim.treesitter.query.get_query() -&gt; vim.treesitter.query.get()
  - vim.treesitter.parse_query() -&gt; vim.treesitter.query.parse()
  - vim.treesitter.query.parse_query() -&gt; vim.treesitter.query.parse()
  - vim.treesitter.add_predicate() -&gt; vim.treesitter.query.add_predicate()
  - vim.treesitter.add_directive() -&gt; vim.treesitter.query.add_directive()
  - vim.treesitter.list_predicates() -&gt; vim.treesitter.query.list_predicates()
  - vim.treesitter.list_directives() -&gt; vim.treesitter.query.list_directives()
  - vim.treesitter.query.get_range() -&gt; vim.treesitter.get_range()
  - vim.treesitter.query.get_node_text() -&gt; vim.treesitter.get_node_text()</pre>
</div>
</content>
</entry>
<entry>
<title>ci(tests): don't skip parsers on functionaltest</title>
<updated>2022-09-06T05:57:46+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-09-04T14:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6254b0fd3bc725705020192dc9e35635136b9929'/>
<id>6254b0fd3bc725705020192dc9e35635136b9929</id>
<content type='text'>
Treesitter parsers are now a mandatory part of the installation and
should be tested on all platforms. Remove `pending_c_parser` helper.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Treesitter parsers are now a mandatory part of the installation and
should be tested on all platforms. Remove `pending_c_parser` helper.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): upstream node_length() as a node method</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-05-01T19:13:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f57341a4b69398ff0c58686e66c2f4138be164aa'/>
<id>f57341a4b69398ff0c58686e66c2f4138be164aa</id>
<content type='text'>
Util from the nvim-treesitter project.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Util from the nvim-treesitter project.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): upstream get_root_for_node() as a node method</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-05-01T09:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=baba43681e792db30318bdedc3e73e4fe12482a6'/>
<id>baba43681e792db30318bdedc3e73e4fe12482a6</id>
<content type='text'>
Util from the nvim-treesitter project.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Util from the nvim-treesitter project.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): upstream get_named_children() as a node method</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-04-30T18:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a577fb778addb6eb305ade82a229b52673ced234'/>
<id>a577fb778addb6eb305ade82a229b52673ced234</id>
<content type='text'>
Util from the nvim-treesitter project.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Util from the nvim-treesitter project.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add next, prev sibling method</title>
<updated>2021-08-20T15:58:15+00:00</updated>
<author>
<name>Dylan Kendal</name>
<email>dylankendal@gmail.com</email>
</author>
<published>2021-08-20T05:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=140084180e82bea3afafa32a33fee37e6e9473ca'/>
<id>140084180e82bea3afafa32a33fee37e6e9473ca</id>
<content type='text'>
Add tsnode methods to change to the next, previous, named or unnamed
nodes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tsnode methods to change to the next, previous, named or unnamed
nodes.
</pre>
</div>
</content>
</entry>
</feed>
