<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/print.c, branch scratch/bug64391</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Don't print named tree-sitter nodes with parenthesizes (bug#60696)</title>
<updated>2023-01-10T04:15:12+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2023-01-10T04:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aa9df1260c3fe5e872bef926288ce345bedbe1bb'/>
<id>aa9df1260c3fe5e872bef926288ce345bedbe1bb</id>
<content type='text'>
* src/print.c (print_vectorlike): Use empty string as delimiters if
the node is named.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/print.c (print_vectorlike): Use empty string as delimiters if
the node is named.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Add 2023 to copyright years.</title>
<updated>2023-01-01T10:31:12+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2023-01-01T10:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cae528457cb862dc886a34240c9d4c73035b6659'/>
<id>cae528457cb862dc886a34240c9d4c73035b6659</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'savannah/master' into feature/tree-sitter</title>
<updated>2022-11-21T20:54:35+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2022-11-21T20:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aaeaa310f0391f5a5193e1a3d6e026986c4f2c0c'/>
<id>aaeaa310f0391f5a5193e1a3d6e026986c4f2c0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for outdated tree-sitter node when printing</title>
<updated>2022-11-03T00:47:14+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2022-11-03T00:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=88d54756d46101b97b7fde97b4bc3b62f7bd6c06'/>
<id>88d54756d46101b97b7fde97b4bc3b62f7bd6c06</id>
<content type='text'>
* src/print.c (print_vectorlike): Check for outdated node.
* src/treesit.c (treesit_check_node): Use the new function.
(treesit_node_uptodate_p): New function.
* src/treesit.h: Declare new function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/print.c (print_vectorlike): Check for outdated node.
* src/treesit.c (treesit_check_node): Use the new function.
(treesit_node_uptodate_p): New function.
* src/treesit.h: Declare new function.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * src/print.c (print_vectorlike): Fix comment for tree-sitter.</title>
<updated>2022-11-03T00:23:29+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2022-11-03T00:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=32e87f09c8c2711c421363d0361693dcfbe5a688'/>
<id>32e87f09c8c2711c421363d0361693dcfbe5a688</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't print buffer when printing tree-sitter node and parser</title>
<updated>2022-11-01T19:54:56+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2022-11-01T07:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ccd2509ed31f953408240357e9b84c3d3b3f6a2b'/>
<id>ccd2509ed31f953408240357e9b84c3d3b3f6a2b</id>
<content type='text'>
Additionally, print node's position in buffer.

* doc/lispref/parsing.texi (Retrieving Node): Reflect this change in
manual.
* src/print.c (print_vectorlike): Remove printing of buffer, add
printing of node position.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additionally, print node's position in buffer.

* doc/lispref/parsing.texi (Retrieving Node): Reflect this change in
manual.
* src/print.c (print_vectorlike): Remove printing of buffer, add
printing of node position.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preven a buffer-overflow (bug#58850)</title>
<updated>2022-11-01T09:14:07+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2022-11-01T09:14:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d305eaf4ce56177171aa1bcde80bbed5fc486a45'/>
<id>d305eaf4ce56177171aa1bcde80bbed5fc486a45</id>
<content type='text'>
* src/print.c (print_vectorlike): Don't use sprintf.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/print.c (print_vectorlike): Don't use sprintf.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Rename ts_* symbols in treesit.c</title>
<updated>2022-10-17T10:11:13+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2022-10-17T10:11:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=02f78c09b0a97ba044a43682a366a9d7732b885d'/>
<id>02f78c09b0a97ba044a43682a366a9d7732b885d</id>
<content type='text'>
* src/treesit.c: Rename all ts_* functions and variables to
treesit_*; all references changed.  Fix whitespace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/treesit.c: Rename all ts_* functions and variables to
treesit_*; all references changed.  Fix whitespace.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support MinGW build on MS-Windows</title>
<updated>2022-10-16T13:22:09+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2022-10-16T13:22:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9d3f8912b431ed5540d9d06d85b7e338732268c9'/>
<id>9d3f8912b431ed5540d9d06d85b7e338732268c9</id>
<content type='text'>
* src/treesit.c [WINDOWSNT]: Add MS-Windows boilerplate for
dynamically-loaded optional libraries.
(init_treesit_functions) [WINDOWSNT]: New function.
(load_tree_sitter_if_necessary): New function.
(ts_initialize): Call 'load_tree_sitter_if_necessary'.
(ts_delete_parser, ts_delete_query, ts_named_node_p): Wrapper
functions for TS calls from outside treesit.c.
(Ftreesit_parser_root_node, Ftreesit_parser_set_included_ranges)
(Ftreesit_parser_included_ranges, Ftreesit_node_type)
(Ftreesit_node_start, Ftreesit_node_end, Ftreesit_node_string)
(Ftreesit_node_parent, Ftreesit_node_child, Ftreesit_node_check)
(Ftreesit_node_field_name_for_child, Ftreesit_node_child_count)
(Ftreesit_node_next_sibling, Ftreesit_node_prev_sibling)
(Ftreesit_node_first_child_for_pos)
(Ftreesit_node_descendant_for_range, Ftreesit_node_eq)
(Ftreesit_query_compile, Ftreesit_query_capture)
(Ftreesit_search_subtree, Ftreesit_search_forward)
(Ftreesit_induce_sparse_tree): Call 'ts_initialize' before any
other TS functions.
(Ftreesit_available_p): 'treesit-available-p' implemented in C, so
that on WINDOWSNT the library could be loaded dynamically.
* src/treesit.h (ts_delete_parser, ts_delete_query)
(ts_named_node_p): Add prototypes.
* src/print.c (print_vectorlike):
* src/alloc.c (cleanup_vector): Call tree-sitter function via
wrappers defined in treesit.c, not directly, because WINDOWSNT
redefines the TS functions to be called via function pointers.
* src/Makefile.in (base_obj): Add treesit.o
(TREE_SITTER_OBJ): Remove.

* lisp/treesit.el (treesit-available-p): Remove: now implemented
in C.
* lisp/term/w32-win.el (dynamic-library-alist): Add libtree-sitter
DLLs.

* configure.ac (TREE_SITTER): Support the MinGW build.
(TREE_SITTER_OBJ): Remove.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/treesit.c [WINDOWSNT]: Add MS-Windows boilerplate for
dynamically-loaded optional libraries.
(init_treesit_functions) [WINDOWSNT]: New function.
(load_tree_sitter_if_necessary): New function.
(ts_initialize): Call 'load_tree_sitter_if_necessary'.
(ts_delete_parser, ts_delete_query, ts_named_node_p): Wrapper
functions for TS calls from outside treesit.c.
(Ftreesit_parser_root_node, Ftreesit_parser_set_included_ranges)
(Ftreesit_parser_included_ranges, Ftreesit_node_type)
(Ftreesit_node_start, Ftreesit_node_end, Ftreesit_node_string)
(Ftreesit_node_parent, Ftreesit_node_child, Ftreesit_node_check)
(Ftreesit_node_field_name_for_child, Ftreesit_node_child_count)
(Ftreesit_node_next_sibling, Ftreesit_node_prev_sibling)
(Ftreesit_node_first_child_for_pos)
(Ftreesit_node_descendant_for_range, Ftreesit_node_eq)
(Ftreesit_query_compile, Ftreesit_query_capture)
(Ftreesit_search_subtree, Ftreesit_search_forward)
(Ftreesit_induce_sparse_tree): Call 'ts_initialize' before any
other TS functions.
(Ftreesit_available_p): 'treesit-available-p' implemented in C, so
that on WINDOWSNT the library could be loaded dynamically.
* src/treesit.h (ts_delete_parser, ts_delete_query)
(ts_named_node_p): Add prototypes.
* src/print.c (print_vectorlike):
* src/alloc.c (cleanup_vector): Call tree-sitter function via
wrappers defined in treesit.c, not directly, because WINDOWSNT
redefines the TS functions to be called via function pointers.
* src/Makefile.in (base_obj): Add treesit.o
(TREE_SITTER_OBJ): Remove.

* lisp/treesit.el (treesit-available-p): Remove: now implemented
in C.
* lisp/term/w32-win.el (dynamic-library-alist): Add libtree-sitter
DLLs.

* configure.ac (TREE_SITTER): Support the MinGW build.
(TREE_SITTER_OBJ): Remove.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 'master' into noverlay</title>
<updated>2022-09-25T20:15:16+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2022-09-25T20:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=650c20f1ca4e07591a727e1cfcc74b3363d15985'/>
<id>650c20f1ca4e07591a727e1cfcc74b3363d15985</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
