gsp-0.6.3.tar.gz
- Integrated last rado's patch.
- new macro and makefiles to compile gsp with various win32 c++ compilers
- tests empty string using size method of STL's string class.
gsp-0.6.2.tar.gz
- Get gsp close to gnu coding standards : gsp now use autoconf, automake... Some work is still remaining and the dynamic language driver loadind feature is not yet ready. Use it only if you think you can help to complete.
- There still remains some work to achieve with autoconf, automake and libtool. The dynamic language driver loading mode is not yet complete. You can build the libs but installation must be customized. It installs the libs directly into your $PREFIX/lib directory. That is not suitable : this lib dir is not the default lib search path and this target is not really a good place where to store the drivers. Only use the --enable-dynamicld configure flag if you intend to test this yourself !
- Bug fix : outputHeader prototype was wrong in CppExtDriver, so it didn't overloaded LanguageDriver::outputHeader.
- Bug fix : missing #include <string.h> inside generated c++ code
- Sh driver updated : outputs are now handle by printf, since echo -ne is not available everywhere. It seems printf always interprets \ sequences correctly, i.e. as the c printf does. So be extremely careful when using % char outside code parts (mostly inside html parts), it must be escaped.
- Added language drivers :
- Prolog driver : just for fun, I'm not sure it can be really usefull. It has been designed with swi-prolog dialect. It use getenv/2 and string_concat/3 predicates in page selection code. Those predicates may not be available when using other prologs.
- Scheme driver : preliminary driver only. Page selection code does not run since It seems no standard function is provided to get envoronment variable (need to get PATH_INFO). Each scheme dialect has its own.
- Python driver : be careful with this language. There are not any block start/end keyword (begin/end or {/}). This is done by indentation. Generated code use a one tab indent inside a page function. So code in gsp source page MUST be indented with one tab char.
The print() method used to display a variable value always add a new line (i.e. it does a printf("%s\n",var)). It is not a problem with html or xml where new lines are ignored. It may be replaced by sys.stdout.write() but this handles only strings. I think I'll fix that in the same way I want to do it in c : <%=%d intVar%> will produce printf("%d",intVar) and sys.stdout.write("%d" % intVar) here.
- Tcl driver : nothing particular with this one
 |
gsp-linux-src-0.05.tar.gz
- added command line switches :
- -e <gsp file> : a page to display when requested
page is unknown
- -p : do not generate page selection code. Just one
function/procedure per input gsp file (-m should have no
effect in this case)
- French translation using gettext lib (Antoine Viel)
- Added rado's extended C++ driver support for
GSPObjects.
- Improve C++ driver, use strncmp in replacement of strcmp
inside generated code
gsp-linux-src-0.04.tar.gz
- Added language driver : Java-Script, this language may
be used server side with tools like NGS. Thanks to Antoine Viel
for writing it.
- Bug-Fix :
- bad string ending in parser made it crash when EOF
follows directly the last %> close tag.
- two code section in a same line from a gsp file
produced only one code line. This was a problem if the
first is a line comment ( // in c++ or # in shell).
Force new line after each code section.
This fix is not very clean : it produces useless empty
lines in generated code.
- CDriver improvement / C code generation :
- use strncmp in replacement of strcmp.
- outputs use a "%s" string to prevent problems due to
the possible use of % char outside code sections.
gsp-linux-src-0.03.tar.gz
- Added optional dynamic language driver loading :
Language Drivers can be handled as plug-ins. Edit Makefile to
enable/disable it.
- Bug-fix :0O miss-typo in CDriver and CppDriver (thanks to
rado).
gsp-linux-src-0.02.tar.gz
- languages added : C (needs improvements), Korn Shell
(just Unix shell driver specialization), Perl.
Note : displaying var with short tag <%=varName%> in C is
limited to string vars (char *). Full ANSI c needs some code to
be enclosed in blocks {} because var declaration must appear
before any code in a block (see ex1/src/c.gsp provided in
examples)
- multi-pages parser : many gsp pages, one cgi program.
the cgi PATH_INFO env var is used to select the page to
display.
gsp-linux-src-0.01.tgz
- Single page parser : one gsp page, one cgi program.
- Two languages supported : C++, Unix shell.
|
last update 01/18/2004 - 17:27 |