From luca at pca.it Sun Jul 1 15:57:06 2007 From: luca at pca.it (Luca Capello) Date: Sun, 01 Jul 2007 17:57:06 +0200 Subject: [Bese-devel] Problems with 5am:def-suite Message-ID: <87fy4886ct.fsf@gismo.pca.it> Hello! The latest patches for fiveam resolved the compilation error reported at [1] (BTW, without applying the patch at [2]), but then 5am:def-suite seems not to work as expected, at least with arnesi. On a Debian sid, SBCL-1.0.6.0 I obtain: --8<---------------cut here---------------start------------->8--- ; /var/cache/common-lisp-controller/1000/sbcl/local/home/luca/Hacking/debdarcs/arnesi-upstream/t/suite.fasl written ; compilation finished in 0:00:00 ; compiling file "/home/luca/Hacking/debdarcs/arnesi-upstream/t/accumulation.lisp" (written 18 JUN 2007 04:56:15 PM): ; compiling (IN-PACKAGE :IT.BESE.ARNESI.TEST) ; compiling (DEF-SUITE :IT.BESE.ARNESI.ACCUMULATION ...) ; compiling (IN-SUITE :IT.BESE.ARNESI.ACCUMULATION) debugger invoked on a SIMPLE-ERROR in thread #: Unkown suite IT.BESE.ARNESI.ACCUMULATION. Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Create a new suite named IT.BESE.ARNESI.ACCUMULATION. 1: [RETRY ] Retry performing # on #. 2: [ACCEPT ] Continue, treating # on # as having been successful. 3: [ABORT ] Exit debugger, returning to top level. (NIL) 0] --8<---------------cut here---------------end--------------->8--- Continuing (choice 0) gives similar errors for all the other suites and then compilation finishes without any other errors. The same happens on CLisp-2.41. The solution was to simply add an (eval-when (:compile-toplevel :load-toplevel :execute) ...) before any (def-suite ...) in every arnesi/t/*.lisp but read-macros.lisp and suite.lisp (darcs patch attached, tested on both SBCL and CLisp). Thx, bye, Gismo / Luca Footnotes: [1] http://common-lisp.net/pipermail/bese-devel/2007-May/002983.html [2] http://common-lisp.net/pipermail/bese-devel/2007-April/002952.html -------------- next part -------------- A non-text attachment was scrubbed... Name: arnesi_add-eval-when-when-defining-a-test-suite_gismo-20070701.patch.gz Type: application/octet-stream Size: 3330 bytes Desc: add an (eval-when ...) when defining a test suite URL: From mbaringer at common-lisp.net Thu Jul 5 04:30:19 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 5 Jul 2007 00:30:19 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 4-Jul-2007 Message-ID: <20070705043019.2C1863700D@common-lisp.net> Wed Jul 4 18:52:47 EDT 2007 attila.lendvai at gmail.com * Fix :through-redirect of register-action when used with invocation isolated actions M ./src/rerl/standard-session-frame.lisp -18 +22 Wed Jul 4 18:51:42 EDT 2007 attila.lendvai at gmail.com * Fix some #"" reader bugs M ./src/helpers.lisp -2 +10 Wed Jul 4 18:49:56 EDT 2007 attila.lendvai at gmail.com * Move the render :wrap-around of template-component to simple :around for better customizability M ./src/components/template.lisp -5 +4 Wed Jul 4 18:48:14 EDT 2007 attila.lendvai at gmail.com * Fix some issues with js-to-lisp-rpc M ./src/application-mixins/ajax-application.lisp -24 +22 Fri Jun 29 19:14:31 EDT 2007 attila.lendvai at gmail.com * Export some cookie helpers, escape cookie values as uri, so you can have unicode stuff and cookie control chars in the value #:add-set-cookie-header #:cookie-value #:make-cookie M ./src/application-mixins/cookie-session-application.lisp -1 M ./src/backend/common.lisp -5 +5 M ./src/packages.lisp +4 M ./src/rerl/standard-request-context.lisp -1 +4 Thu Jun 28 12:37:14 EDT 2007 attila.lendvai at gmail.com * Fix uri escaping, the path was not propertly escaped causing problems with unicode url-prefix M ./src/helpers.lisp -42 +36 Thu Jun 28 12:36:11 EDT 2007 attila.lendvai at gmail.com * Added make-cookie that calls escape-as-uri on the supplied path. This fixes session-cookie-application with unicode url-prefix. M ./src/application-mixins/cookie-session-application.lisp -4 +4 M ./src/backend/common.lisp +8 Wed Jul 4 15:33:15 EDT 2007 attila.lendvai at gmail.com * Fix: bind *dispatcher-registers* as documented (but dispatchers needs a cleanup, probably based on lambda's and capturing) M ./src/rerl/standard-dispatchers.lisp -1 +16 M ./src/vars.lisp +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070704.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From john at fremlin.org Fri Jul 6 10:05:24 2007 From: john at fremlin.org (John Fremlin) Date: Fri, 06 Jul 2007 10:05:24 +0000 Subject: [Bese-devel] [PATCH] Allow use of macrolet in with-call/cc compiled to FASL on SBCL Message-ID: <87zm29q23f.fsf-genuine-vii@john.fremlin.org> As subject, this is an improved version of the patch I sent a few months ago. At the moment SBCL barfs, complaining it cannot serialise a function into a fasl if you use macrolet inside a with-call/cc and compile to a fasl. I don't know whether it is sensible to write a 5am test for this as you need to compile something to a fasl. -------------- next part -------------- A non-text attachment was scrubbed... Name: arnesi-dev-serialise-macrolets.patch Type: text/x-diff Size: 2832 bytes Desc: not available URL: From luca at pca.it Sun Jul 8 21:58:30 2007 From: luca at pca.it (Luca Capello) Date: Sun, 08 Jul 2007 23:58:30 +0200 Subject: [Bese-devel] Problems with 5am:def-suite References: <87fy4886ct.fsf@gismo.pca.it> Message-ID: <87bqemfth5.fsf@gismo.pca.it> Hello! On Sun, 01 Jul 2007 17:57:06 +0200, Luca Capello wrote: > The latest patches for fiveam resolved the compilation error reported > at [1] (BTW, without applying the patch at [2]), but then > 5am:def-suite seems not to work as expected, at least with arnesi. On > a Debian sid, SBCL-1.0.6.0 I obtain: [...] > The solution was to simply add an > > (eval-when (:compile-toplevel :load-toplevel :execute) ...) > > before any (def-suite ...) in every arnesi/t/*.lisp but > read-macros.lisp and suite.lisp (darcs patch attached, tested on both > SBCL and CLisp). This is shared by YACLML (darcs patch attached) and ParenScript [1]. Since I want to release a new Debian version for the BESE suite, in case of no replies in the next 3 days I'll apply my patches upstream. Thx, bye, Gismo / Luca Footnotes: [1] http://common-lisp.net/pipermail/parenscript-devel/2007-July/000048.html -------------- next part -------------- A non-text attachment was scrubbed... Name: yaclml_add-eval-when-when-defining-a-test-suite_gismo-20070708.patch.gz Type: application/octet-stream Size: 1437 bytes Desc: add an (eval-when ...) when defining a test suite URL: From mbaringer at common-lisp.net Tue Jul 10 04:15:07 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 10 Jul 2007 00:15:07 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 9-Jul-2007 Message-ID: <20070710041507.4063F50034@common-lisp.net> Mon Jul 9 09:05:22 EDT 2007 attila.lendvai at gmail.com * Added tal:unless M ./src/tal/handlers.lisp +6 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20070709.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mbaringer at common-lisp.net Tue Jul 10 04:30:20 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 10 Jul 2007 00:30:20 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 9-Jul-2007 Message-ID: <20070710043020.1FD9C7A000@common-lisp.net> Mon Jul 9 08:45:50 EDT 2007 attila.lendvai at gmail.com * Fix: added missing enable-sharpquote<>-syntax to container.lisp M ./src/components/container.lisp +2 Mon Jul 9 08:08:04 EDT 2007 attila.lendvai at gmail.com * Fix current-form M ./src/yaclml/ucw-tags.lisp -3 +1 Mon Jul 9 08:07:50 EDT 2007 attila.lendvai at gmail.com * Housekeeping M ./src/per-application-parenscript.lisp +1 M ./src/rerl/protocol.lisp -1 +1 M ./src/rerl/request-loop-error.lisp -7 +9 Mon Jul 9 08:07:05 EDT 2007 attila.lendvai at gmail.com * Change default :invocation-isolated of actions to be true M ./src/rerl/basic-classes.lisp -1 +1 Mon Jul 9 08:06:34 EDT 2007 attila.lendvai at gmail.com * Fix decorate-with-invocation-id for url's without any parameters M ./src/per-application-parenscript.lisp -1 +1 Mon Jul 9 08:05:30 EDT 2007 attila.lendvai at gmail.com * Client-side mode for switching-container M ./src/components/container.lisp -8 +33 M ./src/components/dojo-widgets.lisp -1 +1 M ./src/l10n/resources/en.lisp -1 +2 M ./src/l10n/resources/hu.lisp -1 +2 M ./src/per-application-parenscript.lisp +10 Mon Jul 9 08:05:19 EDT 2007 attila.lendvai at gmail.com * Client side operation for collapsible-pane M ./src/components/ajax.lisp -16 M ./src/components/collapsible-pane.lisp -43 +84 M ./src/helpers.lisp +18 M ./src/packages.lisp +1 M ./src/per-application-parenscript.lisp -1 +15 M ./ucw.asd -2 +2 Fri Jul 6 19:59:50 EDT 2007 attila.lendvai at gmail.com * Follow iolib changes in the iolib backend; added worker thread starting up to a max limit M ./src/backend/iolib.lisp -8 +18 Fri Jul 6 19:56:50 EDT 2007 attila.lendvai at gmail.com * Fix minor issues in the tests M ./test/stress.lisp -1 +1 M ./test/test-environment.lisp -1 +1 Fri Jul 6 11:25:52 EDT 2007 attila.lendvai at gmail.com * Added with-unique-dom-ids M ./src/parenscript-utils.lisp +5 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070709.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From clinton at unknownlamer.org Thu Jul 12 03:17:42 2007 From: clinton at unknownlamer.org (clinton at unknownlamer.org) Date: Wed, 11 Jul 2007 23:17:42 -0400 (EDT) Subject: [Bese-devel] darcs patch: Adapt to work with rfc2388-binary Message-ID: <20070712031742.E1CF23D4FA07@kz.homeip.net> Wed Jul 11 23:15:54 EDT 2007 clinton at unknownlamer.org * Adapt to work with rfc2388-binary -------------- next part -------------- A non-text attachment was scrubbed... Name: adapt-to-work-with-rfc2388_binary.dpatch Type: text/x-darcs-patch Size: 18180 bytes Desc: A darcs patch for your repository! URL: From luca at pca.it Mon Jul 16 08:08:07 2007 From: luca at pca.it (Luca Capello) Date: Mon, 16 Jul 2007 10:08:07 +0200 Subject: [Bese-devel] Problems with 5am:def-suite References: <87fy4886ct.fsf@gismo.pca.it> <87bqemfth5.fsf@gismo.pca.it> <1d26dc7e0707090041s630ad3f9s56dc2480adf712b@mail.gmail.com> Message-ID: <87veckg49k.fsf@gismo.pca.it> Hello! Sorry for the lag... BTW, I cc:ed the mailing list, the information could be useful for other people as well. On Mon, 09 Jul 2007 09:41:02 +0200, Kilian Sprotte wrote: > just wanted to say that I am experiencing this problem, too with my > personal libraries on sbcl and openmcl. - Maybe this is a problem of > fiveam in the end that could be fixed there? I don't think it's a FiveAM problem, just try the following, which is the "manual" evaluation of arnesi/t/suite.lisp and arnesi/t/accumulation.lisp: $ sbcl [or $YOUR_FAVORITE_LISP] * (asdf:oos 'asdf:load-op 'arnesi) * (asdf:oos 'asdf:load-op 'fiveam) * (defpackage :it.bese.arnesi.test (:use :common-lisp :it.bese.arnesi :it.bese.FiveAM)) * (unless (5am:get-test :it.bese) (5am:def-suite :it.bese)) * (5am:def-suite :it.bese.arnesi :in :it.bese) * (in-package :it.bese.arnesi.test) * (def-suite :it.bese.arnesi.accumulation :in :it.bese.arnesi) [no errors at all] So, the problem is specific to compilation, load and execution, thus nothing to do with FiveAM AFAIK. Still no replies to my patches, but as I already said in [1], I'll apply them upstream this week. Thx, bye, Gismo / Luca Footnotes: [1] http://common-lisp.net/pipermail/bese-devel/2007-July/003047.html From attila.lendvai at gmail.com Tue Jul 17 14:36:55 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 17 Jul 2007 16:36:55 +0200 Subject: [Bese-devel] darcs patch: Adapt to work with rfc2388-binary In-Reply-To: <20070712031742.E1CF23D4FA07@kz.homeip.net> References: <20070712031742.E1CF23D4FA07@kz.homeip.net> Message-ID: > Wed Jul 11 23:15:54 EDT 2007 clinton at unknownlamer.org > * Adapt to work with rfc2388-binary pushed, thanks. -- attila From mbaringer at common-lisp.net Wed Jul 18 04:30:23 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 18 Jul 2007 00:30:23 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 17-Jul-2007 Message-ID: <20070718043023.F067B1D0D9@common-lisp.net> Wed Jul 11 23:15:54 EDT 2007 clinton at unknownlamer.org * Adapt to work with rfc2388-binary M ./src/backend/araneida.lisp -1 +1 M ./src/backend/common.lisp -24 +24 M ./src/backend/httpd.lisp -2 +2 M ./src/control.lisp -3 +3 M ./ucw.asd -2 +2 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20070717.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From clinton at unknownlamer.org Wed Jul 18 23:16:14 2007 From: clinton at unknownlamer.org (clinton at unknownlamer.org) Date: Wed, 18 Jul 2007 19:16:14 -0400 (EDT) Subject: [Bese-devel] darcs patch: Properly specialize value on file-upload-field Message-ID: <20070718231614.B3CD73C026D6@kz.homeip.net> Wed Jul 18 19:14:05 EDT 2007 clinton at unknownlamer.org * Properly specialize value on file-upload-field (value FILE-UPLOAD-FIELD) was using the default FORM-FIELD version which, naturally, made things barf when it tried to apply a mime-part to #'string= -------------- next part -------------- A non-text attachment was scrubbed... Name: properly-specialize-value-on-file_upload_field.dpatch Type: text/x-darcs-patch Size: 13845 bytes Desc: A darcs patch for your repository! URL: From mbaringer at common-lisp.net Thu Jul 19 04:00:21 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 19 Jul 2007 00:00:21 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 18-Jul-2007 Message-ID: <20070719040021.96CF028265@common-lisp.net> Sun Jul 1 11:50:53 EDT 2007 Luca Capello * add an (eval-when ...) when defining a test suite M ./t/accumulation.lisp -1 +2 M ./t/call-cc.lisp -1 +2 M ./t/csv.lisp -1 +2 M ./t/flow-control.lisp -1 +2 M ./t/http.lisp -1 +2 M ./t/list.lisp -1 +2 M ./t/log.lisp -1 +2 M ./t/matcher.lisp -1 +2 M ./t/numbers.lisp -1 +2 M ./t/queue.lisp -1 +2 M ./t/sequence.lisp -1 +2 M ./t/sharpl.lisp -1 +2 M ./t/string.lisp -1 +2 M ./t/walk.lisp -1 +2 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20070718.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Thu Jul 19 04:15:14 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 19 Jul 2007 00:15:14 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 18-Jul-2007 Message-ID: <20070719041514.BDC4D4B026@common-lisp.net> Sun Jul 8 17:55:58 EDT 2007 Luca Capello * add an (eval-when ...) when defining a test suite M ./t/tal.lisp -1 +2 M ./t/xml-syntax.lisp -1 +2 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20070718.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From luca at pca.it Wed Jul 18 21:29:46 2007 From: luca at pca.it (Luca Capello) Date: Wed, 18 Jul 2007 23:29:46 +0200 Subject: [Bese-devel] Problems with 5am:def-suite In-Reply-To: <87veckg49k.fsf@gismo.pca.it> References: <87fy4886ct.fsf@gismo.pca.it> <87bqemfth5.fsf@gismo.pca.it> <1d26dc7e0707090041s630ad3f9s56dc2480adf712b@mail.gmail.com> <87veckg49k.fsf@gismo.pca.it> Message-ID: <87ir8hmmd1.fsf@gismo.pca.it> Hello! On Mon, 16 Jul 2007 10:08:07 +0200, Luca Capello wrote: > Still no replies to my patches, but as I already said in [1], I'll > apply them upstream this week. Done. Thx, bye, Gismo / Luca From x-set at mail.ru Thu Jul 26 06:00:55 2007 From: x-set at mail.ru (John Doe) Date: Thu, 26 Jul 2007 10:00:55 +0400 Subject: [Bese-devel] Making UCW (dojo?) work with IE Message-ID: Hi I've found that most AJAX requests in UCW Examples do not work with IE, but work good in Firefox. For example when I started tab pane example the first request was doing properly I started tracing at JavaScript side and found that problem is related to following piece of code: if(!_386.user){ http.open("POST",url,_391); }else{ http.open("POST",url,_391,_386.user,_386.password); } When AJAX requests failed in IE, 'url' always contained encoded '/' character (%2F), when request were successful, 'url' contained normal '/' character. I temporarily solved this problem just inserting: url = url.replace('%2F','/'); before above piece of code, and now everything seems work properly under IE 6.0 SP2 and IE 7. Can it be something from UCW side or it is dojo problem ? Best regards XSet From sasha-lisp at arcocene.org Fri Jul 27 23:47:42 2007 From: sasha-lisp at arcocene.org (Sasha Kovar) Date: Fri, 27 Jul 2007 16:47:42 -0700 Subject: [Bese-devel] Making UCW (dojo?) work with IE In-Reply-To: References: Message-ID: <20070727234742.GA73268@arcocene.org> (this didn't appear to get through to the list yesterday - resending) .-- John Doe: | I've found that most AJAX requests in UCW Examples do not work with IE, | but work good in Firefox. For example when I started tab pane example the | first request was doing properly [...] | When AJAX requests failed in IE, 'url' always contained encoded '/' | character (%2F), when request were successful, 'url' contained normal '/' | character. Hi. I had the same problem using the ajax branch with browser javascript disabled. I think UCW needs to be more careful when url-encoding the entire uri path for actions. It seems that was added to support unicode characters in path names. Since I'm not using any fancy characters, I took the hacky approach and disabled the encoding entirely. I also disabled it when setting the cookie path, since that was keeping sessions from working correctly for me. Attached is a patch. I don't consider it suitable for inclusion into UCW, but it might be useful to someone or encourage a real fix. Sasha -------------- next part -------------- A non-text attachment was scrubbed... Name: escape.patch Type: text/x-diff Size: 1071 bytes Desc: not available URL: