SHA256
1
0
forked from pool/helix

Accepting request 1088494 from editors

- 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`
- 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/request/show/1088494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helix?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2023-05-23 12:54:34 +00:00 committed by Git OBS Bridge
commit cf9ac4daee
7 changed files with 61 additions and 13 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="disabled" />
<service name="cargo_vendor" mode="disabled">
<param name="srctar">helix-23.03.tar.xz</param>
<param name="srctar">helix-23.05.tar.xz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>

View File

@ -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"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60e5d8927f2f43807ff4ed3c96e7071746ce23d0b7ebaa27e380723726710703
size 113618664

3
helix-23.05.tar.xz Normal file
View File

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

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Mon May 22 08:50:51 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- 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 <socvirnyl.estela@gmail.com>
- 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 <socvirnyl.estela@gmail.com>

View File

@ -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
@ -93,7 +93,10 @@ cp %{SOURCE2} .cargo/config.toml
sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.*
%build
export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true
export TARGET="%_arch"
%{cargo_build}
cargo run --release -- --grammar build
# Shell completions
sed -i "s|hx|helix|g" contrib/completion/hx.*
@ -106,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}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3becdf4493cf4d822c39fcefa0431969d605c6a6da75e098978f598d60df120
size 38327548
oid sha256:8fa4d6a3e53b7a5023c254834614d9e12dc030fd9358370386e651856dd3e5f5
size 29266948