1
0

8 Commits

Author SHA256 Message Date
db164d406e Accepting request 1229592 from editors:tree-sitter
- update to 0.23.4:
  * fix: disallow recursive grammar.js files to be included
- update to 0.23.3:
  * build: move tree-sitter-c to dependencies
  * ci(publish): add attestations and generate parser
- update to 0.23.2:
  * build: update bindings
  * chore: regenerate
- update to 0.23.1:
  * build: bump tree-sitter-c to 0.23.1
  * chore: generate
  * lambda expressions: support capture syntax through cpp20
- update to 0.23.0:
  * build: update bindings
  * chore: generate
  * feat: allow semicolon in field declaration list items
  * feat: add raw_string_literal to _string
  * feat: support constexpr-prefixed friend declarations
  * fix: do not give higher precedence to a token 0
  * fix: inline the virtual node
  * feat: bump tree-sitter-c to 0.23.0
  * fix(go): correct test
  * chore: fix line endings
- switch to download_files service
- add neovim links
- adapt spec file to other grammars
- add devel package

OBS-URL: https://build.opensuse.org/request/show/1229592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-cpp?expand=0&rev=4
2024-12-11 20:02:17 +00:00
Richard Rahl
5f341f27aa fix build & update
OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-cpp?expand=0&rev=2
2024-12-05 08:23:35 +00:00
Richard Rahl
ac5f115672 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-cpp?expand=0&rev=1 2024-12-05 08:13:18 +00:00
efb9828855 Accepting request 1191438 from editors
- Update to version 0.22.3:
  * Add tests for template/comparison ambiguities
  * Fix ambiguity between template and comparison
  * fix: remove `choice` wrapper around 'virtual'
  * fix(query): remove duplicate rule

OBS-URL: https://build.opensuse.org/request/show/1191438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-cpp?expand=0&rev=3
2024-08-05 15:21:10 +00:00
d3f12b55a9 Accepting request 1170880 from editors
- Update to version 0.22.0:
  * feat: support reference declarators in types
  * feat: add optional attribute declarations after 'namespace'
  * feat: support pure virtual destructors
  * fix: specifier and virtual do not strictly require each other
  * fix(scanner): only call memcpy if `length` is greater than 0
  * feat(scanner): use alloc header

OBS-URL: https://build.opensuse.org/request/show/1170880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-cpp?expand=0&rev=2
2024-04-30 15:27:39 +00:00
Björn Bidar
b38567ec7c - Update to version 0.22.0:
* feat: support reference declarators in types
  * feat: add optional attribute declarations after 'namespace'
  * feat: support pure virtual destructors
  * fix: specifier and virtual do not strictly require each other
  * fix(scanner): only call memcpy if `length` is greater than 0
  * feat(scanner): use alloc header

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-cpp?expand=0&rev=3
2024-04-29 21:54:21 +00:00
01638c8341 Accepting request 1162319 from editors
New package for tree-sitter grammar cpp

OBS-URL: https://build.opensuse.org/request/show/1162319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-cpp?expand=0&rev=1
2024-03-27 19:41:57 +00:00
2d0cc6b718 Accepting request 1161509 from home:Thaodan:editors
New package grammar for the C++ language

OBS-URL: https://build.opensuse.org/request/show/1161509
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-cpp?expand=0&rev=1
2024-03-25 20:10:38 +00:00
6 changed files with 52 additions and 32 deletions

View File

@@ -1,18 +0,0 @@
<!-- -*- xml -*- !-->
<services>
<service name="obs_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">@PARENT_TAG@</param>
<param name="url">https://github.com/tree-sitter/tree-sitter-cpp.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">Björn Bidar &#60;bjorn.bidar@thaodan.de&#62;</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:720f0b655b0bea43b09b070b34e7a311d9c702c9db5c6501f997dcc11650bf98
size 1303170

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f290ccd3d9f02c69463210781752456e9de12fab134196041839d8f0ead26fc
size 1092206

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a2c55afe3028f4105f25762ea58cc16537d1f5a1dcd9cca90410b3cd5d46051
size 1135921

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Dec 5 00:36:24 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.4:
* fix: disallow recursive grammar.js files to be included
- update to 0.23.3:
* build: move tree-sitter-c to dependencies
* ci(publish): add attestations and generate parser
- update to 0.23.2:
* build: update bindings
* chore: regenerate
- update to 0.23.1:
* build: bump tree-sitter-c to 0.23.1
* chore: generate
* lambda expressions: support capture syntax through cpp20
- update to 0.23.0:
* build: update bindings
* chore: generate
* feat: allow semicolon in field declaration list items
* feat: add raw_string_literal to _string
* feat: support constexpr-prefixed friend declarations
* fix: do not give higher precedence to a token 0
* fix: inline the virtual node
* feat: bump tree-sitter-c to 0.23.0
* fix(go): correct test
* chore: fix line endings
- switch to download_files service
- add neovim links
- adapt spec file to other grammars
- add devel package
-------------------------------------------------------------------
Thu Aug 01 21:52:23 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name cpp
Summary: C++ grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.22.3
%define _name cpp
Name: tree-sitter-cpp
Version: 0.23.4
Release: 0
Summary: C++ grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-cpp
Source0: %{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter
BuildRequires: treesitter_grammar_src(tree-sitter-c)
%treesitter_grammars %{_name}
@@ -33,7 +32,7 @@ BuildRequires: treesitter_grammar_src(tree-sitter-c)
%{summary}.
%prep
%autosetup -p1
%autosetup
%build
%treesitter_configure
@@ -41,9 +40,20 @@ BuildRequires: treesitter_grammar_src(tree-sitter-c)
%install
%treesitter_install
%treesitter_devel_install
#neovim stuff
install -d %{buildroot}%{_libdir}/tree_sitter
ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
%files
%license LICENSE
%{treesitter_files}
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package
%changelog