#
3b54a8e5 |
| 25-Oct-2024 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: simplify handling of empty parameter lists
Add a template specialization of the type-tuple generation for empty parameter lists in order to simplify the Mako templates. This eliminates a sp
sdbus++: simplify handling of empty parameter lists
Add a template specialization of the type-tuple generation for empty parameter lists in order to simplify the Mako templates. This eliminates a special case for empty parameter lists in multiple places.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7ca8d962ab1c7a65e0ad6d80ece1cd7e3847f2c6
show more ...
|
#
00e3a3a1 |
| 19-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
stdexec: update to latest commit
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I36aae702521ba1e9ab22e607ae18b7051a59feca
|
#
69373482 |
| 12-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: simplify vtable generation
Move vtable generation into separate mako files to simplify all of the "*.prototype.hpp.mako" files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-I
sdbus++: simplify vtable generation
Move vtable generation into separate mako files to simplify all of the "*.prototype.hpp.mako" files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2700698d760a25b649e86d812e425e66c9ff30a2
show more ...
|
#
af93b2db |
| 25-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: server: simplify header include templates
There are various callbacks within the mako templates for methods, properties, and signals. This makes the mako template fairly difficult to read
sdbus++: server: simplify header include templates
There are various callbacks within the mako templates for methods, properties, and signals. This makes the mako template fairly difficult to read (since there are big if-else trees for each callback type), impossible to reuse, and poorer performing. Eliminate the `callback-hpp-includes` type and move the code into Python directly.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id51f9a78bc57b718732172a3b6634f33740afd09
show more ...
|
#
5011340e |
| 18-Mar-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: change binding namespace format
Change the generated binding namespace name such that the interface `xyz.openbmc_project.Foo` becomes `sdbusplus::server::xyz::openbmc_project::Foo` instead
sdbus++: change binding namespace format
Change the generated binding namespace name such that the interface `xyz.openbmc_project.Foo` becomes `sdbusplus::server::xyz::openbmc_project::Foo` instead of `sdbusplus::xyz::openbmc_project::server::Foo`. This both simplifies the namespace generation and makes the correlation from interface to binding name much more obvious.
An alias namespace to the old name is still generated so that users have a chance to migrate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id82a5b6dcb26be8644b04bf14ddaf8a58dad8479
show more ...
|
#
759e7222 |
| 17-Mar-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: interface: reduce mako embedded python
Reduce the amount of Python embedded in Mako for simplicity and faster execution.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iff8
sdbus++: interface: reduce mako embedded python
Reduce the amount of Python embedded in Mako for simplicity and faster execution.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iff8cac1b80bfce6b823b2e90464c788b79e67301
show more ...
|
#
5621624f |
| 21-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: rename template mako files meson automatically generates a 'ninja clang-format' target since we have a .clang-format, but this attempts to reformat any file which ends with
sdbus++: rename template mako files meson automatically generates a 'ninja clang-format' target since we have a .clang-format, but this attempts to reformat any file which ends with .cpp or .hpp. We previously named our mako files as foo.mako.cpp, which was picked up by this target. Rename them as foo.cpp.mako instead to avoid hitting this meson target. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9002f850c315c6e97a871e15f70f333f0608a2ad
show more ...
|