So I'm looking for a way to set arbitrary HTTP headers from a clearsilver CGI. From looking at cgi.c it seems like I can set variables in the cgiout.other...
Nope, there isn't currently an api, setting the variables is the way it works. Brandon ... -- "Quantum Mechanics: The dreams stuff is made of" -- Steven Wright...
On Wed, 15 Sep 2004 11:03:10 -0700 Haiping Zhao <haiping@...> wrote: Today I started another try to get your C++ wrapper running. I have added the...
Gerald Dachs
gda@...
Jun 12, 2005 1:04 pm
484
Sorry I should have sent the ones that can compile rather than proof of concept ;-) Try the attached. I removed all Plaxo stuff. You should compile now. Now I...
On Sun, 12 Jun 2005 11:11:34 -0700 ... Thanks, compiles fine now. Too tired to test it today. Gerald...
Gerald Dachs
gda@...
Jun 12, 2005 8:54 pm
486
I am really intserested in using Clearsilver (vs PHP) and python. I am wondering if there are more real world examples somewhere. Is there someone that can...
I am looking to call one of a variety of formatting macros based on a value specified in the HDF. I tried composing the macro call into a variable to call lvar...
... This is much appreciated. At the Trac project, we've started pointing windows users to your site. Is there any chance these builds could be made available...
Yeah, macro's don't work that way. Why would it do if you called a macro which didn't exist? Brandon ... -- "Some people have one-track gutters." -- Harlan...
Ok, I've copied those two to the download page on clearsilver.net and pointed at clearsilver.yi.org. Brandon ... -- Chaos reigns within. Reflect, repent, and...
So a while back I asked about the proper way to set up arbitrary HTTP headers to be returned from a clearsilver CGI, and was told that the solution I was using...
Not knowing about your C++ iterface, I recently wrote one myself. It wraps up both the CGI and HDF interfaces in a moderately complete way. It draws on the...
brook@...
Jun 17, 2005 7:25 pm
493
... I'd be interested in taking a look at your code, if it's publicly available. -garrett...
It seems that macros are expanded at parse time, making them unavailable for lvar use. Additionally, lvar and linclude cannot use local each variables from the...
I had a similar situation, and I worked around the problem by doing lvar. Inside a lvar variable, you can't really "each" a variable from caller. However, the...
On Fri, 17 Jun 2005 13:17:03 -0600 ... It is not my interface, Haiping made it. Btw. Haiping under what license do you publish it? ... Maybe you will allow me...
Gerald Dachs
gda@...
Jun 18, 2005 9:30 am
497
Feel free to do anything with it. Thanks for asking. -Haiping ... From: Gerald Dachs [mailto:gda@...] Sent: Saturday, June 18, 2005 2:30 AM To:...
... I'm not sure how I like exposing the C level API in the C++ headers. Even with the separate namespace it feels kind of wrong, especially since you could...
... Feel free to review it at: ftp://biology.nmsu.edu/pub/libclearsilver.tar.gz I am sure that the interface design could stand some improvement, though I...
brook@...
Jun 21, 2005 1:14 am
500
... Looks nice so far, but CGI.cc doesn't build, because cgi_cookie_set has now the additional argument "secure". Makefile seems not to be very useful on a non...
Gerald Dachs
gda@...
Jun 21, 2005 8:06 am
501
Garrett and Gerald, Thanks for your comments. ... I was having trouble earlier figuring out how to do this in the presence of namespaces. Anyway, I figured it...
brook@...
Jun 21, 2005 10:49 pm
502
... We are doing some work on this, but its more likely that we'll fix function arguments to be const correct, but returning values probably won't be fixed....
... Can't reach them currently, error 104. Anyway, have started to make this autoconf, automake things for generating a Makefile that creates a shared library...
Gerald Dachs
gda@...
Jun 22, 2005 7:21 am
504
Brandon, ... The problem I am seeing is clearly only in the function arguments to the C API. That is completely under your control, as your functions either...
brook@...
Jun 23, 2005 12:35 am
505
As a result of the recent discussion about my C++ interface, I have now made a few improvements and released the first version of ClearSilver++, a C++...
brook@...
Jun 30, 2005 4:52 pm
506
... One thing that occurs to me. It looks like there are some single argument constructors that are not marked explicit. It doesn't seem like one should...
1. There seems to be a problem if you have HDF::operator[] returns a type that is not HDF. Basically, you either have to duplicate whatever functions you have...
... This isn't actually all that uncommon a technique. See the const_iterator and insterator classes from many STL containers for example. Generally the...
For iterators that might be okay, as people "rarely" write utility functions that take an iterator. Well, "rarely" is relative to how often people write...
Garrett and Haiping, Thanks for your quick comments. I have added them to my TODO list and will address them in the next release. Unfortunately, I am leaving...