Changeset 4782


Ignore:
Timestamp:
09/07/09 14:56:25 (3 years ago)
Author:
AndrewJones
Message:

Item2009: remove debug setting from configure, just adds clutter

Location:
trunk/AutoCompletePlugin
Files:
4 edited

Legend:

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

    r3249 r4782  
    7676%$INSTALL_INSTRUCTIONS% 
    7777 
    78 ---++ Plugin Files 
     78---++ Debugging 
    7979 
    80    | *File:* | *Description:* | 
    81 %$MANIFEST% 
     80Debug information will be generated if the following preference is set in [[%LOCALSITEPREFS%]]: 
     81 
     82   * Set AUTOCOMPLETEPLUGIN_DEBUG = 1 
     83 
     84__Note:__ Setting it here will have no effect. 
    8285 
    8386---++ Plugin Info 
     
    8992|  Plugin Version: | %$VERSION% | 
    9093|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     94|  07 Sept 2009 | Foswikitask:Item2009 - Remove debug setting from =configure= | 
    9195|  23 Mar 2009 | Foswikitask:Item1249 - Port to Foswiki as 1.0; Use latest YUI (2.7.0) | 
    9296|  12 Sept 2008 | TWikibug:Item5745 - Updated to use latest YUI (2.5.2); Fixed forms for 4.2; Fixed Jump Form example for 4.2 | 
  • trunk/AutoCompletePlugin/lib/Foswiki/Plugins/AutoCompletePlugin.pm

    r3249 r4782  
    2727 
    2828our $VERSION = '$Rev$'; 
    29 our $RELEASE = '1.0'; 
     29our $RELEASE = '1.1'; 
    3030our $SHORTDESCRIPTION = 'Provides an Autocomplete input field based on Yahoo\'s User Interface Library'; 
    3131our $NO_PREFS_IN_TOPIC = 1; 
     
    327327    my $text = shift; 
    328328 
    329     my $debug = $Foswiki::cfg{Plugins}{$pluginName}{Debug} || 0; 
     329    my $debug = Foswiki::Func::getPreferencesFlag("\U$pluginName\E_DEBUG") || 0; 
    330330 
    331331    Foswiki::Func::writeDebug( "- Foswiki::Plugins::${pluginName}: $text" ) if $debug; 
  • trunk/AutoCompletePlugin/lib/Foswiki/Plugins/AutoCompletePlugin/Config.spec

    r3249 r4782  
    1 # ---+ Plugins 
    2 # ---++ AutoCompletePlugin 
    3 # **BOOLEAN** 
    4 # Debug setting 
    5 $Foswiki::cfg{Plugins}{AutoCompletePlugin}{Debug} = 0; 
    611; 
  • trunk/AutoCompletePlugin/lib/Foswiki/Plugins/AutoCompletePlugin/MANIFEST

    r3249 r4782  
    44data/Sandbox/AutoCompletePluginTestData.txt 0644 Test Data 
    55pub/System/AutoCompletePlugin/AutoCompletePluginScreenshot.png 0644 Screenshot 
    6 lib/Foswiki/Plugins/AutoCompletePlugin/Config.spec 0444 Spec file for =configure= 
     6#lib/Foswiki/Plugins/AutoCompletePlugin/Config.spec 0444 Spec file for =configure= 
Note: See TracChangeset for help on using the changeset viewer.