From f53e44cfc7ffe06da3c5ead3f8866a90bb763ee6c3351099aaf5c78f6427ead7 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 08:37:10 +0000 Subject: [PATCH 1/7] - Update to version 23.05: * Features: - Add a config option to exclude declaration from LSP references request - Enable injecting languages based on their file extension and shebang - Sort the buffer picker by most recent access - Perform syntax highlighting in the picker asynchronously * Commands: - :update is now aliased as :u - Add extend_to_first_nonwhitespace which acts the same as goto_first_nonwhitespace but always extends - Add :clear-register for clearing the given register or all registers - Add :write-buffer-close and :write-buffer-close! * Fixes: - Normalize LSP workspace paths - Robustly handle invalid LSP ranges - Fix line number display for LSP goto pickers - Fix toggling of soft-wrap.enable option (#6656, 58e457a, #6742) - Handle workspace/configuration requests from stopped language servers - Fix possible crash from opening the jumplist picker - Fix theme preview returning to current theme on line and word deletions - Re-run crate build scripts on changes to revision and grammar repositories - Fix crash on opening from suspended state - Fix unwrap bug in DAP - Always build tree-sitter parsers with C++14 and C11 (#6792, #6834, #6845) - Exit with a non-zero statuscode when tree-sitter parser builds fail - Flip symbol range in LSP goto commands - Fix runtime toggling of the mouse option - Fix panic in inlay hint computation when view anchor is out of bounds - Significantly improve performance of git discovery on slow file systems - Downgrade gix log level to info - Conserve BOM and properly support saving UTF16 files - Correctly handle completion re-request - Fix offset encoding in LSP didChange notifications - Change gix logging level to info - Improve error message when writes fail because parent directories do not exist - Replace DAP variables popup instead of pushing more popups - Disable tree-sitter for files after parsing for 500ms - Fix crash when deleting with multiple cursors - Fix selection sliding when deleting forwards in append mode - Fix completion on paths containing spaces * CHANGELOG information is too large. For more info, go to https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2305-2023-05-18 OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=66 --- _service | 2 +- cargo_config | 5 ----- helix-23.03.tar.xz | 3 --- helix-23.05.tar.xz | 3 +++ helix.changes | 44 ++++++++++++++++++++++++++++++++++++++++++++ helix.spec | 2 +- vendor.tar.xz | 4 ++-- 7 files changed, 51 insertions(+), 12 deletions(-) delete mode 100644 helix-23.03.tar.xz create mode 100644 helix-23.05.tar.xz diff --git a/_service b/_service index 9d4c3bc..efc697e 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ - helix-23.03.tar.xz + helix-23.05.tar.xz xz true diff --git a/cargo_config b/cargo_config index f799a70..6fb4ff4 100644 --- a/cargo_config +++ b/cargo_config @@ -1,10 +1,5 @@ [source.crates-io] replace-with = "vendored-sources" -[source."git+https://github.com/tree-sitter/tree-sitter?rev=c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14"] -git = "https://github.com/tree-sitter/tree-sitter" -rev = "c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14" -replace-with = "vendored-sources" - [source.vendored-sources] directory = "vendor" \ No newline at end of file diff --git a/helix-23.03.tar.xz b/helix-23.03.tar.xz deleted file mode 100644 index 395d685..0000000 --- a/helix-23.03.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60e5d8927f2f43807ff4ed3c96e7071746ce23d0b7ebaa27e380723726710703 -size 113618664 diff --git a/helix-23.05.tar.xz b/helix-23.05.tar.xz new file mode 100644 index 0000000..417c2ea --- /dev/null +++ b/helix-23.05.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1ca69facde99d708175c686ce5bf3585e119e372c83e1c3dc1d562c7a8e3d87 +size 115474436 diff --git a/helix.changes b/helix.changes index 2009742..df32bfc 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Mon May 22 08:32:43 UTC 2023 - Soc Virnyl Estela + +- Update to version 23.05: + * Features: + - Add a config option to exclude declaration from LSP references request + - Enable injecting languages based on their file extension and shebang + - Sort the buffer picker by most recent access + - Perform syntax highlighting in the picker asynchronously + * Commands: + - :update is now aliased as :u + - Add extend_to_first_nonwhitespace which acts the same as goto_first_nonwhitespace but always extends + - Add :clear-register for clearing the given register or all registers + - Add :write-buffer-close and :write-buffer-close! + * Fixes: + - Normalize LSP workspace paths + - Robustly handle invalid LSP ranges + - Fix line number display for LSP goto pickers + - Fix toggling of soft-wrap.enable option (#6656, 58e457a, #6742) + - Handle workspace/configuration requests from stopped language servers + - Fix possible crash from opening the jumplist picker + - Fix theme preview returning to current theme on line and word deletions + - Re-run crate build scripts on changes to revision and grammar repositories + - Fix crash on opening from suspended state + - Fix unwrap bug in DAP + - Always build tree-sitter parsers with C++14 and C11 (#6792, #6834, #6845) + - Exit with a non-zero statuscode when tree-sitter parser builds fail + - Flip symbol range in LSP goto commands + - Fix runtime toggling of the mouse option + - Fix panic in inlay hint computation when view anchor is out of bounds + - Significantly improve performance of git discovery on slow file systems + - Downgrade gix log level to info + - Conserve BOM and properly support saving UTF16 files + - Correctly handle completion re-request + - Fix offset encoding in LSP didChange notifications + - Change gix logging level to info + - Improve error message when writes fail because parent directories do not exist + - Replace DAP variables popup instead of pushing more popups + - Disable tree-sitter for files after parsing for 500ms + - Fix crash when deleting with multiple cursors + - Fix selection sliding when deleting forwards in append mode + - Fix completion on paths containing spaces +* CHANGELOG information is too large. For more info, go to https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2305-2023-05-18 + ------------------------------------------------------------------- Tue May 16 04:58:29 UTC 2023 - Soc Virnyl Estela diff --git a/helix.spec b/helix.spec index 8eebe20..df98c3a 100644 --- a/helix.spec +++ b/helix.spec @@ -23,7 +23,7 @@ %global _helix_runtimedir %{_libdir}/%{name}/runtime Name: helix -Version: 23.03 +Version: 23.05 Release: 0 Summary: A post-modern modal text editor written in Rust License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT or Unlicense) AND (Zlib OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSL-1.0 AND ISC AND MIT AND MPL-2.0 AND Zlib AND MPL-2.0 diff --git a/vendor.tar.xz b/vendor.tar.xz index 3bac225..a70e286 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3becdf4493cf4d822c39fcefa0431969d605c6a6da75e098978f598d60df120 -size 38327548 +oid sha256:8fa4d6a3e53b7a5023c254834614d9e12dc030fd9358370386e651856dd3e5f5 +size 29266948 From 109f505043a7bb1c9809839932fba6a7f2e348a5ac44b9a927c22545b0beecd5 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 08:52:59 +0000 Subject: [PATCH 2/7] - Add back env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`. - Add manual compilation of grammars in relation to the env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD` OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=67 --- helix.changes | 6 ++++++ helix.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/helix.changes b/helix.changes index df32bfc..ee30a23 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 22 08:50:51 UTC 2023 - Soc Virnyl Estela + +- Add back env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`. +- Add manual compilation of grammars in relation to the env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD` + ------------------------------------------------------------------- Mon May 22 08:32:43 UTC 2023 - Soc Virnyl Estela diff --git a/helix.spec b/helix.spec index df98c3a..3440b25 100644 --- a/helix.spec +++ b/helix.spec @@ -93,7 +93,9 @@ cp %{SOURCE2} .cargo/config.toml sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build +export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 %{cargo_build} +HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.* From b49c135a791718e4d78465b5fc4158250f516fbc40e8f71fe0a3e93b141f71c9 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 09:05:16 +0000 Subject: [PATCH 3/7] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=68 --- helix.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix.spec b/helix.spec index 3440b25..1e95ed3 100644 --- a/helix.spec +++ b/helix.spec @@ -95,7 +95,7 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 %{cargo_build} -HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build +./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.* From 2ee488f7c9f31b2f89dd4d2071784d9276363c4aeba1a8873fc39d9de0166887 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 14:44:08 +0000 Subject: [PATCH 4/7] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=69 --- helix.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix.spec b/helix.spec index 1e95ed3..f19048f 100644 --- a/helix.spec +++ b/helix.spec @@ -93,9 +93,9 @@ cp %{SOURCE2} .cargo/config.toml sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build -export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 +export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true %{cargo_build} -./target/release/hx --grammar build +HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.* From 395b62e80b638529aeb235b13d5abcd2e851d51e869fbf1712aa366cbe45ec21 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 23:22:20 +0000 Subject: [PATCH 5/7] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=70 --- helix.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helix.spec b/helix.spec index f19048f..11ea6da 100644 --- a/helix.spec +++ b/helix.spec @@ -94,8 +94,10 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true +export HELIX_RUNTIME="%{_builddir}/%{name}-%{version}/runtime" +export TARGET="%_arch" %{cargo_build} -HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build +./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.* From 7d9363d58d50d756df942704b6360fad92b0616f1dbbb569015a414337f1dd96 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Tue, 23 May 2023 03:10:41 +0000 Subject: [PATCH 6/7] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=71 --- helix.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helix.spec b/helix.spec index 11ea6da..e3e7d39 100644 --- a/helix.spec +++ b/helix.spec @@ -94,10 +94,9 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true -export HELIX_RUNTIME="%{_builddir}/%{name}-%{version}/runtime" export TARGET="%_arch" %{cargo_build} -./target/release/hx --grammar build +cargo run --release -- --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.* From 232cea34941f6abf448baca28324b7d5885a4bda12552c48f8d97640604d203e Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Tue, 23 May 2023 05:40:54 +0000 Subject: [PATCH 7/7] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=72 --- helix.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix.spec b/helix.spec index e3e7d39..feb9892 100644 --- a/helix.spec +++ b/helix.spec @@ -109,7 +109,7 @@ install -d -m 0755 %{buildroot}%{_bindir} install -d -m 0755 %{buildroot}%{_helix_runtimedir} install -m 0755 target/release/hx %{buildroot}%{_libdir}/%{name}/hx -ln -sfv --relative "%{_libdir}/%{name}/hx" "%{buildroot}%{_bindir}/helix" +ln -sfv "%{_libdir}/%{name}/hx" "%{buildroot}%{_bindir}/helix" cp -av "runtime/queries" %{buildroot}%{_helix_runtimedir} cp -av "runtime/themes" %{buildroot}%{_helix_runtimedir}