We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Plugins Web>CairoContrib (08 Feb 2006, PeterThoeny)
Tags:
compatibility1Add my vote for this tag create new tag
, view all tags

Cairo Contrib

Cairo compatibility module, for use with Plugins written for Cairo but run with earlier versions of TWiki.

Summary of Contents

Implements some of the functions added in Cairo so they are available to plugins running in a pre-Cairo installation. This allows plugin authors to upgrade to Cairo without losing compatibility with earlier TWiki releases.

If you find that this module doesn't enable the plugin you are interested in, but manage to fix it so it does, then please,, please, please submit a patch with the fix.

Detailed Documentation

Cairo Compatibility Module

If a plugin uses Cairo function calls, you can include this module to ensure it is compatible with older releases of TWiki. Of course you should instruct users to upgrade to Cairo by preference, but this module should make sure the plugin works if they can't for some reason.

The module should NOT be used when running alongside code later than Beijing.

Plugin authors should feel free to check in to this module, but please be careful not to break anything.

TWiki::Func::getRegularExpression

See documentation in TWiki:Codev/FuncDotPm

TWiki::expandVariablesOnTopicCreation

See documentation in TWiki:Codev/TWikiDotPm

CairoCompatibilityModule::readTemplate

See documentation in TWiki:Codev/StoreDotPm

Settings

  • One line description:
    • Set SHORTDESCRIPTION = Cairo compatibility module, for use with Plugins written for Cairo but run with earlier versions of TWiki

  • Name of the perl package
    • Set STUB = TWiki::Contrib::CairoContrib

Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip CairoContrib.zip in your twiki installation directory. Content:
File: Description:
data/TWiki/CairoContrib.txt  
lib/TWiki/Contrib/CairoContrib.pm  
lib/TWiki/Contrib/CairoContrib/build.pl  

Plugin Info

Author: TWiki:Main/CrawfordCurrie
Copyright ©: 2004, Crawford Currie http://www.c-dot.co.uk
License: GPL
Dependencies: None
Change History:  
14/08/04 Separated out from SharedCode module
Home: http://TWiki.org/cgi-bin/view/Plugins/CairoContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/CairoContribDev

Related Topics: TWikiPreferences

-- TWiki:Main/CrawfordCurrie - 12:54:08 16 August 2004

Topic attachments
I Attachment Action Size Date Who Comment
zipzip CairoContrib.zip manage 5.4 K 24 Mar 2005 - 06:23 ThomasWeigert Additional functionality
Topic revision: r7 - 08 Feb 2006 - 18:20:43 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback