NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item8077: SyntaxHighlightingPlugin uses IPC::Run, but could it use Foswiki::Sandbox?

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement New Extension SyntaxHighlightingPlugin  
Don't have the time to look at this now, but it looks like something that could be improved. Anyone else is free to pick this up if they have a need/interest.

-- AndrewJones - 17 Mar 2009

Maybe it can't, as the code block needs to be passed to enscript as STDIN, and I can't see a way to do this with Foswiki::Sandbox.

An alternative would be to save code to tmp file and pass that file to enscript.

We could also cache the output, so the code is only generated on save.

-- AndrewJones - 05 May 2011

ItemTemplate edit

Summary SyntaxHighlightingPlugin uses IPC::Run, but could it use Foswiki::Sandbox?
ReportedBy Foswiki:Main.AndrewJones
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SyntaxHighlightingPlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
ReleasedIn n/a
Topic revision: r2 - 05 May 2011, AndrewJones
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads