Hi, I have an hdf tree and I want to traverse it and only show every two first childs of every node (and not more childs). how can I do this? (in a template) ...
There's no way to "break" out of an each/loop in ClearSilver. You can loop through everything and only choose to show the first two (maintaining a counter),...
... If the children are numbered, i.e. menu.recentmsgs.0.subject = "What's up" menu.recentmsgs.0.body = "Hey man, what's going on" menu.recentmsgs.1.subject =...
Hello, all Today I have finished several hours long hunting of a very unpleasant bug which appeared only on the target platform, which had practically no ...
Sorry for the late response, I was hoping to get to this much sooner. This looks fine with me, it'll be in 0.10.5 which I hope to get out this week... Brandon ...
Cool, yeah. I've made the change, and added it to the various other printf style functions, and caught a couple other minor things. It'll be in the next...
I'll try to get bugfix releases out more often. Thanks to everyone both inside of Google and out who contributed to this release. As always, available from...
Hi people, Just tried to compile the 0.10.5 package on an Athlon-XP under Fedora 7 (glibc 2.6.3, kernel 2.6.21-1.3228); all went fine until the C# tests: ...
... /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/ClearSilver/ClearSilver.so ... I thought about this a bit more and realised that this wasn't...
... Yes, actually. I've worked it out - quite simple really. For some reason an old and/or outdated version of the ClearSilver.so library was being put in...
Line 164 of 'cgi/html.c', there is: parts = (struct _parts *) realloc (parts, sizeof(struct _parts) * part_count); Couldn't this be a potential memory leak in...
Yes, that would be a memory leak if the realloc fails. Its also not the only case of this in the code. If people think its worth fixing, ok. Brandon ... -- ...
Anything that returns a NEOERR is allocating memory on error. You must check the return value and call one of the methods to free the data, usually one of: ...
Makes sense. Brandon ... -- "Being intelligent is not a felony. But most societies evaluate it as being at least a misdemeanor." -- Robert A. Heinlein ...
Hello, I'm having trouble compiling clearsilver on i386 FreeBSD. What can I do to fix the pthread errors I'm seeing? Also, is this line of the ./configure...
Is this the latest version? Much older versions used to use a FreeList for NEOERR's instead of always allocating new ones... but that still seems odd. Hmm,...
... Yes, I'm using the latest version (0.10.5). At the beginning of neo_err.c, there is this line: static int UseFreeList = 0; So I guess the FreeList is not...
... I've found more information. I'm using the following wrappers for FastCGI: /* FCGI_fread wrapper for ClearSilver CGI */ int read_cb(void *ptr, char *data,...
Hello, All. It looks like I've stumbled upon one more links-related _set_value bug. When using hdf_set_symlink(hdf, NULL, target) to make node itself a link,...
Hello, all! I'm not sure whether it is a bug or just design inconsistency, but hdf_dump_cb (used, for example, by hdf_write_file) ignores nodes without both...
Hello, I have a project website using Trac that I am working on, which uses Python and Clearsilver. In my Python code I have a string that contains the HTML...
... ClearSilver was made almost specifically for avoiding this exact technique. This technique greatly reduces maintainability of your code. However you ...
... So, something is escaping the variable. It could be that you're set up to use the default escaping mechanism in more recent clearsilver releases, in which...
Thanks. Probably just didn't think about nodes without values or sub-nodes as that important, but seems no reason not to include them. I'll put this in the...