Hi I am getting a coredump when I try to install image_server (a python program using clearsilver for templating from apache). The problem occurs in the mysql...
101
Brandon Long
blong42
Jul 23, 2003 5:59 pm
Ok, if this backtrace is accurate (and not corrupted or confused), then what it looks like is happening is that the hash table built into ClearSilver is...
102
David Jeske
jeskeca
Jul 27, 2003 4:38 pm
One of the big changes in the last release was to try and eliminate the need for modifier symbols like "#" by making clearsilver "do the right thing" in most...
103
David Jeske
jeskeca
Jul 27, 2003 5:09 pm
... The diff below is one way to fix this problem. It just does the simple thing and makes >,<,>=,<= always force numeric evaluation. I'm not sure why CS code...
104
Dan Janowski
djjanowski
Aug 8, 2003 7:17 pm
I have an update for Ruby that behaves better when there are cs parse errors and some other small things. How would you like to update? Do you want it as a...
105
Dan Janowski
djjanowski
Aug 8, 2003 7:28 pm
<?cs each:e = entry ?> I know that <?cs name:e ?> will yield the iterative name. How can the same be done in an if? <?cs if:e.name == "xxyy" ?>.... .name is...
106
Brandon Long
blong42
Aug 8, 2003 7:57 pm
... Yeah, a patch would be the best way at this point. Brandon -- "I don't get stopped by the police because they all assume that I'm already under...
107
Brandon Long
blong42
Aug 8, 2003 7:58 pm
... THere should be a name(e) function available in 0.9. Also, your ruby changes should be against 0.9.1 (since I modified the ruby stuff in 0.9 to make it...
108
basshombre80
Aug 9, 2003 4:59 pm
Maybe I'm just missing something, but I downloaded ClearSilver 0.9.1 and I cannot find installation docs anywhere. I could probably get it working after...
109
Brandon Long
blong42
Aug 9, 2003 5:17 pm
There aren't any installation docs, per se. Its mostly a developers library at this point. Simplest case: ./configure make make install The make install is...
110
Dan Janowski
djjanowski
Aug 10, 2003 3:12 pm
Brandon, Me thinks you just wrote an install doc. Stick that in CVS as a good start. I learned something. Dan ... -- Dan Janowski danj@......
111
David Jeske
jeskeca
Aug 11, 2003 6:38 am
Yes, we need to putt that all into an INSTALL file. We also need to include a few more examples. I also wrote this description of the components. It's not an...
112
Mark Fletcher
snoovler
Aug 26, 2003 4:45 am
I want to write an XML-RPC cgi using Clearsilver, but it appears that I can't do it using the stock Clearsilver code. With XML-RPC, basically an XML document...
113
Brandon Long
blong42
Aug 26, 2003 6:54 am
Yeah, I've thought about supporting xml-rpc. There are a couple ways to deal with this cleanly: 1) Any non-supported POST content-type could just be placed...
114
David Jeske
jeskeca
Aug 26, 2003 7:05 am
... Hmm.. if I'm understanding you right, the problem is that the XML-RPC stuff does not provide a "form variable name" for the post data. This means that...
115
David Jeske
jeskeca
Aug 26, 2003 7:14 am
... How about handling this other data just like post variables, but to a different place in the namespace? I think all of these uploads should be handled...
116
Brandon Long
blong42
Aug 26, 2003 7:23 am
... Actually, the problem is that clearsilver only deals with POST data in two content-types, application/x-www-form-urlencoded and multipart/form-data....
117
Brandon Long
blong42
Aug 26, 2003 7:43 am
... And then anything that uses the data has to be able to deal with both? That seems like a poor API. With multipart/form-data, its easy, files are labeled...
118
David Jeske
jeskeca
Aug 26, 2003 7:54 am
... I was thinking that both APIs would be made to work. Keeping things in memory is just an optimization for smaller payloads like RPC which would have too...
119
Mark Fletcher
snoovler
Aug 26, 2003 4:54 pm
You guys go to bed later than I do. ;-) ... For my purposes, everything needs to be kept in memory. Writing to disk would kill it. The only advantage to using...
120
steve jenson
stevej_pobox
Aug 26, 2003 5:08 pm
... They should be using application/xml. Even though the XML-RPC spec says that you should use text/xml, that's a mistake; Anything sent text/* might be...
121
David Jeske
jeskeca
Sep 12, 2003 9:52 pm
I'm working on an html page where I want to do the equivilant of: <?cs var:js_escape(evar(pagecontent)) ?> The current constructs don't seem to provide me a...
122
Brandon Long
blong42
Sep 12, 2003 10:15 pm
My gut says hell no. At the very least, making that work like evar would be very hard, since evar occurs at parse time, that would force evaluation of the...
123
kevinsl
Sep 13, 2003 12:24 am
Hi, in my HDF dataset I have something like: people.0.name people.1.name people.2.name How can I create people.3.name from within a clearsilver template? I'm...
124
Brandon Long
blong42
Sep 13, 2003 6:47 am
... You want to use this instead: <?cs set:people[x].name = "something" Brandon -- "When the going gets rough, the average get conservative." -- Henry Rollins ...
125
basshombre80
Sep 15, 2003 6:41 pm
I thought that static.cgi loaded common.hdf and foo.cs.hdf or foo.hdf. I have some Site.Sections.# data in common.hdf and a header.cs that is include'd in each...
126
kevinsl
Sep 15, 2003 6:47 pm
I have a form with fields such as: <input type="text" name="people.0.name"> <input type="text" name="people.1.name"> When I submit the form with empty values,...
127
basshombre80
Sep 15, 2003 7:00 pm
When setting certain vars in my HDF file to long values (lots of text/html/etc.), it would be nice if I could use multiple lines to make editing easier. Is...
128
Brandon Long
blong42
Sep 15, 2003 7:25 pm
Dave really likes it when empty form values aren't in the HDF, so there is a flag to ClearSilver to turn that on or off. The default is off, but CSPage.py...
129
Brandon Long
blong42
Sep 15, 2003 7:28 pm
The support for common.hdf was added to static.cgi in v0.8.1 So, it should work for any version after that. You can try and see what's going on by running...