Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tree-sitter-query for
openSUSE:Factory checked in at 2025-04-15 16:47:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter-query (Old)
and /work/SRC/openSUSE:Factory/.tree-sitter-query.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tree-sitter-query"
Tue Apr 15 16:47:28 2025 rev:6 rq:1269633 version:0.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/tree-sitter-query/tree-sitter-query.changes
2025-02-03 21:47:17.711866529 +0100
+++
/work/SRC/openSUSE:Factory/.tree-sitter-query.new.1907/tree-sitter-query.changes
2025-04-15 16:49:55.469164094 +0200
@@ -1,0 +2,6 @@
+Tue Apr 15 12:44:13 UTC 2025 - Richard Rahl <[email protected]>
+
+- update to 0.5.1:
+ * nothing of relevance
+
+-------------------------------------------------------------------
Old:
----
tree-sitter-query-0.5.0.tar.gz
New:
----
tree-sitter-query-0.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tree-sitter-query.spec ++++++
--- /var/tmp/diff_new_pack.9xaCrv/_old 2025-04-15 16:49:55.909182122 +0200
+++ /var/tmp/diff_new_pack.9xaCrv/_new 2025-04-15 16:49:55.909182122 +0200
@@ -18,7 +18,7 @@
%define _name query
Name: tree-sitter-query
-Version: 0.5.0
+Version: 0.5.1
Release: 0
Summary: Query grammar for tree-sitter
License: Apache-2.0
++++++ tree-sitter-query-0.5.0.tar.gz -> tree-sitter-query-0.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/Cargo.lock
new/tree-sitter-query-0.5.1/Cargo.lock
--- old/tree-sitter-query-0.5.0/Cargo.lock 2025-02-02 17:30:49.000000000
+0100
+++ new/tree-sitter-query-0.5.1/Cargo.lock 2025-03-18 14:33:12.000000000
+0100
@@ -13,20 +13,66 @@
[[package]]
name = "cc"
-version = "1.2.11"
+version = "1.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4730490333d58093109dc02c23174c3f4d490998c3fed3cc8e82d57afedb9cf"
+checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
dependencies = [
"shlex",
]
[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "hashbrown"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+
+[[package]]
+name = "indexmap"
+version = "2.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+
+[[package]]
name = "memchr"
version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
+name = "proc-macro2"
+version = "1.0.94"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
name = "regex"
version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -56,6 +102,45 @@
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
+name = "ryu"
+version = "1.0.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
+
+[[package]]
+name = "serde"
+version = "1.0.219"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.219"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.140"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
+dependencies = [
+ "indexmap",
+ "itoa",
+ "memchr",
+ "ryu",
+ "serde",
+]
+
+[[package]]
name = "shlex"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -68,29 +153,47 @@
checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"
[[package]]
+name = "syn"
+version = "2.0.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
name = "tree-sitter"
-version = "0.24.6"
+version = "0.25.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f2434c86ba59ed15af56039cc5bf1acf8ba76ce301e32ef08827388ef285ec5"
+checksum = "b9ac5ea5e7f2f1700842ec071401010b9c59bf735295f6e9fa079c3dc035b167"
dependencies = [
"cc",
"regex",
"regex-syntax",
+ "serde_json",
"streaming-iterator",
"tree-sitter-language",
]
[[package]]
name = "tree-sitter-language"
-version = "0.1.3"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c199356c799a8945965bb5f2c55b2ad9d9aa7c4b4f6e587fe9dea0bc715e5f9c"
+checksum = "c4013970217383f67b18aef68f6fb2e8d409bc5755227092d32efb0422ba24b8"
[[package]]
name = "tree-sitter-query"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"cc",
"tree-sitter",
"tree-sitter-language",
]
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/Cargo.toml
new/tree-sitter-query-0.5.1/Cargo.toml
--- old/tree-sitter-query-0.5.0/Cargo.toml 2025-02-02 17:30:49.000000000
+0100
+++ new/tree-sitter-query-0.5.1/Cargo.toml 2025-03-18 14:33:12.000000000
+0100
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-query"
description = "TS query grammar for tree-sitter"
-version = "0.5.0"
+version = "0.5.1"
authors = ["Steven Sojka"]
license = "Apache-2.0"
readme = "README.md"
@@ -24,4 +24,4 @@
cc = "1.1.22"
[dev-dependencies]
-tree-sitter = "0.24.3"
+tree-sitter = "0.25.3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/Makefile
new/tree-sitter-query-0.5.1/Makefile
--- old/tree-sitter-query-0.5.0/Makefile 2025-02-02 17:30:49.000000000
+0100
+++ new/tree-sitter-query-0.5.1/Makefile 2025-03-18 14:33:12.000000000
+0100
@@ -4,7 +4,7 @@
LANGUAGE_NAME := tree-sitter-query
HOMEPAGE_URL := https://github.com/tree-sitter-grammars/tree-sitter-query
-VERSION := 0.5.0
+VERSION := 0.5.1
# repository
SRC_DIR := src
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/package-lock.json
new/tree-sitter-query-0.5.1/package-lock.json
--- old/tree-sitter-query-0.5.0/package-lock.json 2025-02-02
17:30:49.000000000 +0100
+++ new/tree-sitter-query-0.5.1/package-lock.json 2025-03-18
14:33:12.000000000 +0100
@@ -1,12 +1,12 @@
{
"name": "tree-sitter-query",
- "version": "0.5.0",
+ "version": "0.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "tree-sitter-query",
- "version": "0.5.0",
+ "version": "0.5.1",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/package.json
new/tree-sitter-query-0.5.1/package.json
--- old/tree-sitter-query-0.5.0/package.json 2025-02-02 17:30:49.000000000
+0100
+++ new/tree-sitter-query-0.5.1/package.json 2025-03-18 14:33:12.000000000
+0100
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-query",
- "version": "0.5.0",
+ "version": "0.5.1",
"description": "TS query grammar for tree-sitter",
"repository": "github:tree-sitter-grammars/tree-sitter-query",
"license": "Apache-2.0",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/src/grammar.json
new/tree-sitter-query-0.5.1/src/grammar.json
--- old/tree-sitter-query-0.5.0/src/grammar.json 2025-02-02
17:30:49.000000000 +0100
+++ new/tree-sitter-query-0.5.1/src/grammar.json 2025-03-18
14:33:12.000000000 +0100
@@ -781,5 +781,6 @@
"inline": [],
"supertypes": [
"definition"
- ]
-}
+ ],
+ "reserved": {}
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/src/node-types.json
new/tree-sitter-query-0.5.1/src/node-types.json
--- old/tree-sitter-query-0.5.0/src/node-types.json 2025-02-02
17:30:49.000000000 +0100
+++ new/tree-sitter-query-0.5.1/src/node-types.json 2025-03-18
14:33:12.000000000 +0100
@@ -476,7 +476,8 @@
},
{
"type": "comment",
- "named": true
+ "named": true,
+ "extra": true
},
{
"type": "escape_sequence",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/src/parser.c
new/tree-sitter-query-0.5.1/src/parser.c
--- old/tree-sitter-query-0.5.0/src/parser.c 2025-02-02 17:30:49.000000000
+0100
+++ new/tree-sitter-query-0.5.1/src/parser.c 2025-03-18 14:33:12.000000000
+0100
@@ -1,3 +1,5 @@
+/* Automatically generated by tree-sitter v0.25.3 */
+
#include "tree_sitter/parser.h"
#if defined(__GNUC__) || defined(__clang__)
@@ -13,7 +15,9 @@
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 5
#define MAX_ALIAS_SEQUENCE_LENGTH 11
+#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 20
+#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
anon_sym_DOT = 1,
@@ -387,7 +391,7 @@
[field_type] = "type",
};
-static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
+static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
[1] = {.index = 0, .length = 1},
[2] = {.index = 1, .length = 2},
[3] = {.index = 3, .length = 1},
@@ -1352,7 +1356,7 @@
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
- [0] = {
+ [STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[anon_sym_DOT] = ACTIONS(1),
[sym_escape_sequence] = ACTIONS(1),
@@ -1375,7 +1379,7 @@
[anon_sym_POUND] = ACTIONS(1),
[sym_predicate_type] = ACTIONS(1),
},
- [1] = {
+ [STATE(1)] = {
[sym_program] = STATE(229),
[sym_definition] = STATE(38),
[sym_string] = STATE(59),
@@ -6733,7 +6737,7 @@
TS_PUBLIC const TSLanguage *tree_sitter_query(void) {
static const TSLanguage language = {
- .version = LANGUAGE_VERSION,
+ .abi_version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
@@ -6755,7 +6759,7 @@
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
- .lex_modes = ts_lex_modes,
+ .lex_modes = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.primary_state_ids = ts_primary_state_ids,
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/src/tree_sitter/parser.h
new/tree-sitter-query-0.5.1/src/tree_sitter/parser.h
--- old/tree-sitter-query-0.5.0/src/tree_sitter/parser.h 2025-02-02
17:30:49.000000000 +0100
+++ new/tree-sitter-query-0.5.1/src/tree_sitter/parser.h 2025-03-18
14:33:12.000000000 +0100
@@ -18,6 +18,12 @@
typedef uint16_t TSSymbol;
typedef uint16_t TSFieldId;
typedef struct TSLanguage TSLanguage;
+typedef struct TSLanguageMetadata TSLanguageMetadata;
+typedef struct TSLanguageMetadata {
+ uint8_t major_version;
+ uint8_t minor_version;
+ uint8_t patch_version;
+} TSLanguageMetadata;
#endif
typedef struct {
@@ -26,10 +32,11 @@
bool inherited;
} TSFieldMapEntry;
+// Used to index the field and supertype maps.
typedef struct {
uint16_t index;
uint16_t length;
-} TSFieldMapSlice;
+} TSMapSlice;
typedef struct {
bool visible;
@@ -79,6 +86,12 @@
uint16_t external_lex_state;
} TSLexMode;
+typedef struct {
+ uint16_t lex_state;
+ uint16_t external_lex_state;
+ uint16_t reserved_word_set_id;
+} TSLexerMode;
+
typedef union {
TSParseAction action;
struct {
@@ -93,7 +106,7 @@
} TSCharacterRange;
struct TSLanguage {
- uint32_t version;
+ uint32_t abi_version;
uint32_t symbol_count;
uint32_t alias_count;
uint32_t token_count;
@@ -109,13 +122,13 @@
const TSParseActionEntry *parse_actions;
const char * const *symbol_names;
const char * const *field_names;
- const TSFieldMapSlice *field_map_slices;
+ const TSMapSlice *field_map_slices;
const TSFieldMapEntry *field_map_entries;
const TSSymbolMetadata *symbol_metadata;
const TSSymbol *public_symbol_map;
const uint16_t *alias_map;
const TSSymbol *alias_sequences;
- const TSLexMode *lex_modes;
+ const TSLexerMode *lex_modes;
bool (*lex_fn)(TSLexer *, TSStateId);
bool (*keyword_lex_fn)(TSLexer *, TSStateId);
TSSymbol keyword_capture_token;
@@ -129,15 +142,23 @@
void (*deserialize)(void *, const char *, unsigned);
} external_scanner;
const TSStateId *primary_state_ids;
+ const char *name;
+ const TSSymbol *reserved_words;
+ uint16_t max_reserved_word_set_size;
+ uint32_t supertype_count;
+ const TSSymbol *supertype_symbols;
+ const TSMapSlice *supertype_map_slices;
+ const TSSymbol *supertype_map_entries;
+ TSLanguageMetadata metadata;
};
-static inline bool set_contains(TSCharacterRange *ranges, uint32_t len,
int32_t lookahead) {
+static inline bool set_contains(const TSCharacterRange *ranges, uint32_t len,
int32_t lookahead) {
uint32_t index = 0;
uint32_t size = len - index;
while (size > 1) {
uint32_t half_size = size / 2;
uint32_t mid_index = index + half_size;
- TSCharacterRange *range = &ranges[mid_index];
+ const TSCharacterRange *range = &ranges[mid_index];
if (lookahead >= range->start && lookahead <= range->end) {
return true;
} else if (lookahead > range->end) {
@@ -145,7 +166,7 @@
}
size -= half_size;
}
- TSCharacterRange *range = &ranges[index];
+ const TSCharacterRange *range = &ranges[index];
return (lookahead >= range->start && lookahead <= range->end);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-query-0.5.0/tree-sitter.json
new/tree-sitter-query-0.5.1/tree-sitter.json
--- old/tree-sitter-query-0.5.0/tree-sitter.json 2025-02-02
17:30:49.000000000 +0100
+++ new/tree-sitter-query-0.5.1/tree-sitter.json 2025-03-18
14:33:12.000000000 +0100
@@ -13,7 +13,7 @@
}
],
"metadata": {
- "version": "0.5.0",
+ "version": "0.5.1",
"description": "TS query grammar for tree-sitter",
"license": "Apache-2.0",
"authors": [