History log of /openbmc/sdbusplus/tools/sdbus++ (Results 1 – 16 of 16)
Revision Date Author Comments
# 6f5ffc60 12-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

python: format with black,flake8,isort

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I08301dca84e3f0031cf9c79f7279cce20df3807a


# 1b7a5887 23-Jun-2020 Patrick Williams <patrick@stwcx.xyz>

sdbus++: move main to module

The python bytecode cache only caches modules and not scripts.
Move the 'main' function of sdbus++ into the submodule so we get
more code hitting in the

sdbus++: move main to module

The python bytecode cache only caches modules and not scripts.
Move the 'main' function of sdbus++ into the submodule so we get
more code hitting in the bytecode cache, which has a minor speed-up.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5f20ec14c899a111e1abb073e26229d41e19822c

show more ...


# 18ce803d 31-Jan-2020 Patrick Williams <patrick@stwcx.xyz>

sdbus++: switch to python3

Python2 is DEAD! Long live Python3!

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifd46a4aeb41fb0e6db2f4310a603b727a5a2c2ff


# ddc0eba2 13-Feb-2020 Lei YU <mine260309@gmail.com>

sdbus++: Generate initial client header

By "client-header" option, sdbus++ could generate a client header file
that provides the code used by the client.

Currently it only inclu

sdbus++: Generate initial client header

By "client-header" option, sdbus++ could generate a client header file
that provides the code used by the client.

Currently it only includes the interface name's string in the header
file, it could be extended in the future.

The client header could be merged together for all the interfaces, so
that an interface library could provide a single header to represent all
the interface strings.

Usage:

sdbus++ -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
interface client-header <interface>

Tested: Generate the header in example and use static_assert to verify
it is the same as the interface defined in the interface calss.

Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Idafc4724efa88a2dfd37e3f7735732c45171fd88

show more ...


# 7bfb70ac 03-Jul-2017 Patrick Williams <patrick@stwcx.xyz>

sdbus++: move default directory

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

sdbus++: move default directory

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>

show more ...


# 250654e8 11-Nov-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: generate error cpp

Change-Id: I63ea5ea07ab4efb0da21ee10de7fe9db429c1ffd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# 7d7fda56 11-Nov-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: parse error info yaml

Change-Id: I73361b6f9b48b32a206d1e6d3e52ff46195b3cbc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# ccacc4af 10-Nov-2016 Brad Bishop <bradleyb@us.ibm.com>

sdbus++: find templates in datadir

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


# de32f577 10-Nov-2016 Brad Bishop <bradleyb@us.ibm.com>

Use canonical env

Workaround bitbake failing to handle /bin/env when it sanity checks for
file runtime dependencies.

Change-Id: Ia967bf28cb3c2de812ad295265e728e0826e80ab
Sig

Use canonical env

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>

show more ...


# 33906871 10-Nov-2016 Brad Bishop <bradleyb@us.ibm.com>

Move templates

Enabling use of package_data in a setup.py.

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


# f5c3cde9 21-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: fix PEP8 style errors

Change-Id: I51ce57d22c86ac80322559fa1c03cb26df8eb278
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# affeafad 17-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: work around unicode support in python2

unicode strings in python2 do not have certain functions, such
as 'rstrip'. Send an option to Mako for python2 to ensure
unicode supp

sdbus++: work around unicode support in python2

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>

show more ...


# 831839ad 16-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: generate callback methods for server bindings

Create sd-bus message handler methods as callbacks for object
method calls. These generated callbacks will extract the
paramet

sdbus++: generate callback methods for server bindings

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>

show more ...


# 04e007f1 15-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: generate header for server bindings

Add a 'server-header' command to sdbus++ that generates a class
definition for the server bindings. This class defines static
functions

sdbus++: generate header for server bindings

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>

show more ...


# 24e8ae6e 14-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: missing dictionary lookup for process func

Change-Id: Ib26352d4323f55ff418e446c76994ed212819f70
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# a90b01e2 09-Oct-2016 Patrick Williams <patrick@stwcx.xyz>

sdbus++: Utility for rendering interface YAML

Change-Id: I0ceeaba9280ef9a05c03edb2a72a15ba8591b0be
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>