From cjstuij at gmail.com Sat Jun 2 11:52:58 2007 From: cjstuij at gmail.com (cjstuij at gmail.com) Date: Sat, 2 Jun 2007 13:52:58 +0200 (CEST) Subject: [Bese-devel] darcs patch: minor startup error fixes Message-ID: <20070602115258.193EE1C860E@localhost.localdomain> Sat Jun 2 13:50:21 CEST 2007 Ties Stuij * minor startup error fixes -------------- next part -------------- A non-text attachment was scrubbed... Name: minor-startup-error-fixes.dpatch Type: text/x-darcs-patch Size: 3761 bytes Desc: A darcs patch for your repository! URL: From attila.lendvai at gmail.com Sat Jun 2 13:23:05 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Sat, 2 Jun 2007 15:23:05 +0200 Subject: [Bese-devel] darcs patch: minor startup error fixes In-Reply-To: <20070602115258.193EE1C860E@localhost.localdomain> References: <20070602115258.193EE1C860E@localhost.localdomain> Message-ID: > Sat Jun 2 13:50:21 CEST 2007 Ties Stuij > * minor startup error fixes - :reuse-address t)) + :reuseaddress t)) you need to update your usocket. + :depends-on (:arnesi :swank :iterate :yaclml :local-time :cl-l10n + :usocket :rfc2109 :net-telent-date :cl-fad :parenscript most of the additions shouldn't be needed. the rest of the code should be fixed not to depend on them, but the minimalist :ucw.core version is not a priority for me personally, mostly because i don't have a live project/requirement to test it. i generally keep it in mind when doing changes but i only put a reasonable effort in making it work. loading the (all inclusive) :ucw system should work and the examples are mostly working in the _ajax branch. (i've pushed all the changes from _cleanup into _ajax and renamed the cleanup repo to *.DEAD). but thanks for the path, i've incorporated some of the missing dependencies. otherwise if you don't want to put effort in separating ucw functionality then just try loading the :ucw system for now. -- attila From vsedach at gmail.com Sun Jun 3 18:04:54 2007 From: vsedach at gmail.com (Vladimir Sedach) Date: Sun, 3 Jun 2007 12:04:54 -0600 Subject: [Bese-devel] ParenScript expander (like C-c Ret macroexpand) for Slime. Message-ID: Hello, I've posted a generic "expansion" facility (like C-c Ret macroexpand) for Slime on their mailing list: http://common-lisp.net/pipermail/slime-devel/2007-May/006254.html One (well, the only) included example is C-c j, which, when pointed at an S-expression in a slime-mode buffer (note that this doesn't work in a slime-repl-mode buffer; that's intentional) brings up a new buffer with ParenScript output nicely formatted in c-mode. I've been using it constantly since I wrote it, and I find that it really speeds up development with ParenScript. Please let me know if you have any suggestions about the code. Thanks, Vladimir From mbaringer at common-lisp.net Tue Jun 5 04:30:37 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 5 Jun 2007 00:30:37 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 4-Jun-2007 Message-ID: <20070605043037.429FC4D058@common-lisp.net> Mon Jun 4 07:56:49 EDT 2007 attila.lendvai at gmail.com * Update examples with the new form stuff, added a nested form M ./examples/src/forms.lisp -22 +53 M ./examples/wwwroot/static/examples.css +1 Mon Jun 4 07:56:10 EDT 2007 attila.lendvai at gmail.com * Change the default listening port to 0.0.0.0 M ./src/vars.lisp -1 +1 Mon Jun 4 07:52:28 EDT 2007 attila.lendvai at gmail.com * Revised form handling Nesting of form tags is not allowed, therefore don't use form tags when ajax rendering and/or rendering a nested Hi, After discussions with Marco and Manuel, I've gotten the green light to step in as a ParenScript maintainer. The first thing I want to do is move it to its own c-l.net project page, with its own repository and mailing list. If you have any objections to this, please post them. I'll send the details here once the project page is set up. Vladimir From mbaringer at common-lisp.net Thu Jun 7 04:20:05 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 7 Jun 2007 00:20:05 -0400 (EDT) Subject: [Bese-devel] New patches to parenscript: 6-Jun-2007 Message-ID: <20070607042005.8844936016@common-lisp.net> Wed Jun 6 15:45:25 EDT 2007 attila.lendvai at gmail.com * Fix: add parens around instanceof to make it work in all situations M ./src/js.lisp +2 An updated tarball of parenscript's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/parenscript-20070606.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=parenscript;a=summary From mbaringer at common-lisp.net Sat Jun 9 04:30:20 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 9 Jun 2007 00:30:20 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 8-Jun-2007 Message-ID: <20070609043020.1B2CB240D1@common-lisp.net> Fri Jun 8 20:20:43 EDT 2007 attila.lendvai at gmail.com * Drop accidentally comitted defcomponent* usage M ./src/contextl-integration.lisp -2 +2 Fri Jun 8 13:56:04 EDT 2007 attila.lendvai at gmail.com * Only get a backtrace when we need it, it's expensive M ./src/rerl/request-loop-error.lisp -6 +2 M ./src/rerl/standard-server.lisp -2 +4 Fri Jun 8 13:55:34 EDT 2007 attila.lendvai at gmail.com * Fix dojo widget inheritance, dojo-widget is important, put it first M ./src/components/dojo-widgets.lisp -3 +4 Fri Jun 8 13:55:23 EDT 2007 attila.lendvai at gmail.com * Added +http... status code constants M ./examples/src/gd.lisp -1 +1 M ./src/backend/common.lisp -2 +2 M ./src/backend/httpd.lisp -1 +1 M ./src/rerl/basic-action.lisp -1 +1 M ./src/rerl/request-loop-error.lisp -2 +2 M ./src/rerl/rerl-utils.lisp -1 +1 M ./src/rerl/standard-action.lisp -1 +1 M ./src/vars.lisp +81 Fri Jun 8 13:53:01 EDT 2007 attila.lendvai at gmail.com * Housekeeping M ./src/components/ajax.lisp -2 +2 M ./src/rerl/backtracking.lisp -2 +1 M ./src/rerl/basic-session.lisp -1 +2 M ./src/rerl/rerl-variables.lisp +2 M ./src/rerl/standard-server.lisp -1 +1 M ./src/yaclml/ucw-tags.lisp -2 Fri Jun 8 13:50:13 EDT 2007 attila.lendvai at gmail.com * close-request is the responsibility of the backend, don't call it from random places M ./src/backend/common.lisp -2 +1 M ./src/backend/mod-lisp.lisp -1 +1 M ./src/rerl/basic-action.lisp -2 +1 Fri Jun 8 13:48:50 EDT 2007 attila.lendvai at gmail.com * Make the threaded httpd backend more roboust Now it can stay alive with siege -c32 -t600S http://localhost/ even though it renders a few 503's M ./src/backend/multithread-httpd.lisp -8 +29 Thu Jun 7 10:00:16 EDT 2007 attila.lendvai at gmail.com * Fix defserve 304 not modified response sending M ./src/backend/common.lisp -2 +2 Thu Jun 7 09:31:45 EDT 2007 attila.lendvai at gmail.com * Move response handling into the app's service call, so that it's more customizable at the app level M ./src/rerl/basic-application.lisp -4 +10 M ./src/rerl/standard-server.lisp -8 +1 Thu Jun 7 09:30:47 EDT 2007 attila.lendvai at gmail.com * Added a *maximum-number-of-sessions*, render unavailable page when going above this M ./src/rerl/basic-application.lisp -8 +12 M ./src/rerl/conditions.lisp +6 M ./src/rerl/request-loop-error.lisp +6 M ./src/rerl/rerl-variables.lisp +3 Thu Jun 7 09:29:55 EDT 2007 attila.lendvai at gmail.com * Clean up l10n application locale handling M ./src/l10n/l10n-application.lisp -35 +41 M ./src/packages.lisp -2 +2 Thu Jun 7 09:28:27 EDT 2007 attila.lendvai at gmail.com * By default leave alone the loggers when starting up a server; renamed ucw-logger to ucw and all loggers inherit from it M ./src/control.lisp -16 +19 M ./src/loggers.lisp -10 +9 Thu Jun 7 09:27:51 EDT 2007 attila.lendvai at gmail.com * Use the internal _real_ time when logging how much time the serve took M ./src/backend/httpd.lisp -2 +2 Thu Jun 7 09:27:04 EDT 2007 attila.lendvai at gmail.com * Fix network stream error ignoring M ./src/backend/common.lisp -9 +3 M ./src/rerl/request-loop-error.lisp -11 +12 Thu Jun 7 09:22:43 EDT 2007 attila.lendvai at gmail.com * Cleanup threading: implement threading using bordeaux-threads instead of the swank primitives. M ./src/backend/httpd.lisp -3 +4 M ./src/backend/multithread-httpd.lisp -195 +331 M ./src/rerl/request-loop-error.lisp +3 Thu Jun 7 09:17:47 EDT 2007 attila.lendvai at gmail.com * Revive the admin application, change the url-prefix to "/ucw/" M ./src/admin/admin.lisp -3 +3 Thu Jun 7 09:14:59 EDT 2007 attila.lendvai at gmail.com * Added TODO note about how ajax communication should work M ./docs/TODO +15 Thu Jun 7 09:06:04 EDT 2007 attila.lendvai at gmail.com * Preliminary dijit support (too early, many widgets are not yet ported from dojo) M ./bin/build-dojo.sh -10 +32 M ./src/components/window.lisp -1 +10 Wed Jun 6 05:58:35 EDT 2007 attila.lendvai at gmail.com * Renamed to dojo-html-text-editor M ./src/components/dojo-widgets.lisp -2 +2 M ./src/packages.lisp -1 +1 Wed Jun 6 04:40:59 EDT 2007 attila.lendvai at gmail.com * Do not alter *random-state* M ./src/rerl/standard-server.lisp -1 Tue Jun 5 11:31:20 EDT 2007 attila.lendvai at gmail.com * Added +xhtml-namespace-uri+ and +dojo-namespace-uri+ M ./src/components/ajax.lisp -2 +2 M ./src/components/window.lisp -3 +3 M ./src/vars.lisp +3 Tue Jun 5 11:09:07 EDT 2007 attila.lendvai at gmail.com * Fix serve-sequence/-file, mark the response as unmanaged M ./src/backend/common.lisp +1 Tue Jun 5 07:50:46 EDT 2007 attila.lendvai at gmail.com * Added .binaries, mark dojo stuff as binary A ./.binaries Tue Jun 5 07:27:37 EDT 2007 attila.lendvai at gmail.com * Fix: ajax answer status and content-type headers M ./src/rerl/standard-action.lisp +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070608.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Sun Jun 10 04:30:27 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sun, 10 Jun 2007 00:30:27 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 9-Jun-2007 Message-ID: <20070610043027.883EC4E06C@common-lisp.net> Sat Jun 9 08:18:20 EDT 2007 attila.lendvai at gmail.com * Fix some asdf dependencies M ./ucw.asd -3 +6 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070609.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From elliott-johnson at hotmail.com Tue Jun 12 19:25:47 2007 From: elliott-johnson at hotmail.com (Elliott Johnson) Date: Tue, 12 Jun 2007 12:25:47 -0700 Subject: [Bese-devel] secure application mixin tinkering Message-ID: Hi, Here's a patch I found useful for working with secure-application-mixins. It provides the following: * alters user-login to inherit only from html-form. * moves the window-component/status-bar material out of user-login and places it in a container component called interestingly enough user-login-window. I chose to change the type of window component from a basic-window-component to a standard-window-component. This seemed better suited to a standard-application. I guess what would be best is to create a basic-user-login-window and a standard-user-login-window. Anyways, I've found these changes (as well as the secure-application-mixin stuff itself) to be pretty useful. Is there any thought as to whether this code will appreciate or depreciate in the current code base? -Elliott _________________________________________________________________ Play games, earn tickets, get cool prizes. Play now?it's FREE! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink1 -------------- next part -------------- A non-text attachment was scrubbed... Name: ucw_ajax-secure-application-mixin-tinkering.patch Type: application/octet-stream Size: 9400 bytes Desc: not available URL: From attila.lendvai at gmail.com Tue Jun 12 20:03:54 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 12 Jun 2007 22:03:54 +0200 Subject: [Bese-devel] secure application mixin tinkering In-Reply-To: References: Message-ID: > Here's a patch I found useful for working with secure-application-mixins. > It provides the following: pushed, thanks! -- attila From attila.lendvai at gmail.com Tue Jun 12 22:09:06 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Wed, 13 Jun 2007 00:09:06 +0200 Subject: [Bese-devel] rfc2388 Message-ID: dear list, if there's no objection or other suggestions i'll rename the rfc2388 branch used by ucw to rfc2388-binary so that it can peacefully coexist with the official version (which wasn't touched for quite a long time, btw). -- attila From mbaringer at common-lisp.net Wed Jun 13 04:30:18 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 13 Jun 2007 00:30:18 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 12-Jun-2007 Message-ID: <20070613043018.00F857E007@common-lisp.net> Tue Jun 12 16:01:34 EDT 2007 attila.lendvai at gmail.com * Fix some issues in the new form code M ./src/components/form.lisp +4 M ./src/per-application-parenscript.lisp -1 +1 M ./src/rerl/basic-action.lisp -1 +1 M ./src/rerl/standard-action.lisp -4 +7 M ./src/rerl/standard-classes.lisp -1 +3 M ./src/rerl/standard-session-frame.lisp -2 +2 M ./src/yaclml/ucw-tags.lisp -52 +54 Tue Jun 12 15:56:20 EDT 2007 attila.lendvai at gmail.com * Fix some bitrot M ./src/application-mixins/secure-application.lisp -1 +1 M ./src/components/error.lisp -1 +1 Tue Jun 12 11:51:59 EDT 2007 elliott at iparadigms.com * secure app tinkering I've created a few modifications to the secure app code. * fixed an error in (setf %session-user) in which a "default" value was passed (nil). The setf version of GET-SESSION-VALUE doesn't have a need for the default value. * changed the user-login component to be a subclass of html-form. This corrects the unbound *current-form* variable error. * Moved the window-component stuff (and the status bar stuff) into a new component called user-login-window. I've not tested this as much as I'd like, but I don't have much time in the next few days. * redefined the SUBMIT and CANCLE actions to answer the user-login-window component rather than the user-login component, so that it's results can be passed back to the secure-application-mixin code. PS- I think the secure-application class can be fully depreciated. I don't see any mention of modular-application any where else in ucw_ajax :) M ./src/application-mixins/secure-application.lisp -2 +2 M ./src/components/user-login.lisp -9 +17 Tue Jun 12 13:59:45 EDT 2007 attila.lendvai at gmail.com * Some changes to the exports M ./src/packages.lisp -1 +2 Tue Jun 12 13:59:00 EDT 2007 attila.lendvai at gmail.com * Delete *ucw-tal-root*, use (make-standard-ucw-tal-dir-list) instead M ./src/admin/admin.lisp -1 +1 M ./src/vars.lisp -4 Tue Jun 12 05:09:46 EDT 2007 attila.lendvai at gmail.com * Fix multithreaded httpd false 503 reporting M ./src/backend/multithread-httpd.lisp -1 +3 Fri Jun 8 14:36:47 EDT 2007 attila.lendvai at gmail.com * Don't rely on weak pointers for backtracked places, it's too expensive and we can manage it ourselves M ./src/rerl/backtracking.lisp -41 +20 M ./src/rerl/basic-classes.lisp -4 +11 M ./src/rerl/basic-session.lisp -1 +5 M ./src/rerl/standard-component/control-flow.lisp -1 +1 M ./src/rerl/standard-session-frame.lisp -1 +3 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070612.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Thu Jun 14 04:30:23 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 14 Jun 2007 00:30:23 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 13-Jun-2007 Message-ID: <20070614043023.880033D00E@common-lisp.net> Wed Jun 13 17:02:15 EDT 2007 attila.lendvai at gmail.com * Support specifying the :wrapper-tag-name for Thu Jun 14 02:39:49 EDT 2007 attila.lendvai at gmail.com * Err, really fix false 503's with multithreaded httpd backend M ./src/backend/multithread-httpd.lisp -2 +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070614.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From vsedach at gmail.com Fri Jun 15 19:42:44 2007 From: vsedach at gmail.com (Vladimir Sedach) Date: Fri, 15 Jun 2007 13:42:44 -0600 Subject: [Bese-devel] ParenScript project page on common-lisp.net Message-ID: Hello, After a few delays, the new project page for ParenScript is up on common-lisp.net: http://common-lisp.net/project/parenscript/ Email me with any questions or comments. Thanks, Vladimir From mbaringer at common-lisp.net Sat Jun 16 04:30:24 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 16 Jun 2007 00:30:24 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 15-Jun-2007 Message-ID: <20070616043024.105023D03B@common-lisp.net> Fri Jun 15 03:50:06 EDT 2007 attila.lendvai at gmail.com * Make the apache2 example config more newbie friendly M ./etc/ucw-examples.apache2 -6 +20 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070615.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From luca at pca.it Sat Jun 16 12:26:29 2007 From: luca at pca.it (Luca Capello) Date: Sat, 16 Jun 2007 13:26:29 +0100 Subject: [Bese-devel] ParenScript project page on common-lisp.net In-Reply-To: (Vladimir Sedach's message of "Fri, 15 Jun 2007 13:42:44 -0600") References: Message-ID: <877iq4nkzu.fsf@gismo.pca.it> Hello! On Fri, 15 Jun 2007 20:42:44 +0100, Vladimir Sedach wrote: > After a few delays, the new project page for ParenScript is up on > common-lisp.net: > > http://common-lisp.net/project/parenscript/ Sorry for the lag, I was busy driving to Edinburgh [1]. I'm (finally) planning a new Debian package for ParenScript and I'll more closely follow its upstream development. Thx, bye, Gismo / Luca Footnotes: [1] where the DebConf7 is ongoing: http://debconf7.debconf.org From attila.lendvai at gmail.com Sat Jun 16 12:49:39 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Sat, 16 Jun 2007 14:49:39 +0200 Subject: [Bese-devel] Re: rfc2388 In-Reply-To: References: Message-ID: > if there's no objection or other suggestions i'll rename the rfc2388 > branch used by ucw to rfc2388-binary so that it can peacefully coexist > with the official version (which wasn't touched for quite a long time, > btw). done. -- attila From mbaringer at common-lisp.net Sun Jun 17 04:25:02 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sun, 17 Jun 2007 00:25:02 -0400 (EDT) Subject: [Bese-devel] New patches to rfc2388: 16-Jun-2007 Message-ID: <20070617042502.1D5242017@common-lisp.net> An updated tarball of rfc2388's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/rfc2388-20070616.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=rfc2388;a=summary From mbaringer at common-lisp.net Sun Jun 17 04:30:18 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sun, 17 Jun 2007 00:30:18 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 16-Jun-2007 Message-ID: <20070617043018.1A9E73700F@common-lisp.net> Sat Jun 16 13:34:08 EDT 2007 attila.lendvai at gmail.com * Updated the tests M ./test/ajax-action.lisp -1 +1 M ./test/core/action.lisp -41 M ./test/core/application.lisp -5 +57 M ./test/core/dispatcher.lisp -5 +4 M ./test/stress.lisp -2 +11 M ./test/test-environment.lisp -4 +4 Sat Jun 16 13:28:23 EDT 2007 attila.lendvai at gmail.com * Split out minimal-application from basic-application M ./src/rerl/basic-application.lisp -4 +7 M ./src/rerl/basic-classes.lisp -8 +10 Sat Jun 16 13:26:41 EDT 2007 attila.lendvai at gmail.com * Added an ABORT-ACTION that can be used any time to abort further processing of the action M ./src/packages.lisp +1 M ./src/rerl/basic-action.lisp -1 +12 M ./src/rerl/standard-action.lisp -37 +41 M ./src/rerl/standard-dispatchers.lisp -1 +1 Sat Jun 16 13:23:47 EDT 2007 attila.lendvai at gmail.com * Added a :length argument for length-validator that checks for an exact length M ./src/components/form.lisp +7 Sat Jun 16 13:18:01 EDT 2007 attila.lendvai at gmail.com * Factored out a basic-backend, prepare for an iolib backend that will share most of the code A ./src/backend/basic-backend.lisp M ./src/backend/httpd.lisp -323 +16 M ./src/rerl/protocol.lisp +3 M ./ucw.asd -1 +2 Sat Jun 16 12:57:10 EDT 2007 attila.lendvai at gmail.com * Renamed to accept-headers.lisp ./src/backend/accept.lisp -> ./src/backend/accept-headers.lisp M ./ucw.asd -1 +1 Sat Jun 16 12:03:45 EDT 2007 attila.lendvai at gmail.com * Drop split-sequence dependency, we already need cl-ppcre M ./src/backend/common.lisp -7 +7 M ./ucw.asd -1 +1 Sat Jun 16 08:39:31 EDT 2007 attila.lendvai at gmail.com * Follow the rename of rfc2388 to rfc2388-binary M ./src/backend/araneida.lisp -1 +1 M ./src/backend/common.lisp -29 +30 M ./src/backend/httpd.lisp -2 +2 M ./src/control.lisp -3 +3 M ./ucw.asd -2 +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070616.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Mon Jun 18 04:30:25 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 18 Jun 2007 00:30:25 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 17-Jun-2007 Message-ID: <20070618043025.05CAB1C0C8@common-lisp.net> Sun Jun 17 09:45:17 EDT 2007 attila.lendvai at gmail.com * Fix the add some numbers example, follow form changes M ./examples/src/sum.lisp -12 +11 Sun Jun 17 09:44:50 EDT 2007 attila.lendvai at gmail.com * Added dojo inline edit box example M ./examples/src/forms.lisp -2 +7 Sun Jun 17 09:43:39 EDT 2007 attila.lendvai at gmail.com * Housekeeping M ./src/components/meta-refresh-component.lisp +2 M ./src/per-application-parenscript.lisp +5 M ./src/rerl/standard-component/standard-component.lisp +1 M ./src/rerl/standard-dispatchers.lisp -3 M ./src/rerl/standard-server.lisp -1 +1 Sun Jun 17 09:43:06 EDT 2007 attila.lendvai at gmail.com * Support rendering a Mon Jun 18 17:37:13 EDT 2007 attila.lendvai at gmail.com * Make the test more iolib friendly M ./test/stress.lisp -2 +2 M ./test/test-environment.lisp -2 +2 Mon Jun 18 17:30:29 EDT 2007 attila.lendvai at gmail.com * Added missing iolib backend stuff to the asd M ./ucw.asd +8 Mon Jun 18 17:21:42 EDT 2007 attila.lendvai at gmail.com * Added an iolib backend A ./src/backend/iolib.lisp M ./src/control.lisp +8 Mon Jun 18 17:21:20 EDT 2007 attila.lendvai at gmail.com * Make backend locking use a recursive lock M ./src/backend/basic-backend.lisp -2 +2 Mon Jun 18 17:16:55 EDT 2007 attila.lendvai at gmail.com * Renamed peer-address to remote-address as suggested by Cyrus Harmon M ./examples/src/shared-counter.lisp -1 +1 M ./src/backend/basic-backend.lisp -3 +3 M ./src/backend/httpd.lisp -1 +1 M ./src/backend/mod-lisp.lisp -2 +2 M ./src/rerl/protocol.lisp -2 +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070618.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Thu Jun 21 04:00:25 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 21 Jun 2007 00:00:25 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 20-Jun-2007 Message-ID: <20070621040025.DC77B1008@common-lisp.net> Tue Jun 19 01:18:50 EDT 2007 Henrik Hjelte * Make unencode-as-uri-non-strict work with all bad uris I know of M ./src/http.lisp -6 +17 Tue Jun 19 01:17:10 EDT 2007 Henrik Hjelte * testcases for unescape-as-uri-non-strict M ./src/packages.lisp +1 M ./t/http.lisp +20 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20070620.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Fri Jun 22 04:30:19 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 22 Jun 2007 00:30:19 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 21-Jun-2007 Message-ID: <20070622043019.E00AE25006@common-lisp.net> Thu Jun 21 06:48:46 EDT 2007 attila.lendvai at gmail.com * Move cl-l10n dependency into an asdf-system-connection M ./src/l10n/l10n.lisp +3 M ./src/packages.lisp -2 M ./ucw.asd -6 +10 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070621.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Sat Jun 23 04:30:33 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 23 Jun 2007 00:30:33 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 22-Jun-2007 Message-ID: <20070623043033.B253013047@common-lisp.net> Fri Jun 22 09:08:15 EDT 2007 attila.lendvai at gmail.com * Fix even more issues with the l10n split. It turned out to be more headache then expected... M ./src/helpers.lisp -18 +64 M ./src/l10n/l10n.lisp -45 +8 Fri Jun 22 09:06:02 EDT 2007 attila.lendvai at gmail.com * widget-component must be a full standard-component. use html-element and with-html-element-wrapper if you need a barebone class. M ./src/components/ajax.lisp +1 M ./src/components/widget.lisp -2 +2 Fri Jun 22 06:48:57 EDT 2007 attila.lendvai at gmail.com * Fix start.lisp after the l10n split M ./etc/start.lisp -1 +2 Fri Jun 22 06:44:57 EDT 2007 attila.lendvai at gmail.com * Fix even more issues with the l10n split M ./examples/src/examples.lisp -1 +1 M ./examples/src/l10n.lisp -5 +7 M ./src/helpers.lisp -2 +4 M ./src/l10n/l10n-application.lisp -1 +2 M ./src/l10n/l10n.lisp -14 M ./src/per-application-parenscript.lisp -8 +10 M ./src/rerl/standard-dispatchers.lisp -11 +12 M ./ucw.asd -2 +7 Fri Jun 22 05:49:59 EDT 2007 attila.lendvai at gmail.com * Fix l10n separation M ./src/rerl/standard-dispatchers.lisp -1 +1 Fri Jun 22 04:58:59 EDT 2007 attila.lendvai at gmail.com * Use the ...-syntax naming convention M ./examples/src/l10n.lisp -1 +1 M ./src/application-mixins/ajax-application.lisp -1 +1 M ./src/components/ajax.lisp -1 +1 M ./src/components/dojo-widgets.lisp -1 +1 M ./src/components/widget.lisp -1 +1 M ./src/parenscript-utils.lisp -1 +1 M ./src/rerl/basic-action.lisp -1 +1 M ./src/rerl/standard-action.lisp -1 +1 M ./src/rerl/standard-dispatchers.lisp -1 +1 Fri Jun 22 04:54:20 EDT 2007 attila.lendvai at gmail.com * Finish the previous weak try to move l10n stuff into a system connection Move around some l10n definitions and add some dummies that are available even without l10n being loaded. M ./src/components/window.lisp -3 +6 M ./src/helpers.lisp -47 +16 M ./src/l10n/l10n.lisp -2 +125 M ./src/packages.lisp -2 +2 M ./src/rerl/protocol.lisp -1 +4 M ./src/rerl/standard-dispatchers.lisp -42 +2 M ./src/yaclml/ucw-tags.lisp -14 M ./ucw.asd -2 +1 Fri Jun 22 04:53:10 EDT 2007 attila.lendvai at gmail.com * Mainly comments to some of the backend code M ./src/backend/basic-backend.lisp -1 +7 M ./src/backend/httpd.lisp -3 +9 M ./src/backend/iolib.lisp -1 +4 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070622.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Mon Jun 25 04:30:19 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 25 Jun 2007 00:30:19 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 24-Jun-2007 Message-ID: <20070625043019.2A1C415145@common-lisp.net> Sun Jun 24 09:53:56 EDT 2007 attila.lendvai at gmail.com * Follow iolib changes in the iolib backend, fix graceful shutdown of the backend M ./src/backend/iolib.lisp -24 +27 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070624.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From x-set at mail.ru Mon Jun 25 06:13:15 2007 From: x-set at mail.ru (John Doe) Date: Mon, 25 Jun 2007 10:13:15 +0400 Subject: [Bese-devel] UCW AJAX Problem Message-ID: Hi I am trying to use ucw_ajax with mod_lisp (SBCL 1.0.6 ASPLinux 11.2) When I use UCW's built-in web server the shared-counter example works somehow (sooner or later I receive "No workers available"), increasing of the counter leads to updating of values on all subscribed browsers. But when I trying same with mod_lisp, when increasing the counter server returns XML and Internet Explorer just show it as XML. I've found that built-in web server returned HTML and Internet Explorer rendered it OK. How to force same behaviour with mod_lisp backend ? Thanks in advance XSet From attila.lendvai at gmail.com Mon Jun 25 09:41:53 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 25 Jun 2007 11:41:53 +0200 Subject: [Bese-devel] UCW AJAX Problem In-Reply-To: References: Message-ID: > I am trying to use ucw_ajax with mod_lisp (SBCL 1.0.6 ASPLinux 11.2) When I use UCW's built-in web server the shared-counter example works somehow (sooner or later I receive "No workers available"), increasing of the counter leads to updating of values on all subscribed browsers. But when I trying same with mod_lisp, when increasing the counter server returns XML and Internet Explorer just show it as XML. I've found that built-in web server returned HTML and Internet Explorer rendered it OK. How to force same behaviour with mod_lisp backend ? the shared counter example is excercising the most complex, and therefore most fragile, part of ucw: the ajax polling of the clients. that code is more like a proof of concept then a tested production ready feature. the "no more workers" error is most probably due to the request processing threads falling asleep. they should set up a timeout and test the socket on which the request came, and bail out when the socket is closed (browser stop pressed/closed). otherwise the rest of the examples should work, with or without mod_lisp. i'm testing IE from time to time, but it's not my primary platform, so it may be broken. but i think the currently checked in code should worked for me with ie6. -- attila From x-set at mail.ru Tue Jun 26 04:00:26 2007 From: x-set at mail.ru (John Doe) Date: Tue, 26 Jun 2007 08:00:26 +0400 Subject: =?koi8-r?Q?Re=3A_Re=3A_[Bese-devel]_UCW_AJAX_Problem?= In-Reply-To: References: Message-ID: Thanks for answer, attila. When I change backend from built-in to mod_lisp, IE gets right XML answer (with increased counter and HTML elements) through AJAX, but can't render it properly. I think mod_lisp backend sends something different from built-in web server. Is it possible to turn on more detailed logging on JavaScript side ? Another question about lisp implementations. I see that SBCL 1.0.6 collects garbage too long (up to 20 sec. with default options), it is not acceptable for production. UCW's AJAX branch don't compile with Lispworks 4.4 for Windows (errors related to MOPP), same thing with LispWorks 5 Personal Edition for Linux. What implementation(s) do you actually use ? Best regards XSet From mbaringer at common-lisp.net Tue Jun 26 04:15:17 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 26 Jun 2007 00:15:17 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 25-Jun-2007 Message-ID: <20070626041517.3CECE4E00F@common-lisp.net> Mon Jun 25 18:12:52 EDT 2007 attila.lendvai at gmail.com * defvar *tal-truename* instead of the declare special's M ./src/tal/handlers.lisp -9 +7 M ./src/tal/tal-environment.lisp -1 M ./src/yaclml.lisp +2 Mon Jun 25 18:11:03 EDT 2007 attila.lendvai at gmail.com * Cleanup: renamed some tal functions, exported a few. WARNING: this involes some API changes. M ./src/packages.lisp -5 +4 M ./src/tal/compile.lisp +1 M ./src/tal/tal-environment.lisp -13 +13 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20070625.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mbaringer at common-lisp.net Tue Jun 26 04:30:24 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 26 Jun 2007 00:30:24 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 25-Jun-2007 Message-ID: <20070626043024.770162B13C@common-lisp.net> Mon Jun 25 18:24:40 EDT 2007 attila.lendvai at gmail.com * Added captcha support, which is a custom application that keeps an LRU queue of registered captchas and needs a captcha factory function A ./src/captcha.lisp M ./src/packages.lisp -1 +6 M ./ucw.asd +1 Mon Jun 25 18:18:45 EDT 2007 attila.lendvai at gmail.com * Housekeeping M ./src/l10n/l10n-application.lisp -3 M ./src/per-application-parenscript.lisp -2 +2 M ./ucw.asd -3 +5 Mon Jun 25 18:17:48 EDT 2007 attila.lendvai at gmail.com * Use -foo- naming convention for non-hygienic macro variables M ./src/rerl/standard-action.lisp -10 +10 M ./src/rerl/standard-dispatchers.lisp -2 +3 Mon Jun 25 18:16:19 EDT 2007 attila.lendvai at gmail.com * Follow yaclml tal changes M ./src/components/option-dialog.lisp -1 +1 M ./src/components/range-view.lisp -1 +1 M ./src/components/template.lisp -4 +5 Mon Jun 25 18:08:50 EDT 2007 attila.lendvai at gmail.com * Fix some dojo-widget stuff M ./src/components/dojo-widgets.lisp -18 +26 M ./src/packages.lisp +1 M ./src/per-application-parenscript.lisp -2 +2 Sun Jun 24 15:16:22 EDT 2007 attila.lendvai at gmail.com * Form field registration needs less js M ./src/components/form.lisp -12 +11 M ./src/per-application-parenscript.lisp -14 +17 Sun Jun 24 15:16:11 EDT 2007 attila.lendvai at gmail.com * Fix checkbox, add ucw-checkbox class to it M ./src/components/form.lisp -1 +11 M ./wwwroot/ucw/ucw.css +8 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070625.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From attila.lendvai at gmail.com Tue Jun 26 08:00:34 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 26 Jun 2007 10:00:34 +0200 Subject: [Bese-devel] UCW AJAX Problem In-Reply-To: References: Message-ID: > Thanks for answer, attila. When I change backend from built-in to mod_lisp, IE gets right XML answer (with increased counter and HTML elements) through AJAX, but can't render it properly. I think mod_lisp backend sends something different from built-in web server. Is it possible to turn on more detailed logging on JavaScript side ? there's a slot on the application, 'apropos and the slime inspectors are your friend... :) > Another question about lisp implementations. I see that SBCL 1.0.6 collects garbage too long (up to 20 sec. with default options), it is not acceptable for production. UCW's AJAX branch don't compile with Lispworks 4.4 for Windows (errors related to MOPP), same thing with LispWorks 5 Personal Edition for Linux. What implementation(s) do you actually use ? i use sbcl head, and it works fine for me. i've only seen such long gc times when using lots of weak pointers (sbcl's gc is using linear search at a point). i've minimized weak pointer usage it ucw (in a recent patch), but there's still one per component. but again, you shouldn't experience 20 secs with the latest ucw and sbcl. lw's slot-value-using-class is passing in the slot name instead of the effective slot instance, this may cause problems. they should read the spec finally... :) i'm personally not interested in lw, but patches are welcome. -- attila From x-set at mail.ru Wed Jun 27 04:21:19 2007 From: x-set at mail.ru (John Doe) Date: Wed, 27 Jun 2007 08:21:19 +0400 Subject: =?koi8-r?Q?Re[3]=3A_[Bese-devel]_UCW_AJAX_Problem?= In-Reply-To: <50e8e4f60706260033y152e3120hf89472f62215fe92@mail.gmail.com> References: <50e8e4f60706260033y152e3120hf89472f62215fe92@mail.gmail.com> Message-ID: Hi > I would suggest you look at the communication between client and server > using the Firefox plugin called Tamper Data. Is it possible to find crossbrowser solution (I need to support IE too) ? > modlisp form source. It have a vague rememberance that it may have with > chunked transfers to do. Also, ask yourself what you want the modlisp > backend for. Is it a premature optimization? Also you can still have apache > but use proxying and mod_rewrite to communicate with the http or another > backend. Simply with mod_lisp backend all worker threads never die, but with UCW's built-in server I get "No worker threads" constantly. > This seems very very strange, I have not heard of it. Does SBCL stop for > garbage collection at all? I use it all the time and don't see this. Exactly. It should have generational GC, but it stops all jobs while collecting garbage. Is it possible to change this behaviour somehow ? What version of SBCL and Linux do you use for real things ? > SBCL, which is probably most popular. I have also tried Allegro. You can > also try clisp or openmcl. But stay away of windows, it is not acceptable > for production. Sure ;-) Our target server platform is Linux. > If I were you I would stick with SBCL/Linux and the default http server. It is only one working solution for now, 'cause I can't build working UCW_AJAX using Lispworks,mod_lisp etc. I'd like to use LispWorks. Trying to port current UCW_AJAX to Lispworks > 4.4. Thanks for answers XSet -----Original Message----- From: "Henrik Hjelte" To: "John Doe" Date: Tue, 26 Jun 2007 09:33:06 +0200 Subject: Re: Re: [Bese-devel] UCW AJAX Problem > > On 6/26/07, John Doe wrote: > > > > Thanks for answer, attila. When I change backend from built-in to > > mod_lisp, IE gets right XML answer (with increased counter and HTML > > elements) through AJAX, but can't render it properly. I think mod_lisp > > backend sends something different from built-in web server. Is it possible > > to turn on more detailed logging on JavaScript side ? > > > I would suggest you look at the communication between client and server > using the Firefox plugin called Tamper Data. Also make sure you use the last > modlisp form source. It have a vague rememberance that it may have with > chunked transfers to do. Also, ask yourself what you want the modlisp > backend for. Is it a premature optimization? Also you can still have apache > but use proxying and mod_rewrite to communicate with the http or another > backend. > > Another question about lisp implementations. I see that SBCL 1.0.6 collects > > garbage too long (up to 20 sec. with default options), it is not acceptable > > for production. > > > This seems very very strange, I have not heard of it. Does SBCL stop for > garbage collection at all? I use it all the time and don't see this. > > > > UCW's AJAX branch don't compile with Lispworks 4.4 for Windows (errors > > related to MOPP), same thing with LispWorks 5 Personal Edition for Linux. > > What implementation(s) do you actually use ? > > SBCL, which is probably most popular. I have also tried Allegro. You can > also try clisp or openmcl. But stay away of windows, it is not acceptable > for production. > > If I were you I would stick with SBCL/Linux and the default http server. > > Kind regards, > Henrik Hjelte > > > > Best regards > > XSet > > _______________________________________________ > > bese-devel mailing list > > bese-devel at common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel > > > > > > > > From x-set at mail.ru Wed Jun 27 04:58:25 2007 From: x-set at mail.ru (John Doe) Date: Wed, 27 Jun 2007 08:58:25 +0400 Subject: =?koi8-r?Q?Re[3]=3A_[Bese-devel]_UCW_AJAX_Problem?= In-Reply-To: References: Message-ID: > there's a slot on the application, 'apropos and the slime inspectors > are your friend... :) OK ;-) > i use sbcl head, and it works fine for me. i've only seen such long gc > times when using lots of weak pointers (sbcl's gc is using linear > search at a point). i've minimized weak pointer usage it ucw (in a > recent patch), but there's still one per component. but again, you > shouldn't experience 20 secs with the latest ucw and sbcl. I simply forced welcome page of UCW example to refresh every second (with UCW's built-in server) with only 5 connections, and SBCL started to collect garbage every 20-30 sec. It stoped all jobs for 10-15 sec while GC. How to fix it ? May be there is an option like (setf *use-generational-gc* t) ???? > i'm personally not interested in lw, but patches are welcome.> Frankly speaking If there is a way to fix/avoid SBCL's GC problem, I'd prefer to use SBCL ('cause of more efficient compiler and license). Best regards XSet -----Original Message----- From: "Attila Lendvai" To: "John Doe" Date: Tue, 26 Jun 2007 10:00:34 +0200 Subject: Re: Re: [Bese-devel] UCW AJAX Problem > > > Thanks for answer, attila. When I change backend from built-in to mod_lisp, IE gets right XML answer (with increased counter and HTML elements) through AJAX, but can't render it properly. I think mod_lisp backend sends something different from built-in web server. Is it possible to turn on more detailed logging on JavaScript side ? > > there's a slot on the application, 'apropos and the slime inspectors > are your friend... :) > > > Another question about lisp implementations. I see that SBCL 1.0.6 collects garbage too long (up to 20 sec. with default options), it is not acceptable for production. UCW's AJAX branch don't compile with Lispworks 4.4 for Windows (errors related to MOPP), same thing with LispWorks 5 Personal Edition for Linux. What implementation(s) do you actually use ? > > i use sbcl head, and it works fine for me. i've only seen such long gc > times when using lots of weak pointers (sbcl's gc is using linear > search at a point). i've minimized weak pointer usage it ucw (in a > recent patch), but there's still one per component. but again, you > shouldn't experience 20 secs with the latest ucw and sbcl. > > lw's slot-value-using-class is passing in the slot name instead of the > effective slot instance, this may cause problems. they should read the > spec finally... :) > > i'm personally not interested in lw, but patches are welcome. > > -- > attila > From attila.lendvai at gmail.com Wed Jun 27 08:27:54 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Wed, 27 Jun 2007 10:27:54 +0200 Subject: [Bese-devel] UCW AJAX Problem In-Reply-To: References: Message-ID: ucw_ajax head, SBCL 1.0.6.59 (which means the multithreaded-httpd backend) (load (merge-pathnames "etc/start.lisp" (asdf:component-pathname (asdf:find-system :ucw)))) ati at ed101:~/workspace$ nice -n 20 httperf --rate 10 --num-conn 200 --port 8080 --server localhost --uri / httperf --client=0/1 --server=localhost --port=8080 --uri=/ --rate=10 --send-buffer=4096 --recv-buffer=16384 --num-conns=200 --num-calls=1 Maximum connect burst length: 3 Total: connections 200 requests 200 replies 200 test-duration 19.969 s Connection rate: 10.0 conn/s (99.8 ms/conn, <=4 concurrent connections) Connection time [ms]: min 30.6 avg 50.0 max 324.0 median 32.5 stddev 39.1 Connection time [ms]: connect 0.1 Connection length [replies/conn]: 1.000 Request rate: 10.0 req/s (99.8 ms/req) Request size [B]: 60.0 Reply rate [replies/s]: min 9.4 avg 10.0 max 10.5 stddev 0.6 (3 samples) Reply time [ms]: response 37.1 transfer 12.8 Reply size [B]: header 206.0 content 8925.0 footer 0.0 (total 9131.0) Reply status: 1xx=0 2xx=200 3xx=0 4xx=0 5xx=0 CPU time [s]: user 0.97 system 9.75 (user 4.8% system 48.8% total 53.7%) Net I/O: 89.9 KB/s (0.7*10^6 bps) Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 ati at ed101:~/workspace$ it's not lightning fast, but i don't see the long gc pauses. to check it: (progn (sb-alien:define-alien-variable gencgc-verbose sb-alien:int) (setf gencgc-verbose 2)) it'll print to the inferior lisp buffer when running through slime. also make sure logging is not interfering, because the X server can use up your machine when scrolling 10 lines/sec in an term window... :) -- attila From mbaringer at common-lisp.net Thu Jun 28 04:05:05 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 28 Jun 2007 00:05:05 -0400 (EDT) Subject: [Bese-devel] New patches to fiveam: 27-Jun-2007 Message-ID: <20070628040505.C5F072E1CC@common-lisp.net> Tue Jun 26 07:48:05 EDT 2007 Marco Baringer * Removed the default-test-args slot from test-suite. This slot doesn't really do what it's says it does (redefining it doesn't change things the way you'd expect) and it causes no end of headaches by confusing compile-time definitions with run-time definitions. M ./src/classes.lisp -5 +1 M ./src/suite.lisp -10 +6 M ./src/test.lisp -1 +1 M ./t/tests.lisp -3 +1 Tue Jun 26 07:49:14 EDT 2007 Marco Baringer * There is no fixture named foo, wtf? M ./t/tests.lisp -1 +1 Tue Jun 26 07:49:00 EDT 2007 Marco Baringer * Don't put a literal suite object into a test form's macro expnsion. Use either *SUITE* or (GET-TEST NAME) M ./src/test.lisp -4 +4 Tue Jun 26 06:59:18 EDT 2007 Marco Baringer * Add support for collecting profiling information during test runs. M ./src/classes.lisp -1 +12 M ./src/run.lisp -13 +20 M ./src/test.lisp -6 +8 M ./t/tests.lisp -1 +1 Tue Jun 26 06:54:43 EDT 2007 Marco Baringer * Avoid dobule evaluation of IS-FALSE's argument M ./src/check.lisp -7 +10 An updated tarball of fiveam's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/fiveam-20070627.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=fiveam;a=summary From cyberlync at gmail.com Fri Jun 29 05:18:56 2007 From: cyberlync at gmail.com (Eric Merritt) Date: Thu, 28 Jun 2007 22:18:56 -0700 Subject: [Bese-devel] Error "MOD_LISP does not specify a backend" on sbcl/ubuntu using ucw_boxset Message-ID: Everyone, I am using ucw_boxset on sbcl/ubuntu. I have been doing my development with the built in webserver without any problem. However, when I try ucw:create-server with the correct parameters: (ucw:create-server :backend '(:mod_lisp :port 3000)) I get the error "MOD_LISP does not specify a backend". Wil be happy to provide my start.lisp if thats required. At the moment I have no insight onto this problem. Thanks, Eric From x-set at mail.ru Fri Jun 29 05:29:06 2007 From: x-set at mail.ru (John Doe) Date: Fri, 29 Jun 2007 09:29:06 +0400 Subject: [Bese-devel] UCW AJAX Question In-Reply-To: References: Message-ID: Hi I have working UCW configuration (SBCL 1.0.6, UCW built-in web server), and going to skip configuration questions for now. The more interesting question: How to call Lisp methods directly from JavaScript and return results through AJAX callback ? According UCW examples I could register AJAX action for button or another widget, but I didn't found how to call AJAX method from arbitrary JavaScript function. For example, I create a table with JavaScript which do all rendering at client side, JavaScript decides when to make request to server for next portion of information. Please, help! Is it possible with UCW_AJAX to pack arbitrary data (XML,S-EXPR ???) and send to Common Lisp side, then receive arbitrary form data from server, unpack it and render (method should work with IE without special plugins) ? With best regards XSet From henrik at evahjelte.com Fri Jun 29 07:32:59 2007 From: henrik at evahjelte.com (Henrik Hjelte) Date: Fri, 29 Jun 2007 09:32:59 +0200 Subject: [Bese-devel] UCW AJAX Question In-Reply-To: <50e8e4f60706290014x218f3116ifd15edef6f374799@mail.gmail.com> References: <50e8e4f60706290014x218f3116ifd15edef6f374799@mail.gmail.com> Message-ID: <50e8e4f60706290032j6f3751fdy91d55b0e574cb750@mail.gmail.com> I use the json-rpc protocol. an implementation is in the cl-json project on common-lisp.net I attach a file that does the last bit, connecting rpc from cl-json with ucw. I haven't checked if it works with the latest ucw yet. On the client side you can use a javascript library to encode json. Then use a way to send the request. such as dojo bind. Decoding can be as simple as eval on the returned data. You can read more on json.org Good luck, Henrik Hjelte On 6/29/07, John Doe wrote: > Hi > > I have working UCW configuration (SBCL 1.0.6, UCW built-in web server), and going to skip configuration questions for now. The more interesting question: > How to call Lisp methods directly from JavaScript and return results through AJAX callback ? > According UCW examples I could register AJAX action for button or another widget, but I didn't found how to call AJAX method from arbitrary JavaScript function. For example, I create a table with JavaScript which do all rendering at client side, JavaScript decides when to make request to server for next portion of information. > > Please, help! Is it possible with UCW_AJAX to pack arbitrary data (XML,S-EXPR ???) and send to Common Lisp side, then receive arbitrary form data from server, unpack it and render (method should work with IE without special plugins) ? > > With best regards > XSet > _______________________________________________ > bese-devel mailing list > bese-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ucw-json-rpc.lisp Type: application/octet-stream Size: 1660 bytes Desc: not available URL: From x-set at mail.ru Fri Jun 29 07:58:44 2007 From: x-set at mail.ru (John Doe) Date: Fri, 29 Jun 2007 11:58:44 +0400 Subject: =?koi8-r?Q?Re[2]=3A_[Bese-devel]_UCW_AJAX_Question?= In-Reply-To: <50e8e4f60706290014x218f3116ifd15edef6f374799@mail.gmail.com> References: <50e8e4f60706290014x218f3116ifd15edef6f374799@mail.gmail.com> Message-ID: Thank you very much! -----Original Message----- From: "Henrik Hjelte" To: "John Doe" Date: Fri, 29 Jun 2007 09:14:59 +0200 Subject: Re: [Bese-devel] UCW AJAX Question > > I use the json-rpc protocol. an implementation is in the cl-json > project on common-lisp.net I attach a file that does the last bit, > connecting rpc from cl-json with ucw. I haven't checked if it works > with the latest ucw yet. > > On the client side you can use a javascript library to encode json. > Then use a way to send the request. such as dojo bind. Decoding can be > as simple as eval on the returned data. You can read more on json.org > > Good luck, > Henrik Hjelte > > On 6/29/07, John Doe wrote: > > Hi > > > > I have working UCW configuration (SBCL 1.0.6, UCW built-in web server), and going to skip configuration questions for now. The more interesting question: > > How to call Lisp methods directly from JavaScript and return results through AJAX callback ? > > According UCW examples I could register AJAX action for button or another widget, but I didn't found how to call AJAX method from arbitrary JavaScript function. For example, I create a table with JavaScript which do all rendering at client side, JavaScript decides when to make request to server for next portion of information. > > > > Please, help! Is it possible with UCW_AJAX to pack arbitrary data (XML,S-EXPR ???) and send to Common Lisp side, then receive arbitrary form data from server, unpack it and render (method should work with IE without special plugins) ? > > > > With best regards > > XSet > > _______________________________________________ > > bese-devel mailing list > > bese-devel at common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel > > > > > > > > ATTACHMENT: application/octet-stream (ucw-json-rpc.lisp) > From attila.lendvai at gmail.com Fri Jun 29 09:36:13 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 29 Jun 2007 11:36:13 +0200 Subject: [Bese-devel] Error "MOD_LISP does not specify a backend" on sbcl/ubuntu using ucw_boxset In-Reply-To: References: Message-ID: > (ucw:create-server :backend '(:mod_lisp :port 3000)) :mod-lisp -- attila From attila.lendvai at gmail.com Fri Jun 29 09:43:39 2007 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 29 Jun 2007 11:43:39 +0200 Subject: [Bese-devel] UCW AJAX Question In-Reply-To: References: Message-ID: > How to call Lisp methods directly from JavaScript and return results through AJAX callback ? > According UCW examples I could register AJAX action for button or another widget, but I didn't found how to call AJAX method from arbitrary JavaScript function. For example, I create a table with JavaScript which do all rendering at client side, JavaScript decides when to make request to server for next portion of information. check out the new js-to-lisp-rpc macro. it has a little deficiency, though: dojo does not propagate the return values of the load function properly, so the lisp return value is not returned correctly to the js code for now. but you can specify custom "node walkers" to process parts of the ajax answer (xml in the standard ucw js functions), check out ajax-render-new-tab that renders a dojo tab and sends it down to the js. this node walking stuff may deserve some cleanup, but conceptually it won't be much different. you can also find examples to js-to-lisp-rpc in dojo-widgets.js, for example in the dojo-inline-edit-box. -- attila From kilian.sprotte at googlemail.com Fri Jun 29 12:27:52 2007 From: kilian.sprotte at googlemail.com (Kilian Sprotte) Date: Fri, 29 Jun 2007 14:27:52 +0200 Subject: [Bese-devel] The symbol "COLLECT-TIMING" is not external in the IT.BESE.ARNESI package. Message-ID: <1d26dc7e0706290527o33e3310ei9da13ed468b76241@mail.gmail.com> Hi, I currently have a problem compiling fiveam (getting the above message). Maybe http://common-lisp.net/project/bese/repos/arnesi_dev/ is not yet up-to-date? Best, Kilian From jmckitrick at reedlarkeygroup.com Fri Jun 29 12:43:48 2007 From: jmckitrick at reedlarkeygroup.com (Jonathon McKitrick) Date: Fri, 29 Jun 2007 08:43:48 -0400 Subject: [Bese-devel] The symbol "COLLECT-TIMING" is not external in the IT.BESE.ARNESI package. In-Reply-To: <1d26dc7e0706290527o33e3310ei9da13ed468b76241@mail.gmail.com> References: <1d26dc7e0706290527o33e3310ei9da13ed468b76241@mail.gmail.com> Message-ID: On Jun 29, 2007, at 8:27 AM, Kilian Sprotte wrote: > Hi, > > I currently have a problem compiling fiveam (getting the above > message). > Maybe http://common-lisp.net/project/bese/repos/arnesi_dev/ is not yet > up-to-date? I just found the problem myself. I added #:collect-timing to packages.lisp in the arnesi src directory. I was about to ask... how do you guys want patches submitted? -- Jonathon McKitrick jmckitrick at reedlarkeygroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From evrim at core.gen.tr Fri Jun 29 19:50:17 2007 From: evrim at core.gen.tr (Evrim Ulu) Date: Fri, 29 Jun 2007 22:50:17 +0300 Subject: [Bese-devel] The symbol "COLLECT-TIMING" is not external in the IT.BESE.ARNESI package. In-Reply-To: References: <1d26dc7e0706290527o33e3310ei9da13ed468b76241@mail.gmail.com> <468544BE.70909@core.gen.tr> Message-ID: <46856279.9070300@core.gen.tr> Jonathon McKitrick wrote: > On Jun 29, 2007, at 1:43 PM, Evrim Ulu wrote: > >> Jonathon McKitrick wrote: > > Patch attached. patch applied. evrim. From mbaringer at common-lisp.net Sat Jun 30 04:00:30 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 30 Jun 2007 00:00:30 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 29-Jun-2007 Message-ID: <20070630040030.A025B3F003@common-lisp.net> Fri Jun 29 15:03:29 EDT 2007 jmckitrick at reedlarkeygroup.com * Export COLLECT-TIMING function. M ./src/packages.lisp +1 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20070629.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Sat Jun 30 04:30:27 2007 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 30 Jun 2007 00:30:27 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 29-Jun-2007 Message-ID: <20070630043027.2DA0B5D006@common-lisp.net> Fri Jun 29 05:54:10 EDT 2007 attila.lendvai at gmail.com * Follow iolib changes (credit goes to Stelian Ionescu) M ./src/backend/iolib.lisp -4 +6 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20070629.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary