aboutsummaryrefslogtreecommitdiff
path: root/plugins/pythondemo
Commit message (Expand)AuthorAge
* scan hook works, remove NotImplemented exception•••Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-21
* Do not output xml-rpc debugging•••Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-21
* Flesh out pythondemo•••This implements most hooks with stupid demo code, and also still has some TODO items. Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-21
* Make proxy object available to hook functions•••Hook functions now get the proxy object as first argument to be able to use RPC via the proxy. Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-21
* Allow external plugins to return no value•••Instead of using the XML-RPC v2 extension <nil/>, which Perl's XML::RPC::Parser does not (yet) support (Joey's patch is pending), we agreed on a sentinel: {'null':''}, that is, a hash with a single key "null" pointing to the empty string. The Python proxy automatically converts None appropriately and raises an exception if a hook function should, by weird coincidence, attempt to return {'null':''}. Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-21
* first implementation of a python demo•••(cherry picked from commit bbdf127917a13b81cef50995098f479ef4fe1cf9) martin f. krafft2008-03-17