History log of /openbmc/phosphor-inventory-manager/ (Results 176 – 200 of 234)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1ab880a105-Dec-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Fix broken usage of emplace

No need to construct a temporary when using emplace.

Change-Id: I224054855d0098e128973b8bea23ac000e7231f6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

22ecacc101-Dec-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add a testcase for setProperty

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ifade8963ebc8d18dbdca46ece16800cf8ea8a6ad

e2e402f330-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

pimgen: Add support for setProperty

Add code generation support for setProperty actions.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Id367f6da075035824c8f2ae6302505ef625a629a

da649b1430-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add setProperty action

The setProperty action sets a property to a predefined
value when a match occurs.

Change-Id: Ibd3cbb0da86a99e823b9cc00cc0240772d895f7f
Signed-off-by: Brad Bishop <bradleyb@fu

Add setProperty action

The setProperty action sets a property to a predefined
value when a match occurs.

Change-Id: Ibd3cbb0da86a99e823b9cc00cc0240772d895f7f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

b83a21ea30-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add interface exposing utility functions

Add utility functions enabling easy method calls on sdbusplus interface
binding objects.

Change-Id: Ie1d01f82604406705869fea0ec19d84c95d90474
Signed-off-by:

Add interface exposing utility functions

Add utility functions enabling easy method calls on sdbusplus interface
binding objects.

Change-Id: Ie1d01f82604406705869fea0ec19d84c95d90474
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

432e352730-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 ...

d1bbf3a730-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 converting to std::string

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 ...

22cfbe6730-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Rewrite pimgen in the image of sdbus++

Almost complete rewrite of pimgen and the mako template.

Adopt the sdbus++ application structure. The hope is that
this will encourage additional sdbusplus f

Rewrite pimgen in the image of sdbus++

Almost complete rewrite of pimgen and the mako template.

Adopt the sdbus++ application structure. The hope is that
this will encourage additional sdbusplus features deemed
general purpose enough for reuse with other applications.

Change-Id: I007ff9f5fc9a64f0465159bd1301475ada139d55
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

68c8083929-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Allow arrays of dbus events

The current event <-> action relationship is one to many.
Allow a many to many relationship to be expressed.

Change-Id: Ibfb995cbf677b21757864dc62d9a3818af6c2aa3
Signed-

Allow arrays of dbus events

The current event <-> action relationship is one to many.
Allow a many to many relationship to be expressed.

Change-Id: Ibfb995cbf677b21757864dc62d9a3818af6c2aa3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

4f20a3e329-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: I9b0c6ca12daaa109f8ceb537a5fb0cc6b5f7181b
Signed-of

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 ...

370421be29-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Use a vector for events

The events structure is never inserted into, searched and
the keys aren't used. This was a poor choice of data
structure.

Change-Id: I46135e9128b3380712234e86674e53af10b370

Use a vector for events

The events structure is never inserted into, searched and
the keys aren't used. This was a poor choice of data
structure.

Change-Id: I46135e9128b3380712234e86674e53af10b37053
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

67b788dc29-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 that framework s

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 ...

9007432a29-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Enable multiple actions per event

Reduce the number of dbus signal callbacks by enabling
multiple actions for a single event.

Change-Id: I944eea6ac450c2ea9a201e724765edbef4e677b4
Signed-off-by: Bra

Enable multiple actions per event

Reduce the number of dbus signal callbacks by enabling
multiple actions for a single event.

Change-Id: I944eea6ac450c2ea9a201e724765edbef4e677b4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

abb2a1ab30-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 ...

65ffffa929-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Removed duplicated Holder adapters

Refactor copy/pasted action/filter/interface object
adapter types into a single templated framework.

Change-Id: Iafbd814572a7db13fddc5314617e310fe5f0a062
Signed-o

Removed duplicated Holder adapters

Refactor copy/pasted action/filter/interface object
adapter types into a single templated framework.

Change-Id: Iafbd814572a7db13fddc5314617e310fe5f0a062
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

451f8d9321-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Use sdbusplus object wrapper

Use sdbusplus::server::object::object to wrap interfaces. This is
the preferred way to ensure created objects emit freedesktop
ObjectManager signals.

Resolves openbmc/

Use sdbusplus object wrapper

Use sdbusplus::server::object::object to wrap interfaces. This is
the preferred way to ensure created objects emit freedesktop
ObjectManager signals.

Resolves openbmc/openbmc#756

Change-Id: Ia57057e0227ed92bef77f28e42942194f5e802f3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

67a5cdb422-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

React to sdbus++ updates

Update example interfaces to use non language specific type specifiers.
React to namespace shuffling in sdbusplus 7aa8a1e2e.

Signed-off-by: Brad Bishop <bradleyb@fuzziesqui

React to sdbus++ updates

Update example interfaces to use non language specific type specifiers.
React to namespace shuffling in sdbusplus 7aa8a1e2e.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ib0688056d6fcfbe298d8a24ae9df604cd05fa620

show more ...

7cc13c3b22-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add gitignore

Change-Id: Id6bf8564ea4b99dbd80d0326359e2c3ad8e3ab7d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

e30dd77812-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: Fix out of tree build issues

Eventually server.hpp will come from an external shared
library. Until then, iquote it while it lives in-tree.

Change-Id: If0f7da8e2c951443fea0d623ad03a7c54a5a5

build: Fix out of tree build issues

Eventually server.hpp will come from an external shared
library. Until then, iquote it while it lives in-tree.

Change-Id: If0f7da8e2c951443fea0d623ad03a7c54a5a5ee9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

c716635f12-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: Makefile.am refactoring

Formatting only. No functional change.

Change-Id: I01271bff8a5018326251ab60d49524537c1a7a8d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

1a886e3611-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: Add targets for generated files

Add a target for generated.cpp.
Add targets for extra interfaces.
Remove example configure option - this is now driven
by the input yaml filesystem.
Add YAML_

build: Add targets for generated files

Add a target for generated.cpp.
Add targets for extra interfaces.
Remove example configure option - this is now driven
by the input yaml filesystem.
Add YAML_PATH autoconf variable.

Change-Id: Ieff734948088d3252e346a8dcc0e1dd6caf83333
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

14a9fe5e12-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

pimgen: Add list-interfaces command option

list-interfaces simply prints out all the interfaces
found in interfaces.d. This intended user is configure.

Change-Id: I5e2c6b59ae4addb04f2e82b084122a94

pimgen: Add list-interfaces command option

list-interfaces simply prints out all the interfaces
found in interfaces.d. This intended user is configure.

Change-Id: I5e2c6b59ae4addb04f2e82b084122a948e46d29f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

f4666f5912-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

pimgen: Add command positional argument

In preparation for enabling additional commands.

Change-Id: I16ec80c9b8f7eebcfd1a47c6ab7b7fe0e581123b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

95dd98fc12-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

pimgen: Split argument parsing logic

Move the non-argument parsing logic out of the main function,
in preparation for enabling additional command options.

Change-Id: Ib2cd75e432e11982a85a824e607ddf

pimgen: Split argument parsing logic

Move the non-argument parsing logic out of the main function,
in preparation for enabling additional command options.

Change-Id: Ib2cd75e432e11982a85a824e607ddf2568de63a9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

0a6a479e12-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

pimgen: Enable multiple interface files

Allow more than one interface file and put declared interface yaml
files in interfaces.d, to draw attention to the intent is for
packages to install their int

pimgen: Enable multiple interface files

Allow more than one interface file and put declared interface yaml
files in interfaces.d, to draw attention to the intent is for
packages to install their interface requirements there.

Change-Id: Iab0d85eca7c5c3370978dc692d6ab8807108a2f7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

12345678910