#
eab4f8c0 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I9bb0aaa05541fe88ccabfaa5d00e3117e489ea8d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
413a4857 |
| 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: I6a559082fed34ae62b648345ead793436d2d03f6
show more ...
|
#
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 ...
|
#
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
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
12789e6c |
| 23-Nov-2018 |
Alexander Soldatov <a.soldatov@yadro.com> |
Exception processing added for CallDBusMethod::op.
Patch adds exception processing for CallDBusMethod::op function. It prevents phosphor-dbus-monitor crashes, when calling service doesn't exist.
Ch
Exception processing added for CallDBusMethod::op.
Patch adds exception processing for CallDBusMethod::op function. It prevents phosphor-dbus-monitor crashes, when calling service doesn't exist.
Change-Id: Iac9be4c14a52fa9c12eb08dfec1f4dfd68e8cdfb Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
3d6d3182 |
| 31-Aug-2018 |
Patrick Venture <venture@google.com> |
update .clang-format
Added the header inclusion order to the .clang-format file generated these changes.
Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab Signed-off-by: Patrick Venture <venture
update .clang-format
Added the header inclusion order to the .clang-format file generated these changes.
Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
d1eac88d |
| 29-Mar-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enable clang-format
Fix up errors and enable clang-format during CI builds.
Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
a45e086d |
| 21-Feb-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Add callback contexts
Add the notion of a callback context. This enables callbacks to have logic around the conditions they were invoked in.
There are two context on which call back can be invoked
Add callback contexts
Add the notion of a callback context. This enables callbacks to have logic around the conditions they were invoked in.
There are two context on which call back can be invoked 1) Startup: during startup all the call backs will be called 2) Signal: As part of condition match on the watched properties.
Callback would behave differently based on the context. eg: eventCallback 1) Startup: Don't take any action. 2) Signal: Create the Dbus Object for the event.
Change-Id: If455558798ac3e44bbd8a93de0ce1b09d2e308ae Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
#
0df00be0 |
| 25-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Method support
Add support for a method callback. The method callback enables arbitrary DBus method calls. A sample use case could be starting a systemd unit via the sytemd DBus API.
Change-Id: I
Method support
Add support for a method callback. The method callback enables arbitrary DBus method calls. A sample use case could be starting a systemd unit via the sytemd DBus API.
Change-Id: If25131d11497c82f862ae1f47da066c5fd8b2e2e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|