pike.git / lib / modules / Tools.pmod / Monger.pmod / MongerDeveloper.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:1:   // -*- Pike -*-    - // $Id: MongerDeveloper.pike,v 1.7 2008/06/20 16:24:18 srb Exp $ + // $Id: MongerDeveloper.pike,v 1.8 2008/06/28 16:37:02 nilsson Exp $      #pike __REAL_VERSION__      constant version =    sprintf("%d.%d.%d",(int)__REAL_VERSION__,__REAL_MINOR__,__REAL_BUILD__);   constant description = "MongerDeveloper: the Pike module manger.";      private string default_repository = "http://modules.gotpike.org:8000/xmlrpc/index.pike";   private string default_builddir = getenv("HOME") + "/.monger";   private string repository;
pike.git/lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:447:   class xmlrpc_handler   {    Protocols.XMLRPC.Client x;       void create(string loc)    {    x = Protocols.XMLRPC.Client(loc);    }       -  static class _caller (string n){ +  protected class _caller (string n){       mixed `()(mixed ... args)    {    array|Protocols.XMLRPC.Fault r;    if(args)    r = x[n](@args);    else    r = x[n]();    if(objectp(r)) // we have an error, throw it.    error(r->fault_string);