Hi Luis!
Thanks for the patch. I've released a new version incorporating your
changes and I could successfully use it with CLISP on Linux and Win32
(but /not/ on Cygwin). The pathname changes don't seem to break
anything for LispWorks, AllegroCL, or CMUCL.
ChangeLog:
Version 0.5.0
2005-09-26
Experimental CLISP/CFFI support (thanks to Luis Oliveira)
Don't redefine what's already there (for LispWorks)
Download:
<http://weitz.de/files/cl-gd.tar.gz>
Cheers,
Edi.
_______________________________________________
cl-gd-announce mailing list
cl-gd-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-gd-announce
On Thu, 22 Sep 2005 14:30:55 +0200, Edi Weitz <edi(a)agharta.de> wrote:
> The right way to do it would be to add a second optional argument
> for the charset to URL-DECODE and make the default value
> user-configurable on a per-request basis. Does that sound OK? I'll
> probably add something like this in the next days.
OK, I've done that now - version 0.8.0. Please try it out yourself.
I've added some examples to test/test.lisp.
There's code in there for LispWorks, AllegroCL and Unicode-SBCL but I
haven't tested with SBCL yet. Likewise, I only tested with the latest
Firefox and IE on Windows.
Note that the part about "user-configurable on a per-request basis" is
kind of hard becaue URL-DECODE is used when the REQUEST object is
created, i.e. before the user's dispatchers and handlers are called.
Thus the new function RECOMPUTE-REQUEST-PARAMETERS.
For some more info about HTML forms and character sets see this nice
article:
<http://ppewww.ph.gla.ac.uk/~flavell/charset/form-i18n.html>
ChangeLog:
Version 0.8.0
2005-09-24
Added the ability to cope with different external formats (incorporating suggestions from Will Glozer and Ivan Shvedunov)
Raw post data is now always saved (so *SAVE-RAW-POST-DATA-P* is gone)
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.
_______________________________________________
tbnl-announce site list
tbnl-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-announce
On Mon, 14 Feb 2005 08:56:40 -0500, Zach Beane <xach(a)xach.com> wrote:
> Would it make sense to be able to have a table of arbitrary keys and
> values in the request structure for application use?
Hi Zach!
It obviously took me a while to figure out that this was a good
idea... :)
Sorry for that. Here's the ChangeLog vor the new version:
Version 0.7.0
2005-09-17
Added the ability to store arbitrary data within REQUEST objects (suggested by Zach Beane)
Fixed handling of *HTTP-ERROR-HANDLER*
Note: *TBNL-VERSION* was wrong in 0.6.0 and 0.6.1
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.
_______________________________________________
tbnl-announce site list
tbnl-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-announce
On Mon, 05 Sep 2005 11:25:17 +0200, Alceste Scalas <alceste.scalas(a)gmx.net> wrote:
> It's fine for me (private email follows).
Sorry for the delay. I've just released a new version which
incorporates a 'contrib' directory with your entry that I have left
unchanged except for putting the code into the newly-created
TBNL-CONTRIB package.
Here's the ChangeLog:
Version 0.6.0
2005-09-08
Added TBNL-CONTRIB package
Added contrib directory with first entry (from Alceste Scalas)
Updated link to Bill Clementson's blog
Don't redefine what's already there (for LispWorks)
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.
_______________________________________________
tbnl-announce site list
tbnl-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-announce
New release CL-WIKI 0.0.4
CL-WIKI is a wiki engine for Common Lisp. It uses TBNL, CL-PPCRE,
CL-WHO and CL-EMB. Can be used stand-alone, with Apache + mod_lisp,
or behind any http proxy.
You can download it from
http://common-lisp.net/project/cl-wiki/
or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-wiki)
Changes:
- Locking for CL-EMB. CL-WIKI now needs CL-EMB >= 0.4.2
- config file
- added simple start script for CMUCL
- removed *WIKI-URL*
- URL en- and decode page names
- more wiki codes (links with other text and external links)
[[Page|Text]] ==> Generates a link to named page
and links Text.
[http://www.somepage.example/] ==> Inserts external link
External links get the class "external" + the url scheme.
rel="nofollow" is used.
[http://www.google.com/] -->
<a rel="nofollow" class="external http" href="http://www.google.com/">http://www.google.com/</a>
_______________________________________________
cl-wiki-announce mailing list
cl-wiki-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-wiki-announce
New release CL-WIKI 0.0.5
CL-WIKI is a wiki engine for Common Lisp. It uses TBNL, CL-PPCRE,
CL-WHO and CL-EMB. Can be used stand-alone, with Apache + mod_lisp,
or behind any http proxy.
You can download it from
http://common-lisp.net/project/cl-wiki/
or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-wiki)
Changes:
- Problem with utf-8 editing solved
_______________________________________________
cl-wiki-announce mailing list
cl-wiki-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-wiki-announce
New release CL-EMB 0.4.2
CL-EMB is a library to embed Common Lisp and special template
tags into normal text files. Can be used for dynamically
generated HTML pages.
You can download it from
http://common-lisp.net/project/cl-emb/
or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-emb)
Changes:
- Changed internal function to escape for XML (was very slow and is
now using code from Edi Weitz)
- optimized URL encoding
- locking mechanism for threaded/multiprocessing programs
(*LOCKING-FUNCTION*).
*LOCKING-FUNCTION* can be set to a locking function which must
accept a function as parameter. The locking function gets
called whenever CL-EMB accesses a global hash table.
IMPORTANT: The locking function must return the value of
the function it calls!
Example:
(defvar *emb-lock* (kmrcl::make-lock "emb-lock")
"Lock for CL-EMB.")
(defun emb-lock-function (func)
"Lock function for CL-EMB."
(kmrcl::with-lock-held (*emb-lock*)
(funcall func)))
(setf emb:*locking-function* 'emb-lock-function)
_______________________________________________
cl-emb-announce site list
cl-emb-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-emb-announce
First release CL-WIKI 0.0.3
CL-WIKI is a wiki engine for Common Lisp. It uses TBNL, CL-PPCRE,
and CL-EMB. Can be used stand-alone or with Apache + mod_lisp.
You can download it from
http://common-lisp.net/project/cl-wiki/
or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-wiki)
Changes:
- Changed ESCAPE-FOR-HTML
was very slow and is now using code from Edi Weitz (Thanks!)
- restored the feature to edit non existing pages automatically
(Now the quick start should work again as expected)
_______________________________________________
cl-wiki-announce mailing list
cl-wiki-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-wiki-announce
First release CL-WIKI 0.0.2
CL-WIKI is a wiki engine for Common Lisp. It uses TBNL, CL-PPCRE,
and CL-EMB. Can be used stand-alone or with Apache + mod_lisp.
You can download it from
http://common-lisp.net/project/cl-wiki/
or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-wiki)
Changes:
- CL-WHO is used for forms
- A page list on top and bottom of page. See special variable
*WIKI-PAGE-LIST*
Defaults to
'((:title "Home" :link "Home")
(:title "About" :link "About")
(:title "Contact" :link "Contact"))
The links can contain parameters and are simply appended to
*WIKI-URL*
- Some code cleanup (removed code duplication, etc.)
- Two new wiki codes (that makes a gigantic number of three
supported wiki codes now! :-)
'''foo''' ==> <strong>foo</strong>
''foo'' ==> <em>foo</em>
Which is bold and italic in most browsers.
================================================
IMPORTANT:
Please upgrade CL-WHO to at least 0.6.0
and CL-EMB to at least 0.4.1
================================================
_______________________________________________
cl-wiki-announce mailing list
cl-wiki-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-wiki-announce