#
7edafe06 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I657f0cb5283a0b4177332d94a88af660f3de8f11 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
563306f6 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic63a70d32f4683e0bd92b625cc36c836aa8395a8
show more ...
|
#
23314a5c |
| 13-Apr-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Eliminate warning messages
Eliminate `[-Werror=unused-parameter]` warning message
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If4f8aee3ce71b5c6e6ad1d168859c03bd7bfa933
|
#
59521e87 |
| 11-Feb-2021 |
Matt Spinler <spinler@us.ibm.com> |
associations: Add conditions support
Allow there to be multiple associations files that are selected based on an inventory property condition specified inside of them. The file(s) needs to be locat
associations: Add conditions support
Allow there to be multiple associations files that are selected based on an inventory property condition specified inside of them. The file(s) needs to be located in the same directory as the default associations file, but can have any name as long as it ends in .json. If a conditional associations file is found, the default associations file is ignored.
For example: { "condition": { "path": "system/chassis/motherboard", "interface": "xyz.openbmc_project.Inventory.Decorator.Asset", "property": "Model", "values": [ "ModelA", "ModelB" ] }, "associations": [ // The same associations syntax as described above. ] }
This states that the associations in this file are valid if the motherboard inventory item has a Model property with a value of either ModelA or ModelB.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ib0f32815dee718ea268715896b5470ed2f25119e
show more ...
|
#
e96f2aa7 |
| 06-Dec-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
manager: explicitly pass deferSignal
Explicitly pass the deferSignal parameter to the dbus bindings to enable creating objects without emitting signals.
The patch does not introduce any functional
manager: explicitly pass deferSignal
Explicitly pass the deferSignal parameter to the dbus bindings to enable creating objects without emitting signals.
The patch does not introduce any functional change - only future capability; the dbus binding argument is defaulted to emit a signal (deferSignal = false) and that logic is preserved - moved from the binding call site to higher up the call stack (updateInterfaces).
A careful observer may notice this patch highlights that interfaces are constructed with the map-of-properties constructor with signals enabled. This is arguably a bug in the bindings - it would never make sense to construct an interface in this fashion and send PropertiesChanged signals while the interface is in the process of being constructed. This patch retains the current broken behavior, with a fix to be provided in a later patch.
Change-Id: I0d9ef93651595b751e96cae07d9f1095770c05a6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
a83db30e |
| 06-Dec-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
style: update clang-format
Pull the most recent OpenBMC style rules and run clang-format.
Change-Id: I11a25ea1e62d6c739010d9dd742a139fb17cc09a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.co
style: update clang-format
Pull the most recent OpenBMC style rules and run clang-format.
Change-Id: I11a25ea1e62d6c739010d9dd742a139fb17cc09a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
9cc42abf |
| 12-Dec-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
manager: refactor interface templates
Many of the templates in manager.hpp are _almost_ testable. Enable testing by porting to a new header - interface_ops.hpp - to be activated later.
Enhancement
manager: refactor interface templates
Many of the templates in manager.hpp are _almost_ testable. Enable testing by porting to a new header - interface_ops.hpp - to be activated later.
Enhancements include:
Dropped 'PropertiesVariant' wrapper template for reduced comprehensional complexity.
More intuitive HasProperties implementation. HasProperties is a type traits template that simply checks for the presence of a nested PropertiesVariant typename. These are provided by sdbusplus generated server bindings for dbus interfaces that have properties.
Standalone templates for make, assign, serialize and deserialize interface. There was no good reason to couple these, and the resulting types and method names are more intuitive.
Templated serialize/deserialize operations so the dependency on cereal can be abstracted away.
Change-Id: Ia449628eeaa9732bbbc51b0609bd449f43ebcb7c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|