13e3df60 | 22-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-b
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I7de1e3782363c0c7f57ff917cf9487e4599cac8e
show more ...
|
48e0a197 | 21-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Remove compilation using autotools
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Iee8d9c4249daf9d0c403717f0f8feb674bb18721
|
8246da04 | 24-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
Fix getting absolute path to YAML_PATH
When we extend the `YAML_PATH` in bb or bbappend, the meson.project_source_root should not get the absolute path in meson.build, this will produce double paths
Fix getting absolute path to YAML_PATH
When we extend the `YAML_PATH` in bb or bbappend, the meson.project_source_root should not get the absolute path in meson.build, this will produce double paths and cause the build to fail.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6de51da8b9fda4d00a727211edd3448802f84a43
show more ...
|
7efd6f3c | 21-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Add test meson build
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I38eba97894865909d793ed38330c47acb2f81a8e |
c0fd1f8a | 21-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Add meson build
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id1694bde6c57cab65ca86b00f64285f4d6224b2d |
c3a0dad4 | 20-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Add subprojects file
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I7a764691f1d5b68844a19edfeb1c9e30d4412487 |
5e6b51d7 | 21-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
Fix cppcheck warnings
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If5d808b9cb3bc733e7e21d546247d745ac5e1bf8 |
3fe976cc | 20-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
Update clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I58738190d06bf216a13048d768aa4054d820d2e8 |
8d56d48d | 16-Jun-2022 |
Patrick Williams <patrick@stwcx.xyz> |
MAINTAINERS: remove Matt
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7a9d96de81a33cf5b8f4578856a9dc4eaa6e453f |
26dc0bcb | 16-Jun-2022 |
Patrick Williams <patrick@stwcx.xyz> |
remove std::experimental usage
All of the std::experimental usages in this repository have a well supported counterpart in std as of C++17. Switch to use them.
Signed-off-by: Patrick Williams <pat
remove std::experimental usage
All of the std::experimental usages in this repository have a well supported counterpart in std as of C++17. Switch to use them.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4cdf5cd27053ce85c7f70c215ee9456f96f79f42
show more ...
|
98d6462a | 24-May-2022 |
Lei YU <yulei.sh@bytedance.com> |
propertywatch: Add ignore_start_callback config
Add an optional `ignore_start_callback` config to indicate if the callback shall be ignored on start.
By default the callbacks in property watch are
propertywatch: Add ignore_start_callback config
Add an optional `ignore_start_callback` config to indicate if the callback shall be ignored on start.
By default the callbacks in property watch are called on start. There are cases where we do not want such behavior and only expect callbacks on property changes.
Add the `ignore_start_callback` so that we could config a watch to not trigger the start callback.
Tested: Verify the callback is not called if the watch config has `ignore_start_callback: true`
Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I7e5887cc8b0d0775d9b3d689f1511250667aaa5b
show more ...
|
2beffa63 | 15-Apr-2022 |
Patrick Williams <patrick@stwcx.xyz> |
build: enable C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic4081b95dada39918fa2d65f7b2031e117e76cd9 |
afa54c68 | 30-Mar-2022 |
Harvey.Wu <Harvey.Wu@quantatw.com> |
Adding to support double type
- The current OpenBMC's value dbus property type has been changed to 'double', so adding to support double type in yaml and format.
phosphor-dbus-interfaces PR: http
Adding to support double type
- The current OpenBMC's value dbus property type has been changed to 'double', so adding to support double type in yaml and format.
phosphor-dbus-interfaces PR: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739
Signed-off-by: Harvey.Wu <Harvey.Wu@quantatw.com> Change-Id: Ic02ce6c8bf91490f7709365c9cbab57b12a264cc
show more ...
|
232f395e | 05-Apr-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping.
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping. It is time to remove this boolean to make it more observable which actions are being used in applications. Map all `true` occurrences to `action::defer_emit`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia42c547e5f4e7644315dad6f7b13476cd8db4826
show more ...
|
74dc24ad | 10-Jan-2022 |
Paul Fertser <fercerpav@gmail.com> |
snmp_trap: send AdditionalData contents
The log messages often contain essential diagnostics information in a key-value list in AdditionalData. Add it in space-separated form to the SNMP trap.
Sign
snmp_trap: send AdditionalData contents
The log messages often contain essential diagnostics information in a key-value list in AdditionalData. Add it in space-separated form to the SNMP trap.
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I72a49a59e6f3f9fcc24a69b0752cbb7b122be940
show more ...
|
0a3fe497 | 25-Oct-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Add OWNERS file
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I910f1d214d85e047b634c37a98b083d8189b2099 |
a95e8c81 | 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie65c8699ac992c3f4ef0450b9be65bb27e58cc2d |
cfdfa0da | 20-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
pdmgen: workaround restriction in sdbus++ NamedElement
sdbusplus commit dfb5642201 added a restriction to NamedElement that it can only have strings as a 'name', in order to catch bugs in malformed
pdmgen: workaround restriction in sdbus++ NamedElement
sdbusplus commit dfb5642201 added a restriction to NamedElement that it can only have strings as a 'name', in order to catch bugs in malformed YAML, but the script here relies on it being able to hold any object. Workaround this by saving/restoring the 'name' property prior to constructing NamedElement objects.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia1af62309e2af9a529dd2806b7981eebd1db5806
show more ...
|
b839c3ea | 02-Sep-2021 |
Alexander Filippov <a.filippov@yadro.com> |
format: fix logging of a boolean property
The journal callback keeps silence if the property is boolean. It happens due the mistype in the format definition.
This commit fixes the mistype in the fo
format: fix logging of a boolean property
The journal callback keeps silence if the property is boolean. It happens due the mistype in the format definition.
This commit fixes the mistype in the format definition.
Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: Ibc0fc6d0c275d4f8d6f592794813256d529e0ccd
show more ...
|
764adb5e | 02-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-
exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If98df395e3717aa119e192457220e31ce3ea4fe7
show more ...
|
995060c1 | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
bootstrap: fix shellcheck warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I86ef079c9632e5563a1a56d6a2e23aad59ecbc57 |
f3367686 | 16-May-2020 |
Andrew Geissler <geissonator@yahoo.com> |
size_t: ensure cstddef included
Latest upstream yocto appears to have removed a free include of cstddef. This is causing compile failures for files which do not include it properly.
Signed-off-by:
size_t: ensure cstddef included
Latest upstream yocto appears to have removed a free include of cstddef. This is causing compile failures for files which do not include it properly.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5933ec83cfb654d000c24c49a9e4ace79c5666e3
show more ...
|
ae4c95c6 | 16-May-2020 |
Andrew Geissler <geissonator@yahoo.com> |
string: ensure string included
Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly.
Signed-off-by: An
string: ensure string included
Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ie93f251b00db4d4a543b361262fad2201923e2c5
show more ...
|
35b4f337 | 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id416fbdec0a6d6b8e9eabfe058420865db3d1f08 |
34ef1e52 | 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6a3e7bb043371841838d241f2c4a9579d6ead4cb |