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@fuzziesquirrel.com> |
6211a430 | 21-Feb-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
test: signalqueue: add explicit cast to bool
React to a GCC7.2 behavioral differences where assert(sdbusplus::message::message) no longer compiles.
sdbusplus::message::message implements operator b
test: signalqueue: add explicit cast to bool
React to a GCC7.2 behavioral differences where assert(sdbusplus::message::message) no longer compiles.
sdbusplus::message::message implements operator bool which prior to GCC7.2 was emitted implicitly. Add an explicit cast to bool where required.
Tested: Built repository using GCC 7.2 Change-Id: I49fb05d616ba1f790ef68365983b1f85aa91e46a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
f7b0399a | 04-Aug-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
pimgen: generate serialization code
Subsequent commits will introduce serialization of inventory properties. Generate the save()/load() functions required by Cereal.
Change-Id: I2ce16d205cad9684711
pimgen: generate serialization code
Subsequent commits will introduce serialization of inventory properties. Generate the save()/load() functions required by Cereal.
Change-Id: I2ce16d205cad9684711c49c32ddae9f69cd8632d Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
133ca13d | 01-May-2017 |
Patrick Williams <patrick@stwcx.xyz> |
change namespace on sdbusplus::match
sdbusplus::server::match::match moved to the sdbusplus::bus namespace.
Change-Id: Ib1599f7efbf63570685a7029811f2eeb69ef6ace Signed-off-by: Patrick Williams <pat
change namespace on sdbusplus::match
sdbusplus::server::match::match moved to the sdbusplus::bus namespace.
Change-Id: Ib1599f7efbf63570685a7029811f2eeb69ef6ace Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ef2325d4 | 06-Mar-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Build: Autotools usage improvements
Define CXXFLAGS rather than CFLAGS. Add libraries via LIBADD rather than LDFLAGS. This allows --as-needed to drop unnecessary libs if present. Don't bother wit
Build: Autotools usage improvements
Define CXXFLAGS rather than CFLAGS. Add libraries via LIBADD rather than LDFLAGS. This allows --as-needed to drop unnecessary libs if present. Don't bother with PIC objects for convenience library.
Change-Id: I8e09a79a69b35be702811b594fed506332a23c43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
3ea767d8 | 06-Mar-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Build: Makefile formatting changes
Whitespace changes only.
Change-Id: I0ff90593850c4f79b56587a315caa0ca51df8936 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
134d2cb2 | 23-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
pimgen: Use cast instead of integer literals
This ends up being more portable.
Change-Id: I9e4e0414329878316a110a5234aeea4677b877e8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
9bbfcb18 | 04-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Set properties when constructing interfaces.
Make use of new sdbusplus support for passing a map of properties and their values to the interface constructor.
Change-Id: Ib0dd406fd80c89acb723e3a376a
Set properties when constructing interfaces.
Make use of new sdbusplus support for passing a map of properties and their values to the interface constructor.
Change-Id: Ib0dd406fd80c89acb723e3a376af26ba57b53d27 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
03f4cd95 | 03-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Link with libphosphor_dbus
Link with libphosphor_dbus.
Update the manager implementation to match the new server binding in libphosphor_dbus (bool types for notify and notify signature change).
Ch
Link with libphosphor_dbus
Link with libphosphor_dbus.
Update the manager implementation to match the new server binding in libphosphor_dbus (bool types for notify and notify signature change).
Change-Id: I033d224965caf737591e363b3e2fd666605bff13 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
a6fcd567 | 03-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: split app/test pimgen invocation
Run pimgen twice, once for the application with the real YAML and once for the testcase with the example YAML so that the testcase can run and build sucessful
build: split app/test pimgen invocation
Run pimgen twice, once for the application with the real YAML and once for the testcase with the example YAML so that the testcase can run and build sucessfully when an alternate YAML tree is provided.
Move extra interface rule generation from pimgen to a makefile generating script.
Change-Id: Ib0c01bd2207007b815019232a466fa16889f2005 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.com> Change-Id: Ib3
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 ...
|
eb68a687 | 21-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add support for createObjects action
Change-Id: I999a5e506a236eac8ca0944b0e2b003c57612e54 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
1157af1b | 22-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove Object from testcase
Currently the testcase and the application both define their own Object type. Move to a common header.
Change-Id: I05dba67dca7855f522be299fcfd361913ed73fbc Signed-off-b
Remove Object from testcase
Currently the testcase and the application both define their own Object type. Move to a common header.
Change-Id: I05dba67dca7855f522be299fcfd361913ed73fbc 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 any object.
Change-Id: I1
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 ...
|
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: I71e5c4136e7e4fd52fea3e8e027e4
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 ...
|
8f868503 | 23-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
test: Move trigger objects to dedicated thread
Put the trigger object in its own thread rather than the inventory manager thread. This allows the thread under test to make calls to it.
Change-Id:
test: Move trigger objects to dedicated thread
Put the trigger object in its own thread rather than the inventory manager thread. This allows the thread under test to make calls to it.
Change-Id: I181d2d46a10e4193653df61205ac3380a1d4db2e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
e07a1648 | 24-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Fix build failure
Comparing strings to object paths directly isn't supported at the moment.
Change-Id: I98083cf563fe8dde74e7f058720a0481bbe7c2e6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.
Fix build failure
Comparing strings to object paths directly isn't supported at the moment.
Change-Id: I98083cf563fe8dde74e7f058720a0481bbe7c2e6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
9aa5e2f2 | 15-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Regenerate manager bindings
Re-run sdbus++ and react to the sdbusplus interface namespace move and a real object path type.
Change-Id: Id6241b55cd3f2d4c3b85e5545e4ac6e5dd439e34 |
6524758b | 15-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove pointless move operations
Change-Id: I7ea63f3b78e62fa40247806ceca7b84b7e36f875 Signed-off-by: Brad Bishop <<bradleyb@fuzziesquirrel.com> |
21621437 | 13-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use std::thread in favor of direct pthread access
Change-Id: I7f2927deee84701f3ed7bec86ec97171a5daabb8 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> |
22ecacc1 | 01-Dec-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add a testcase for setProperty
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ifade8963ebc8d18dbdca46ece16800cf8ea8a6ad |
432e3527 | 30-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add a testcase for destroyObject
Validate that: -Dbus signal callbacks are established. -The propertyChangedTo filter works correctly. -The destroyObject action works correctly.
Change-Id: I0
Add a testcase for destroyObject
Validate that: -Dbus signal callbacks are established. -The propertyChangedTo filter works correctly. -The destroyObject action works correctly.
Change-Id: I0981fed76aa26ff275a401ae81fd230833dfc4cc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
abb2a1ab | 30-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enhance notify testcase
Validate signal content rather than doing explicit property lookups. This avoids race conditions and additionally validates that a signal is sent with the correct values.
S
Enhance notify testcase
Validate signal content rather than doing explicit property lookups. This avoids race conditions and additionally validates that a signal is sent with the correct values.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Iaf13b1dfd68eeaf8ab7e8dc3bf045f824c3c803a
show more ...
|
7cc13c3b | 22-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add gitignore
Change-Id: Id6bf8564ea4b99dbd80d0326359e2c3ad8e3ab7d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |