summaryrefslogtreecommitdiffstats
path: root/tools/sdbus++
Commit message (Collapse)AuthorAgeFilesLines
* sdbus++: move default directoryPatrick Williams2017-07-171-1/+1
| | | | | | | | | With example moved to the root directory and there being an explicit makefile for the example calculator application, there is no need to have sdbus++ default to 'example'. Change-Id: I2a20883d7ea88b56e1bd073ef395c236215a4132 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: generate error cppPatrick Williams2016-11-171-1/+2
| | | | | Change-Id: I63ea5ea07ab4efb0da21ee10de7fe9db429c1ffd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: parse error info yamlPatrick Williams2016-11-171-2/+4
| | | | | Change-Id: I73361b6f9b48b32a206d1e6d3e52ff46195b3cbc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: find templates in datadirBrad Bishop2016-11-161-1/+3
| | | | | Change-Id: Ib6ffd1ad51774825fe7227fc8ce48447bfd5b1f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Use canonical envBrad Bishop2016-11-161-1/+1
| | | | | | | | Workaround bitbake failing to handle /bin/env when it sanity checks for file runtime dependencies. Change-Id: Ia967bf28cb3c2de812ad295265e728e0826e80ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Move templatesBrad Bishop2016-11-101-2/+3
| | | | | | | Enabling use of package_data in a setup.py. Change-Id: Ic1423033c0607e1527b0eb31638605b53f0ccc83 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* sdbus++: fix PEP8 style errorsPatrick Williams2016-10-211-6/+7
| | | | | Change-Id: I51ce57d22c86ac80322559fa1c03cb26df8eb278 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: work around unicode support in python2Patrick Williams2016-10-201-1/+6
| | | | | | | | | unicode strings in python2 do not have certain functions, such as 'rstrip'. Send an option to Mako for python2 to ensure unicode support is disabled. Change-Id: Ia85581b5a091eec10e9999f30425a40e02de2ffc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: generate callback methods for server bindingsPatrick Williams2016-10-201-1/+2
| | | | | | | | | | | Create sd-bus message handler methods as callbacks for object method calls. These generated callbacks will extract the parameters from the message, call the virtual-method implementation, and pack the response into a method-return message, which is sent back to the caller. Change-Id: Ia3872bbbbfdb57375a1ffdde7e64296271cdd532 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: generate header for server bindingsPatrick Williams2016-10-161-1/+2
| | | | | | | | | | | | | | | | | Add a 'server-header' command to sdbus++ that generates a class definition for the server bindings. This class defines static functions for registering as sd-bus callbacks and virtual C++ functions to implement the method behavior. It is expected that a server implementation will create a class, which inherits from this generated class, and implement all of the method behaviors. Instances of the class will then register on construction with sd-bus. Signals and properties are not yet supported. Change-Id: If0ec37b2acb6f8d528358004ec91dbe979644df7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: missing dictionary lookup for process funcPatrick Williams2016-10-161-1/+1
| | | | | Change-Id: Ib26352d4323f55ff418e446c76994ed212819f70 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sdbus++: Utility for rendering interface YAMLPatrick Williams2016-10-131-0/+34
Change-Id: I0ceeaba9280ef9a05c03edb2a72a15ba8591b0be Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud