pike.git / lib / modules / Calendar.pmod / Events.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Events.pmod:5:   string all_data=0;   mapping loaded_events=([]);   mapping loaded_regions=([]);      constant month2n=(["Jan":1,"Feb":2,"Mar":3,"Apr":4,"May":5,"Jun":6,    "Jul":7,"Aug":8,"Sep":9,"Oct":10,"Nov":11,"Dec":12]);   constant wd2n=(["Mon":1,"Tue":2,"Wed":3,"Thu":4,"Fri":5,"Sat":6,"Sun":7]);      void read_all_data()   { -  all_data=Stdio.read_bytes( +  all_data=master()->master_read_file(    combine_path(__FILE__,"../events/regional"));   }      Event.Event make_event(string source)   {    string id;    string flags;    string s;    string rule;   
pike.git/lib/modules/Calendar.pmod/Events.pmod:164:    array(array(string)) names)   {    return Event.Namedays(id,name,names,0,    start,stop,leapdayshift);   }      mapping made_namedays=([]);      string read_all_namedays()   { -  return Stdio.read_bytes( +  return master()->master_read_file(    combine_path(__FILE__,"../events/namedays"));   }      Event.Namedays find_namedays(string region)   {    string id="namedays/"+region;    object res;    if ( (res=made_namedays[region]) )    return res;    string all=read_all_namedays();