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?
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] cgi.c
Hi! If you want to debug a child process then you have to tell gdb to do so. See this website: http://www.delorie.com/gnu/docs/gdb/gdb_26.html Ruediger Am Mittwoch 12 Mai 2010 17:41:00 schrieb zacht...@cis-partners.com: I don't understand how the fossil web server is interacting with the child processes that it launches. I see the code in cgi.c that does the launching, but I don't see how the child processes actually know what it is they should be doing. if( select( listener+1, readfds, 0, 0, delay) ){ lenaddr = sizeof(inaddr); connection = accept(listener, (struct sockaddr*)inaddr, (socklen_t*) lenaddr); if( connection=0 ){ child = fork(); if( child!=0 ){ if( child0 ) nchildren++; close(connection); }else{ close(0); dup(connection); close(1); dup(connection); if( !g.fHttpTrace !g.fSqlTrace ){ close(2); dup(connection); } close(connection); return 0; } } } Furthermore, I am trying to debug some web functions that I have written using ddd, but that is monitoring only the server process. Does anyone have some advice on how I might debug my web functions? Thanks. ___ 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] Developing on Unix and Windows
Am Samstag 24 Oktober 2009 schrieb Dmitry Chestnykh: Hi, Instead of making Fossil call filters, why not create scripts that call Fossil? my_commit: #!/bin/sh run_filter fossil commit %@ my_checkout: #!/bin/sh fossil checkout %@ run_filter Yes, that also would be a solution. Ruediger ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users