Are spaces allowed in HDF key names? Scott -- import neo_cgi, neo_util h = neo_util.HDF() h.setValue("a b", "1") s = h.writeString() h2 = neo_util.HDF() ...
1349
Nikolai Kondrashov
nikolai.kond...
Dec 4, 2009 8:05 pm
... What you set in C is almost never checked. However, there are pretty strict rules when reading HDF from files (see _hdf_read_string: isalnum(*s) || *s ==...
1350
oglausa
Dec 27, 2009 3:16 am
Hi Brandon, I updated my system to Ubuntu 9.10 64bit and tried to compile clearsilver from svn. I think after ./configure a "libs" file is created under the...
1351
komaii@...
komaii...
Dec 28, 2009 4:35 pm
Hi, i compile clearsilver with ruby-1.9.1-p376 like: ./configure --with-apache=/usr/local/apache2 --with-python=/usr/bin/python --with-ruby=/usr/bin/ruby...
1352
David Jeske
jeskeca
Jan 12, 2010 6:58 pm
I know this question is super old, but I didn't see it answered. Yes, HDF keys can contain spaces, but obviously this creates problems for using typical...
1353
Scott Hassan
scotthassan
Jan 12, 2010 7:06 pm
... using ... is ... Shouldn't writeString() quote the keys such that readString can read the HDF properly? Scott...
1354
Brandon Long
blong42
Jan 12, 2010 10:23 pm
... So... As David points out, there is no validation on HDF keys when calling the C API to add them to a dataset. So, the only character that's meaningful in...
1355
Nikolai Kondrashov
nikolai.kond...
Jan 12, 2010 11:02 pm
... The validation could be added for debug build only, which will be useful for most cases. Although, ClearSilver doesn't have a debug build, AFAIK. ... Last...
1356
Scott Hassan
scotthassan
Jan 20, 2010 11:38 pm
Do clearsilver39;s templates understand 64-bit numbers? I want to do the following: <?cs set:duration=17179869184 ?> <?cs var:duration/1048576?> This outputs...
1357
Brandon Long
blong42
Jan 21, 2010 1:08 am
CS currently uses a "long int" for numbers, which is 32 bits on 32 bit builds... and a 64 bit number on most 64 bit builds. Brandon ... -- "Kill a man, and you...
1358
Scott Hassan
scotthassan
Jan 21, 2010 8:25 am
... Does it make sense to have this behaviour when running on a different platform? Scott...
1359
sunsetbrew
Feb 8, 2010 6:04 pm
I cross compiled this for ARM and the cs program appeared to hang on startup. After debugging, it was determined to be this line#50 in cs.c because EOF is -1...
1360
sunsetbrew
Feb 9, 2010 5:20 am
Having built this system on OSX, x86 Linux and ARM Linux (cross compiled), there are a couple minor issues. First, rules.mk.in has gcc hard coded for creating...
1361
David Jeske
jeskeca
Feb 9, 2010 6:08 pm
I'm curious.. what are you trying to do in clearsilver that has you wondering about 64 bit number support?...
1362
Scott Hassan
scotthassan
Feb 9, 2010 6:13 pm
... I am displaying some file lengths (in bytes) that are greater than 2G. I was writing a simple macro to convert the lengths into a more human readable ...
1363
sydius
Feb 26, 2010 2:44 am
If localtime_r doesn't exist, my_tm is left uninitialized, and thus tbuf is useless. Index: util/neo_misc.c ... +++ util/neo_misc.c (working copy) @@ -32,14...
1364
kaevee1
Mar 6, 2010 1:35 am
Hello, I am going to start development of web application for an embedded system. I think ClearSilver is an excellent choice. I would like to know Whether...
1365
Brandon Long
blong42
Mar 6, 2010 7:39 am
That's kind of an open ended question. Yes, you can write an AJAX app in clearsilver, but clearsilver doesn't really have much to assist you in this. There's...
1366
oglausa
Mar 6, 2010 9:30 am
You can easily create Ajax applications with Clearsilver. Smart way is to use JSON for messaging format and you can use Json-C or Yajl with your project....
1367
bxxx
vincebouix
Mar 29, 2010 5:24 pm
Hello, I use clearsilver with fastcgi/lighttpd. I have problem in this file : hello.html : <h1><?cs var:_("hello world !") ?></h1> After Refresh my page, error...
1368
caox
caox@...
Apr 19, 2010 7:52 am
I am a new user of clearsilver and I am trying some features of it. when testing the build-in escape functions such as url_escape and html_escape, some error...
1369
Brandon Long
blong42
Apr 19, 2010 7:59 am
That means you haven't included the escape functions in your program. In C, calling cgi_register_strfuncs will add them all. I think the Java and Python ...
hi, I found a tiny bug when I use rand_name() in util/test/hdftest.c, This function may produce name with ' include. so, in other hdf function, the name is...
1371
caox
caox@...
Apr 19, 2010 3:50 pm
got it. thanks a lot. I guess it may be more helpful of the document if this could be included. ÔÚ 2010-4-19£¬ÏÂÎç3:59£¬ Brandon Long дµÀ£º ...
Sure, any suggestions on where it should be mentioned? Brandon 2010/4/19 caox <caox@...> ... Sure, any suggestions on where it should be mentioned?...
1374
caox
caox@...
Apr 20, 2010 1:08 am
add the description of cgi_register_strfuncs to references of c api. Besides, some code examples would be helpful for new guys like me when reading the ...
hdftest is ok, I used the rand_name() in another test: produce an 10 child random hdf, write it into a string, and then use hdf_read_string() to reproduce the...
1376
Brandon Long
blong42
Apr 20, 2010 3:42 am
If you'd like to send me a diff with the new test and fix, I'd be happy to include it. Or, just the test, and I can see about creating a fix. Brandon ... If...
1377
Brandon Long
blong42
Apr 20, 2010 5:06 am
Added documentation to the cgi.h and updated the API docs to the latest version. Brandon 2010/4/19 caox <caox@...> ... Added documentation to the...