Bug 43555

Summary: Feature request: support for variant maps in dbus-send
Product: dbus Reporter: Elly Jones <ellyjones+fd>
Component: coreAssignee: Havoc Pennington <hp>
Status: RESOLVED MOVED QA Contact: John (J5) Palmieri <johnp>
Severity: enhancement    
Priority: low CC: msniko14
Version: 1.5Keywords: patch
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch against dbus-1.4.12 to add this feature.

Description Elly Jones 2011-12-06 12:09:47 UTC
Created attachment 54159 [details] [review]
Patch against dbus-1.4.12 to add this feature.

dbus-send(1) does not support nested containers at all. There is a common idiom of having a{sv} as the last argument of dbus API functions to support later extensions, but dbus-send(1) cannot call these functions. Therefore, add special-case support for a{sv}, which can be done without extending the dbus-send(1) syntax in a backward-incompatible way.

Patch attached.
Comment 1 Simon McVittie 2012-02-08 08:35:16 UTC
Comment on attachment 54159 [details] [review]
Patch against dbus-1.4.12 to add this feature.

Review of attachment 54159 [details] [review]:
-----------------------------------------------------------------

How does this interact with Bug #19807?

Could you please describe how to send an a{sv}, or indeed a{xy} in general, if you've worked out how? I wasn't aware that it was even possible...
Comment 2 GitLab Migration User 2018-10-12 21:13:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/dbus/dbus/issues/59.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.