I have completed the prototype for Torrc and I've tested it writing a plugin. So far value(), setValue(), TorrcPath() functions are confirmed working. I've still not been able to get clear() working and the execution simple stops. I'm not sure if there is an error in the plugin or the prototype without the debugger. I'm planning on integrating QScriptEngineDebugger to help writing and testing plugins.
I didn't work in the first week during exams.
My commits - https://github.com/feroze/vidalia/commits/hiddenservice
Sorry for not giving any context.
My first task is to create a plugin to configure hidden services through Vidalia. This would be done by adding the correct strings to .torrc file.
Vidalia alpha handles the .torrc file directly to modify Tor settings. It has a plugin framework to allow users to interact with Tor. The TorrcPrototype allows plugins to modify the .torrc file. It acts as a sort of "bridge" between the PluginEngine.cpp and Torrc.cpp (which modified .torrc file). value(), setValue() and getTorrcPath() are functions of Torrc.cpp which I've so far got it to work through the plugin.
QtScriptDebugger is included in QtScript tools. It can be used to debug the plugin. Embedding it into the Vidalia plugin engine would make writing plugins easier.