... In theory, sure. In practice, building shared libraries cross platform is difficult, so the way to do it is usually to switch to using libtools/etc. I'm...
Hi, I think there's a "cgi_destroy(&cgi);" missing at the end of "imd/ imd.c" in order to free the stuff initialized at the beginning by "cgi_init". It would...
Can #include cs_config.h be removed from the ClearSilver.h interface files please? If clearsilver is used together with another package which also uses...
Sovande Ulv
sovandeulv@...
Aug 20, 2006 6:24 pm
794
Except if we don't include it in ClearSilver.h, anyone who uses ClearSilver would have to include both... which would lead to the same problem. I don't know...
... These macros should be of no interest or consequence to clients of the clearsilver library, in fact it is dangerous to include them, to see why, read on....
Sovande Ulv
sovandeulv@...
Aug 23, 2006 8:24 am
796
... Except you'd expect that the standard autoconf defines would be the same across libraries on the same platform, otherwise weird things can happen anyways....
Starting in the base directory and having already run ./configure I attempted to simply run make and see what went wrong. Instead of it actually building the...
In a sort of break with tradition, autoconf for ClearSilver is set up to compile the rules.mk file, not the actual Makefile. This allows you to type make...
In templates, macros specifically, <?cs name:x ?> and <?cs var:name(x) ?> yield only the current node name (as in an each loop), but is there a way to get the...
There isn't anything currently exposed to CS that does that, no. Brandon ... -- "WARNING: The following program contains facts that will challenge the ...
a.b = 1 c = 2 This works: <?cs var:a['b'] ?> ==> 1 What about something like (reference c, which is at the top): <?cs var:['c'] ?> In other words, how to get a...
Not that I'm aware of. I don't know anyone using it for apache 1.3.x either, for that matter. Some people have had luck getting fcgi working, however, which...
Hi All, I've been googling around for 2 days now without getting to a solution. My question is how does on insert raw html into a clearsilver template. <?cs...
That should insert raw html. Are you sure you aren't escaping it before setting it in html_text? Brandon ... -- "Patriotism is the virtue of the vicious" --...
... Nope, I guess that's currently a hole. For the most part, I've almost always used two levels of names, and rarely used the mapping at less than the third...
... No relation, I believe. The HDF specified by NCSA is for data quite a bit more than just text, I believe. Unfortunate that there is an name overlap. I...
Hi, thanks for your answer. I have more questions :) Why did you choose CS/HDF over XML ? For ClearSilver, CS/HDF is definitely great because it is cleaner, ...
... CS was the template language, HDF was, well, HDF. At the time that CS/HDF was written (1998), XML was in its infancy. XML parsers were not fast, and...
Thanks, I've made the change to the code. Brandon ... -- "Benson, you are so free of the ravages of intelligence" -- Time Bandits http://www.fiction.net/blong/...
... It should be: if ((my_pcb->method == NULL) || (my_pcb->ctype == NULL)) { free(my_pcb->method); free(my_pcb->ctype); free(my_pcb); return...
Sovande Ulv
sovandeulv@...
Sep 9, 2006 7:42 pm
816
... No, the first one is correct. Its possible that only one of the allocations failed. ... In a no-memory situation, a pool would actually be harder, in that...