NAS-140324 / 26.0.0-BETA.2 / Emit service.query CHANGED event on service.update (by sonicaj) (#18823)
This commit adds changes so that when a service config update operation
is performed, we emit out an event which UI can listen to in order to
update it's state accordingly.
Original PR: https://github.com/truenas/middleware/pull/18822
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
NAS-140509 / 26.0.0-BETA.2 / fix test_legacy_api test failures (by yocalebo) (#18825)
The commit in ad71fbed02 caused this test to start failing. Fix the test
to account for the changes in that commit.
Original PR: https://github.com/truenas/middleware/pull/18620
Co-authored-by: caleb <yocalebo at gmail.com>
games/kodi-addon-game.libretro*,multimedia/kodi-addon*: update ports to latest kodi version
unbreaks and undeprecates games/kodi-addon-game.libretro
PR: 294761
PR: 294242
Add HA/CARP safety for PPP link startup
Implement HA/CARP safety checks for PPP links to prevent startup if no parent interface is CARP MASTER when 'Disconnect dialup interfaces' is enabled.
ui: use space in apply box for the apply reminder (#10103)
It's a good way to use existing space and move the
message to where it matters most -- the apply button
itself. This also matches the legacy apply box style.
[DAG] computeKnownFPClass - add ISD::FCOPYSIGN handling (#193672)
This PR implements `ISD::FCOPYSIGN` in
`SelectionDAG::computeKnownFPClass`, propagating class info from the
magnitude operand and sign-bit info from the sign operand.
Additionally, added RISC-V test coverage for `ISD::FCOPYSIGN`.
closes #193501
[SLP][NFC]Cache some results to improve compile time, NFC
Try to avoid some recalculations, if possible to cache some previous
results
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/194599
[clang][bytecode] Check method accessibility in `GetMemberPtrDecl` (#194560)
The decl saved in the `MemberPointer` needs to be accessible from its
Base.
[libc] Add the MSG_ flags (#194375)
I've included all of the flags defined on linux, even those not
documented in POSIX (or the manpage). I've also added tests to exercise
the flags, for cases where this can be done with domain sockets.
[AsmPrinter][debug] Materialize abstract lexical blocks referenced by global vars (#193986)
After 63074da2 moved global variable emission from beginModule() to
endModule(), getOrCreateContextDIE() is called after abstract scope DIEs
have been built. However, skipLexicalScope() may have elided an abstract
lexical block that has no local variables. When a global variable (e.g.,
a function-scope static) is scoped to such a block,
getOrCreateContextDIE() returns nullptr causing an assertion. This PR
keeps abstract lexical blocks when they are the scope target of a global
variable in the compile unit.
Derived via LLM usage.
NAS-140808 / 26.0.0-BETA.2 / keep ip addr order when adding them (by yocalebo) (#18824)
This is mostly a mechanical change. The `set()` used to collect desired
addresses becomes an insertion-ordered dict (`dict[AddressInfo, None]`),
and the add loop iterates the dict directly instead of `addrs_database -
addrs_configured`. Call sites that did `addrs_database.add(addr)` now do
`addrs_database.setdefault(addr)`. Remove loop is unchanged (`addr not
in addrs_database` still works).
The resulting order in which `add_address()` is called:
1. DHCP lease address (only when DHCP is running on the interface)
2. `int_address` (the configured primary)
3. VIP
4. Aliases in DB order
5. Alias-VIPs
Expectation change is that when an interface holds multiple IPv4
addresses on the same subnet, the kernel tags the first-added one as
[7 lines not shown]
NAS-140808 / 27.0.0-BETA.1 / keep ip addr order when adding them (#18819)
This is mostly a mechanical change. The `set()` used to collect desired
addresses becomes an insertion-ordered dict (`dict[AddressInfo, None]`),
and the add loop iterates the dict directly instead of `addrs_database -
addrs_configured`. Call sites that did `addrs_database.add(addr)` now do
`addrs_database.setdefault(addr)`. Remove loop is unchanged (`addr not
in addrs_database` still works).
The resulting order in which `add_address()` is called:
1. DHCP lease address (only when DHCP is running on the interface)
2. `int_address` (the configured primary)
3. VIP
4. Aliases in DB order
5. Alias-VIPs
Expectation change is that when an interface holds multiple IPv4
addresses on the same subnet, the kernel tags the first-added one as
[3 lines not shown]
devel/grid_example: add option field to showcase grid %field magic
The form %field magic works here too but let's not complicate an
example controller with it.
PR: https://github.com/opnsense/core/issues/10225
[clang][CodeGenCoroutine] Emit missing cleanup scope for lazy GRO conversion (#194281)
In #151067, we promoted GRO ahead of `coro.end`. However, there is a
regression that GRO cleanup might go into coroutine resume and destroy
parts. This patch introduces a dedicated cleanup scope for GRO, ensuring
that GRO cleanup does not interfere with other logic.
Close #193412
[clang][test] Fix test failures when LLVM_WINDOWS_PREFER_FORWARD_SLASH is ON (#193156)
This commit addresses several test failures in Clang that occur on
Windows when
the CMake option -DLLVM_WINDOWS_PREFER_FORWARD_SLASH=ON is enabled.
Key changes:
- unit tests: Normalized expected paths to native style using
llvm::sys::path::native
(Basic/FileManagerTest, Frontend/ReparseWorkingDirTest) or updated
diagnostic matching
to be separator-agnostic (Driver/ToolChainTest).
- regression tests: Updated FileCheck patterns to use flexible regex
{{[/\\\\]}} or
{{[/\\\\]+}} to match both path separator styles.
- absolute-paths-windows.test: Skipped when forward slashes are
preferred because
mklink does not support forward slashes in directory paths and
interprets them
as command-line switches. Added 'windows-prefer-forward-slash' lit
feature.
[clang][bytecode] Check builtins for number integers (#194324)
This is unfortunate, but since integers can now also be pointers, we
need to check for this everywhere when evaluating builtin functions.