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

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: SyntaxHighlightingPlugin
Branches:
Reported By: Foswiki:Main.AndrewJones
Waiting For: MichaelDaum
Last Change By: MichaelDaum
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

Done as per Item15082

-- MichaelDaum - 26 Apr 2022
 

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 Urgent
CurrentState Closed
WaitingFor MichaelDaum
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r5 - 26 Apr 2022, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy