Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dictionary types #3

Closed
dsboger-zz opened this issue Feb 21, 2016 · 2 comments · Fixed by #8
Closed

Add support for dictionary types #3

dsboger-zz opened this issue Feb 21, 2016 · 2 comments · Fixed by #8

Comments

@dsboger-zz
Copy link

I'm investigating the possibility of using ddbus to write a GNOME Shell search provider [1] for Terminix [2], but the interface for the search provider defines a method GetResultMetas whose return type signature is aa{sv}. I've scanned ddbus source code but could not find support for this data type. Are there any plans to support dictionary types?

[1] https://developer.gnome.org/SearchProvider/
[2] https://github.com/gnunn1/terminix

@trishume
Copy link
Owner

I made an attempt at adding support for serializing and deserializing associative arrays as dictionaries in this branch.

However the dbus service on my computer (OSX) is no longer working, so I can't actually test that my code works. All I can tell you is that it compiles on my version of D, if it doesn't compile for you try reverting the most recent commit on the branch which fixes a change in methods between versions.

If you test the code and tell me it works, or contribute any fixes necessary to get it to work, I'll merge it into master.

@WebFreak001
Copy link
Collaborator

bump for PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants