Branch: Tag:

2000-08-01

2000-08-01 16:49:56 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

runtime-compile timezones instead of loading them all

Rev: lib/modules/Calendar.pmod/Ruleset.pike:1.2
Rev: lib/modules/Calendar.pmod/Time.pmod:1.2
Rev: lib/modules/Calendar.pmod/TimeRanges.pmod:1.2
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.2
Rev: lib/modules/Calendar.pmod/module.pmod:1.2
Rev: lib/modules/Calendar.pmod/tzdata/africa:1.1
Rev: lib/modules/Calendar.pmod/tzdata/antarctica:1.1
Rev: lib/modules/Calendar.pmod/tzdata/asia:1.1
Rev: lib/modules/Calendar.pmod/tzdata/australasia:1.1
Rev: lib/modules/Calendar.pmod/tzdata/backward:1.1
Rev: lib/modules/Calendar.pmod/tzdata/etcetera:1.1
Rev: lib/modules/Calendar.pmod/tzdata/europe:1.1
Rev: lib/modules/Calendar.pmod/tzdata/factory:1.1
Rev: lib/modules/Calendar.pmod/tzdata/iso3166.tab:1.1
Rev: lib/modules/Calendar.pmod/tzdata/leapseconds:1.1
Rev: lib/modules/Calendar.pmod/tzdata/northamerica:1.1
Rev: lib/modules/Calendar.pmod/tzdata/pacificnew:1.1
Rev: lib/modules/Calendar.pmod/tzdata/solar87:1.1
Rev: lib/modules/Calendar.pmod/tzdata/solar88:1.1
Rev: lib/modules/Calendar.pmod/tzdata/solar89:1.1
Rev: lib/modules/Calendar.pmod/tzdata/southamerica:1.1
Rev: lib/modules/Calendar.pmod/tzdata/systemv:1.1
Rev: lib/modules/Calendar.pmod/tzdata/yearistype.sh:1.1
Rev: lib/modules/Calendar.pmod/tzdata/zone.tab:1.1

3:   #define zero int(0..0)      import "."; - #include "localization.h" +       constant CALUNKNOWN=-1000; // not calculated yet   
15:      string _sprintf(int t) { return (t=='O')?calendar_name():0; }    - Ruleset default_rules=Ruleset() -  ->set_timezone(default_timezone) -  ->set_language(default_language); + Ruleset default_rules= +  master()->resolv("Calendar")["default_rules"];      //------------------------------------------------------------------------   //! class TimeRange