Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vis for openSUSE:Factory checked in at 2024-07-11 20:30:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vis (Old) and /work/SRC/openSUSE:Factory/.vis.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vis" Thu Jul 11 20:30:31 2024 rev:10 rq:1186601 version:0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/vis/vis.changes 2023-07-25 11:51:12.189487579 +0200 +++ /work/SRC/openSUSE:Factory/.vis.new.17339/vis.changes 2024-07-11 20:30:54.511880277 +0200 @@ -1,0 +2,93 @@ +Wed Jul 10 10:29:05 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Update to 0.9: + +## [0.9] - 2024-05-01 + +This release has been long in the works but its time now. There +have been many additions and bugfixes since 0.8. In particular +changes to the Lua API have made it easier to extend `vis` in all +sorts of ways that were previously difficult or impossible. As +always the appreciation towards contributors new and old can not +be understated; thanks goes out to everyone for their efforts! + +A summary of changes follows: + +### Core + +- Compare non-existing files by name and existing files by inode +- Do tilde expansion only for the tilde character at the beginning of the pattern. +- Add word wrapping via breakat and wrapcolumn options +- Add ansi escaping values and theming keyword for dimmed text +- Allow statusbar to disabled +- Default theme was changed to one that uses the terminal colors directly. + +### Lua + +- filetype: support filetype detection via hashbang +- filetype: many new file extensions are covered +- Resync the lexers with Scintillua +- Implement Selection:remove() +- Allow underscore (_) in command names +- Allow nil in vis:pipe() File and Range parameters +- Add fullscreen param to vis_pipe_collect() and vis:pipe() +- Access and set all available editor options +- Implementation of the non-blocking process running Lua API +- Make expandtab and tabwidth options window-local +- Drop redrawtime option +- Add a Lua constant for UI_STYLE_LEXER_MAX +- Report viewport as lines in addition to bytes +- Add `win:style_pos()` for styling a specific window cell. +- Add `UI_DRAW` event for last minute changes to the drawn window. +- Report viewport dimensions + +### Misc + +- Add a basic .editorconfig file +- Don't set _FORTIFY_SOURCE in configure +- Many documentation improvements. +- Make vis-open and vis-complete more POSIX compliant +- vis-clipboard: clean up bashisms and make shellcheck happy. +- vis-clipboard: add support for wayclip +- vis-open: allow to show files vertically + +### Bugfixes + +- fix warning by dealing with error value from fchdir in text-io.c +- text-io: close "cwd" in all cases +- vis-complete: Fix commandline options handling +- vis-clipboard: make xsel honor --selection +- wl-paste and wl-copy should not add \n to the end of the clipboard. +- fix a bug with using regex to close windows (i.e. `:X/re/q`) +- Limit to lines within range for inner text objects +- vis-clipboard: don't fail when sel is primary on unsupported platforms +- fix { moving back too much if cursor is at start of a line +- Print keybindings containing space correctly in help window +- Prevent flickering in curses +- vis-menu: try to preserve valid Unicode points +- lua: make sure lpeg is in fact optional +- vis-single: respect TMPDIR +- lua: fail when mapping a key to an invalid handler type +- vis_pipe: correctly return non-zero exit status +- view: skip empty cells before applying a style +- sam: reject invalid ranges for cmd_extract ("x"/"y") +- Fix upper/lower case conversions with `gU` and `gu`. +- lua: complete-word: use internal regex for splitting words +- Theme application was refactored and should be more consistent now. + +### Deprecation Notices + +The option names `show-spaces`, `show-tabs`, `show-newlines`, +`show-eof`, and `change-256colors` are all deprecated and will be +removed for the next release, use the name without the `-` instead +(e.g. showeof). This was done to avoid inconsistencies between the +lua option names and the `:set option` names. + +The complete changelog can be viewed on +https://git.sr.ht/~martanne/vis/log/v0.9 + +- Removed patch upstreamed 675-nb-subproc-runner.patch +- Add vis-test-builtin_strncpy-bounds.patch to improve testing + infrastructure. + +------------------------------------------------------------------- Old: ---- 675-nb-subproc-runner.patch _service _servicedata vis-0.8.tar.gz vis-test-0.5.tar.gz New: ---- build.specials.obscpio v0.5.tar.gz v0.9.tar.gz vis-test-builtin_strncpy-bounds.patch BETA DEBUG BEGIN: Old: - Removed patch upstreamed 675-nb-subproc-runner.patch - Add vis-test-builtin_strncpy-bounds.patch to improve testing BETA DEBUG END: BETA DEBUG BEGIN: New:- Removed patch upstreamed 675-nb-subproc-runner.patch - Add vis-test-builtin_strncpy-bounds.patch to improve testing infrastructure. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vis.spec ++++++ --- /var/tmp/diff_new_pack.LKKm8H/_old 2024-07-11 20:30:55.179904964 +0200 +++ /var/tmp/diff_new_pack.LKKm8H/_new 2024-07-11 20:30:55.183905111 +0200 @@ -18,17 +18,17 @@ %define test_version 0.5 Name: vis -Version: 0.8 +Version: 0.9 Release: 0 Summary: An editor combining the strengths of both vi(m) and sam License: ISC Group: Productivity/Text/Editors -URL: https://github.com/martanne/vis -Source0: https://github.com/martanne/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: https://github.com/martanne/vis-test/releases/download/v%{test_version}/vis-test-%{test_version}.tar.gz -# PATCH-FEATURE-UPSTREAM 675-nb-subproc-runner.patch gh#martanne/vis!675 mc...@suse.com -# adds support for the non-blocking subprocess runner -Patch0: 675-nb-subproc-runner.patch +URL: https://sr.ht/~martanne/vis/ +Source0: https://git.sr.ht/~martanne/vis/archive/v%{version}.tar.gz +Source1: https://git.sr.ht/~martanne/vis-test/archive/v%{test_version}.tar.gz +# PATCH-FIX-UPSTREAM vis-test-builtin_strncpy-bounds.patch mc...@suse.com +# patch from https://git.sr.ht/~martanne/vis-test/commit/efafa3c17826 +Patch0: vis-test-builtin_strncpy-bounds.patch BuildRequires: libselinux-devel BuildRequires: libtermkey-devel BuildRequires: lua-devel @@ -47,10 +47,12 @@ It extends vi's modal editing with built-in support for multiple cursors/selections and combines it with sam's structural regular expression based command language. %prep -%autosetup -p1 +%setup -q -n %{name}-v%{version} tar -xC test/ --strip-components 1 -f %{SOURCE1} +%patch -p1 -P 0 + %build export CFLAGS="%{optflags} -fcommon" %configure ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.LKKm8H/_old 2024-07-11 20:30:55.215906294 +0200 +++ /var/tmp/diff_new_pack.LKKm8H/_new 2024-07-11 20:30:55.219906442 +0200 @@ -1,5 +1,5 @@ -mtime: 1689849135 -commit: e7cd93d0c780a4e3a937b0ee5f063a994395722e +mtime: 1720614559 +commit: cdcad6374a8fc29c1bda34afb88af483a55e35e83f1327d5d3bffed66ab1751d url: https://src.opensuse.org/mcepl_pkgs/vis.git -revision: e7cd93d0c780a4e3a937b0ee5f063a994395722e +revision: cdcad6374a8fc29c1bda34afb88af483a55e35e83f1327d5d3bffed66ab1751d ++++++ vis-0.8.tar.gz -> v0.5.tar.gz ++++++ ++++ 165572 lines of diff (skipped) ++++++ vis-0.8.tar.gz -> v0.9.tar.gz ++++++ ++++ 33918 lines of diff (skipped) ++++++ vis-test-builtin_strncpy-bounds.patch ++++++ --- test/core/ccan-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/test/core/ccan-config.c +++ b/test/core/ccan-config.c @@ -281,7 +281,7 @@ static struct test tests[] = { "#include <string.h>\n" "int main(int argc, char *argv[]) {\n" " char pad[sizeof(int *) * 1];\n" - " strncpy(pad, argv[0], sizeof(pad));\n" + " memcpy(pad, argv[0], sizeof(pad));\n" " return *(int *)(pad) == *(int *)(pad + 1);\n" "}\n" }, { "HAVE_UTIME", DEFINES_FUNC, NULL, NULL,