[MLIR][Python] Forward the name of MLIR attrs to Python side (#174756)
This PR is quite similiar to #174700.
In this PR, I added a C API for each (upstream) MLIR attributes to
retrieve its name (for example, `StringAttr -> mlirStringAttrGetName()
-> "builtin.string"`), and exposed a corresponding type_name class
attribute in the Python bindings (e.g., `StringAttr.attr_name ->
"builtin.string"`). This can be used in various places to avoid
hard-coded strings, such as eliminating the manual string in
`irdl.base("#builtin.string")`.
Note that parts of this PR (mainly mechanical changes) were produced via
GitHub Copilot and GPT-5.2. I have manually reviewed the changes and
verified them with tests to ensure correctness.
Disable SMB3 unix extensions by default
This commit disables the SMB3 unix extensions by default. They
will be exposed as a configurable option in a future PR.
interfaces: use model to get the hardware data
We should really add a test case for getNodeContent() to ensure
the output will not shift on us in the future for unintented
reasons.
getNodes() doesn't work as it structures option values weirdly
more tailored for GUI rendering.
textproc/qo: Add port
qo is an interactive TUI to query structured data (JSON/CSV/TSV) using
SQL (in particular, SQLite syntax). Results are updated in real-time.
It ultimately works as a standard stdin-in/stdout-out CLI app, so it's
essentially a normal piped app that (optionally) has interactivity.
If you pass the query as an argument, it'll skip the TUI, but still
let you query your data with SQL.
add BDEP on libzip; if present, "ZipIOProvider" is built, which fails if
libzip was junked. (done only as a BDEP because at present, ZipIOProvider
only seems to be used for tools/maptools-cli, which doesn't get installed).
[SPIRV] Support non-constant indices for vector insert/extract (#172514)
This patch updates the legalization of spv_insertelt and spv_extractelt
to
handle non-constant (dynamic) indices. When a dynamic index is
encountered, the
vector is spilled to the stack, and the element is accessed via
OpAccessChain
(lowered from spv_gep).
This patch also adds custom legalization for G_STORE to scalarize vector
stores
and refines the legalization rules for G_LOAD, G_STORE, and
G_BUILD_VECTOR.
Fixes https://github.com/llvm/llvm-project/issues/170534
netstat: fix a segfault with --libxo
Fix a segfault when printing the "protocol" field. The field-format and
encoding-format were expecting different numbers of arguments.
Also, fix the width of the tcp-state field in encoded output.
PR: 292228
Fixes: c2b08c13c20 netstat: add support for UDP-Lite endpoints
MFC after: 1 week
Sponsored by: ConnectWise
Reviewed by: tuexen, js, des
Differential Revision: https://reviews.freebsd.org/D54567
NAS-139180 / 25.10.2 / Change error on core.bulk op to LongString (by anodos325) (#17957)
Depending on the circumstances and exact arguments passed to a method,
the operation may fail with a detail python traceback that requires a
LongString for the error message.
Original PR: https://github.com/truenas/middleware/pull/17956
Co-authored-by: Andrew Walker <awalker at ixsystems.com>