70f79f4d | 01-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> |
a04118e8 | 06-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 ...
|
377e76ab | 29-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 ...
|
77e62c83 | 25-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 ...
|
0d6f56d2 | 31-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 ...
|
458a9c10 | 23-Jun-2017 |
Vernon Mauery <vernon.mauery@intel.com> |
additions to make method calls work
Add method call framework (not much needed) and a unit test for method call implementation (i.e., listening for a method call). |
5d4bd2bd | 27-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Update dbus to support dicts/vectors/arrays and all combinations therein |
da3eeb6a | 06-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Basic dbus cleanup |
8f81b71d | 31-Jan-2015 |
Benjamin Kietzman <bengilgit@gmail.com> |
merging changes from @cawka to close #20 |
e9ee8b53 | 21-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
simplified typedefs and packer.ipp |
a8487f4d | 19-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Implemented streamish packing interface |
d977442c | 14-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
introducing impl::message_iterator to power new packing interface |
b55ed5d5 | 05-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Refactored C-API calls out of connection_service.hpp |
cfc0655f | 04-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
connections are private by default now
discussion in issue #18 |
2003615d | 03-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Added explicit asynchronous start function
A `connection` can operate synchronously, which involves less overhead. It will be in a synchronous- only state when it has been newly constructed or cance
Added explicit asynchronous start function
A `connection` can operate synchronously, which involves less overhead. It will be in a synchronous- only state when it has been newly constructed or cancelled.
`dbus::impl::connection::start()` begins/resumes asynchronous operation, and should be called automatically whenever an asynchronous operation is requested.
show more ...
|
a3cc3d57 | 03-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
simple impl::connection |
28cbd28b | 02-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
moved match/filter implementation details to dbus::impl |
4317e4d9 | 28-May-2014 |
Benjamin Kietzman <bkietzman@esri.com> |
Added message factories |
16d80fe9 | 28-May-2014 |
Benjamin Kietzman <bkietzman@esri.com> |
Added endpoint - closes #17 |
3b5db5bc | 28-May-2014 |
Benjamin Kietzman <bkietzman@esri.com> |
fix #3, minor other message enhancements |
91cdbe46 | 24-May-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
added license file and copyright comments - fixes #10 |
e6b71ae1 | 01-Apr-2014 |
Benjamin Kietzman <bkietzman@esri.com> |
Tweaks to message, filter and error
- `message` now has get_path() etc. for accessing its metadata. - `error` how has a constructor which takes a `message`, to ease conversion of error messages to
Tweaks to message, filter and error
- `message` now has get_path() etc. for accessing its metadata. - `error` how has a constructor which takes a `message`, to ease conversion of error messages to throwable exceptions or `error_code`s - `filter`'s predicate now takes `message`s by reference and is not ignored
show more ...
|
60cf6bcc | 01-Apr-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
working toward message correctness |
85860989 | 31-Mar-2014 |
Benjamin Kietzman <bkietzman@esri.com> |
Working class |
cd8b76a3 | 22-Mar-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
match/filter hackathon |