... So, clearsilver 0.10.5 doesn't auto-detect python 2.6. I should really fix the detection code so it doesn't need a list of major versions. It does work if...
Yeap, you're right, your fixes will be in the next release. Brandon ... -- "You know your god is man-made when he hates all the same people you do." -- M....
Hi I want to know where is save an uploaded file? i can upload a file, i can read in the uploaded file but when i go in /var/tmp i cant find my file. I try to...
By default, the clearsilver upload code automatically unlinks the file as soon as its created. On Unix, this has the effect that the file "exists" as long as...
Hello, can you tell me 1) howto check if hdf exists, but it's empty (in perl template) 2) howto check if hdf does not exist (in perl template) <?cs if:...
In C, you'd call hdf_get_obj, and a NULL return would indicate it didn't exist. You can then call hdf_obj_value to check the value. I'm not a perl expert, but...
Hi guys, Before calling render(), do we always have to parseFile()? I'm experimenting with FastCGI, and I thought I could store the parsed templates (one call)...
... Yes, you definitely can. That said, there's a couple gotcha's you need to watch out for. Basically, anything that uses an HDF during parse needs to have...
hello, in my hdf file I have the followings value: eqpt.revt.ETORS001.value=1 eqpt.revt.ETORS002.value=0 eqpt.revt.ETORS003.value=1 eqpt.revt.ETORS004.value=1 ...
... Well, obviously, you could do the trick with string.slice(), but it will be ugly. It would be great if ClearSilver had a full-fledged sprintf, but there is...
One of the regression tests fails on Snow Leopard, test_crc.cs. Specifically, the last line outputs '2166050276' when '-2128917020' is expected. Artifact of a...
Hi, Â Is there a way of sharing some information between all the pages the visitor is using on my site for the duration of his visit? For example, if users...
... There are several ways to do this. If the data is small, one of the simplest methods is to use a small temporary cookie. ... Here is how I would do this: ...
Yes, this is a known 64 bit issue that's fixed in the next version. Brandon ... -- "When life hands you lemons, ask for a bottle of Tequila and salt!" ...
Hi everybody, Brandon, I was dissatisfied with the value existence check operator ('?'), since most of the time I need *node* existence check, instead. So I...
Hello everybody, Brandon Once again, I have noticed a somewhat incorrect processing of multi-value query parameters. Only this time I decided to fix and report...
Ah, in this case, since there was no other node, I can see this. I don't know what do do if you have: node.child1 = a node.child2 = b node.child3 = c node = d...
... Sure, the patch didn't mean to change that. The purpose was to remove an obscure corner-case, to make it more straight-forward and usable. Since HDF...
... Sure, though the post may contain a query value which isn't a safe hdf name... slightly more likely than a varname which isn't valid, but I guess you can...
I've been modifying a trac module, and it uses the ClearSilver template language. I need to get a list of strings to the template to load into a select...
... I know nothing of the internals to trac, but what you should be looking for is how the HDF dataset for clearsilver gets populated, since that's what you...
I would do that, but the problem is that the cs template doesn't have any hdf dataset. I am looking for a way to wire up the template to a dataset, and so far...
There is no way for the template to read the file. Code has to generate the HDF before its handed to the CS to render. Somewhere in the trac source code, there...
Hello, ClearSilver doesn't seem to be compatible with HTTP 1.1 persistent connections because it don't add Content-Length in the HTTP header of the response....
... I hadn't planned on it, no. It probably wouldn't be that hard. ... Yes, its was a mistake to make wrapper global. Changing it is somewhat troublesome, as...
Not sure when this started happening, but at least with Dojo these days, forms are POSTed with a Content-Type that include a charset declaration, ie: ...
Le Tue, 3 Nov 2009 16:18:03 -0800, ... Hi Mark, I have submitted some patches 11 months ago to OpenWrt: https://dev.openwrt.org/ticket/4265 and then found out...
I finally finished piecing together the multiple repositories, removing some internal only things, and importing the whole shebang into a public svn...