#
dfddd648 |
| 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: Ica590f8613f1fb89ab1ca676ac51c1cc7e38d67f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5e15c3ba |
| 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: I3e9e6350864ac267819a4b8d670bef7d3746976e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
61b73296 |
| 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: I152f141a5e8343b92b5ce81d3ca16eec77b5606b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
b2e9a4fc |
| 13-Jun-2022 |
Mike Capps <mikepcapps@gmail.com> |
meson support: remove code warnings 2
This commit contains code changes necessary to support the increased warning level from Meson builds. Most changes are for unused variables. to keep the review
meson support: remove code warnings 2
This commit contains code changes necessary to support the increased warning level from Meson builds. Most changes are for unused variables. to keep the review size manageable, this commit contains only control changes (plus one in sensor-monitor).
Change-Id: Ie20f1d9028add4b605e4cc9fb230940710365706 Signed-off-by: Mike Capps <mikepcapps@gmail.com>
show more ...
|
#
3ea9ec2b |
| 19-Nov-2021 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new alias under bus.
Change-Id: I21baf6b70401d996519b5940d0cd685535475a2f Signed-off-b
sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new alias under bus.
Change-Id: I21baf6b70401d996519b5940d0cd685535475a2f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
3e1bb274 |
| 26-May-2020 |
Matthew Barth <msbarth@us.ibm.com> |
control: Clang format updates
Used `format-code.sh` build script to make changes to conform to clang format.
Tested: Compiled
Change-Id: Ic9d621d7c5647bde0a92c5f17938c99deeca0512 Signed-off-by: Ma
control: Clang format updates
Used `format-code.sh` build script to make changes to conform to clang format.
Tested: Compiled
Change-Id: Ic9d621d7c5647bde0a92c5f17938c99deeca0512 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
d7b716a6 |
| 16-Nov-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Add/Remove event timers by event name
Using the event name as the key, each timer an event adds to the list of timers are associated to that event. This allows quick removal of those timers when the
Add/Remove event timers by event name
Using the event name as the key, each timer an event adds to the list of timers are associated to that event. This allows quick removal of those timers when the event is removed and more efficient searching for a timer within the smaller list of timers per event name.
Change-Id: I4624918d3a3bbe2a5224cde4bc3fc529e5b40df3 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
79cb8312 |
| 14-Nov-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Add/Remove event signals by event name
Using the event name as the key, each signal trigger an event subscribes to is added to the list of signals for that event only. This later simplifies removal
Add/Remove event signals by event name
Using the event name as the key, each signal trigger an event subscribes to is added to the list of signals for that event only. This later simplifies removal of those subscribed signals if the event is removed.
Change-Id: I8c5f7b01e69e995647408eeb41397d6160beb079 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
2885ba90 |
| 14-Nov-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Provide event name to triggers
Change-Id: Iec063b39a3e3e6a63038a2013f42e8a69ad9fadf Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
#
926df663 |
| 09-Oct-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Separate handlers for signals and method calls
Signals and method calls have different parameter structures. When the associated event trigger is chosen, what's generated to retrieve the dbus data i
Separate handlers for signals and method calls
Signals and method calls have different parameter structures. When the associated event trigger is chosen, what's generated to retrieve the dbus data is specific to that trigger event. For signals, the data is read from the given signal message. A method call is method specific and is called to be done against all of the members within the event group.
Change-Id: I92cbdbf05852fbaa7f1b56ed518e30278cdf840b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
cd3bfbc1 |
| 07-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Add event init trigger
An event defined with an init trigger will run the event's actions upon the event initializing. An event initializes when the fan control application starts or at anytime an e
Add event init trigger
An event defined with an init trigger will run the event's actions upon the event initializing. An event initializes when the fan control application starts or at anytime an event's precondition is valid.
Tested: Used missing fan action to set a speed at application start Used missing fan action to set a speed upon valid precondition
Change-Id: I96a36425a2ca345371c27d7b580070bec28acaa1 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
146b7390 |
| 08-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Convert event group to a vector of tuples
In preparation for storing each event group member's property state used within the event's actions, the group type should be converted to a vector of tuple
Convert event group to a vector of tuples
In preparation for storing each event group member's property state used within the event's actions, the group type should be converted to a vector of tuples. This vector will allow, if user defines, easier use of different interfaces and properties on the same path to be used within the same event group.
Tested: Generated code for groups reflects vector instead of map Actions against groups remain unchanged
Change-Id: I9f4bb609de424d9004d43524fd04737a50fb2c6f Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
016bd24c |
| 07-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Move signals to event triggers
Move the generation and initialization of signals to be included in the available event triggers. The signal trigger consists of subscribing to a given signal match wh
Move signals to event triggers
Move the generation and initialization of signals to be included in the available event triggers. The signal trigger consists of subscribing to a given signal match where when the signal is received and handled, it causes the event actions to be called.
Tested: All current event signals are still registered and received Speed changes occur based on temperature sensor change signals
Change-Id: Iab4ccabb50ad910d5d566bd8c1922109638bd760 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
1b4de26a |
| 06-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Call event triggers on initialization
Move timers to be an event trigger function that is called upon event initialization. Previously, event timers were created and started directly within the init
Call event triggers on initialization
Move timers to be an event trigger function that is called upon event initialization. Previously, event timers were created and started directly within the initialization of the event, this moves the creation and starting of a defined event timer to within a selectable event trigger function.
With the creation of event triggers, an event can be defined with a list of supported triggers used to execute the actions, if defined, of the event. In the case no actions are given, the trigger is still used.
Tested: Timer triggers are created/started correctly for an event Events with no actions have timers created/started as defined
Change-Id: I9ab13a4269b2035095cadbbe2c613a16df469589 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|