Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lf for openSUSE:Factory checked in at 2023-09-20 13:25:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lf (Old) and /work/SRC/openSUSE:Factory/.lf.new.16627 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lf" Wed Sep 20 13:25:47 2023 rev:3 rq:1111799 version:31 Changes: -------- --- /work/SRC/openSUSE:Factory/lf/lf.changes 2023-08-13 19:18:29.392310899 +0200 +++ /work/SRC/openSUSE:Factory/.lf.new.16627/lf.changes 2023-09-20 13:27:34.423172009 +0200 @@ -1,0 +2,100 @@ +Sun Sep 17 18:20:07 UTC 2023 - Joshua Smith <[email protected]> + +- Update to version 31: + Breaking: + * There has been some changes in the server protocol. Make sure + to kill the old server process when you update to avoid errors + (i.e. lf -remote 'quit!'). + * A new server command query is added to expose internal state + to users (#1384) (by @joelim-work). + * A new builtin command cmds is added to display the commands. + The old builtin command jumps is now removed. The builtin + commands maps and cmaps now use the new server command. + * Cleaning program should now instead receive an additional + sixth argument for the next file path to be previewed to allow + comparisons with the previous file path. User options (i.e. + user_{option}) are now exported whenever they are changed + (#1418) (by @raslop). + * Command outputs are now exclusively attached to stderr to allow + printing the last directory or selection to stdout (#1399 and + #1402) (by @joelim-work). Two new command line options -print- + last-dir and -print-selection are added to print the last + directory and selection to stdout. The example script etc/ + lfcd.sh is updated to use -print-last-dir instead. Other lfcd + scripts are also likely to be updated in the future to use the + new method (patches are welcome). + * The option ruler is now deprecated in favor of its replacement + rulerfmt (#1386) (by @joelim-work). The new rulerfmt option is + more capable (i.e. displays option values, supports colors and + attributes, and supports optional fields) and more consistent + with the rest of our options. See the documentation for more + information. + New: + * Modifier keys (i.e. control, shift, alt) with special keys + (e.g. arrows, enter) are now supported for most combinations + (#1248) (by @joelim-work). + * A new option borderfmt is added to configure colors for pane + borders (#1251) (by @joelim-work). + * New lf specific environment variables, LF_CONFIG_HOME on + Windows and LF_CONFIG/DATA_HOME on Unix, are now supported to + set the configuration directory (#1253) (by @alok-mishra). + * Tilde (i.e. ~) expansion is performed during completion to be + able to use expanded tilde paths as command arguments (#1246) + (by @joelim-work). + * A new option preserve is added to preserve attributes (i.e. + mode and timestamps) while copying (#1026) (by @raslop). + * The file etc/icons.example is updated for nerd-fonts v3.0.0 + (#1271) (by @MunifTanjim). + * A new builtin command clearmaps is added to clear all default + keybindings except for read (i.e. :) and cmap keybindings to be + able to :quit (#1286) (by @joelim-work). + * A new option statfmt is added to configure the status line at + the bottom (#1288) (by @joelim-work). + * A new option truncatepct is added to determine the location of + truncation from the beginning in terms of percentage (#1029) + (by @raslop). + * A new option dupfilefmt is added to configure the names of + duplicate files while copying (#1315) (by @Limero). + * Shell scripts etc/lf.nu and etc/lfcd.nu are added to the + repository to allow completion and directory change with + Nushell (#1341) (by @mauerlaeufer). + * A new configuration keyword setlocal is added to configure + directory specific options (#1381) (by @gokcehan). + * A new command line command cmd-delete-word-back (default a- + backspace and a-backspace2) is added to use word boundaries + when deleting a word backwards (#1409) (by @janpeterd). + Fix: + * Cursor positions in the directory should now be preserved after + file operations that changes the directory (e.g. create or + delete) (#1247) (by @joelim-work). + * Option reverse should now respect to sort stability + requirements (#1261) (by @joelim-work). + * Backspace should not exit filter mode anymore (#1269) (by + @jdujava). + * Truncated double width characters should not cause misalignment + for the file information (#1272) (by @joelim-work). + * Piping shell commands should not refresh the preview anymore + (#1281) (by @joelim-work). + * Cursor position should now update properly after a terminal + resize (#1290) (by @joelim-work). + * Directories should now be reloaded properly after a delete + operation (#1292) (by @joelim-work). + * Executable file completion should not add entries to the log + file anymore (#1307) (by @joelim-work). + * Blank input lines are now allowed in piping shell commands + (#1308) (by @joelim-work). + * Shell commands arguments on Windows should now be quoted + properly to fix various issues (#1309) (by @joelim-work). + * Reloading in a symlink directory should not follow the symlink + anymore (#1327) (by @joelim-work). + * Command load should not flicker image previews anymore (#1335) + (by @joelim-work). + * Filenames should only be quoted for cmd on Windows to avoid + quoting issues for powershell (#1371) (by @joelim-work). + * Inaccessible files should now be included in the directory list + and display their lstat errors in the status line at the bottom + (#1382) (by @jantatje). + * Command line command cmd-delete-word should now add the deleted + text to the yank buffer (#1409) (by @janpeterd). + +------------------------------------------------------------------- Old: ---- lf-30+dd82949.tar.gz New: ---- lf-31.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lf.spec ++++++ --- /var/tmp/diff_new_pack.tpLi28/_old 2023-09-20 13:27:35.895224747 +0200 +++ /var/tmp/diff_new_pack.tpLi28/_new 2023-09-20 13:27:35.895224747 +0200 @@ -17,7 +17,7 @@ Name: lf -Version: 30+dd82949 +Version: 31 Release: 0 Summary: Terminal file manager (with sixel support) License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.tpLi28/_old 2023-09-20 13:27:35.943226466 +0200 +++ /var/tmp/diff_new_pack.tpLi28/_new 2023-09-20 13:27:35.951226753 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/gokcehan/lf.git</param> - <param name="changesrevision">dd8294952f3cda8d8671847a5ab4dc3613a2aabd</param></service></servicedata> + <param name="changesrevision">c8163439f50d2c55453977b3c480fd858c5f3b4d</param></service></servicedata> (No newline at EOF) ++++++ lf-30+dd82949.tar.gz -> lf-31.tar.gz ++++++ ++++ 259545 lines of diff (skipped) ++++++ vendor.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/mkerrors.sh new/vendor/golang.org/x/sys/unix/mkerrors.sh --- old/vendor/golang.org/x/sys/unix/mkerrors.sh 2023-08-13 12:02:24.799232139 +0200 +++ new/vendor/golang.org/x/sys/unix/mkerrors.sh 2023-09-17 20:20:10.000000000 +0200 @@ -583,6 +583,7 @@ $2 ~ /^PERF_/ || $2 ~ /^SECCOMP_MODE_/ || $2 ~ /^SEEK_/ || + $2 ~ /^SCHED_/ || $2 ~ /^SPLICE_/ || $2 ~ /^SYNC_FILE_RANGE_/ || $2 !~ /IOC_MAGIC/ && diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/syscall_linux.go new/vendor/golang.org/x/sys/unix/syscall_linux.go --- old/vendor/golang.org/x/sys/unix/syscall_linux.go 2023-08-13 12:02:24.802565575 +0200 +++ new/vendor/golang.org/x/sys/unix/syscall_linux.go 2023-09-17 20:20:10.000000000 +0200 @@ -2471,6 +2471,29 @@ return pselect6(nfd, r, w, e, mutableTimeout, kernelMask) } +//sys schedSetattr(pid int, attr *SchedAttr, flags uint) (err error) +//sys schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error) + +// SchedSetAttr is a wrapper for sched_setattr(2) syscall. +// https://man7.org/linux/man-pages/man2/sched_setattr.2.html +func SchedSetAttr(pid int, attr *SchedAttr, flags uint) error { + if attr == nil { + return EINVAL + } + attr.Size = SizeofSchedAttr + return schedSetattr(pid, attr, flags) +} + +// SchedGetAttr is a wrapper for sched_getattr(2) syscall. +// https://man7.org/linux/man-pages/man2/sched_getattr.2.html +func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) { + attr := &SchedAttr{} + if err := schedGetattr(pid, attr, SizeofSchedAttr, flags); err != nil { + return nil, err + } + return attr, nil +} + /* * Unimplemented */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/syscall_unix.go new/vendor/golang.org/x/sys/unix/syscall_unix.go --- old/vendor/golang.org/x/sys/unix/syscall_unix.go 2023-08-13 12:02:24.802565575 +0200 +++ new/vendor/golang.org/x/sys/unix/syscall_unix.go 2023-09-17 20:20:10.000000000 +0200 @@ -549,6 +549,9 @@ if err != nil { return err } + if (flag&O_NONBLOCK != 0) == nonblocking { + return nil + } if nonblocking { flag |= O_NONBLOCK } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/zerrors_linux.go new/vendor/golang.org/x/sys/unix/zerrors_linux.go --- old/vendor/golang.org/x/sys/unix/zerrors_linux.go 2023-08-13 12:02:24.805899012 +0200 +++ new/vendor/golang.org/x/sys/unix/zerrors_linux.go 2023-09-17 20:20:10.000000000 +0200 @@ -2821,6 +2821,23 @@ RWF_SUPPORTED = 0x1f RWF_SYNC = 0x4 RWF_WRITE_LIFE_NOT_SET = 0x0 + SCHED_BATCH = 0x3 + SCHED_DEADLINE = 0x6 + SCHED_FIFO = 0x1 + SCHED_FLAG_ALL = 0x7f + SCHED_FLAG_DL_OVERRUN = 0x4 + SCHED_FLAG_KEEP_ALL = 0x18 + SCHED_FLAG_KEEP_PARAMS = 0x10 + SCHED_FLAG_KEEP_POLICY = 0x8 + SCHED_FLAG_RECLAIM = 0x2 + SCHED_FLAG_RESET_ON_FORK = 0x1 + SCHED_FLAG_UTIL_CLAMP = 0x60 + SCHED_FLAG_UTIL_CLAMP_MAX = 0x40 + SCHED_FLAG_UTIL_CLAMP_MIN = 0x20 + SCHED_IDLE = 0x5 + SCHED_NORMAL = 0x0 + SCHED_RESET_ON_FORK = 0x40000000 + SCHED_RR = 0x2 SCM_CREDENTIALS = 0x2 SCM_RIGHTS = 0x1 SCM_TIMESTAMP = 0x1d diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/zsyscall_linux.go new/vendor/golang.org/x/sys/unix/zsyscall_linux.go --- old/vendor/golang.org/x/sys/unix/zsyscall_linux.go 2023-08-13 12:02:24.809232448 +0200 +++ new/vendor/golang.org/x/sys/unix/zsyscall_linux.go 2023-09-17 20:20:10.000000000 +0200 @@ -2197,3 +2197,23 @@ RawSyscallNoError(SYS_GETRESGID, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid))) return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func schedSetattr(pid int, attr *SchedAttr, flags uint) (err error) { + _, _, e1 := Syscall(SYS_SCHED_SETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error) { + _, _, e1 := Syscall6(SYS_SCHED_GETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(size), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/unix/ztypes_linux.go new/vendor/golang.org/x/sys/unix/ztypes_linux.go --- old/vendor/golang.org/x/sys/unix/ztypes_linux.go 2023-08-13 12:02:24.812565884 +0200 +++ new/vendor/golang.org/x/sys/unix/ztypes_linux.go 2023-09-17 20:20:10.000000000 +0200 @@ -5868,3 +5868,18 @@ VIRTIO_NET_HDR_GSO_UDP_L4 = 0x5 VIRTIO_NET_HDR_GSO_ECN = 0x80 ) + +type SchedAttr struct { + Size uint32 + Policy uint32 + Flags uint64 + Nice int32 + Priority uint32 + Runtime uint64 + Deadline uint64 + Period uint64 + Util_min uint32 + Util_max uint32 +} + +const SizeofSchedAttr = 0x38 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/windows/syscall_windows.go new/vendor/golang.org/x/sys/windows/syscall_windows.go --- old/vendor/golang.org/x/sys/windows/syscall_windows.go 2023-08-13 12:02:24.822566194 +0200 +++ new/vendor/golang.org/x/sys/windows/syscall_windows.go 2023-09-17 20:20:10.000000000 +0200 @@ -216,7 +216,7 @@ //sys shGetKnownFolderPath(id *KNOWNFOLDERID, flags uint32, token Token, path **uint16) (ret error) = shell32.SHGetKnownFolderPath //sys TerminateProcess(handle Handle, exitcode uint32) (err error) //sys GetExitCodeProcess(handle Handle, exitcode *uint32) (err error) -//sys GetStartupInfo(startupInfo *StartupInfo) (err error) = GetStartupInfoW +//sys getStartupInfo(startupInfo *StartupInfo) = GetStartupInfoW //sys GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error) //sys DuplicateHandle(hSourceProcessHandle Handle, hSourceHandle Handle, hTargetProcessHandle Handle, lpTargetHandle *Handle, dwDesiredAccess uint32, bInheritHandle bool, dwOptions uint32) (err error) //sys WaitForSingleObject(handle Handle, waitMilliseconds uint32) (event uint32, err error) [failretval==0xffffffff] @@ -437,6 +437,10 @@ //sys DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmGetWindowAttribute //sys DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmSetWindowAttribute +// Windows Multimedia API +//sys TimeBeginPeriod (period uint32) (err error) [failretval != 0] = winmm.timeBeginPeriod +//sys TimeEndPeriod (period uint32) (err error) [failretval != 0] = winmm.timeEndPeriod + // syscall interface implementation for other packages // GetCurrentProcess returns the handle for the current process. @@ -1624,6 +1628,11 @@ return setConsoleCursorPosition(console, *((*uint32)(unsafe.Pointer(&position)))) } +func GetStartupInfo(startupInfo *StartupInfo) error { + getStartupInfo(startupInfo) + return nil +} + func (s NTStatus) Errno() syscall.Errno { return rtlNtStatusToDosErrorNoTeb(s) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/golang.org/x/sys/windows/zsyscall_windows.go new/vendor/golang.org/x/sys/windows/zsyscall_windows.go --- old/vendor/golang.org/x/sys/windows/zsyscall_windows.go 2023-08-13 12:02:24.822566194 +0200 +++ new/vendor/golang.org/x/sys/windows/zsyscall_windows.go 2023-09-17 20:20:10.000000000 +0200 @@ -55,6 +55,7 @@ moduser32 = NewLazySystemDLL("user32.dll") moduserenv = NewLazySystemDLL("userenv.dll") modversion = NewLazySystemDLL("version.dll") + modwinmm = NewLazySystemDLL("winmm.dll") modwintrust = NewLazySystemDLL("wintrust.dll") modws2_32 = NewLazySystemDLL("ws2_32.dll") modwtsapi32 = NewLazySystemDLL("wtsapi32.dll") @@ -468,6 +469,8 @@ procGetFileVersionInfoSizeW = modversion.NewProc("GetFileVersionInfoSizeW") procGetFileVersionInfoW = modversion.NewProc("GetFileVersionInfoW") procVerQueryValueW = modversion.NewProc("VerQueryValueW") + proctimeBeginPeriod = modwinmm.NewProc("timeBeginPeriod") + proctimeEndPeriod = modwinmm.NewProc("timeEndPeriod") procWinVerifyTrustEx = modwintrust.NewProc("WinVerifyTrustEx") procFreeAddrInfoW = modws2_32.NewProc("FreeAddrInfoW") procGetAddrInfoW = modws2_32.NewProc("GetAddrInfoW") @@ -2367,11 +2370,8 @@ return } -func GetStartupInfo(startupInfo *StartupInfo) (err error) { - r1, _, e1 := syscall.Syscall(procGetStartupInfoW.Addr(), 1, uintptr(unsafe.Pointer(startupInfo)), 0, 0) - if r1 == 0 { - err = errnoErr(e1) - } +func getStartupInfo(startupInfo *StartupInfo) { + syscall.Syscall(procGetStartupInfoW.Addr(), 1, uintptr(unsafe.Pointer(startupInfo)), 0, 0) return } @@ -4015,6 +4015,22 @@ err = errnoErr(e1) } return +} + +func TimeBeginPeriod(period uint32) (err error) { + r1, _, e1 := syscall.Syscall(proctimeBeginPeriod.Addr(), 1, uintptr(period), 0, 0) + if r1 != 0 { + err = errnoErr(e1) + } + return +} + +func TimeEndPeriod(period uint32) (err error) { + r1, _, e1 := syscall.Syscall(proctimeEndPeriod.Addr(), 1, uintptr(period), 0, 0) + if r1 != 0 { + err = errnoErr(e1) + } + return } func WinVerifyTrustEx(hwnd HWND, actionId *GUID, data *WinTrustData) (ret error) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt --- old/vendor/modules.txt 2023-08-13 12:02:24.845900251 +0200 +++ new/vendor/modules.txt 2023-09-17 20:20:10.000000000 +0200 @@ -54,13 +54,13 @@ # github.com/rivo/uniseg v0.4.3 ## explicit; go 1.18 github.com/rivo/uniseg -# golang.org/x/sys v0.11.0 +# golang.org/x/sys v0.12.0 ## explicit; go 1.17 golang.org/x/sys/internal/unsafeheader golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows -# golang.org/x/term v0.11.0 +# golang.org/x/term v0.12.0 ## explicit; go 1.17 golang.org/x/term # golang.org/x/text v0.7.0
