167e2379 | 07-May-2018 |
Ed Tanous <ed.tanous@intel.com> |
clang-format this repo
Use the proper-clang-format file on this repository as required by the openbmc documentation.
Change-Id: I4f1e0d707388605f1e818dfdc647533a335e5f2d Signed-off-by: Ed Tanous <e
clang-format this repo
Use the proper-clang-format file on this repository as required by the openbmc documentation.
Change-Id: I4f1e0d707388605f1e818dfdc647533a335e5f2d Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
f43e5d68 | 09-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
gitignore updates
Ignore various build artifacts.
Change-Id: I8b0447bf66844c6cfd40b57da4564324dbd0322b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
b2f2681f | 08-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
libmapper: Add subtree callback functions
Implement subtree callback functions for match, getpaths, and timeout.
Change-Id: I1037a52fced9e47aa630ebb9ae39b745349acb95 Signed-off-by: Adriana Kobylak
libmapper: Add subtree callback functions
Implement subtree callback functions for match, getpaths, and timeout.
Change-Id: I1037a52fced9e47aa630ebb9ae39b745349acb95 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
025d7959 | 08-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
libmapper: Add function to call GetSubTreePaths
Call the dbus method GetSubTreePaths to look for the specified interface.
Change-Id: If266fc0db2c10582eeb9438e91f9556dcb525e39 Signed-off-by: Adriana
libmapper: Add function to call GetSubTreePaths
Call the dbus method GetSubTreePaths to look for the specified interface.
Change-Id: If266fc0db2c10582eeb9438e91f9556dcb525e39 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
78edbb6f | 04-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
libmapper: Add match for removed interfaces
Add a match to look for removed interfaces.
Change-Id: If5bd68254b88c664c33f443ea593974b87996b42 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> |
2a8bfc96 | 11-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Create libmapper subtree function and call it in event loop
Call a new mapper subtree interface in an event loop. Create an enum to specify the mapper action, in this case wait for an interface to b
Create libmapper subtree function and call it in event loop
Call a new mapper subtree interface in an event loop. Create an enum to specify the mapper action, in this case wait for an interface to be removed. This allows to later add other operations like wait for an interface to be added since the logic would be different.
Change-Id: I8330852d47185c3c4e40e994c6e4719054a9fc06 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
6a8688f4 | 05-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
app: Split subtree argument
Split the argument string on the first colon (:) character to get the namespace and interface.
Change-Id: Ia9c67bd149c23e68945fd80252a93a2f1fe78382 Signed-off-by: Adrian
app: Split subtree argument
Split the argument string on the first colon (:) character to get the namespace and interface.
Change-Id: Ia9c67bd149c23e68945fd80252a93a2f1fe78382 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
04d7c7d9 | 04-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
app: Add subtree-remove option
New mapper option to wait until a specified interface is not present in any of the subtrees of the specified namespace. Usage: mapper subtree-remove <NAMESPACE>:<INT
app: Add subtree-remove option
New mapper option to wait until a specified interface is not present in any of the subtrees of the specified namespace. Usage: mapper subtree-remove <NAMESPACE>:<INTERFACE> mapper subtree-remove /foo/namespace:bar.interface
A future change could add an additional option to wait for interfaces to appear in a subtree of the specified path.
Note that the subtree option will look for the interface in the subtree paths, not on the specified base namespace path. So in order to find an interface in /base/level1/level2, then the specified namespace path should be /base/level1/.
Change-Id: I862310d819c505c59161adcce338041a08e1218c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
c7a7c45f | 04-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Revert "Add mapper-wait-until-removed"
This reverts commit 9f4c3c7c408a5f84a52416da99d0dd8035f1ae5a.
After further design discussions, the new wait until removed implementation should be a new API.
Revert "Add mapper-wait-until-removed"
This reverts commit 9f4c3c7c408a5f84a52416da99d0dd8035f1ae5a.
After further design discussions, the new wait until removed implementation should be a new API. Reverting this change to put back the original wait interfaces since new ones will be created instead of modifying the existing ones.
Change-Id: I605439dcb24c6dca7f394325afc6587eacf417f1 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
a4555f60 | 04-May-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Revert "wait-until-removed: Add Interface parameter"
This reverts commit e4d6c79030ad7b7638d0fc5ea09cf13afe224cda.
The commit had incomplete changes, reverting it since the implementation is changi
Revert "wait-until-removed: Add Interface parameter"
This reverts commit e4d6c79030ad7b7638d0fc5ea09cf13afe224cda.
The commit had incomplete changes, reverting it since the implementation is changing per feedback from code reviews.
Change-Id: Ia99b9ae57cda805d419f3ed0e326c09154335051 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
e4d6c790 | 04-Apr-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
wait-until-removed: Add Interface parameter
The additional interface parameter can be a string (ex. "intf" "obj1"), or be in a single string with the obj parameter (ex. "intf obj1 obj2..."). The lat
wait-until-removed: Add Interface parameter
The additional interface parameter can be a string (ex. "intf" "obj1"), or be in a single string with the obj parameter (ex. "intf obj1 obj2..."). The latter is used when passing the parameters from a systemd unit. The wait-until-removed option will block until the requested interface is not present in the specified dbus object.
Change-Id: Ia935af5721e2aec8c271eff483cff9c3a1f1fa24 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
9f4c3c7c | 28-Mar-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Add mapper-wait-until-removed
This option will do the opposite of mapper wait by blocking if a dbus object exists until that object is removed.
Change-Id: Ia460b1ffdb912ba475b15ae5f8499a177e801dfd
Add mapper-wait-until-removed
This option will do the opposite of mapper wait by blocking if a dbus object exists until that object is removed.
Change-Id: Ia460b1ffdb912ba475b15ae5f8499a177e801dfd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
981f2661 | 03-Mar-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Add get-service option to mapper tool
Adding this feature will allow services to use the busctl command without hard coding the dbus service information
Change-Id: Ibdfb2e0dce97486ad4dd6784257fa81c
Add get-service option to mapper tool
Adding this feature will allow services to use the busctl command without hard coding the dbus service information
Change-Id: Ibdfb2e0dce97486ad4dd6784257fa81c1122dba2 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
829181d8 | 24-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add xyz.openbmc_project.ObjectMapper.Private
The mapper client bindings currently use the NameOwnerChanged signal as a trigger for a mapper query when waiting for an object to appear on the bus. Th
Add xyz.openbmc_project.ObjectMapper.Private
The mapper client bindings currently use the NameOwnerChanged signal as a trigger for a mapper query when waiting for an object to appear on the bus. This works because at the moment the mapper returns a busy response to clients in the window between NameOwnerChanged and completion of its discovery.
A forthcoming patch will change this behavior such that the mapper will go ahead and respond in the window to improve overall mapper responsiveness, at the cost of the current causal ordering guarantee.
The ordering guarantee is what allows the current wait binding implementation to work. Without it, the wait binding requires a means to determine when it is safe to make a make a query.
Add a new mapper interface xyz.openbmc_project.ObjectMapper.Private with a single signal IntrospectionComplete to meet this requirement. "Private" because the signal should only be consumed by the mapper client bindings.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ia7b65cd7edd37c49fa7b5ad808b0c59304c68717
show more ...
|
c6329c9c | 15-Nov-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Workaround sd_bus_message_append_cmdline
Unable to get libmapper built without systemd being patched with the sd_bus_message_append_cmdline function. Until it is pushed upstream, this is a workaroun
Workaround sd_bus_message_append_cmdline
Unable to get libmapper built without systemd being patched with the sd_bus_message_append_cmdline function. Until it is pushed upstream, this is a workaround to get the available systemd install built for unit testing.
Change-Id: Ieca78955a4182eebd469a860c37ccaedfe75d323 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
f1d7c6e0 | 15-Nov-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Switch to use generated config.h
Remove libmapper/config.h and have configure put generated config.h in libmapper directory.
Change-Id: I3591b719e7b66d532ddad3499c6092166ad9a442 Signed-off-by: Matt
Switch to use generated config.h
Remove libmapper/config.h and have configure put generated config.h in libmapper directory.
Change-Id: I3591b719e7b66d532ddad3499c6092166ad9a442 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
e3bd224d | 02-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add path information on service lookup failure
Change-Id: Ie180b5a206eeb55c02149e5201c381652759bbdc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
e1c7cf9e | 02-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libmapper: React to DBus API change
Fix up the sdbus client bindings for the new interface filter argument.
Change-Id: Iabbe7ecb88ea261409b406e6499c0f6e96d1c25b Signed-off-by: Brad Bishop <bradleyb
libmapper: React to DBus API change
Fix up the sdbus client bindings for the new interface filter argument.
Change-Id: Iabbe7ecb88ea261409b406e6499c0f6e96d1c25b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
b301f2fa | 05-Oct-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Rename mapper DBus names to match xyz
Use the domain we actually own, per DBus naming best practices.
Change-Id: I69e85d91bcf30bfab5c1d6157f399683b91dda35 Signed-off-by: Brad Bishop <bradleyb@fuzzi
Rename mapper DBus names to match xyz
Use the domain we actually own, per DBus naming best practices.
Change-Id: I69e85d91bcf30bfab5c1d6157f399683b91dda35 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
7122244c | 04-Oct-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within th
Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package.
Change-Id: Id7be6220d32e457b1171d5d98123c6d8f317b380 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
36eb1e52 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use config.h defines for path, bus, and interface
Change-Id: I1b3d09caac7fde6e7fd6c5a90a1fe4afa7613f29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
4b3c0558 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libmapper: add config.h
Add a fake config.h pending autotools switchover.
Change-Id: I777d7b4399107db058329ab29c9299d68cfbd042 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
8ccdaed0 | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sdbus client: Add proper error handling for ENOENT
Prior, a server error causes the client to hang rather than exit.
Change-Id: I34533358df6227798b970f1214b574b6e5bcec47 Signed-off-by: Brad Bishop
sdbus client: Add proper error handling for ENOENT
Prior, a server error causes the client to hang rather than exit.
Change-Id: I34533358df6227798b970f1214b574b6e5bcec47 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
3d46879c | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sdbus client: add retries
Handle busy responses from the server with retries.
Change-Id: I8c13faddec1bfaffe702609f2e682e8b1181946d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
a6797f83 | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove a handful of unused variables
Change-Id: Ia580acf32bf6aa7fe205bf67b283926d3cffb0cf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |