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

129 setting properties #130

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

129 setting properties #130

wants to merge 9 commits into from

Conversation

nschoe
Copy link
Collaborator

@nschoe nschoe commented Sep 26, 2016

So this should be a good start at implementing the 'Set' function: we should be able to actually 'Get' and 'Set' DBus properties now!

I have tested with single types as well as complex / containers type. I have tried several "nested" cases, but it is entirely possible that I've left some aside. So please test and report if there are some use-cases that won't work. We'll try to fix it in the mean time.

Also, I must have messed up my branches because in the diff I see that I have included the changed in index.js concerning interface and error names checking.

So basically, I have made a function that checks an error and interface name against the DBus naming convention.
I have included this chekc in bus.sendError() and bus.exportInterface() so that it's not possible to export an interface whose name meet DBus naming requirements (or send an error whose name doesn't).

I'm sorry, it should have been in a separate branch, in a separate issue, but I messed this up somehow. I am not motivated enough to rebase, especially since this is a minor change :-)

@mvduin mvduin mentioned this pull request May 29, 2017
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 this pull request may close these issues.

1 participant