Changeset 5607


Ignore:
Timestamp:
11/24/09 15:19:23 (2 years ago)
Author:
DanielRohde
Message:

Item1652: fixed a performance issue reported by Ingo Kappler (thx Michael Daum); released v1.030

Location:
trunk/HolidaylistPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/HolidaylistPlugin/data/System/HolidaylistPlugin.txt

    r4180 r5607  
    1 %META:TOPICINFO{author="ProjectContributor" date="1181041089" format="1.0" version="$Rev: 18103 $"}% 
     1%META:TOPICINFO{author="ProjectContributor" date="1181041089" format="1.0" version="$Rev: 18212 $"}% 
    22<!-- 
    33This topic is part of the documentation for HolidaylistPlugin and is 
     
    309309        * Install required CPAN modules (e.g. =perl -MCPAN -e "install Date::Calc"= ) 
    310310        * Download the ZIP file from the Plugin web (see below) 
    311         * Unzip ==%TOPIC%.zip== in your twiki installation directory. Content: 
     311        * Unzip ==%TOPIC%.zip== in your Foswiki installation directory. Content: 
    312312| *File:* | *Description:* | 
    313313| ==data/System/%TOPIC%.txt== | Plugin topic | 
     
    321321 
    322322|  Plugin Author: | TWiki:Main.PeterJones, TWiki:Main.DanielRohde | 
    323 |  Plugin Version: | v1.030 (BETA) | 
     323|  Plugin Version: | v1.030 (24 Nov 2009) | 
    324324|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
    325 |  v1.030 (BETA) | TWiki:Main.DanielRohde: improved INCLUDE support requested by Foswiki:Main.IngoKappler; added multi language support for entry definitions; fixed unknown language bug |  
     325|  v1.030 (24 Nov 2009) | TWiki:Main.DanielRohde: improved INCLUDE support requested by Foswiki:Main.IngoKappler; added multi language support for entry definitions; fixed unknown language bug; fixed performance issue reported by Foswiki:Main.IngoKappler (thx Foswiki:Main.MichaelDaum) |  
    326326|  v1.029 (6 Mar 2009) | TWiki:Main.DanielRohde: changed some defaults (showmonthheader, monthheaderformat, headerformat); fixed alignments (statistics, monthheader); added maxheight attribute; allowed color definitions in icon fields | 
    327327|  v1.026 (28 Oct 2008) | TWiki:Main.DanielRohde: added missing anchor in showoptions form action; added row color feature (new attributes: namecolors, rowcolors); added order feature (new attribute: order); added namepos attribute (place names left and/or right of a row) | 
     
    335335|  v1.018 (25 Jul 2006) | TWiki:Main.DanielRohde: fixed periodic event bug; added navigation feature |  
    336336|  v1.017 (31 May 2006) | TWiki:Main.DanielRohde: fixed minor bug (periodic repeater) | 
    337 |  v1.016 (27 Apr 2006) | TWiki:Main.DanielRohde: fixed some major bugs: deep recursion bug reported by TWiki:Main.ChrisHausen; exception handling bug (concerns Dakar) | 
    338 |  v1.015 (9 Feb 2006) | TWiki:Main.DanielRohde: added class attribute (holidaylistPluginTable) to table tag for stylesheet support (thanx TWiki:Main.HaraldJoerg and TWiki:Main.ArthurClemens); fixed mod_perl preload bug (removed 'use warnings;') reported by Foswiki:Main.KennethLavrsen | 
     337|  v1.016 (27 Apr 2006) | TWiki:Main.DanielRohde: fixed some major bugs: deep recursion bug reported by TWiki:Main.ChrisHausen; exception handling bug (concerns Foswiki) | 
     338|  v1.015 (9 Feb 2006) | TWiki:Main.DanielRohde: added class attribute (holidaylistPluginTable) to table tag for stylesheet support (thanx TWiki:Main.HaraldJoerg and Foswiki:Main.ArthurClemens); fixed mod_perl preload bug (removed 'use warnings;') reported by Foswiki:Main.KennethLavrsen | 
    339339|  v1.014 (23 Jan 2006) | TWiki:Main.DanielRohde: incorporated documentation fixes by Foswiki:Main.KennethLavrsen (Bugs:Item1440) |  
    340340|  v1.013 (8 Nov 2005) | TWiki:Main.DanielRohde: added Perl strict pragma; |  
  • trunk/HolidaylistPlugin/lib/Foswiki/Plugins/HolidaylistPlugin.pm

    r4180 r5607  
    4848    ); 
    4949 
    50 # This should always be $Rev: 18103 $ so that TWiki can determine the checked-in 
     50# This should always be $Rev: 18212 $ so that Foswiki can determine the checked-in 
    5151# status of the plugin. It is used by the build automation tools, so 
    5252# you should leave it alone. 
    53 $VERSION = '$Rev: 18103 $'; 
     53$VERSION = '$Rev: 18212 $'; 
    5454 
    5555# This is a free-form string you can use to "name" your own plugin version. 
     
    7070#$REVISION = '1.018'; #dro# fixed periodic event bug; added navigation feature 
    7171#$REVISION = '1.017'; #dro# fixed minor bug (periodic repeater) 
    72 #$REVISION = '1.016'; #dro# fixed some major bugs: deep recursion bug reported by TWiki:Main.ChrisHausen; exception handling bug (concerns Dakar) 
    73 #$REVISION = '1.015'; #dro# added class attribute (holidaylistPluginTable) to table tag for stylesheet support (thanx TWiki:Main.HaraldJoerg and TWiki:Main.ArthurClemens); fixed mod_perl preload bug (removed 'use warnings;') reported by Foswiki:Main.KennethLavrsen 
     72#$REVISION = '1.016'; #dro# fixed some major bugs: deep recursion bug reported by TWiki:Main.ChrisHausen; exception handling bug (concerns Foswiki) 
     73#$REVISION = '1.015'; #dro# added class attribute (holidaylistPluginTable) to table tag for stylesheet support (thanx TWiki:Main.HaraldJoerg and Foswiki:Main.ArthurClemens); fixed mod_perl preload bug (removed 'use warnings;') reported by Foswiki:Main.KennethLavrsen 
    7474#$REVISION = '1.014'; #dro# incorporated documentation fixes by Foswiki:Main.KennethLavrsen (Bugs:Item1440)  
    7575#$REVISION = '1.013'; #dro# added Perl strict pragma;  
     
    119119    Foswiki::Func::writeDebug( "- ${pluginName}::commonTagsHandler( $_[2].$_[1] )" ) if $debug; 
    120120 
     121    return if Foswiki::Func::getContext()->{'save'}; 
     122 
    121123    # This is the place to define customized tags and variables 
    122124    # Called by Foswiki::handleCommonTags, after %INCLUDE:"..."% 
    123125 
    124     #### eval is bad because Dakar works with exceptions 
     126    #### eval is bad because Foswiki works with exceptions 
    125127    ####eval { 
    126128            $_[0] =~ s/%HOLIDAYLIST%/&handleHolidaylist("", $_[0], $_[1], $_[2])/ge; 
     
    10651067                         
    10661068 
    1067                                 # overwrite personal holidays with public holidays: 
     1069                                # override personal holidays with public holidays: 
    10681070                                if ($options{enablepubholidays} && defined $$aptableref[$i]) { 
    10691071                                        $icon = $iconstates{$$aptableref[$i]}; 
Note: See TracChangeset for help on using the changeset viewer.