Hi I have ported clearsilver (well all the CS and HDF stuff, not the CGI stuff) to Windows, and am experiencing a problem. I do think that it is due to my...
On Feb 8, 2008 3:57 PM, georgeandhelenwilliams < ... Does this mean you have it compiling on the Windows SDK, or Visual Studio? If so, please share your...
Hi, It's awesome that ClearSilver comes with a fastcgi example, because I would have never figured out I had to wrap output functions, I thought fastcgi took...
... Yeah, the example was originally from some C++ code someone gave me, that one slipped through. I don't have a fastcgi setup, so I tried to edit it down,...
... Nope, this is a bug in the existing code. It looks like auto-escaping wasn't implemented for alt tags. I've filed a bug. ... Yeap, this is a known bug,...
Can't believe its taken me this long to get to this, but I've checked in your fix. Brandon ... -- "The rule is, jam to-morrow and jam yesterday, but never jam...
I think I'm going to add code to the next version to automatically generate vars for every HTTP_* cgi variable with CapWords, so that should cover this. Thanks...
I've added a bunch of these, though not some of the int casts and UNUSED macro. Brandon ... -- "I'll defend to the death your right to say that, but I never...
With default ./configure, clearsilver 0.10.5 won't build. Workaround is to --disable-ruby. # ./configure ... checking for ruby... found /usr/bin/ruby ... ...
Hi, I'm using the include function in the template syntax to include a common header for all of my pages. I would like the title to be dynamic, but I can't...
If you want to read POST variables with a fastcgi setup in clearsilver and using C you have to wrap read_cb: static int read_cb(void *ctx, char *buf, int...
Cool, thanks. Brandon ... -- "Also, of course, I'm not allowed to play favorites among my students, so y'know, if I plonked one, I'd have to do every man and...
... Yes, that should work. Are you sure you don't have some typo or something? Brandon -- "pretty code isn't always the right thing to do. people spend much ...
Hi, Yes everything was spelled correctly and it didn't work. I'm using HDF with evar: now, which sucks because I don't get the syntax hilighting of html...
You could try using the command line cgi_cstest or cstest programs to see if that works. If it does, then I guess it could be something with fcgi... Brandon ...
What you are attempting to do is an extremely common idiom. The fact that it does not work for you suggests that something is very wrong, and I recommend you...
Solaris works, but you need to use gmake. Its also possible that we have some gcc specific constructs, I'd be happy to take patches to make them work on...
I am working on a project with 2 UI frameworks: 1) a legacy one with perl + Template Toolkit 2) a second one in PHP, where we are adpoting ClearSilver. While...
um, I think you'd be better off writing something to convert the templates, rather then trying to extend clearsilver with a fairly differnet syntax. Brandon ...
Hi, I try to generate an array filled in a c cgi like this : char values[15][4]; int x; // populate values for (x = 0; x < 15; x++) { sprintf(values[x], "%d",...
Philippe Le Gal
philippe.legal@...
Mar 25, 2008 11:39 pm
1164
... Have you tried: <?cs for: v in Values ?><?cs var: v ?><?cs /loop ?>...
... [snip] ... The right syntax here is: <?cs loop:x=#0,#15 ?><?cs var:Values[x] ?><?cs /loop ?> or even: <?cs loop:x=15 ?><?cs var:Values[x] ?><?cs /loop ?> ...
Hi Brandon It works fine with the 'each' syntax. I'll try the loop syntax too just to understand it. Is there a bank of examples online with program in C and...
Philippe Le Gal
philippe.legal@...
Mar 26, 2008 7:55 am
1168
There are in-line examples in the documentation, but not much from C, its mostly from the HDF directly. Brandon ... -- "Patriotism is the virtue of the...
Brandon Long wrote: On 03/25/08 Eric Brunson uttered the following other thing: Philippe Le Gal wrote: Hi, I try to generate an array filled in a c cgi like...
Hi, the debian package checker lintian complained about some manpage format problems in the clearsilver package. Attached you find a patch that fixes these...