July 2007 Archives
2007-07-11 10:49:48
Update on genipc
Genipc work has been moving along well, and is reaching a state where it can
"do" things, at least on the server side. So far, I've gotten the server side
to deserialize basic ipc commands, like main_hello, main_quit, correctly, and
to call the correct command handler. I've also stripped out the clientlib in
my tree for testing purposes and implemented a bit of the new request api,
and have been using that to test the codepaths through the server.
Things that still need to be done:
* Right now it can only handle deserializing the more basic types like int, uint, string, so I still need to handle the more complex cases like lists of ints, dicts, etc.
* Implement property requests, right now it only handles methods, not property callbacks and the like. This shouldn't take too long, the code for generating it is almost finished, but I don't know yet how hard it will be to integrate it.
* The server code needs to be converted over to using the new API for registering IPC commands(shouldn't take too long, probably longer for requests).
* The clientlib needs to be converted to implement the new request API.
Also, there are a couple of implementation details that I think may need fixing. Right now, all of the definitions for methods, requests, etc. are all defined in the generated xmmsclient.h This means that everything thats generated needs to include it, which may be a problem, considering that its supposed to be for the client side. I will probably be spilling it up into something like the current xmmsc_idnums.h and a seperate xmmsclient.h that just defines the public interface. Also, the genipc.py script is getting a bit large and unweildy, I want to split it up into a couple of modules and clean it up to make it easier to work with. And eventually, I will need to integrate it into waf(the generating part). I am going to write a GENIPC_README file in my tree(and on the wiki) soon that will explain how all the generated files fit together and expand a bit more on the implementation details.
Things that still need to be done:
* Right now it can only handle deserializing the more basic types like int, uint, string, so I still need to handle the more complex cases like lists of ints, dicts, etc.
* Implement property requests, right now it only handles methods, not property callbacks and the like. This shouldn't take too long, the code for generating it is almost finished, but I don't know yet how hard it will be to integrate it.
* The server code needs to be converted over to using the new API for registering IPC commands(shouldn't take too long, probably longer for requests).
* The clientlib needs to be converted to implement the new request API.
Also, there are a couple of implementation details that I think may need fixing. Right now, all of the definitions for methods, requests, etc. are all defined in the generated xmmsclient.h This means that everything thats generated needs to include it, which may be a problem, considering that its supposed to be for the client side. I will probably be spilling it up into something like the current xmmsc_idnums.h and a seperate xmmsclient.h that just defines the public interface. Also, the genipc.py script is getting a bit large and unweildy, I want to split it up into a couple of modules and clean it up to make it easier to work with. And eventually, I will need to integrate it into waf(the generating part). I am going to write a GENIPC_README file in my tree(and on the wiki) soon that will explain how all the generated files fit together and expand a bit more on the implementation details.
2007-07-01 00:56:45
git repos and DNS changes
Today I changed the DNS server for this site(thisnukes4u.net) to freedns(afraid.org), because 1and1 has been
having problems lately. I've also imported a bunch of git repositories for some
of my old and new projects, you can see them on gitweb. Anyways, thats enough for now, I
need to do some more electronics work and work on my SoC project a bit.