#
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 <bradle
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 ...
|
#
b666e539 |
| 11-Dec-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
types: minor build improvements We don't need all of message.hpp to be included from types.hpp since all we need is the variant definition. Instead, just get sdbusplus/message/types
types: minor build improvements We don't need all of message.hpp to be included from types.hpp since all we need is the variant definition. Instead, just get sdbusplus/message/types.hpp, which has the variant definition. message.hpp picks up <memory> so add that where it is now missing (events.hpp). Add a missing cstdint include. Change-Id: Ic033ceafcd982dba3e39592a4d8f64e5b4e65f2e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
615b2a8f |
| 29-Mar-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enable clang-format Fix up problems and enable clang-format during CI builds. Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1 Signed-off-by: Brad Bishop <bradleyb@fuzziesqu
Enable clang-format Fix up problems and enable clang-format during CI builds. Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
33e21795 |
| 25-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Spelling fixes Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: Ib95e14205fe5fa72c27f35305c822234052420ef Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
c1f4798d |
| 09-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Merge actions.hpp and events.hpp Move all action/filter functors to a common functor.hpp. The intent of this refactoring is to facilitate reuse of functors in more than one context.
Merge actions.hpp and events.hpp Move all action/filter functors to a common functor.hpp. The intent of this refactoring is to facilitate reuse of functors in more than one context. - Moved functors from actions.hpp and events.hpp to functor.hpp. - Renamed events.cpp to functor.cpp. - Moved Action/Filter types to types.hpp. - Minor namespace shuffling. - Update pimgen to render according to the new namespaces. Change-Id: I630ec1587b8a48f6dc2eac1111365035873310d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
12f8a3c8 |
| 08-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove details namespace The usage was incoherent and it isn't really necessary for application only objects. Change-Id: I76eb5525a39fbbef95548558e777940edf574a06 Signed-off
Remove details namespace The usage was incoherent and it isn't really necessary for application only objects. Change-Id: I76eb5525a39fbbef95548558e777940edf574a06 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
07934a64 |
| 08-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use std::function Replace CallableHolder with std::function. No need to re-invent the wheel. Change-Id: I2647a802237dba4a48187718f0d3da59e97575d7 Signed-off-by: Brad Bishop
Use std::function Replace CallableHolder with std::function. No need to re-invent the wheel. Change-Id: I2647a802237dba4a48187718f0d3da59e97575d7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
3e4a19a3 |
| 21-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add support for application startup events. Allow clients to specify filters and actions that trigger on application startup. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel
Add support for application startup events. Allow clients to specify filters and actions that trigger on application startup. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ib36c5bab778d7c87906dd3f61a3a6e033c7ccde1
show more ...
|
#
48547a85 |
| 19-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Minor event refactoring Assert that all events will share the same filter interface by moving event filters to event base class. Remove virtual on destructors in classes with fi
Minor event refactoring Assert that all events will share the same filter interface by moving event filters to event base class. Remove virtual on destructors in classes with final. Improve comments in a number of places. Change-Id: Ia32c13fd0f3b9a5fa147a2198a285bce37c27cfb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
76e2f6a5 |
| 31-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
events: Use forward rather than move Fix up a universal reference using move. Change-Id: I443e4d18a9009a7a1394487309ec3331be5c3ee9 Signed-off-by: Brad Bishop <bradleyb@fuzziesqu
events: Use forward rather than move Fix up a universal reference using move. Change-Id: I443e4d18a9009a7a1394487309ec3331be5c3ee9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
fa51da74 |
| 19-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add propertyIs filter The existing property match filter tests a property in the PropertiesChanged signal payload. Add a match filter that tests any arbitrary property on an
Add propertyIs filter The existing property match filter tests a property in the PropertiesChanged signal payload. Add a match filter that tests any arbitrary property on any object. Change-Id: I1c238c03a3ccbf45f7b338693a4342fbd4f670c2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
23719000 |
| 24-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Pass a bus connection to actions and filters Prepare for outgoing calls from filters and actions. Change-Id: Ic6255f51f8f4be9f25f2fd5321ee0b7703d60179 Signed-off-by: Brad Bishop
Pass a bus connection to actions and filters Prepare for outgoing calls from filters and actions. Change-Id: Ic6255f51f8f4be9f25f2fd5321ee0b7703d60179 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
143522e3 |
| 19-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Rename PropertyCondition Prepare for additional filters based on properties. Change-Id: Ia063e306a5b4f6c7c48a93824e5cafbfe3e1f8a6 Signed-off-by: Brad Bishop <bradleyb@fuzziesqui
Rename PropertyCondition Prepare for additional filters based on properties. Change-Id: Ia063e306a5b4f6c7c48a93824e5cafbfe3e1f8a6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
064c94a6 |
| 21-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enable multiple filters Add support for specifying multiple filters for a given event. All filters must evaluate true to trigger the associated action. Signed-off-by: Brad Bisho
Enable multiple filters Add support for specifying multiple filters for a given event. All filters must evaluate true to trigger the associated action. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I86d3e98e5c9e23b65e2e9733c817b38d2ab59465
show more ...
|
#
fb083c2f |
| 19-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Fix hardcoded string in propertyChangedTo Prior to this change this template will not build with types other than strings. Add an example that tests this. Change-Id: I7
Fix hardcoded string in propertyChangedTo Prior to this change this template will not build with types other than strings. Add an example that tests this. Change-Id: I71e5c4136e7e4fd52fea3e8e027e42634011d630 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
5d9cb05c |
| 21-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove default action/filter These noops are no longer required. Change-Id: Iebe706388d985838eff2259fc93c928a7fe0c0e7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
7b33777b |
| 12-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Run astyle Change-Id: Iec4802e9837465a7deb1fd7fd57a2068cc18c50d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
d1bbf3a7 |
| 30-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Fix a bug with property change filter With strings, propertyChangedTo is instantiated with const char* resulting in the typical pointer x == y comparison bug. Fix by first conve
Fix a bug with property change filter With strings, propertyChangedTo is instantiated with const char* resulting in the typical pointer x == y comparison bug. Fix by first converting to std::string. Change-Id: I51fe5f3746b8dd8ca094e4662103d41f75e2972f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
4f20a3e3 |
| 29-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add event framework Introduce the concept of events, where the existing Dbus signal match event is one of many possible event classes. Change-Id: I9b0c6ca12daaa109f8ceb537a5fb0c
Add event framework Introduce the concept of events, where the existing Dbus signal match event is one of many possible event classes. Change-Id: I9b0c6ca12daaa109f8ceb537a5fb0cc6b5f7181b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
67b788dc |
| 29-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Move filters.hpp to events.hpp Prepare for a more generalized event description framework enabling event classes other than DBus signal matches. Filters become a sub-concept within
Move filters.hpp to events.hpp Prepare for a more generalized event description framework enabling event classes other than DBus signal matches. Filters become a sub-concept within that framework so rename the file. Change-Id: I0be9f9997239aad6e798ca16055aedc3e1233994 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|