Re: [Codestriker-user] Re: integration with enscript
Brought to you by:
sits
|
From: Aamer A. <aa...@gm...> - 2004-12-20 16:12:06
|
David, thank-you for your consideration. inline: On Mon, 20 Dec 2004 08:59:11 +1100, David Sitsky <si...@us...> wrote: > Actually it may not be lots of work, but a medium amount of it. :) > > We will only be able to support it for those topics that are linked to a > repository. That way, we'll be able to generate the entire original > source file and the entire new source file with the changes applied. We > should then be able to run enscript on both of these temporary files, so > that it is marked up in HTML. This will need to be done for each file > being displayed. > > Assuming enscript doesn't add newlines, we then should be able to carefully > apply the codestriker-specific formatting that is required to each line, as far as i can see new lines (or <br>) are not added. it is a shame however that enscript does not use CSS, but straight html formatting. > most of which doesn't involve the code itself, but around it. Enabling > LXR linking at the same time will be more complex, but may not be > impossible, with the right regular expressions. I haven't been able to get LXR to work so far (just not enough time to much with it), but I guess a problem there might be (depending on how codestriker and LXR interact), supoose the actual code has html like (or even html) passages embedded. It will be a challange to distinguish between the enscript added and the original html. > > People have asked for this before... it would be a nice feature. I don't > know if I'll have time before the new year to look at it though, most > likely at the start of next year. again, thanks for considering this. please let me know if there is anything specific i may be able to help out in. > > Cheers, > David > > On Sun, 19 Dec 2004 14:44, Jason Remillard wrote: > > Hi, > > > > It think would be difficult to use enscript. Codestriker needs to do its > > own html formatting for adding comments, handing diffs, etc. ViewCVS can > > just use the output file almost as is. Codestriker is heavily used with > > patches, so the enscript rules are not quite right for a patch file. > > However, it sure does have a lot language filters setup. I bet with a > > some work it would be possible to make CS read (or translate) the > > enscript .st files that has the formatting rules for 70 languages. Of > > coarse it makes the rendering code more complicated. > > > > > > It is a good idea, but lots of work to do it in Codestriker. > > > > Thanks > > Jason. > > > > > Date: Fri, 17 Dec 2004 17:08:08 -0500 > > > From: Aamer Akhter <aa...@gm...> > > > Reply-To: Aamer Akhter <aa...@gm...> > > > To: cod...@li... > > > Subject: [Codestriker-user] integration with enscript / other language > > > colorizing tool > > > > > > Hello, > > > 0 > > > Is there a way to add language colorization to codestriker (much like > > > viewcvs). > > > > > > eg: > > > enscript -Etcl --color --language=html connectlib.tcl -o /tmp/o.html > > > > > > will generate colorized html using the enscript provided tcl context > > > rules. a problem that comes up is that the html output will need to > > > parsed to insert the codestriker links for line comments. > > > > > > IMHO this would go a long way to make reviewing much quick/easier. > > > > > > > > > -- > > > Aamer Akhter / aa...@gm... > > > > __________________________________ > > Do you Yahoo!? > > Read only the mail you want - Yahoo! Mail SpamGuard. > > http://promotions.yahoo.com/new_mail > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Codestriker-user mailing list > > Cod...@li... > > https://lists.sourceforge.net/lists/listinfo/codestriker-user > > -- > Cheers, > David > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Codestriker-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codestriker-user > -- Aamer Akhter / aa...@gm... |