History log of /openbmc/boost-dbus/include/ (Results 1 – 25 of 60)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
70f79f4d01-Feb-2018 James Feist <james.feist@linux.intel.com>

Add flush function for connections

Add flush for connections and objectserver.

Change-Id: I2f8c44186d500d92d19483baf7cb1cfa44b1a803
Signed-off-by: James Feist <james.feist@linux.intel.com>

fee3873119-Dec-2017 Ed Tanous <ed.tanous@intel.com>

Updates to allow parsing of arbitrary dict types

Change-Id: Ifdc2d3709402b7d8ac081a69d832223dfe7db78b
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.int

Updates to allow parsing of arbitrary dict types

Change-Id: Ifdc2d3709402b7d8ac081a69d832223dfe7db78b
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.intel.com>

show more ...

ddc0c51318-Dec-2017 James Feist <james.feist@linux.intel.com>

Add remove objects interface.

Change-Id: I00ff86830744f994de34e8088e6ff10d5dffed85
Signed-off-by: James Feist <james.feist@linux.intel.com>

ae59c90b26-Oct-2017 Feist, James <james.feist@linux.intel.com>

Remove more Debug Prints

Change-Id: I02f9491d9d7f6995f6ece12e5c6b9b6c763bcb9c

6fb503a013-Oct-2017 Feist, James <james.feist@linux.intel.com>

Remove debug print.

Debug print made it into master, delete it.

Change-Id: I96f92a8e0519ed2fa9f3ba49d7bc91897598f1d7

70d534bf12-Oct-2017 Feist, James <james.feist@linux.intel.com>

Fix managed objects

Managed Objects should use object_path type for path,
not string.

Change-Id: I9909a00e96a9759084eb8ce7c3bed0347daf43de

b243298010-Oct-2017 Vernon Mauery <vernon.mauery@intel.com>

Add header gate to the properties.hpp file

Only include it once, please

Change-Id: Iba01b9b659be24634771fc0a43547961127965b2

f95fe4cc03-Oct-2017 Vernon Mauery <vernon.mauery@intel.com>

Add a get property method to mirror the set property method

This allows the dbus object to own a property, get set by a remote
entity and the read back later

Change-Id: I5789ad9703f28ac5bb66cde3885

Add a get property method to mirror the set property method

This allows the dbus object to own a property, get set by a remote
entity and the read back later

Change-Id: I5789ad9703f28ac5bb66cde3885cdd7c7ac0f604

show more ...

631fa83a04-Oct-2017 Vernon Mauery <vernon.mauery@intel.com>

special case for boolean packing because dbus expects 1 or 0

passing the address of a bool cast as a void* to dbus causes problems,
so we use a local int with the value of the bool as an intermediar

special case for boolean packing because dbus expects 1 or 0

passing the address of a bool cast as a void* to dbus causes problems,
so we use a local int with the value of the bool as an intermediary.

Change-Id: Iaa4d269dfc97a6fda65750d8ae7fb3eae6529a41

show more ...

93f7fc8304-Oct-2017 Ed Tanous <ed.tanous@intel.com>

Fix GetAll interface on dbus properties

Change-Id: I085b38e71a25fe6a9f8f85e1caad10eb8973acd6

a8b4eac421-Sep-2017 Ed Tanous <ed.tanous@intel.com>

updates to boost-dbus

Change-Id: I613cae49467eabebb5380ed457003f2f90bad880

2277cd8127-Sep-2017 Feist, James <james.feist@linux.intel.com>

Fix set property

Set property was using static variable where it shouldn't.

Change-Id: I9340c9466c7693a7e8c5affcaf571337f6a317ba

f76e5e0b22-Sep-2017 Feist, James <james.feist@linux.intel.com>

Fix interface registration

Change-Id: I9cd4c18b0f5264792e3e07d6c67fa2f2ad5defde

e62be32908-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Clean up the interface for async method calls

This change implements a new interface for doing async method calls in
a way that's more sustainable than previous mechanisms. This way,
packing and un

Clean up the interface for async method calls

This change implements a new interface for doing async method calls in
a way that's more sustainable than previous mechanisms. This way,
packing and unpacking is handled for the user automatically, and the
only neccesary part is to check for errors.

Change-Id: I0292c8a9ed6256fc3f284dace10c228768a8fb80

show more ...

7a44013608-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Update template parameter name to be more descriptive

In general, I is a terrible variable name, as commented by James during
a previous code review. This commit resolves that.

Change-Id: Ie52e007

Update template parameter name to be more descriptive

In general, I is a terrible variable name, as commented by James during
a previous code review. This commit resolves that.

Change-Id: Ie52e007e0678d5511f6c4a395fbf0f13f1024302

show more ...

a04118e806-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
packing.
This beha

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
packing.
This behavior seemed odd in the first place, and lead to some poor API
issues. It was also redundant to the much more used messsage.pack
which had far more features, and was much more useable. message.pack
now returns a bool, indicating whether or not the unpack/pack succeeded.
properties API is also updated to use this new interface to its
advantage, allowing badly formatted pack statements (which should be
expected at runtime) to not require throwing an exception to handle.

Change-Id: I8da22e19106f3c764acfea3db13adc974aa2cb9f

show more ...

e3b0bf5b05-Sep-2017 Ed Tanous <ed.tanous@intel.com>

update properties interface to use its own method handling

This change updates the properties API handling in the DbusObjectServer
to utilize its own method handling routines, instead of setting up

update properties interface to use its own method handling

This change updates the properties API handling in the DbusObjectServer
to utilize its own method handling routines, instead of setting up its
own filter.

Change-Id: If32706d6aa9da41c39feb07513b364ae8f72d8b6

show more ...

377e76ab29-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Imrprove boost-dbus high level interfaces

This commit has been squashed fromt the dbusproperties branch, and adds
quite a few pices of functionality.

1. Template called element_signature that can s

Imrprove boost-dbus high level interfaces

This commit has been squashed fromt the dbusproperties branch, and adds
quite a few pices of functionality.

1. Template called element_signature that can sucessfully map complex
c++ types (like std::vector<std::string, variant>) to their equivalent
dbus signatures at compile time.
2. Implements a high level dbus interface that exposes properties,
objects, and interfaces as first class c++ objects, and manages their
lifecycle correctly. See unit tests for examples.
3. implements variadic template registration for lambda functions, such
that function prototypes are automatically determined at compile time,
thus removing the requirement to do this by hand for each interface.

Change-Id: I43efed4fc63f7e2d69ac85918e0f6d3011a12d86

show more ...

77e62c8325-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Fix memory leaks

Dbus wants to manage its own memory, which is difficult to coerce
with smart pointers. This patch fixes the places where the smart
objects were getting destroyed, but the dbus ref

Fix memory leaks

Dbus wants to manage its own memory, which is difficult to coerce
with smart pointers. This patch fixes the places where the smart
objects were getting destroyed, but the dbus ref count was never going to
zero

Change-Id: I47d8a58387766c376d2e3b61671b5d82977c80e0

show more ...

01cae3fe23-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Make dbus queue movable

THis allows adding all derived objects (namely filters) to be moved as
well, which allows them to be put into vectors. Not clear if this is
the right move for now, but seems

Make dbus queue movable

THis allows adding all derived objects (namely filters) to be moved as
well, which allows them to be put into vectors. Not clear if this is
the right move for now, but seems to work, and boost-dbus
multithreading is touchy to begin with.

Change-Id: I3f7618a7fe3581c856b12b05ef82ff509e8977c8

show more ...

0250ca1907-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Fix issue with boost-dbus

boost-dbus tries to use perfect forwarding to register async handlers.
This causes issues when attempting to use a lambda, as a lambda can't
be static_cast to a std::functi

Fix issue with boost-dbus

boost-dbus tries to use perfect forwarding to register async handlers.
This causes issues when attempting to use a lambda, as a lambda can't
be static_cast to a std::function, which queue requires. Remove
perfect forwarding and make the interfaces make more sense for
constructible objects

Change-Id: I154a92ef1fd3cd0d0431eb3b2fd49ef7870f5f31

show more ...

f6c7058623-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Fix issue with boost dbus only supporting 2 arguments to an unpack

Variadic templates have eccentricities that weren't fully covered in
unit tests. THis fixes a compile error when unpacking or pack

Fix issue with boost dbus only supporting 2 arguments to an unpack

Variadic templates have eccentricities that weren't fully covered in
unit tests. THis fixes a compile error when unpacking or packing more
than 3 arguments at a time.

Change-Id: I144d2350b61262e99828bf776fb3144ffbc57f23

show more ...

0aef886401-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Clean up some todos

Use the type system as intended to get the variant types correct. This
means that attempting to decode error conditions will fail gracefully,
and the type system will be obeyed

Clean up some todos

Use the type system as intended to get the variant types correct. This
means that attempting to decode error conditions will fail gracefully,
and the type system will be obeyed for both packing and unpacking (ie,
trying to pack or unpack an unrecognized type will result in a compiler
error)

Change-Id: Ifedf0e168f2dc0e01f21090564bfc7eeb92aa161

show more ...

0d6f56d231-Jul-2017 Ed Tanous <ed.tanous@intel.com>

Implement variadic templates for pack/unpack

As well as update unit tests to use variadic pack and unpack.

Fix error handler to not seg fault while processing an exception

Change-Id: I7978035c2682

Implement variadic templates for pack/unpack

As well as update unit tests to use variadic pack and unpack.

Fix error handler to not seg fault while processing an exception

Change-Id: I7978035c26820b35e64487e4afd9f1312bcd8225

show more ...

47de18d405-Jul-2017 Ed Tanous <ed.tanous@intel.com>

Fix seg fault in error handling

123