Re: [fossil-users] Hello. Anyone for source highlighting?
I'm interested in this idea. And I thought to try develop new default skin for fossil in fancy web 2.0 style and with syntax highlighting, however I was considering http://alexgorbatchev.com/SyntaxHighlighter/ If you're interested, we can discuss our next steps. -- @macacq On Thu, Dec 16, 2010 at 4:37 PM, pablo veliz pve...@viva.com.do wrote: Since we are using a browser to see the code, why not use a client side library for syntax-highlighting like http://codemirror.net/ ? That way works in any platform, and can be extended for different languages. -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Martin Sandiford Sent: Monday, December 13, 2010 7:11 PM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Hello. Anyone for source highlighting? I'm in favor. Not really sure what I need to do to help this to happen? Code review anyone? Martin On 07/12/2010, at 8:40 PM, Gour wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Changes are on the experimental branch. It's been tested Martin reasonably well on MacOSX and Linux. I've implemented a Win32 Martin version as well, but this has really only had basic testing. Is there any chance that it ends applied to the upstream? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
Hi, I did mentioned it here a few days back, the source highlighting can work with *no* changes to Fossil. I have it working for me on chiselapp.com. What will be great is if the html output can be configured to have more classes/div/id to be used in CSS. I'm not sure if it's ok to send a small screenshot here, but I'll try anyway. Here's how I see diif: Cheers, Volodya ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
+1 -Original Message- From: pablo veliz pve...@viva.com.do To: fossil-users@lists.fossil-scm.org fossil-users@lists.fossil-scm.org Sent: Thu, Dec 16, 2010 8:07 pm Subject: Re: [fossil-users] Hello. Anyone for source highlighting? Since we are using a browser to see the code, why not use a client side library for syntax-highlighting like http://codemirror.net/ ?That way works in any platform, and can be extended for different languages.-Original Message-From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Martin SandifordSent: Monday, December 13, 2010 7:11 PMTo: fossil-us...@lists.fossil-scm.orgsubject: Re: [fossil-users] Hello. Anyone for source highlighting?I'm in favor. Not really sure what I need to do to help this to happen?Code review anyone?MartinOn 07/12/2010, at 8:40 PM, Gour wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Changes are on the experimental branch. It's been tested Martin reasonably well on MacOSX and Linux. I've implemented a Win32 Martin version as well, but this has really only had basic testing. Is there any chance that it ends applied to the upstream? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users___fossil-users mailing listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi -bin/mailman/listinfo/fossil-users___ fossil-users mailing listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi -bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
This is interesting. Where can I get consolidated recipe? - Altu -Original Message- From: Volodya Savastiouk, MSC volo...@io3.ca To: fossil-users@lists.fossil-scm.org Sent: Fri, Dec 17, 2010 12:13 am Subject: Re: [fossil-users] Hello. Anyone for source highlighting? Hi, I did mentioned it here a few days back, the source highlighting canwork with *no* changes to Fossil. I have it working for me on chiselapp.com. What will be great is if the html output can be configured to have more classes/div/id to be used in CSS. I'm not sure if it's ok to send a small screenshot here, but I'll try anyway. Here's how I see diif: Cheers, Volodya ___fossil-users mailing listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi -bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
Am Donnerstag 16 Dezember 2010, 15:37:00 schrieb pablo veliz: Since we are using a browser to see the code, why not use a client side library for syntax-highlighting like http://codemirror.net/ ? That way works in any platform, and can be extended for different languages. -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Martin Sandiford Sent: Monday, December 13, 2010 7:11 PM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Hello. Anyone for source highlighting? I'm in favor. Not really sure what I need to do to help this to happen? Code review anyone? Martin This is already documented on the fossil wiki. See the Cookbook page. Rüdiger ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
On Tue, Dec 14, 2010 at 09:40:55AM +1030, Martin Sandiford wrote: I'm in favor. Not really sure what I need to do to help this to happen? Code review anyone? I would really like something comfortable about that. But I don't have any idea of how I would like it to be. And more sad, I can imagine implementations I would not favour. I find the direct comments committed on the source files of the branch hard to beat. On 07/12/2010, at 8:40 PM, Gour wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Changes are on the experimental branch. It's been tested Martin reasonably well on MacOSX and Linux. I've implemented a Win32 Martin version as well, but this has really only had basic testing. Is there any chance that it ends applied to the upstream? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Changes are on the experimental branch. It's been tested Martin reasonably well on MacOSX and Linux. I've implemented a Win32 Martin version as well, but this has really only had basic testing. Is there any chance that it ends applied to the upstream? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
This would be totally awesome. Like the generic just call a script event notification system, I think it's a great idea, because it makes Fossil significantly more flexible without making it bloat up. thanks, lvh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
As another option on this there's a pretty good JavaScript-based code colorizer out there. The colorizer could be built-in for common languages and could be pointed at the repository itself for including project-specific language configurations with ease. This would trump calling external scripts that aren't guaranteed to work cross-platform. On 8 November 2010 20:51, Gour g...@atmarama.net wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Look forward to some feedback, and thanks again for the great Martin tool. Very nice. Thank you! I've just checked GNU library and see there is even support for D sources. :-) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot. --Sergey Brin, demonstrating the emptiness of the don't be evil mantra. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin To that end, I've implemented this in fossil by piping output Martin to an external command, set using fossil settings, and Martin inserting the output from that in the page output. Can you provide some more details here...I've fetched and built fossil from your experimental branch, set 'hilite-command' which now shows (global) /usr/bin/source-highlight', but it seems I'm still missing something else? -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
Hello, have a look at the fossil wiki page: Cookbook. There it is described in detail how to work with a javascript/flash based for source code highlighting. Rüdiger Am Montag 08 November 2010, 15:15:20 schrieb Michael Richter: As another option on this there's a pretty good JavaScript-based code colorizer out there. The colorizer could be built-in for common languages and could be pointed at the repository itself for including project-specific language configurations with ease. This would trump calling external scripts that aren't guaranteed to work cross-platform. On 8 November 2010 20:51, Gour g...@atmarama.net wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin Look forward to some feedback, and thanks again for the great Martin tool. Very nice. Thank you! I've just checked GNU library and see there is even support for D sources. :-) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
Hi Gour, You need a script to drive whichever highlighter you choose. If you are using GNU source-highliter, there is an example in tools/fossil- hilite.sh Martin On 09/11/2010, at 1:52 AM, Gour wrote: On Mon, 8 Nov 2010 21:51:19 +1030 Martin == Martin Sandiford wrote: Martin To that end, I've implemented this in fossil by piping output Martin to an external command, set using fossil settings, and Martin inserting the output from that in the page output. Can you provide some more details here...I've fetched and built fossil from your experimental branch, set 'hilite-command' which now shows (global) /usr/bin/source-highlight', but it seems I'm still missing something else? -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Hello. Anyone for source highlighting?
On Tue, 9 Nov 2010 06:36:39 +1030 Martin == Martin Sandiford wrote: Hello Martin, Martin You need a script to drive whichever highlighter you choose. Martin If you are using GNU source-highliter, there is an example in Martin tools/fossil- hilite.sh I've never worked with GNU source-highlighter, but found a script, modified paths a bit and set it as highlight-command, but still no luck. Anything else? -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users