Tue 4 Oct 2005
D-Bus Update
Posted by J5 under D-Bus , Freedesktop , Linux , Recreation , Skating , Sports[3] Comments
I’m halfway done with the Python binding introspection module. It parses the data and produces a hash of method’s input signatures. It throws away the rest because in Python, except for the values it is sending none of the other data is all that useful. What is left is to use that data to marshal the parameters when making a call.
After that is done I think the bindings will be good enough to go into a partial feature freeze. I still want to get a generic main loop which I will have code for in a form of an old dispatch and block patch Havoc wrote for doing quick mainloops in libdbus itself. I just need to make it apply to the current sources. It is sort of analogous, though not exact, to using getchar() rather than being a real mainloop. We block for input (or output), and when it is recived it is dispatched. It makes it easy for application that just handle D-Bus calls however most apps should still be using the GLib integration (or Qt if I ever get a patch).
As for the main source there is one more major ABI change to do which is revamping how RequestName works. Hopefully I can get to that (or someone sends me a patch) during the Boston Summit.
Until then, peace -
[read this post in: ar de es fr it ja ko pt ru zh-CN ]