LLVM/project 20bce6dclang-tools-extra/clang-tidy/performance FasterStringFindCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Teach `performance-faster-string-find` about `starts_with`, `ends_with`, and `contains` (#182633)

These aren't "find" functions per se, so they don't totally match the
check name, but the same optimization is applicable to them (for
example, see
https://en.cppreference.com/w/cpp/string/basic_string_view/starts_with.html).
This optimization could be expanded to `operator+=` as well, but that's
a bit more involved, so I'm not doing it in this PR.
DeltaFile
+15-0clang-tools-extra/test/clang-tidy/checkers/performance/faster-string-find.cpp
+6-8clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
+4-3clang-tools-extra/docs/clang-tidy/checks/performance/faster-string-find.rst
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+30-114 files

FreeNAS/freenas 9b383cdsrc/middlewared/middlewared/plugins/pool_ dataset_encryption_lock.py dataset_encryption_info.py

Make sure on locking, we properly mark datasets as locked
DeltaFile
+18-9src/middlewared/middlewared/plugins/pool_/dataset_encryption_lock.py
+12-0src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+30-92 files

NetBSD/pkgsrc-wip 46c817fpy-ksef2 PLIST Makefile, py-xsdata PLIST Makefile

py-ksef2: update to 8.0.0

Invoice rendering — HTML and PDF export

Export KSeF invoice XML to HTML and PDF using the built-in XSLT stylesheet:
    InvoiceXSLTRenderer — renders invoice XML to HTML via the bundled styl.xsl
    InvoicePDFExporter — renders invoice XML to PDF (HTML intermediate via XSLT + WeasyPrint)

Both renderers support exporting from file paths, XML strings, or directly to files.

Other additions
    Add FA(3) schema models generated from schemat.xml
    Add KSeFExportTimeoutError and KSeFInvoiceQueryTimeoutError exception types for polling timeouts
    Bundle styl.xsl inside the package (ksef2.services.renderers)

Experimental
    scripts/cli/export_invoices.py — CLI tool for downloading invoices and exporting to PDF. Supports token, PEM cert/key, and PKCS#12 authentication. Run python scripts/cli/export_invoices.py --help for usage.
DeltaFile
+396-0py-xsdata/PLIST
+100-33py-ksef2/PLIST
+32-0py-xsdata-pydantic/PLIST
+23-0py-xsdata-pydantic/Makefile
+22-0py-xsdata/Makefile
+11-7py-ksef2/Makefile
+584-407 files not shown
+619-4513 files

LLVM/project d01b078llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select-fcmp-fmul-zero-absorbing-value.ll

InstCombine: Fold absorbing fmul of compared 0 into select

This is similar to the select-bin-op identity case, except
in this case we are looking for the absorbing value for the
binary operator.

If the compared value is a floating-point 0, and the fmul is
implied to return a +0, put the 0 directly into the select
operand. This pattern appears in scale-if-denormal sequences
after  optimizations assume denormals are treated as 0.

Fold:
  %fabs.x = call float @llvm.fabs.f32(float %x)
  %mul.fabs.x = fmul float %fabs.x, known_positive
  %x.is.zero = fcmp oeq float %x, 0.0
  %select = select i1 %x.is.zero, float %mul.fabs.x, float %fabs.x

To:
  %fabs.x = call float @llvm.fabs.f32(float %x)

    [5 lines not shown]
DeltaFile
+39-19llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+7-15llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
+46-342 files

LLVM/project 6e0054allvm/lib/Transforms/Scalar Scalarizer.cpp, llvm/test/Transforms/Scalarizer constant-extractelement.ll

[Scalarizer] Fix out-of-bounds crash (#180359)

When processing an extractelement instruction with an index that exceeds
the vector size (e.g., extracting index 2147483647 from a 4-element
vector), the scalarizer would calculate an out-of-bounds Fragment index
and crash with an assertion failure in `SmallVector::operator[]`.

This PR adds a bounds check in
`ScalarizerVisitor::visitExtractElementInst` to prevent a crash when the
extractelement index is out of bounds.

Fixes #179880
DeltaFile
+10-0llvm/test/Transforms/Scalarizer/constant-extractelement.ll
+2-0llvm/lib/Transforms/Scalar/Scalarizer.cpp
+12-02 files

FreeBSD/src 93043c6sys/kern kern_event.c, sys/sys event.h

kqueue: Make kn_sfflags unsigned

This is used to hold a copy of the original fflags, which is unsigned.

MFC after:      3 days
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D55348

(cherry picked from commit d379432808ed286dc051a34138ae250addbc469c)
DeltaFile
+1-1sys/kern/kern_event.c
+1-1sys/sys/event.h
+2-22 files

FreeBSD/src be10d6fusr.bin/diff diffdir.c

diff: Fix gcc build.

Sponsored by:   Klara, Inc.

(cherry picked from commit 28d9586cde8dc783f7b698b10c2b564fde14ae74)
DeltaFile
+3-3usr.bin/diff/diffdir.c
+3-31 files

LLVM/project a67bf7d.github/workflows lldb-pylint-action.yml

Remove whitespace on blank lines (#182574)

I removed some whitespace on a workflow job, which only had spaces.
I did not remove the newline completelty, only the whitespace junk,
which I found by git diffing the head.
DeltaFile
+2-2.github/workflows/lldb-pylint-action.yml
+2-21 files

FreeBSD/ports 2bbefbetextproc/miller distinfo Makefile

textproc/miller: Update to 6.17.0
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

LLVM/project 7a1c498llvm/test/Transforms/InstCombine select-fcmp-fmul-zero-absorbing-value.ll

[InstCombine] Update test

This was breaking buildbots due to a mid-air collision where some change
caused test differences between when the test was put up/passed CI and
when it landed.
DeltaFile
+1-1llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
+1-11 files

LLVM/project 7ed0aa2offload/plugins-nextgen/level_zero/include L0Plugin.h, offload/plugins-nextgen/level_zero/src L0Program.cpp L0Kernel.cpp

[OFFLOAD][L0] Remove leftover global constructor (#182611) (#182665)

fixes #182611
DeltaFile
+5-2offload/plugins-nextgen/level_zero/src/L0Program.cpp
+3-3offload/plugins-nextgen/level_zero/include/L0Plugin.h
+3-3offload/plugins-nextgen/level_zero/src/L0Kernel.cpp
+0-4offload/plugins-nextgen/level_zero/src/L0Plugin.cpp
+11-124 files

OpenBSD/ports pt7Wk0pdevel/sccache distinfo crates.inc, devel/sccache/pkg PLIST

   devel/sccache: update to 0.14.0
VersionDeltaFile
1.15+50-48devel/sccache/distinfo
1.15+24-23devel/sccache/crates.inc
1.20+1-1devel/sccache/Makefile
1.4+1-0devel/sccache/pkg/PLIST
+76-724 files

FreeBSD/src 86a6407sys/compat/linux linux_file.c

linux_file.c: Fix handling of NFS getdents() emulation

Bugzilla PR#292282 reports a problem, where a Linux
binary running in the Linuxulator gets bogus entries
in a readdir()/getdents() reply when the directory is
an NFS mount.

This appears to be caused by the NFS client including
entries with d_fileno == 0, which are always ignored by
BSD, but are not ignored by Linux.

This patch filters out the "d_fileno == 0" entries and
the reporter of the bugzilla PR notes that it fixes the
problem for him.

It could be argued that the NFS client should filter out
the "d_fileno == 0" entries, but the NFS client readdir
code is "fragile" and any change to it runs a significant
risk of causing regression type problems.

    [7 lines not shown]
DeltaFile
+110-68sys/compat/linux/linux_file.c
+110-681 files

LLVM/project 15430ballvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner] Use APInt::isPower2() instead of popcount() == 1. NFC (#182600)

DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-11 files

LLVM/project fe5096fllvm/include/llvm/IR PatternMatch.h

[PatternMatch] Use APInt::tryZExtValue. NFC (#182618)

DeltaFile
+3-2llvm/include/llvm/IR/PatternMatch.h
+3-21 files

OpenBSD/src tfivCRwsys/dev/ic qwx.c

   Add missing bus_dmamap_unload(9).

   ok stsp@
VersionDeltaFile
1.101+2-1sys/dev/ic/qwx.c
+2-11 files

FreeBSD/ports f3890eanet/remmina Makefile

net/remmina: Update to 1.4.43

ChangeLog: https://gitlab.com/Remmina/Remmina/-/releases/v1.4.43

 * Add minimal macOS build support
 * Revert "Added kerberos-config plug"
 * [REM-3489] Fix issue preventing SPICE plugin from being loaded
 * [REM-3490] Do not calculate monitor shift if using
   freerdp_settings_set_monitor_def_array_sorted
DeltaFile
+1-1net/remmina/Makefile
+1-11 files

FreeBSD/ports e3218b5www/obhttpd Makefile

www/obhttpd: Deprecate and set expiration date to 2026-03-31

Depends on bundled version of LibreSSL which is unsupported upstream
DeltaFile
+3-0www/obhttpd/Makefile
+3-01 files

FreeBSD/ports 11c0dd4graphics/p5-Chart-Gnuplot Makefile, net/dhcpd Makefile

*/*: Return ports to pool

As requested by maintainer and thanks for your contributions

PR:             293335
DeltaFile
+2-2www/rssroll/Makefile
+2-2net/dhcpd/Makefile
+2-2www/gpx2map/Makefile
+2-2www/obhttpd/Makefile
+2-2www/slowcgi/Makefile
+2-1graphics/p5-Chart-Gnuplot/Makefile
+12-111 files not shown
+14-127 files

FreeBSD/ports 72554c1security/openvpn/files patch-inotify

security/openvpn: Fix detection of native inotify on FreeBSD 15

This fixes build when ASYNC_PUSH option is enabled

Fixed upstream in commit 38243844f225517fa1d288517db9a34a33c5ad13

Reference:
https://github.com/OpenVPN/openvpn/commit/38243844f225517fa1d288517db9a34a33c5ad13

PR:             293176
Reported by:    Ivo Karabojkov
Approved by:    mandree@ (via Matrix)
DeltaFile
+11-0security/openvpn/files/patch-inotify
+11-01 files

FreeBSD/src fa77660sys/kern sys_pipe.c

pipe: Avoid unnecessary priv_check() calls in pipespace_new()

Running out of pipe map KVA is a rare case, so reorder checks
accordingly, presuming that calling priv_check() is more expensive than
the calculation.  In particular, priv_check() might not be cheap to
evaluate if MAC hooks are installed.

Reviewed by:    olce, kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55378
DeltaFile
+2-2sys/kern/sys_pipe.c
+2-21 files

FreeBSD/ports 13100fedns/dnsmasq Makefile, dns/dnsmasq/files patch-src_dhcp.c

dns/dnsmasq: Backport upstream commit to fix PXEBOOT regression

Reference:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=84415a87be571a6da82c910c1b87b194e5f54727

MFH:            2026Q1
DeltaFile
+110-0dns/dnsmasq/files/patch-src_dhcp.c
+1-1dns/dnsmasq/Makefile
+111-12 files

FreeBSD/src 0fa6ce2sys/kern kern_sysctl.c

sysctl: Avoid calling priv_check() unnecessarily

After commit 7d1d9cc440f80 we only serialize large sysctl requests for
non-root users, but we should avoid calling priv_check() unless the
request actually is large, as that's not the common case.  In
particular, priv_check() might not be cheap to evaluate if MAC hooks are
installed.

Reviewed by:    olce, kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55377
DeltaFile
+2-2sys/kern/kern_sysctl.c
+2-21 files

FreeBSD/ports f5749a8sysutils/yazi distinfo Makefile.crates, sysutils/yazi/files patch-yazi-fs_src_provider_local_casefold.rs

sysutils/yazi: Update to 26.1.22

- Add a patch (files/patch-yazi-fs_src_provider_local_casefold.rs) to fix
  the compilation which would otherwise fail with the following error:

error[E0432]: unresolved imports `libc::F_GETPATH`, `libc::O_SYMLINK`
   --> yazi-fs/src/provider/local/casefold.rs:164:13
    |
164 |     use libc::{F_GETPATH, O_RDONLY, O_SYMLINK, PATH_MAX};
    |                ^^^^^^^^^            ^^^^^^^^^ no `O_SYMLINK` in the root
    |                |
    |                no `F_GETPATH` in the root

ChangeLog:      https://github.com/sxyazi/yazi/blob/main/CHANGELOG.md#v26122
Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+821-423sysutils/yazi/distinfo
+409-210sysutils/yazi/Makefile.crates
+46-0sysutils/yazi/files/patch-yazi-fs_src_provider_local_casefold.rs
+2-2sysutils/yazi/Makefile
+1-0sysutils/yazi/pkg-plist
+1,279-6355 files

OpenBSD/ports 7xVs9eBx11/lablgtk3 Makefile distinfo

   update lablgtk3 to 3.1.5

   This update is needed so we can build coqide in math/rocq again. As a bonus
   this update also includes better support for OCaml 5.
VersionDeltaFile
1.17+3-3x11/lablgtk3/Makefile
1.5+2-2x11/lablgtk3/distinfo
+5-52 files

FreeBSD/src 80950a0. CONTRIBUTING.md

CONTRIBUTING.md: Github to Phabricator move adivce

When moving from Github to Phabricator, request that the original github
pull request be closed with the URL of the Phab. This cuts down on
clutter and helps us track things better.

Sponsored by:           Netflix
DeltaFile
+3-1CONTRIBUTING.md
+3-11 files

FreeBSD/src 23605a8stand/efi/loader/arch/amd64 trap.c

loader.efi: efi_redirect_exceptions does use uninitialized pointer

loader_idt.rd_base is not set when we are attempting to bcopy(),
resulting to data stored to page 0 and therefore corrupting it.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D55180
DeltaFile
+1-0stand/efi/loader/arch/amd64/trap.c
+1-01 files

NetBSD/pkgsrc-wip 6791c2d. TODO

TODO: + pipewire-1.6, weston-15.0.
DeltaFile
+2-0TODO
+2-01 files

NetBSD/pkgsrc-wip aca0ecbneomutt-git options.mk PLIST

neomutt-git: reduce diffs to mail/neomutt
DeltaFile
+6-30neomutt-git/options.mk
+6-4neomutt-git/PLIST
+6-3neomutt-git/Makefile
+18-373 files

NetBSD/pkgsrc G0rtbEZmail/neomutt options.mk

   neomutt: remove deprecation support for option from 2024
VersionDeltaFile
1.26+1-4mail/neomutt/options.mk
+1-41 files