dashboard: firewall: add semantic groups coloring option (#9907)
* firewall.js should keep coloring after reload, use sematic groups block = red
* fixes for review, hash simplification, color palette, action matching
* action is string, include interface, add default color
* Use color schema for chart colors, vary by shades
* fix blocks
* make color schema configurable for widet, defaults to contrast uses Classic10
* changed from select_multi to select, contrast mode matches the old behavior
* use options.colorscheme, fix color cycling bug
* Update src/opnsense/www/js/widgets/Firewall.js
[13 lines not shown]
[mlir][Bytecode] Fix stale deferred worklist entries in attribute callback fallthrough (#186150)
When parseCustomEntry() calls a user attribute/type callback that
internally reads sub-attributes/types via the bytecode reader, the
reader may add entries to the deferredWorklist if the depth limit is
exceeded. If the callback then returns success with an empty entry
(falling through to the regular dialect reader), the reader position is
reset but deferredWorklist retains stale entries from the failed partial
read.
This causes an assert(deferredWorklist.empty()) failure in debug builds
when the fallback dialect reader successfully parses the attribute.
Fix by saving and restoring deferredWorklist.size() around each callback
invocation, discarding any stale entries added during a callback's
partial read when the reader position is rolled back.
Fixes #163337
Assisted-by: Claude Code
[mlir][shape] Fix crash when folding tensor.extract(shape_of(memref)) (#186270)
The `ExtractFromShapeOfExtentTensor` canonicalization pattern was
unconditionally rewriting:
tensor.extract(shape.shape_of(%arg), %idx) -> tensor.dim(%arg, %idx)
even when `%arg` is a memref. This produced an invalid `tensor.dim`
(whose source operand must be a tensor), which then caused an assertion
failure in `DimOp::getSource()` when subsequent canonicalization
patterns tried to match the op:
Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type\!"'
failed. [To = TypedValue<TensorType>, From = Value]
Fix: add an `IsTensorType` constraint to
`ExtractFromShapeOfExtentTensor` in `ShapeCanonicalization.td` so the
pattern only fires when `%arg` is a tensor type. The memref case is
intentionally left unfolded (the correct lowering to `memref.dim` would
[8 lines not shown]
alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS
Refer to alloca() as a (builtin) function or macro, as it could be
defined as either depending on the compiler.
Paragraph about bug comes from Darwin's libc, and example added to
illustrate it.
Reviewed by: bnovkov
Approved by: bnovkov
MFC after: 3 days
Obtained from: https://github.com/apple-oss-distributions/libc (partially)
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D55370
Revert "lang/typescript-go: Update to 7.0.0.g20260312 (latest GitHub commit)"
The latest version appears too new to build editors/vscode.
This reverts commit 1940fd5a985637f1e9688f4b19992d9e8d0c3b16.
[AMDGPU][GlobalIsel] Add register bank legalization rules for amdgcn sin cos intrinsics. (#185934)
This patch adds register bank legalization rules for amdgcn sin and cos
operations in the AMDGPU GlobalISel pipeline.
[X86] Remove single use assumption in combineVectorSizedSetCCEquality (#182200)
Always allow multiple uses of normal loads in mayFoldIntoVector - scalarisation should break the vector load apart again if we fail to use a vector op.
Closes llvm/llvm-project#164632