#
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 ...
|
#
7fe55e91 |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 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-17 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: Ic2c9732543fc02a10df820078faa767638b179b5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
c5fe26a6 |
| 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: I7801712fe34e10fec586d1e962afebd9ebcce46c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
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 ...
|
#
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 ...
|
#
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>
|
#
1abcb06b |
| 26-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add constants for tuple fields
Add constants for use with std::get.
Tested: Run unit tests
Change-Id: Ic09c13feeda69d61c98f63d227cae8f08d1bf50e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
35e75f0a |
| 26-Feb-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
count: Add missing functional include
std::function is not found with a GCC 7.3 runtime.
Change-Id: I4e5289794d405c42ab6291c211289d1ab175b197 Tested: Built repository with GCC 7.3 Signed-off-by: Br
count: Add missing functional include
std::function is not found with a GCC 7.3 runtime.
Change-Id: I4e5289794d405c42ab6291c211289d1ab175b197 Tested: Built repository with GCC 7.3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
05a2ac3a |
| 19-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Save property check results in CountCondition
The CountCondition class checks each property in its index against some condition. Save the result of each of those checks in the 2nd tuple element of
Save property check results in CountCondition
The CountCondition class checks each property in its index against some condition. Save the result of each of those checks in the 2nd tuple element of the storage entry for that property so that other code may access it.
Tested: Build and run unit tests
Change-Id: Ie99f02062c28d003e588a43bf042ecd2834ad9b2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
abe43ab4 |
| 19-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Extend storage array to contain additional data
This array was originally just an array of objects of type 'any'. This commit changes it to be an array of tuples of type <any, any> to add an extra
Extend storage array to contain additional data
This array was originally just an array of objects of type 'any'. This commit changes it to be an array of tuples of type <any, any> to add an extra field for use by anything that needs it.
For example, the storage is currently used to store property values, and a future change to the CountCondition class will now also store the result of the comparisons done between the property values and another value specified in the rule YAML. Then, a callback will be able to see the result of whether each property passed the check.
Tested: Build and run unit tests
Change-Id: I58f32c9f4068b15a02b1ff7f28871161cafebddb Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
c458deea |
| 19-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add oneshot support to count conditions
When a count condition is a oneshot, it will only trigger the callback the first time the condition is true. The condition needs to evaluate to false at leas
Add oneshot support to count conditions
When a count condition is a oneshot, it will only trigger the callback the first time the condition is true. The condition needs to evaluate to false at least once to rearm the callback.
A use case for this would be when a group of properties is being watched for a subset of them hit a certain value. Even though every properties changed signal for every property in the group would check the condition, only the first time the condition is true would the callback be issued.
This behavior is specified with a 'oneshot: true' entry in the YAML. If not present, it defaults to false which is the original behavior.
Tested: Verify this does indeed do what is advertised by modifying condition rules to consistently pass and checking behavior.
Change-Id: Ie185621e86c605234bf329a5f38317267dbb6fb6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
882d741c |
| 19-Feb-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Include missing header file
we are using the std algo's in this file but missed to include the c++ algorithm header file.
Change-Id: Ib88f810a048dba18526b7c7cf42d87ba095a27be Signed-off-by: Ratan G
Include missing header file
we are using the std algo's in this file but missed to include the c++ algorithm header file.
Change-Id: Ib88f810a048dba18526b7c7cf42d87ba095a27be Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
#
4041d720 |
| 21-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add conditional callbacks
Enable conditional application of callbacks.
Change-Id: I9d765e5f585aac40994b65da3b51ea891beae9bf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|