From sscholl at common-lisp.net Sun Aug 7 17:41:19 2005 From: sscholl at common-lisp.net (Stefan Scholl) Date: Sun, 7 Aug 2005 19:41:19 +0200 Subject: [cl-emb-devel] New release CL-EMB 0.4.1 Message-ID: <20050807174119.GB26978@parsec.no-spoon.de> New release CL-EMB 0.4.1 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: - Removed some compiler notes when registering emb functions. - @include now uses supplied path relative to current template. From sscholl at common-lisp.net Fri Aug 12 22:47:05 2005 From: sscholl at common-lisp.net (Stefan Scholl) Date: Sat, 13 Aug 2005 00:47:05 +0200 Subject: [cl-emb-devel] New release CL-EMB 0.4.2 Message-ID: <20050812224705.GM26978@parsec.no-spoon.de> 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)