From mbaringer at common-lisp.net Tue Aug 1 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 1 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 31-Jul-2006 Message-ID: <20060801043010.3F84675157@common-lisp.net> Thu Jul 27 19:57:21 EDT 2006 svg at surnet.ru * fix typo M ./src/rerl/standard-action.lisp -1 +1 Mon Jul 31 19:23:12 EDT 2006 svg at surnet.ru * cleanup according to latest yaclml M ./src/yaclml/ucw-tags.lisp -8 +2 Mon Jul 31 19:22:08 EDT 2006 svg at surnet.ru * use copy-alist instead of copy-tree in clone-backtracks M ./src/rerl/backtracking.lisp -1 +1 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060731.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From luca at pca.it Tue Aug 1 11:21:10 2006 From: luca at pca.it (Luca Capello) Date: Tue, 01 Aug 2006 13:21:10 +0200 Subject: [Bese-devel] error starting with ucwctl - problem with cl-launch? In-Reply-To: <187B5F39-5673-484A-A016-9C4251123A18@mammalia.net> References: <187B5F39-5673-484A-A016-9C4251123A18@mammalia.net> Message-ID: <87mzaoitw9.fsf@gismo.pca.it> Hello! For the CL-Debian mailing list, the parent post is here [1]. On Mon, 31 Jul 2006 06:59:41 +0200, Joseph Wright wrote: > I'm trying to start ucw using ucwctl on recent debian unstable > (because it has recent sbcl and threads). I may downgrade or try it > on another system such as redhat to see if I get similar results. Actually, this is a known problem, reported the first time back in April at [2] (BTW, I don't know why the first message isn't complete). I remember I experienced it (indeed I've a complete backtrace of it), but it's quite a long time since I haven't started ucwctl, as I was busy with other stuff. I'll try to narrow down the problem ASAP. I cc:ed the CL-Debian mailing list, as I bet this is a Debian specific problem, as I never experienced it with an upstream SBCL, SLIME and CL-Launch (tested on 2 different machines). Thx, bye, Gismo / Luca [1] http://common-lisp.net/pipermail/bese-devel/2006-July/002530.html [2] http://common-lisp.net/pipermail/bese-devel/2006-April/001926.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From attila.lendvai at gmail.com Tue Aug 1 17:35:26 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 1 Aug 2006 19:35:26 +0200 Subject: [Bese-devel] about the patch "l10n/yaclml integration fixed." Message-ID: hi! i've pulled this to _ajax and i have a few questions and an alternative impl you can find at the end of the mail... is the :it.bese.ucw.l10n.tags really needed? i think only one or two tags could be defined in it that could go into " in the :lang package are rendering to the yaclml stream) ;; locale specific (defresources en (activity-label.finder<> (entity) (<:as-html "Browsing ") (entities<> entity))) ;; the rest is not locale specific (defun entities (entity &key capitalize-first-letter) (bind (((values entity-name found) (localize entity))) ;; the localize call here localizes the entity name (setf entity-name (plural-of entity-name)) (values (if capitalize-first-letter (capitalize-first-letter entity-name) entity-name) found))) (defun entities<> (entity &key capitalize-first-letter) (bind (((values str foundp) (entities entity :capitalize-first-letter capitalize-first-letter))) (<:span :class (append* (unless foundp +missing-resource-css-class+) "entity-name") (<:as-html str)))) and here's the proposed alternative that i'll push unless Maciek or someone has any objections. #| delete this (defpackage :it.bese.ucw.l10n.tags (:nicknames #: From mbaringer at common-lisp.net Wed Aug 2 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 2 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 1-Aug-2006 Message-ID: <20060802043010.70BB739011@common-lisp.net> Tue Aug 1 11:54:59 EDT 2006 Henrik Hjelte * misc css cleanup M ./wwwroot/ucw/examples/examples.css -7 +7 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060801.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From lists at infoway.net Wed Aug 2 19:58:40 2006 From: lists at infoway.net (Daniel Salama) Date: Wed, 2 Aug 2006 15:58:40 -0400 Subject: [Bese-devel] Development/Production Environment Message-ID: Hi guys, I hope I'm not so much off-topic here, but here I go :) I was watching Marco's hellow-world video as well as slime's video. I have been able to work with Slime and UCW and everything locally. However, I was testing how the deployment environment would look like have a few questions/problems/suggestions I'd like to ask for some help. First, starting with the hello-world movie, Marco mentions the environment to be SBCL, Apache, mod_lisp. I was able to follow it by using the embedded web server in ucw. It would be really great if someone could document or "video-record" how to setup up ucw with Apache and mod_lisp. Second, moving onto the slime movie, and this is more along the Emacs line but I'm sure the answers will help me and others, the way Marco uses Emacs to connect to a remote instance using Tramp looks really good. I believe that is the appropriate way to connect to production systems. However, I've been trying for a long time to setup Emacs with Tramp and connect to a remote server. The connectivity works just fine. However, when I try to load or save a remote file, I keep getting an error message in the status line (after connecting via SSH) that says: "Wrong type argument: stringp, nil". I don't know what that means. Looking at the messages buffer, I see: Error: File error: Encoding remote file failed vc-file-clearprops: Wrong type argument: stringp, nil I still don't know what that means. Looking around, I think it has to do with mimencode/uuencode. I don't have those tools on the remote system (Fedora FC4). So, I read that by issuing (setq tramp-default- method "scp") in my emacs profile should fix it, but that didn't. I also loaded Perl MIME::Tools, which have those libraries, but that didn't work either. I can continue developing in my local PC, but am afraid that sooner or later I need to get that resolved and it's gonna come back to haunt me. Lastly, I think it would really benefit to have some video of an actual "debugging" or maintenance session of ucw over a remote connection. Meaning, showing how a web application could generate an error on the browser. The programmer would connect via slime to the remote machine, fix the error on the LISP instance, and then refresh the page and the error be fixed. Any help or pointers would be greatly appreciated. Thanks, Daniel From svg at surnet.ru Wed Aug 2 20:25:07 2006 From: svg at surnet.ru (Vladimir Sekissov) Date: Thu, 03 Aug 2006 02:25:07 +0600 (YEKST) Subject: [Bese-devel] Development/Production Environment In-Reply-To: References: Message-ID: <20060803.022507.12019759.svg@surnet.ru> Good day, lists> Error: File error: Encoding remote file failed lists> vc-file-clearprops: Wrong type argument: stringp, nil lists> lists> I still don't know what that means. Looking around, I think it has to lists> do with mimencode/uuencode. I don't have those tools on the remote lists> system (Fedora FC4). So, I read that by issuing (setq tramp-default- lists> method "scp") in my emacs profile should fix it, but that didn't. I lists> also loaded Perl MIME::Tools, which have those libraries, but that lists> didn't work either. Try Tramp's "scpx" method and turn tramp-debug-buffer to t. May be Tramp debug output give you some ideas. Best Regards, Vladimir Sekissov From maciekp at japhy.fnord.org Wed Aug 2 21:12:15 2006 From: maciekp at japhy.fnord.org (Maciek Pasternacki) Date: Wed, 02 Aug 2006 23:12:15 +0200 Subject: [Bese-devel] about the patch "l10n/yaclml integration fixed." In-Reply-To: (Attila Lendvai's message of "Tue, 1 Aug 2006 19:35:26 +0200") References: Message-ID: <87lkq6j100.fsf@lizard.king> On Pungenday, Confusion 67, 3172 YOLD, Attila Lendvai wrote: > i've pulled this to _ajax and i have a few questions and an alternative impl you can find at the end of the mail... > > is the :it.bese.ucw.l10n.tags really needed? i think only one or two tags could be defined in it that could go into missing some xml namespace related reason) In what I found in l10n-module.lisp there was reference to (FIND-PACKAGE :IT.BESE.UCW.L10N) in :AROUND method updating YACLML:*URI-TO-PACKAGE*, so I assumed l10n tags should be placed in separate package; personally, I don't see any reasons why shouldn't whey be in and about the old that you can find below locally in my project. i propose that > instead. i think no tag is useful for resources that need arguments, > they 99% of the time need more caretaking then a simply > <:as-html'ing their return value. I agree; however, for content, yaclml tags take multiple values (&REST). It's clear how it corresponds to code in Lisp (<:FOO ...) code, but I couldn't figure out if and how Yaclml splits TAL XML tag body into body arguments for tag macro. OTOH when localizing, this body won't be a long string like a paragraph of text but just symbol name to look up in resource bundle, so this might be a non-issue. If your code works, I'm OK with it. > and here's the proposed alternative that i'll push unless Maciek or > someone has any objections. [snip] It's OK, more elegant than my quick solution. Feel free to push it. Will you push it only to ucw_ajax, or also to ucw_dev? Greets, -- __ Maciek Pasternacki [ http://japhy.fnord.org/ ] `| _ |_\ / { (2) No matter how hard you try, you can't increase ,|{-}|}| }\/ the speed of light. } \/ |____/ ( RFC 1925, Basic Truths of Networking ) -><- From cjstuij at gmail.com Wed Aug 2 21:14:23 2006 From: cjstuij at gmail.com (Ties Stuij) Date: Wed, 2 Aug 2006 23:14:23 +0200 Subject: [Bese-devel] Development/Production Environment In-Reply-To: References: Message-ID: >It would be really great if > someone could document or "video-record" how to setup up ucw with > Apache and mod_lisp. this works for me: You can choose between apache 1 and 2. First of course you have to have a Apache web server up and runnnig; then you have to add the mod-lisp module by Marc Battyani which you find at http://www.fractalconcept.com/asp/html/mod_lisp.html First download the mod_lisp c file. Watch out, don't follow the logic of the website. Except for the windows version the info is outdated concerning the apache 1 version and info about apache 2 is non-existent. Go to subversion from the download page or click the links below: * apache 1 .c file - mod_lisp.c * apache 1 binaries for windows - there is a link on the site for version 2.32 but it leads to nowhere * apache 2 .c file - mod_lisp2.c * apache 2 windows binary - mod_lisp2.zip As stated in the intro, if you want to use ucw on a windows machine you're on your own. I have got no experience or information. If you went for the c module on a unix clone, use the command. apxs -i -c mod_lisp.c or apxs2 -i -c mod_lisp2.c for respectively apache 1 or 2. This will install the module in the appropriate apache directory. Debian users using apt-get should get one of the apache dev versions to get apxs(2) installed. Then add the following lines to 'httpd.conf' or other relevant configure file in your apache configuration directory for both apache 1 and 2. Just be sure to change mod_lisp.so to mod_lisp2.so for apache 2. LoadModule lisp_module /path/to/modules/directory/mod_lisp.so LispServer 127.0.0.1 3001 ucw SetHandler lisp-handler This means that ucw INTERNALLY talks to apache on port 3001 at the internet address 127.0.0.1 (so in this case your localhost). The locationmatch part redirects all traffic from (in this case) 127.0.0.1 with prefix "/path/" and files ending on .ucw to ucw. So http://127.0.0.1/path/something.ucw as well as http://127.0.0.1/path/anotherpath/somethingelse.ucw will be redirected, but not http://127.0.0.1/somethingfaulty.ucw or http://127.0.0.1/path/somethingfaulty.html . greets, Ties From lists at infoway.net Wed Aug 2 21:55:54 2006 From: lists at infoway.net (Daniel Salama) Date: Wed, 2 Aug 2006 17:55:54 -0400 Subject: [Bese-devel] Development/Production Environment In-Reply-To: <20060803.022507.12019759.svg@surnet.ru> References: <20060803.022507.12019759.svg@surnet.ru> Message-ID: <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> Thanks for the prompt response. Your suggestion solved the problem along with a small typo I was making. When loading a file in Emacs, I was loading /ssh:dsalama at host:... and I was not supposed to type the ssh: prefix. So by just typing /dsalama at host:..., loading and saving remote files works just fine. Now, onto the next problem with Slime. I can't C-c C-k. Whenever I do that, the lisp debugger comes up saying that I'm trying to load an invalid file: The file "/scpx:dsalama at sun.user.net:/home/dsalama/dev/lisp/ucw- boxset/ucw-boxset/ucw_dev/examples/hello.lisp" does not exist. [Condition of type SB-INT:SIMPLE-FILE-ERROR] Restarts: 0: [ABORT] Abort SLIME compilation. 1: [ABORT-REQUEST] Abort handling SLIME request. 2: [TERMINATE-THREAD] Terminate this thread (#) Backtrace: 0: (TRUENAME #P"/scpx:dsalama at host.com:/home/dsalama/dev/lisp/ucw- boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 1: ((FLET SB-C::TRY-WITH-TYPE) #P"/scpx:dsalama at host.com:/home/ dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp" "lisp" T) 2: (SB-C::VERIFY-SOURCE-FILE "/scpx:dsalama at host.com:/home/dsalama/ dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 3: (COMPILE-FILE "/scpx:dsalama at host.com:/home/dsalama/dev/lisp/ ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 4: ((LAMBDA NIL)) 5: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS (T)) # # #) 6: ((SB-PCL::FAST-METHOD SWANK-BACKEND:SWANK-COMPILE-FILE (T T)) # # "/scpx:dsalama at host.com:/home/ dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp" T (NIL)) At the end of my .emacs file, I have something similar to what I was able to copy from Marco's video: (setf slime-translate-to-lisp-filename-function (lambda (file-name) (subseq file-name (length "/scpx:dsalama at host.com:"))) slime-translate-from-lisp-filename-function (lambda (file-name) (concat "/scpx:dsalama at host.com:" file-name))) Am I missing something? Thanks, Daniel On Aug 2, 2006, at 4:25 PM, Vladimir Sekissov wrote: > Good day, > > lists> Error: File error: Encoding remote file failed > lists> vc-file-clearprops: Wrong type argument: stringp, nil > lists> > lists> I still don't know what that means. Looking around, I think > it has to > lists> do with mimencode/uuencode. I don't have those tools on the > remote > lists> system (Fedora FC4). So, I read that by issuing (setq tramp- > default- > lists> method "scp") in my emacs profile should fix it, but that > didn't. I > lists> also loaded Perl MIME::Tools, which have those libraries, > but that > lists> didn't work either. > > Try Tramp's "scpx" method and turn tramp-debug-buffer to t. May be > Tramp debug output give you some ideas. > > Best Regards, > Vladimir Sekissov From svg at surnet.ru Wed Aug 2 22:29:04 2006 From: svg at surnet.ru (Vladimir Sekissov) Date: Thu, 03 Aug 2006 04:29:04 +0600 (YEKST) Subject: [Bese-devel] Development/Production Environment In-Reply-To: <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> Message-ID: <20060803.042904.148554126.svg@surnet.ru> lists> Now, onto the next problem with Slime. I can't C-c C-k. Whenever I do lists> that, the lisp debugger comes up saying that I'm trying to load an lists> invalid file: Customize SLIME-FILENAME-TRANSLATIONS Emacs variable. >From documentation: Alist of mappings between machine names and filename translation functions. Each element is of the form (HOSTNAME-REGEXP TO-LISP FROM-LISP). ... Best Regards, Vladimir Sekissov From mbaringer at common-lisp.net Thu Aug 3 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 3 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 2-Aug-2006 Message-ID: <20060803043010.51A13431B8@common-lisp.net> Wed Aug 2 10:32:48 EDT 2006 evrim at core.gen.tr * extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp +5 M ./src/components/widget.lisp -1 +3 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060802.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From door at lcpi.ru Thu Aug 3 11:12:20 2006 From: door at lcpi.ru (Alexey Antipov) Date: Thu, 3 Aug 2006 15:12:20 +0400 Subject: [Bese-devel] [PATCH] Message-ID: <20060803111220.GA4832@rabbit.loc> fix format parameters in conditions reports -------------- next part -------------- New patches: [fix format parameters in conditions reports Alexey Antipov **20060803110958] { hunk ./src/walk.lisp 41 - (format s "Reference to unknown variable ~S." (name c) (enclosing-code c)))))) + (format s "Reference to unknown variable ~S." (name c)))))) hunk ./src/walk.lisp 49 - (format s "Reference to unknown function ~S." (name c) (enclosing-code c)))))) + (format s "Reference to unknown function ~S." (name c)))))) } Context: [Added SYMBOL-MACROLET and MACROLET tests Hoan Ton-That **20060729234554] [Unwalk SYMBOL-MACROLET-FORM Hoan Ton-That **20060729233014] [Unwalk MACROLET-FORM Hoan Ton-That **20060729232936] [Export more of the walker Hoan Ton-That **20060729031048] [Pass keywords to print-unreadable-object from defprint-object attila.lendvai at gmail.com**20060710194835] [Export the accessors and slots of the walker Hoan Ton-That **20060712053922 If there are any conflicts with other packages, please tell me and I'll comment it out with that package name in the comment. ] [Added AWHILE Hoan Ton-That **20060712050434] [Fix bug with EXTRACT-ARGUMENT-NAMES, thanks to Attila Lendvai Hoan Ton-That **20060707031316] [Added defprint-object attila.lendvai at gmail.com**20060704094407] [Fix typo and backward compatibility of loggers attila.lendvai at gmail.com**20060703194333] [Turned the previous logger change into a foll-blown compile-time-level on loggers attila.lendvai at gmail.com**20060703172247 Added a compile-time-level slot to loggers. Log expressions whose level is below the compile-time-level of the logger at compilation will macroexpand to NIL. In other words, setting the compile time level to +debug+ will drop all dribble messages so that they can't even be enabled at runtime. ] [allegro quick fix Henrik Hjelte **20060703163119] [Added defalut implementation of encoding-keyword-to-native and declare the 'wrapper' functions inline Marco Baringer **20060703154620] [Add an enabledp check in deflogger at compile-time attila.lendvai at gmail.com**20060703125918 This means that when a logger is defined with a given level then the messages below this level will be expanded to nil at compile time, so they'll have no performance penalties at runtime. An example setup: (deflogger foo :level +debug+) ; +debug+ level at compile-time (setf (log.level 'foo) +info+) ; set runtime level to +info+ (foo.dribble "foo: ~S" (some-expensive-calculation)) ; expands to nil (foo.debug ...) ; will log if the runtime level is appropiate ] [Fix walking FLET Hoan Ton-That **20060703093546] [Fix walking PROGV Hoan Ton-That **20060703084010] [Document lisp1.lisp Hoan Ton-That **20060703083820] [Fix unbound variable handling in DEFUN1 and DEFMETHOD1 Hoan Ton-That **20060703080015] [Refactor functions into lambda-list.lisp Hoan Ton-That **20060703075940] [Fix thinko in previous io.lisp patch attila.lendvai at gmail.com**20060630142709] [Make stuff in io.lisp encoding-aware attila.lendvai at gmail.com**20060630131314] [Moved make-displaced-array from ucw to arnesi attila.lendvai at gmail.com**20060630012918] [Export encoding-keyword-to-native attila.lendvai at gmail.com**20060630012811] [Don't export WHILE and UNTIL. Marco Baringer **20060621153819 Arnesi if often used in conjunction with iterate, which also exports the symbols while and until. If you want while and until just do arnesi::while or import the symbols manually. ] [io.lisp depends on string.lisp Marco Baringer **20060621104245] [Updated read-string-from-file's docstring Marco Baringer **20060621104204] [Added copy-array Marco Baringer **20060621102333] [Added `while' and `until' Hoan Ton-That **20060620125308] [Added `aif2', which tests on the second value Hoan Ton-That **20060620094448] [Deleted listify and consify from the exports attila.lendvai at gmail.com**20060618113838] [Added :execute to enable-bracket-reader eval-when attila.lendvai at gmail.com**20060617180148] [Added external-format keyword to read-string-from-file attila.lendvai at gmail.com**20060617180142] [Added eval-when support for the unwalker, fixed some lisp1 bugs Hoan Ton-That **20060613120932] [Support missing result forms in cond-bind and acond Chris Dean **20060601165635 The CLHS says that COND results in: the values of the forms in the first clause whose test-form yields true, or the primary value of the test-form if there are no forms in that clause Meaning (among other things) that (cond (1)) => 1 This is a patch to give COND-BIND and ACOND the same behavior. Before this patch they would return NIL. ] [Make sure the walker doesn't call fboundp on non symbols Marco Baringer **20060531195843] [Export `_' Hoan Ton-That **20060530105625] [Convenience, Lisp-1 support, and partial application syntax Hoan Ton-That **20060522112451] [Added queue->list method (Patch by: Chris Dean ) Marco Baringer **20060517090847] [Added docstring on log-file slot Marco Baringer **20060517090828] [Fix enable-bracket-reader attila.lendvai at gmail.com**20060515173051] [Define apply-lambda/cc method on symbols. Marco Baringer **20060515135717 This new method just calls apply-lambda/cc passing it the symbol-function of the operator. ] [Added remf-keywords macro to remove keyword args attila.lendvai at gmail.com**20060511150622] [implement walker for eval-when Marco Baringer **20060509145223] [Change defclss-struct to allow class-options Marco Baringer **20060509144410] [Fix the return value of compose for fn > 4 attila.lendvai at gmail.com**20060502104311] [Skip nil's in strcat attila.lendvai at gmail.com**20060213230204] [Export *warn-undefined* Marco Baringer **20060427131316] [Signal warning for undefined functions Marco Baringer **20060427131248] [Added the *warn-undenifed* variable. Marco Baringer **20060427131102 We can now check for undenfined varibales/functions at walk time ] [Find-symbol SYSTEM::*HTTP-ENCODING* only if there is a SYSTEM package. Maciek Pasternacki **20060425195734] [Added the REBIND macro (Patch by: Attila Lendvai ) Marco Baringer **20060423105838] [Pass the env argument to make-load-form Marco Baringer **20060423105632] [Fix encoding-keyword-to-native for clisp. (Patch by: Pascal Bourguignon ) Marco Baringer **20060413140523] [src/posixenv.lisp: define `getenv' Luca Capello **20060412132403 ATM, this is the only POSIX function present in src/posixenv.lisp. I also added "getenv" to the list of features in the ASDF file, in order to depend on it in other project (first of all, UCW). ] [Use class-slots instead of our custom 'walk class hierarchy and collect slot defs' code. Marco Baringer **20060405120648 This change should fix problems with allegro. Nathan Bird reported this and suggested the proper solution. ] [Unwalker mistakes Hoan Ton-That **20060401084803] [Let the implementation use the default value. SBCL seems to only accept a real readtable there. levente.meszaros at gmail.com**20060325233110] [Change with-package read-macro specifier so that it returns a progn. Marco Baringer **20060324115026] [Added read-macros.lisp to asdf Marco Baringer **20060324114744] [Added doc strings for the read-macro stuff Marco Baringer **20060324113104] [Added bracket reader and with-package function Marco Baringer **20060324111610] [Dropped our trim-string function, common lisp already provides string-trim Marco Baringer **20060324104938] [Fix typo in walk.lisp Marco Baringer **20060313222523] [Added print-object method for log-category Marco Baringer **20060313222510] [Added copy-stream function Marco Baringer **20060313222455] [matcher ext :AND, :ACCESSORS, :PLIST Kilian Sprotte **20060304195313] [A code UnWalker Hoan Ton-That **20060301075456] [Typo in do-all-elements macro when the indexe parameter is nil Marco Baringer **20060226184405] [Added a print-object method for function-argument-form objects Marco Baringer **20060226184343] [Make the cc interpreter 'see' special variables Marco Baringer **20060224155153 If a symbol is globally bound, and isn't locally overridden, we assume it's a global special and treat it as such. ] [Added enqueue-or-move-to-front method to the lru-queue class Marco Baringer **20060224154525] [Added lru-queue Marco Baringer **20060224145245] [Implement peek-queue Marco Baringer **20060224145231] [Create the queue's buffer to be 1+ the required size Marco Baringer **20060224142145 The length of the buffer is actually one less than the total number of elements we can hold. Since the :size initarg means 'numbor of elements we can store without resizing' we need to create the buffer slightly larger. ] [Added vector based queue implementation Marco Baringer **20060224141820] [Added missing ignore declarations Marco Baringer **20060224121944] [escape html unicode characters henrik.hjelte at poboxes.com*-20060215141526 Not all unicode characters fit the latin-1 encoding, escaping them helps out. ] [escape html unicode characters henrik.hjelte at poboxes.com**20060215141526 Not all unicode characters fit the latin-1 encoding, escaping them helps out. ] [Eliminate runtime call to eval when exporting special variables from cc code to lisp code. levente.meszaros at gmail.com**20060214210552] [Split stream-log-append into brief-stream-log-appender and verbose-stream-log-appender Marco Baringer **20060213185541 The stream-log-appender was wasting too much space on extremly reptative information. The new hierarchy contains three classes: the abstract base class stream-log-appender; a verbose out class (exactly the same output as the original stream-log-appender) called verbose-stream-log-appender and a quieter append called brief-stream-log-appender. NB: This change breaks backwards compatability. All occurences of "make-instance 'stream-log-appender" will need to be replaced with "make-instance 'verbose-stream-log-appender" ] [Fix infinite loop in (setf log.level) Marco Baringer **20060213173230 argh. we'd defined a method for (setf log.level) specialized on SYMBOLs, this method called (get-logger symbol) and passed that back again to (setf log.level). However, when get-logger returned nil (which happens the symbol didn't specify a logging category) we'd again call the same method (since nil is a symbol), and not the one specialized on category objects :( ] [conflict resolution with levente's special variable patch Marco Baringer **20060213181217] [Rework test cases for special variable handling. Levente M??sz??ros **20060211205154] [Make importing and exporting specials explicit functions, plus support importing in defun/cc. Levente M??sz??ros **20060211205043] [Add test cases for dynamic variable handling Levente M??sz??ros **20060209215158] [Fixed bug in with-call/cc's handling of multiple-value-call. (Reported by: Matthew Danish ) Marco Baringer **20060211165654 When the function in a multiple-value-call form was a literal lambda we were accidentaly passing _all_ the arguments passed to m-v-c to the function (the first of these arguments is always the function itself). ] [(setf log.level) needs to, as all setf methods, return the new-value Marco Baringer **20060210154819] [Add test cases for dynamic variable handling Levente M??sz??ros **20060209213739] [Support capturing dynamic variables from lisp via declare. Levente M??sz??ros **20060208214015] [Makes visible the dynamic variables defined in cc code for normal lisp code. Levente M??sz??ros **20060206224603 This has some performance issues when dynamic variables are defined in cc code. ] [Support (declare (special var)) declarations and put variable values in the dynamic environment. Levente M??sz??ros **20060206224208 This patch allows to access dynamic variables defined in cc code from cc code. ] [Ecase->case typo. Maciek Pasternacki **20060130230302] [minor docstring fix Marco Baringer **20060202145727] [Move test suite into its own package Marco Baringer **20060202114156] [Change names of parameters in MULF and DIVF to match documentation Marco Baringer **20060202114140] [Added log.level methods specialized on symbols Marco Baringer **20060202114058] [Added time.lisp Marco Baringer **20060202114049] [Export levenshtein-distance Marco Baringer **20060202114018] [Use FiveAM's new random testing for the parse-float test Marco Baringer **20060124140012] [Reimplement intern-concat to accept only strings and symbols as string designators. Marco Baringer **20060124135505 Simply using PRINC can have different semantics on different lisps. Explicitly allowing only strings and symbols resoles this issue and makes clearer what inter-concat is intended to deal with. (passing objects or numberns to inter-concat was never intentional anyway). ] [Fix thinko in definition of test-op Marco Baringer **20060124131555] [Update copyright dates Marco Baringer **20060123125009] [Added test for escape/unescape-uri using fiveam's new random checking Marco Baringer **20060120110709] [In recent clisps the convert-bytes-to-string function has been renamed to convert-string-from-bytes Marco Baringer **20060113113449] [Stop trying to convert keywords directly to charset symbols. Marco Baringer **20060113113430] [Enable unicode on clisp only if :UNICODE is in *features* Marco Baringer **20060109140827] [Don't use uppercase names for list-matcher symbols. not all lisps have :upcase readtable-case (Reported by: BAM ) Marco Baringer **20051220000456] [Drop char->hex-value. digit-char-p does the exact same thing. Marco Baringer **20051220000406] [Implement QUIT for allegro. (Patch by: BAM ) Marco Baringer **20051220000154] [Use the new octets-to-string function in http.lisp Marco Baringer **20051218124500] [Declare char->hex-value to be inlined Marco Baringer **20051218124425] [Fix previous eswitch/cswitch patch Marco Baringer **20051218124148] [Conditionalize on (and sbcl sb-unicode), not just sbcl Marco Baringer **20051218123532] [remove unneeded escapes svg at surnet.ru**20051213204631] [Implement and export STRING-TO-OCTETS and OCTETS-TO-STRING Marco Baringer **20051218123215 Currently these do something only on SBCL and CLISP. ] [Use &body, instead of &rest, in the lambda lists of ESWITCH and CSWITCH Marco Baringer **20051218122248 This change makes slime add the proper indentation for these forms ] [Export extract-argument-names and walk-lambda-list Marco Baringer **20051211135308] [Fix generation of lambda list from a list of argument-parameter objects (in the walker) Marco Baringer **20051211135245] [Fix handling of &allow-other-keys and lambda lists with only (&key &allow-other-keys) Marco Baringer **20051211131145] [Also make a debug logger Chris Dean **20051209072439] [Fix spelling in log.lisp comments Chris Dean **20051209072321] [Added :wrap-aronud method types ot wrapping-standard method combination Marco Baringer **20051204162319] [added a walker for load-time-value Marco Baringer **20051201170253] [Document the slots of the log-category class Marco Baringer **20051201170222] [Fix walking of macrolet forms Marco Baringer **20051126162913] [include walk.lisp in qbook's autput Marco Baringer **20051126162859] [minor fix in wrapping-standard's docstring Marco Baringer **20051126162847] [Minor change in with-unique-names' docstring Marco Baringer **20051125173827] [Make docs/Makefile easier to adapat to different lisps and systems Marco Baringer **20051125173801] [Document the #L read macro Marco Baringer **20051125173744] [Removed all texinfo syntax from docstrings Marco Baringer **20051125173708] [Added a walker for unwind-protect Marco Baringer **20051118193044] [Make the 'return from unknown block' error a restartable condition Marco Baringer **20051118193020] [Added lispworks specific walk handlers Marco Baringer **20051115122956] [yet another yet another trace cc thinko Marco Baringer **20051112122930] [We had an etypecase form with a T clasue, changed to typecase (Reported by: Luigi Panzeri ) Marco Baringer **20051111171221] [Yet another trace-statement patch by our resident Q&A expert. (Patch by: Aleksandar Bakic ) Marco Baringer **20051110195739] [More fixs to trace-statements (Patch by: Aleksandar Bakic ) Marco Baringer **20051110115953] [thinko in cc trace-statement (Patch by: Aleksandar Bakic ) Marco Baringer **20051110094851] [Drop the :ALL option for *trace-cc* Marco Baringer **20051108131116] [Added a few more trace statements Marco Baringer **20051108130243] [Added *trace-cc* parameter (and supporitng code). See docstring for details. Marco Baringer **20051108125255] [Escape { and } in boring regexps Marco Baringer **20051105152003] [Removed qbook include to non existent file scr/cps.lisp Marco Baringer **20051105151143] [Remove duplicate export of arnesi:form Marco Baringer **20051105151130] [Changed lambda list of IF-BIND so that slime will ident it better. Marco Baringer **20051105150656] [Exported all the symbols related to the walker Marco Baringer **20051028122648] [remove debian/ folder Luca Capello **20051028103802 The CL-Debian group decided to avoid Debian native packages. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310665 ] [CMUCL lexical-variables global var detection svg at surnet.ru**20051024191615] [Added dyn-env parameter to sbcl's call to apply-lambda/cc Marco Baringer **20051021153948] [Added tests for parse-float Marco Baringer **20051021153936] [Specify result element-type in radix-values Marco Baringer **20051018102502] [Typo in last patch Marco Baringer **20051018102126] [Rewrote parse-float in order to support tho :decimal-character keyword parameter Marco Baringer **20051018101950] [Minor fixup to wrapping-standard's docstring Marco Baringer **20051014094112] [Remove ignore declarations for unused variable DYNAMIC-ENVIRONMENT Marco Baringer **20051012141417] [lex-env support for lispworks on windows (Patch by: Mac Chan ) Marco Baringer **20051009103654] [Added the :return-suffix parameter to starts-with Marco Baringer **20051007190426] [Add dynamic-environment to the cc interpreter Marco Baringer **20051007174859 This patch changes the api for evaluate/cc (and associated functions) by adding a dynamic-environment parameter and fixs the catch handler to use this dynamic-environment (and not the lexical environment). ] [Added nfasl to .boring Marco Baringer **20051007174421] [Teach the walker to handle global symbol macros Marco Baringer **20050925155112] [Added if-does-not-exist parameter to write-string-to-file Marco Baringer **20050925155049] [More lexical-(variables|functions) for lispworks (Patch by: Asbj??rn Bj??rnstad ) Marco Baringer **20050906140657] [Fix silly mistake in previous docstring for defmethod/cc patch Marco Baringer **20050903140254] [When a defmethod/cc form has somethnig which looks like a comment we 'pass' that to the underlying defmethod form Marco Baringer **20050901100340] [Added generic error-reporting method on evaluate/cc Marco Baringer **20050901100314] [More lexical-(variables|functions) methods for lispworks (Patch by: Asbj??rn Bj??rnstad ) Marco Baringer **20050831094750] [Fix handling of special operator FUNCTION in the faco of defun/cc functions Marco Baringer **20050831094727] [enhanced defmethod/cc to work in the case of a null argument list and missing body. drewc at tech.coop**20050819201500 ] [Minor whitespace fix to previous patch Marco Baringer **20050827194602] [When sb-unicode is avaible don't encode characters with codes > 127 as html entities binarin at gmail.com**20050827134518] [Make nunescape-as-uri accept external-format parameter binarin at gmail.com**20050827134456] [Use &key instead of &optional in the test suite for the cc interpreter Marco Baringer **20050827184725] [Minor refactoring to avoid sbcl's "deleting unreachable code" warning Marco Baringer **20050827121814] [Introduce the distinction between a keyword argument's name and the effective-keyword used to pass the value. Marco Baringer **20050827111706 we now can tell if the user supplied a keyword name (different from the argument's name) and proceed accordingly. this patch works around cmucl's bug in the handling of generic lambda lists. ] [Fix LEXICAL-FUNCTIONS on cmucl (Patch by: Fabricio Chalub ) Marco Baringer **20050827110128] [Added hash-table-keys and hash-table-values functions Marco Baringer **20050825062935] [Added in a few more tests Marco Baringer **20050824165751] [Fix local-function application Marco Baringer **20050824164938] [Added lexical-variables and lexical-functions for Allegro. (Patch by: Slawek Zak ) Marco Baringer **20050824123802] [Added delete/remove family of functions to common-lisp-cc Marco Baringer **20050817100128] [fixed typo smoof-ra at elder-gods.org**20050816174806] [Added copyright notices Marco Baringer **20050816141938] [Added initial version of lex-env function for lispworks Marco Baringer **20050816141839] [Convert (setf env (register env ...)) into (extend env ...) Marco Baringer **20050816084720] [Moved register/lookup/(setf lookup) into one-liners.lisp, added the extend macro Marco Baringer **20050816084654] [more usefull declaration objects smoof-ra at elder-gods.org**20050815202603] [Change the name of the walker handler for atom so that it doesn't used to walk forms whose car is CL:ATOM. Marco Baringer **20050812114613] [Added required specifier :primary to cc-standard method combination Marco Baringer **20050812114343 This prevents people from accidentaly using defmethod on a cc generic function. You must now either use defmethod/cc (which retains the same API as before), or pass the :primary method qualifier (and if you do we'll assume you know what you're doing). ] [Update the list of exported symbols Marco Baringer **20050812102709] [Two minor indentation fixups Marco Baringer **20050812102429] [Remove type declarations form join-string (ucw passes in strings which violate some of the type declarations) Marco Baringer **20050812102333] [JOIN-STRINGS was not returning the result :( Marco Baringer **20050812070730] [Added more tests for cc-standard method combination Marco Baringer **20050811152516] [Make the arguments to a continuation all option (the equivalent of evaluating (values)) Marco Baringer **20050811152449] [Added cc definintions of common standard functions whcih take functions as parameters (assoc and mapXYZ) Marco Baringer **20050811152400] [Added missing cleane-argument-list function and tests Marco Baringer **20050811130722] [Fix generic/method/function lambda list handling and manipulation in walker and cc-interpreter Marco Baringer **20050811130002] [Added support for &key, &allow-other-keys in lambda/cc (and therefore defun/cc and defmethod/cc) Marco Baringer **20050810140725] [keyword-function-argument-form is not a subclass of optional-argument-form, even though they are superficially similar Marco Baringer **20050810140659] [Move debugging code into DEFK where have access to the name of the continuation we're calling (as apposed to KLAMBDA) Marco Baringer **20050810121305] [Refactor cc-interpreter into a few smaller files in the call-cc directory Marco Baringer **20050810104819] [Refactor FOLD-STRING (Patch by: Janis Dzerins ) Marco Baringer **20050810103438] [the fdefinition/cc table must remeber, other than the def, whether it was a function or a method (since we treat those two differently) Marco Baringer **20050810101541] [Added :method-combination option to the expaniosn of the defgeneric/cc macro Marco Baringer **20050810101446] [Added *debug-evaluate/cc* and related functions Marco Baringer **20050810063228] [Use fedinition/cc, not fdefinition, for defun/cc Marco Baringer **20050810055126] [Typo in name of k-for-apply/cc/optional-argument-default-value continuation Marco Baringer **20050810055105] [Don't use GET so that we don't break package locks. Add now function fdefinition/cc Marco Baringer **20050810054327 Basically it's a bad idea to use #'get and #'(setf get) on standard symbols, however this is something we're going to want to do. We know have our own hash-table (*cc-functions*) which maps symbols to closure objects. ] [ method combination smoof-ra at elder-gods.org**20050810035825] [make closure/cc a funcallable instance (in sbcl) smoof-ra at elder-gods.org**20050809182900 funcalling a closure/cc will just call it with a toplevel continuation that way cc closures can be called totally transparently by non-cc code as long as the cc-closure doesn't call/cc. ] [Added copyright notice to cc-interpreter.lisp Marco Baringer **20050809151738] [Remove occurences of 'cps' in the api. We don't actually cps transforme anymore so this is misleading. Marco Baringer **20050809125933] [Remove 'cps' from test suite, replace it with 'call/cc' Marco Baringer **20050809104818] [Rename cps.lisp to cc-interpreter.lisp Marco Baringer **20050809104737] [Fix typo in fold-strings' docstring Marco Baringer **20050809083006] [Trivial change to the name of the gensym generated by DOLIST* Marco Baringer **20050809061102] [Fix lexical-variables and lexical-functions on clisp Marco Baringer **20050807223244] [Use FDEFINITION instead of SYMBOL-FUNCTION to get a function from a function name. Marco Baringer **20050807222932] [Make sure we only pass symbols to functions like GET and MACRO-FUNCTION Marco Baringer **20050807222905] [Implement lexical-functions for CLISP Marco Baringer **20050807204738] [Implement lexical-variables and lexical-functions for NIL environments Marco Baringer **20050807204711] [Remove arnesi.el from ssytem def Marco Baringer **20050807204654] [Fix evaluation of #'(foo bar) in cps interpreter Marco Baringer **20050806182653] [Delete arnesi.el. SLIME is perfectly able to figure out the indententation by itself. Marco Baringer **20050807075500] [aparently global variables can be found in sbcl lexical environments smoof-ra at elder-gods.org**20050804164859] [Implement environment-p and lexical-variables for CLISP Marco Baringer **20050804165821] [Make the lexenv stuff use generic-functions and methods Marco Baringer **20050804161857] [Fixup lexical-variables and lexical-functions for OpenMCL Marco Baringer **20050804152727 This patch causes lexical-variables to no longer return ignored variables and symbol-macrolets. We've also implemented lexical-functions (though we do some hackery to convert functions names to something "normal" (ie SETF::|FOO::BAR| ==> (SETF FOO::BAR)) ] [Typo in lexical-variables for sbcl (we were accessing lexenv-funs instead of lexenv-vars) Marco Baringer **20050804152051] [Change lexical-variables for sbcl so that it doesn't return ignored variables Marco Baringer **20050804150841] [Fix lexical-variables for cmucl to not return ignored variables Marco Baringer **20050804150256] [Typo in previous patch Marco Baringer **20050804150242] [Implement lexical-functions for cmucl Marco Baringer **20050804143350] [recognise flets from the lexical environment (on sbcl) smoof-ra at elder-gods.org**20050803222732] [Rewrite multiple-value-setf so that my simple mind can understand it. Marco Baringer **20050803104652] [Added cps evaluation of THE forms Marco Baringer **20050803092059] [minor comment fixup Marco Baringer **20050803085322] [Moved defclass progv-form to keep the walker classes defined in alphabetical order Marco Baringer **20050803085254] [Added walker class for THE forms Marco Baringer **20050803085210] [allow new special forms to be added to the walker by shadowing *walker-handlers* smoof-ra at elder-gods.org**20050802165355] [Minor spacing fixs to the previous patch Marco Baringer **20050802152421] [progv smoof-ra at elder-gods.org**20050802150342] [labels can have declarations inside the body smoof-ra at elder-gods.org**20050801193433] [declares needs to be copied in the labels handler just like the other lambda-function-form slots smoof-ra at elder-gods.org**20050801193107] [oops i forgot to actually make the declaration-form instances smoof-ra at elder-gods.org**20050801185641] [initial support for remembering declarations smoof-ra at elder-gods.org**20050801184329 this patch adds a mixin called implicit-progn-with-declare-mixin and uses it instead of implicit-progn-mixin in all the places that allow declares. It has slot which should contain a list of the declares at the top of the implicit-progn. This patch doesn't do anything clever with the declares, it just creates declaration-form objects and points their source slots at the original declares, however it would be easy to modify parse-declaration to generate more usefull declaration objects. ] [Call the property :FEATURES, not FEATURES Marco Baringer **20050729103229] [Rename asdf property version to features, add "cps-interpreter" Marco Baringer **20050728120238] [dont need to register allow-other-keys because its not a binding smoof-ra at elder-gods.org**20050727153603] [fixed type name mismatch for allow-other-keys-function-arguement-form smoof-ra at elder-gods.org**20050727152456] [defmethod arguments should be ignorable, not ignore (openmcl warns whenever you ignore a specialized argument) Marco Baringer **20050726090308] [Typo in extract-argument-names Marco Baringer **20050726090256] [Fix generation of defmethod froms from defmethod/cc; added tests Marco Baringer **20050726085226] [Fix handling of optional arguments in apply-cps-lambda Marco Baringer **20050726085155] [More tests Marco Baringer **20050723133158] [Fix a bug in the handling of the case when LOOKUP finds a value for a name but the value is NIL Marco Baringer **20050723133106] [Export the symbol KALL Marco Baringer **20050723133052] [Change the test for constant-form'ness in walk.lisp Marco Baringer **20050723113019] [Extend the walker to handle #'(setf foo) function names Marco Baringer **20050723104431] [Fix bug in the lambda generated for method forms Marco Baringer **20050720144450] [Added ignore declarations to defun/cc and defmethod/cc to make the compiler happy Marco Baringer **20050720110112] [Temporarily comment out the log tests Marco Baringer **20050720092312] [Rename (optional|keyword|rest)-argument-form classes to include the -form suffix Marco Baringer **20050720092124] [Allow defun/cc defined functions te be called outside of a with-call/cc Marco Baringer **20050720091826] [Added support for &optional arguments in cps closures Marco Baringer **20050720091658] [Added defgeneric/cc Marco Baringer **20050719153441] [Move the error checking code for lambda arguments into apply, not lambda (in cps interpreter) Marco Baringer **20050719153121] [More cps tests Marco Baringer **20050719152327] [Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment Marco Baringer **20050719152230] [Added support to the cps interpreter forl communicating with lexical variables Marco Baringer **20050707094608] [walk.lisp depends on lexenv.lisp Marco Baringer **20050707093140] [added support for walking local varibales in the lexical environment Marco Baringer **20050707093027 this applies to all those variables defined the envorinment object grabbed via an &environment macro argument. ] [mistyped #+openmcl in lexenv.lisp Marco Baringer **20050707092959] [added src/lexenv.lisp to arnesi.asd Marco Baringer **20050707091127] [Rename src/environment.lisp Marco Baringer **20050707091114] [Initial version of environment.lisp Marco Baringer **20050707091019] [Minor docstring fixup for with-call/cc Marco Baringer **20050707090619] [Big patch including all the cps interpreter stuff upto now Marco Baringer **20050707083739] [Fix bug in handling of defclass-struct's :predicate option Marco Baringer **20050706105324] [Initial Import Marco Baringer **20050706101657 This import moves arnesi from arch to darcs. Nothing has actually changed since bese-2004 at common-lisp.net/arnesi--dev--1.4--patch-14 ] [added arch stuff to boring file Marco Baringer **20050706101630] [Setup boring file Marco Baringer **20050706100535] Patch bundle hash: bde9737898cb87f6cfc047163005fdba8155e389 From attila.lendvai at gmail.com Thu Aug 3 11:28:29 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 3 Aug 2006 13:28:29 +0200 Subject: [Bese-devel] Re: Patches for ucw_ajax to reduce javascript size In-Reply-To: <1154197847.1264.10.camel@blackfire> References: <1154197847.1264.10.camel@blackfire> Message-ID: On 7/29/06, Denys Rtveliashvili wrote: > Hi Attila, > > I made two patches for ucw_ajax that reduce the javascript size on > pages. When applied together, they reduce the "Form example" page size > from approximately 38 000 to 18 000 bytes. And there are some > optimizations which can be additionally made, but I did not do them yet. > > One of the patches extracts and simplifies much of javascript code for > registering fields, creating validators and so on. Another one makes it > possible to collect javascript code within an HTML form or another thanks! i've applied it followed by another patch with some changes/fixes. see darcsweb for details... > region of a page and then write it as a single piece, thus removing a > lot of tags. i wasn't too happy with this, but i can't remember why... :| but i'm not sure about the idea itself in general. it brings complexity for the little gain that some bytes are spared. this effort/complexity should be used for some network traffic statisctics code that automatically gzip's the output on slow connections monitoring cpu load meanwhile... that'd be a much bigger gain... :) > Could you, please, take a look at the patches attached to this email and > include them into ucw_ajax if it is appropriate? I suppose I may not > push the patches to the ucw_ajax repository myself. write access is restricted to the common-lisp.net repos, only those can write who explicitly get access, except ucw_public (which should be cleaned up, probably at the repo renames). > P.S. I am leaving for vacations, so I will be unavailable for 7-10 days. have fun and thanks for the patch! -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From attila.lendvai at gmail.com Thu Aug 3 14:34:47 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 3 Aug 2006 16:34:47 +0200 Subject: [Bese-devel] about the patch "l10n/yaclml integration fixed." In-Reply-To: <87lkq6j100.fsf@lizard.king> References: <87lkq6j100.fsf@lizard.king> Message-ID: > Will you push it only to ucw_ajax, or also to ucw_dev? hm, i would, but darcs doesn't ask when pulling into the _dev branch. probably there's some dependency on another patch... maybe if i recorded this in _dev it could have been pulled into _ajax. oh, well, should have tought of that eariler. but it's pushed to _ajax... -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From mbaringer at common-lisp.net Fri Aug 4 04:15:05 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 4 Aug 2006 00:15:05 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 3-Aug-2006 Message-ID: <20060804041505.B7C873D004@common-lisp.net> Thu Aug 3 04:48:22 EDT 2006 attila.lendvai at gmail.com * Support string tag names to be able to render case sensitive tags M ./src/yaclml.lisp -4 +6 Thu Aug 3 04:47:07 EDT 2006 attila.lendvai at gmail.com * Fix: downcase the name of extra attributes provided at runtime and named by a non-string M ./src/yaclml.lisp -1 +4 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20060803.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mbaringer at common-lisp.net Fri Aug 4 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 4 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 3-Aug-2006 Message-ID: <20060804043010.D3A77431B8@common-lisp.net> Thu Aug 3 06:56:40 EDT 2006 attila.lendvai at gmail.com * Added PITFALLS, with a note on iterate and with-call/cc A ./docs/PITFALLS Thu Aug 3 05:35:07 EDT 2006 attila.lendvai at gmail.com * Added (setf container.current-component) specialized for nil M ./src/components/container.lisp +5 Sun Jul 16 12:59:35 EDT 2006 attila.lendvai at gmail.com * Introduce an 'orientation' slot on list-container, needed by dojo-split-container M ./src/components/container.lisp -16 +16 Mon Jul 10 16:54:29 EDT 2006 attila.lendvai at gmail.com * Added with-session-variables macro M ./src/packages.lisp +3 M ./src/rerl/standard-session.lisp +12 Mon Jul 10 07:34:27 EDT 2006 attila.lendvai at gmail.com * Use defucwlogger also in l10n-application M ./src/rerl/modular-application/l10n-module.lisp -1 +1 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060803.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Fri Aug 4 04:30:14 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 4 Aug 2006 00:30:14 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 3-Aug-2006 Message-ID: <20060804043014.01C4B4713E@common-lisp.net> Thu Aug 3 06:04:32 EDT 2006 attila.lendvai at gmail.com * Updated dojo M ./etc/ucw.profile.js -4 +3 M ./wwwroot/dojo/dojo.js A ./wwwroot/dojo/src/widget/Button.js A ./wwwroot/dojo/src/widget/ContentPane.js A ./wwwroot/dojo/src/widget/SplitContainer.js A ./wwwroot/dojo/src/widget/TabContainer.js A ./wwwroot/dojo/src/widget/html/ A ./wwwroot/dojo/src/widget/html/layout.js A ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.css A ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.html M ./wwwroot/dojo/src/widget/templates/HtmlTabContainer.css -3 +6 Thu Aug 3 05:39:45 EDT 2006 attila.lendvai at gmail.com * Some work on the examples, demo selected tab remembering and form auto-posting M ./examples/examples.lisp -7 +16 M ./examples/sum.lisp -14 +14 M ./wwwroot/ucw/examples/examples.css -20 +5 Thu Aug 3 05:04:25 EDT 2006 attila.lendvai at gmail.com * Added single-frame-application-mixin A ./src/application-mixins/single-frame-application.lisp M ./src/packages.lisp +1 M ./src/rerl/standard-session.lisp +3 M ./ucw.asd -1 +2 Thu Aug 3 04:49:15 EDT 2006 attila.lendvai at gmail.com * Smarten up window introduced new protocol methods: - render-head - render-body - render-scripts using these method add the extra UCW requirements to simple-window and keep basic-window-features-mixin clean from any of these extras. render script tags in the body instead of head, seems to cause less asynch problems (but shouldn't have been any!?). M ./src/components/window.lisp -54 +87 M ./src/packages.lisp -1 +1 Thu Aug 3 04:11:56 EDT 2006 attila.lendvai at gmail.com * Some new features to the dojo widgets M ./src/components/ajax.lisp +1 M ./src/components/dojo-widgets.lisp -15 +18 M ./src/per-application-parenscript.lisp -17 +46 Mon Jul 31 15:41:57 EDT 2006 attila.lendvai at gmail.com * Added support for saving client-state to the server This is an example from an app. It's about transparently saving the current tab from the client to the server when the page is left, so that at a full rerender the client side current tab will be rendered. (register-client-state :getter (lambda () (awhen (container.current-component self) (widget-id it))) :setter (lambda (value) (bind ((selected (cdr (assoc value (container.contents self) :key #'widget-id :test #'string=)))) (rendering.debug "Received selected tab from client ~A which is identified as ~A" value selected) (setf (container.current-component self) selected))) :client-side-getter `(lambda () (let ((tab-container (dojo.widget.by-id ,(widget-id self))) (selected-tab tab-container.selected-tab-widget)) (return selected-tab.widget-id))) :client-side-setter `(lambda (widget-id) (let ((tab-container (dojo.widget.by-id ,(widget-id self))) (selected (dojo.widget.by-id widget-id))) (when selected (tab-container.select-tab selected))))) M ./src/components/window.lisp -1 +16 M ./src/packages.lisp +3 M ./src/per-application-parenscript.lisp +74 M ./src/rerl/standard-dispatcher.lisp -9 +56 M ./src/rerl/standard-session.lisp +49 Mon Jul 10 16:54:29 EDT 2006 attila.lendvai at gmail.com * Added with-session-variables macro M ./src/packages.lisp +3 M ./src/rerl/standard-session.lisp +12 Thu Aug 3 05:35:07 EDT 2006 attila.lendvai at gmail.com * Added (setf container.current-component) specialized for nil M ./src/components/container.lisp +5 Thu Aug 3 04:54:21 EDT 2006 attila.lendvai at gmail.com * Factor out some js into per-app.js and fix ie and opera support M ./src/per-application-parenscript.lisp -10 +52 M ./src/yaclml/ucw-tags.lisp -30 +5 Thu Aug 3 04:21:17 EDT 2006 attila.lendvai at gmail.com * Propagate other-attributes from * Reverse messages in STATUS-BAR's (RENDER) method to print them out in original order. M ./src/components/status-bar.lisp -1 +1 Wed Jul 19 13:38:11 EDT 2006 Maciek Pasternacki * Return from (VALIDP FORM) second value with list of conses (INVALID-FIELD . FAILED-VALIDATOR). M ./src/components/form.lisp -11 +21 Tue Jul 18 09:43:35 EDT 2006 evrim at core.gen.tr * fixed a bug in accumulate-parameters, single values were returning as lists. M ./src/backend/httpd.lisp -1 +1 Tue Jul 18 08:51:53 EDT 2006 evrim at core.gen.tr * fix for read-request method of httpd, mod-lisp, multithread-http backends. now request parameters are accumulated as lists if same named parameters exists in the request header. this allows us to use multiple-selection lists which sends different values with the same parameter name several times. * l10n/yaclml integration fixed. - Actually define * Add MAXLENGTH slot to STRING-FIELD. M ./src/components/form.lisp -1 +5 Mon Jul 31 15:43:54 EDT 2006 attila.lendvai at gmail.com * Various one-liner fixes M ./src/components/ajax.lisp -1 +2 M ./src/components/window.lisp -2 +2 M ./src/parenscript-utils.lisp -1 +1 M ./src/per-application-parenscript.lisp -1 +2 M ./src/rerl/standard-dispatcher.lisp +4 M ./src/yaclml/ucw-tags.lisp -1 +3 Mon Jul 31 05:20:09 EDT 2006 attila.lendvai at gmail.com * Added js-server-callback macro It expands into a chunk of parenscript that will call the given body of code (a closure) on the server. ( * Extracted a lot of form-related javascript from dynamic HTML pages into static per-application javascript file. M ./src/components/form.lisp -95 +11 M ./src/per-application-parenscript.lisp +47 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060803.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From maciekp at japhy.fnord.org Fri Aug 4 17:16:08 2006 From: maciekp at japhy.fnord.org (Maciek Pasternacki) Date: Fri, 04 Aug 2006 19:16:08 +0200 Subject: [Bese-devel] CPS-transforming symbol-macros Message-ID: <87ac6kifqf.fsf@lizard.king> Is there something wrong with CPS transformation of symbols that are assigned macros, or is my design wrong? I have something along this lines: Global `variables' are defined this way (cut out from macroexpanding my source; ~USERS-LIST~ is special variable - instance of a class associated with persistent CL-STORE file): ,---- | (DEFINE-SYMBOL-MACRO *ANONYMOUS-USER* (CDR (ASSOC '*ANONYMOUS-USER* (VARIABLES-OF ~USERS-LIST~)))) | (SETF (DOCUMENTATION '*ANONYMOUS-USER* 'VARIABLE) "Anonymous access settings.") `---- When I try to do (SETF *ANONYMOUS-USER* ...) inside (DEFACTION), it simply doesn't work. Alist entry in (VARIABLES-OF ~USERS-LIST~) stays with old value. What's funny is that (PUSH ... *ANONYMOUS-USER*) or (SETF (GETHASH :FOO *ANONYMOUS-USER*) ...) does work, only direct (SETF) on such pseudovariable seems to be simply ignored. Now, I managed to work around this by defining wrapper, like this: ,---- | (defun %set-anonymous (value) | (setf *anonymous-user* value)) | (declaim (notinline %set-anonymous)) | | (defaction submit ((component anonymous-access-editor)) | ; [...] | (%set-anonymous (when (value (enablep component)) | (make-instance 'user-profile ...))) | (answer nil)) `---- Now everything works. Is it a bug in CPS, or am I wrong? -- __ Maciek Pasternacki [ http://japhy.fnord.org/ ] `| _ |_\ / { ...On the outskirts of nowhere, on the ringroad to somewhere, ,|{-}|}| }\/ on the verge of indecision, I always take the roundabout way, \/ |____/ waiting on the rain... } ( Fish ) -><- From maciekp at japhy.fnord.org Fri Aug 4 17:25:02 2006 From: maciekp at japhy.fnord.org (Maciek Pasternacki) Date: Fri, 04 Aug 2006 19:25:02 +0200 Subject: [Bese-devel] Resetting checkboxes to unchecked? Message-ID: <8764h8ifbl.fsf@lizard.king> Why in the world does (RENDER CHECKBOX-FIELD) method reset (VALUE FIELD) to NIL on the very beginning of the method? In program I work on I have a container with a menu which switches currently displayed components (think tabbed window). When I open a form with checkboxes, some of which are initially set (as in (MAKE-INSTANCE 'CHECKBOX-FIELD :VALUE T)), then switch to other tab and then back to form, an already initialized component is (RENDER)ed again and all fields are made unchecked. I locally commented out the (SETF (VALUE FIELD) NIL) line from form.lisp and it works, but I use checkboxes only in one, very specific place of program, and I'm not sure if it would break something I didn't think of; does this line have any effect besides this (IMHO buggy, or at least not conforming to The Rule Of Least Surprise) behaviour? Is this intended? -- __ Maciek Pasternacki [ http://japhy.fnord.org/ ] `| _ |_\ / { In general the programmer will always generate ,|{-}|}| }\/ the best code possible and we do not cover this further. } \/ |____/ ( Ulrich Drepper ) -><- From attila.lendvai at gmail.com Fri Aug 4 17:49:39 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 4 Aug 2006 19:49:39 +0200 Subject: [Bese-devel] Resetting checkboxes to unchecked? In-Reply-To: <8764h8ifbl.fsf@lizard.king> References: <8764h8ifbl.fsf@lizard.king> Message-ID: On 8/4/06, Maciek Pasternacki wrote: > Why in the world does (RENDER CHECKBOX-FIELD) method reset (VALUE > FIELD) to NIL on the very beginning of the method? silly browsers mark unchecked checkboxes to that they don't send their request param. this is a quick solution, but i'm planning to refactor select-field and other fields, and using a hidden field for checkboxes is also planned. then the clearing at render time will not happen. > In program I work on I have a container with a menu which switches > currently displayed components (think tabbed window). When I open a > form with checkboxes, some of which are initially set (as in > (MAKE-INSTANCE 'CHECKBOX-FIELD :VALUE T)), then switch to other tab > and then back to form, an already initialized component is (RENDER)ed > again and all fields are made unchecked. I locally commented out the > (SETF (VALUE FIELD) NIL) line from form.lisp and it works, but I use > checkboxes only in one, very specific place of program, and I'm not > sure if it would break something I didn't think of; does this line > have any effect besides this (IMHO buggy, or at least not conforming > to The Rule Of Least Surprise) behaviour? Is this intended? currently yes (you can't uncheck the checkboxes otherwise), but it'll go away eventually... -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From mbaringer at common-lisp.net Sat Aug 5 04:30:18 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 5 Aug 2006 00:30:18 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 4-Aug-2006 Message-ID: <20060805043018.B6C2978000@common-lisp.net> Fri Aug 4 20:33:58 EDT 2006 attila.lendvai at gmail.com * Fix some validation js and css M ./src/per-application-parenscript.lisp -8 +10 M ./wwwroot/ucw/examples/examples.css -1 +1 M ./wwwroot/ucw/ucw.css -2 +2 Fri Aug 4 20:32:15 EDT 2006 attila.lendvai at gmail.com * Connect event handlers to the other node of string= validator M ./src/components/form.lisp -6 +21 Fri Aug 4 18:34:58 EDT 2006 attila.lendvai at gmail.com * AJAX-submit the form demo when the Abandon policy selectfied changes M ./examples/forms.lisp -11 +15 Fri Aug 4 18:32:45 EDT 2006 attila.lendvai at gmail.com * Added ./src/l10n/l10n-application.lisp M ./etc/start.lisp -4 +1 M ./examples/l10n.lisp -10 +9 M ./src/components/dojo-widgets.lisp -2 +5 M ./src/helpers.lisp +36 A ./src/l10n/ M ./src/l10n/l10n-application.lisp -50 +1 A ./src/l10n/l10n.lisp A ./src/l10n/resources/ A ./src/l10n/resources/en.lisp A ./src/l10n/resources/hu.lisp M ./src/loggers.lisp +2 M ./src/packages.lisp +24 M ./src/per-application-parenscript.lisp -6 +38 M ./src/rerl/standard-dispatcher.lisp -24 +96 M ./src/vars.lisp +27 M ./src/yaclml/ucw-tags.lisp +12 M ./ucw.asd -14 +7 Fri Aug 4 10:28:52 EDT 2006 attila.lendvai at gmail.com * Added AJAX progress indicator M ./src/per-application-parenscript.lisp -25 +87 M ./wwwroot/ucw/ucw.css +15 Thu Aug 3 06:56:40 EDT 2006 attila.lendvai at gmail.com * Added PITFALLS, with a note on iterate and with-call/cc A ./docs/PITFALLS An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060804.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Sun Aug 6 04:30:11 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sun, 6 Aug 2006 00:30:11 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 5-Aug-2006 Message-ID: <20060806043011.6988756017@common-lisp.net> Sat Aug 5 16:37:46 EDT 2006 attila.lendvai at gmail.com * Some js news Support :progress-label in various References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> Message-ID: <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> I appreciate all your help. However, I'm starting to get very much frustrated. I've been trying to do this but for some reason it still doesn't work. I've searched on Google for everything related to Tramp and SLIME and they all pretty much point me to the same things, which I've tried but still don't work for me. I have in my .emacs the following: (require 'tramp) (require 'slime) (setq tramp-default-method "scpx") (defvar *sun-tramp-path* "/scpx:sun.mydomain.net:") (defvar *current-tramp-path* nil) (defun connect-to-host (path) (setq *current-tramp-path* path) (setq slime-translate-from-lisp-filename-function (lambda (f) (concat *current-tramp-path* f))) (setq slime-translate-to-lisp-filename-function (lambda (f) (substring f (length *current-tramp-path*)))) (slime-connect "localhost" 4005)) (defun sun-slime () (interactive) (connect-to-host *sun-tramp-path*)) I can connect to the remote host via SLIME just fine. I can C-c C-c fine as well. However, when I do C-c C-k I keep getting: The file "/scpx:sun.mydomain.net:/home/dsalama/dev/lisp/ucw-boxset/ ucw-boxset/ucw_dev/examples/hello.lisp" does not exist. [Condition of type SB-INT:SIMPLE-FILE-ERROR] Restarts: 0: [ABORT] Abort SLIME compilation. 1: [ABORT-REQUEST] Abort handling SLIME request. 2: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (TRUENAME #P"/scpx:sun.mydomain.net:/home/dsalama/dev/lisp/ucw- boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 1: ((FLET SB-C::TRY-WITH-TYPE) #P"/scpx:sun.mydomain.net:/home/ dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp" "lisp" T) 2: (SB-C::VERIFY-SOURCE-FILE "/scpx:sun.mydomain.net:/home/dsalama/ dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 3: (COMPILE-FILE "/scpx:sun.mydomain.net:/home/dsalama/dev/lisp/ ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp") 4: ((LAMBDA NIL)) 5: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS (T)) # # #) 6: ((SB-PCL::FAST-METHOD SWANK-BACKEND:SWANK-COMPILE-FILE (T T)) # # "/scpx:sun.mydomain.net:/home/ dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp" T (NIL)) 7: (SWANK::MEASURE-TIME-INTERVAL #) 8: (SWANK::SWANK-COMPILER #) 9: ((LAMBDA NIL)) 10: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) # # #) 11: (SWANK::CALL-WITH-BUFFER-SYNTAX #) 12: (SB-INT:EVAL-IN-LEXENV (SWANK:COMPILE-FILE-FOR-EMACS "/ scpx:sun.mydomain.net:/home/dsalama/dev/lisp/ucw-boxset/ucw-boxset/ ucw_dev/examples/hello.lisp" T) #) 13: ((LAMBDA NIL)) 14: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) # # # #) 15: ((LAMBDA NIL)) 16: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) # # # #) 17: (SWANK::CALL-WITH-REDIRECTED-IO # #) 18: (SWANK::CALL-WITH-CONNECTION # #) 19: (SWANK::HANDLE-REQUEST #) 20: (SWANK::PROCESS-AVAILABLE-INPUT # #) 21: ((FLET SWANK::HANDLER)) 22: ((LAMBDA (SWANK-BACKEND::_)) #) 23: (SB-IMPL::SUB-SERVE-EVENT NIL 0) 24: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 25: (SB-IMPL::REFILL-BUFFER/FD #) 26: (SB-IMPL::INPUT-CHAR/UTF-8 # NIL #:EOF-OBJECT) 27: (READ-CHAR # NIL #:EOF-OBJECT #) 28: (READ-CHAR # NIL #:EOF-OBJECT #) 29: (READ-CHAR # NIL #:EOF-OBJECT #) 30: (READ-PRESERVING-WHITESPACE # NIL (NIL) T) 31: (READ-PRESERVING-WHITESPACE # NIL (NIL) NIL) 32: (READ # NIL (NIL) NIL) 33: (SB-IMPL::REPL-READ-FORM-FUN # #) 34: (SB-IMPL::REPL-FUN NIL) 35: ((LAMBDA NIL)) 36: ((LAMBDA NIL)) 37: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #) 38: (SB-IMPL::TOPLEVEL-REPL NIL) 39: (SB-IMPL::TOPLEVEL-INIT) 40: ((LABELS SB-IMPL::RESTART-LISP)) If it helps, I'm using Carbon Emacs for OS X (latest version), which includes tramp, as well as the latest CVS version of SLIME. Also, why does Tramp keep asking me for a password for every request? Isn't it supposed to cache passwords for the session? Thanks, Daniel On Aug 2, 2006, at 6:29 PM, Vladimir Sekissov wrote: > > lists> Now, onto the next problem with Slime. I can't C-c C-k. > Whenever I do > lists> that, the lisp debugger comes up saying that I'm trying to > load an > lists> invalid file: > > Customize SLIME-FILENAME-TRANSLATIONS Emacs variable. > >> From documentation: > > Alist of mappings between machine names and filename > translation functions. Each element is of the > form (HOSTNAME-REGEXP TO-LISP FROM-LISP). > ... > > Best Regards, > Vladimir Sekissov From cjstuij at gmail.com Mon Aug 7 06:41:28 2006 From: cjstuij at gmail.com (Ties Stuij) Date: Mon, 7 Aug 2006 08:41:28 +0200 Subject: [Bese-devel] Development/Production Environment In-Reply-To: <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> Message-ID: > Also, why does Tramp keep asking me for a password for every request? put this in your emacs: (setq password-cache-expiry 3600) ;; or however long you want to cache your passwd From door at lcpi.ru Mon Aug 7 07:19:10 2006 From: door at lcpi.ru (Alexey Antipov) Date: Mon, 7 Aug 2006 11:19:10 +0400 Subject: [Bese-devel] ARNESI: defmethod/cc expansion trouble (with patch) Message-ID: <20060807071910.GA15431@rabbit.loc> Hi! Because of the fact that defmethod/cc body expanded at runtime it also expands with changed values of dynamic variables (*package*) which affect expansions, and the result differs from normal evaluation. Short test: (in-package :cl-user) (defpackage :pack1 (:use :cl)) (defpackage :pack2 (:use :cl)) (in-package :pack1) (defmacro intern-symbol (symbol) `',(intern (symbol-name symbol) *package*)) (defmethod fn () (symbol-package (intern-symbol foo))) (arnesi:defmethod/cc fn/cc () (symbol-package (intern-symbol foo))) (in-package :pack2) (pack1::fn) => # (arnesi:with-call/cc (pack1::fn/cc)) => # I checked latest arnesi on sbcl 0.9.15 and clisp 2.38 with same result. We can preserv *package* at compile time and restore it when we need to expand method body. Patch supplied. -------------- next part -------------- New patches: [preserve *package* in defmethod/cc Alexey Antipov **20060807071411 so we get same behavior in normal & interpreted code ] { hunk ./src/call-cc/generic-functions.lisp 38 - `(progn - (setf (fdefinition/cc ',name 'defmethod/cc) t) - (defgeneric/cc ,name ,(if arguments - (convert-to-generic-lambda-list arguments) - '())) - (defmethod ,name , at qlist ,arguments - ,(when arguments - `(declare (ignorable ,@(extract-argument-names arguments :allow-specializers t)))) - ,@(when (stringp (first body)) - (list (pop body))) - (make-instance 'closure/cc - :code (walk-form '(lambda ,(clean-argument-list arguments) - , at body) - nil nil) - :env nil)))))) + (let ((package *package*)) + `(progn + (setf (fdefinition/cc ',name 'defmethod/cc) t) + (defgeneric/cc ,name ,(if arguments + (convert-to-generic-lambda-list arguments) + '())) + (defmethod ,name , at qlist ,arguments + ,(when arguments + `(declare (ignorable ,@(extract-argument-names arguments :allow-specializers t)))) + ,@(when (stringp (first body)) + (list (pop body))) + (make-instance 'closure/cc + :code (let ((*package* ,package)) + (walk-form '(lambda ,(clean-argument-list arguments) + , at body) + nil nil)) + :env nil))))))) } Context: [Added SYMBOL-MACROLET and MACROLET tests Hoan Ton-That **20060729234554] [Unwalk SYMBOL-MACROLET-FORM Hoan Ton-That **20060729233014] [Unwalk MACROLET-FORM Hoan Ton-That **20060729232936] [Export more of the walker Hoan Ton-That **20060729031048] [Pass keywords to print-unreadable-object from defprint-object attila.lendvai at gmail.com**20060710194835] [Export the accessors and slots of the walker Hoan Ton-That **20060712053922 If there are any conflicts with other packages, please tell me and I'll comment it out with that package name in the comment. ] [Added AWHILE Hoan Ton-That **20060712050434] [Fix bug with EXTRACT-ARGUMENT-NAMES, thanks to Attila Lendvai Hoan Ton-That **20060707031316] [Added defprint-object attila.lendvai at gmail.com**20060704094407] [Fix typo and backward compatibility of loggers attila.lendvai at gmail.com**20060703194333] [Turned the previous logger change into a foll-blown compile-time-level on loggers attila.lendvai at gmail.com**20060703172247 Added a compile-time-level slot to loggers. Log expressions whose level is below the compile-time-level of the logger at compilation will macroexpand to NIL. In other words, setting the compile time level to +debug+ will drop all dribble messages so that they can't even be enabled at runtime. ] [allegro quick fix Henrik Hjelte **20060703163119] [Added defalut implementation of encoding-keyword-to-native and declare the 'wrapper' functions inline Marco Baringer **20060703154620] [Add an enabledp check in deflogger at compile-time attila.lendvai at gmail.com**20060703125918 This means that when a logger is defined with a given level then the messages below this level will be expanded to nil at compile time, so they'll have no performance penalties at runtime. An example setup: (deflogger foo :level +debug+) ; +debug+ level at compile-time (setf (log.level 'foo) +info+) ; set runtime level to +info+ (foo.dribble "foo: ~S" (some-expensive-calculation)) ; expands to nil (foo.debug ...) ; will log if the runtime level is appropiate ] [Fix walking FLET Hoan Ton-That **20060703093546] [Fix walking PROGV Hoan Ton-That **20060703084010] [Document lisp1.lisp Hoan Ton-That **20060703083820] [Fix unbound variable handling in DEFUN1 and DEFMETHOD1 Hoan Ton-That **20060703080015] [Refactor functions into lambda-list.lisp Hoan Ton-That **20060703075940] [Fix thinko in previous io.lisp patch attila.lendvai at gmail.com**20060630142709] [Make stuff in io.lisp encoding-aware attila.lendvai at gmail.com**20060630131314] [Moved make-displaced-array from ucw to arnesi attila.lendvai at gmail.com**20060630012918] [Export encoding-keyword-to-native attila.lendvai at gmail.com**20060630012811] [Don't export WHILE and UNTIL. Marco Baringer **20060621153819 Arnesi if often used in conjunction with iterate, which also exports the symbols while and until. If you want while and until just do arnesi::while or import the symbols manually. ] [io.lisp depends on string.lisp Marco Baringer **20060621104245] [Updated read-string-from-file's docstring Marco Baringer **20060621104204] [Added copy-array Marco Baringer **20060621102333] [Added `while' and `until' Hoan Ton-That **20060620125308] [Added `aif2', which tests on the second value Hoan Ton-That **20060620094448] [Deleted listify and consify from the exports attila.lendvai at gmail.com**20060618113838] [Added :execute to enable-bracket-reader eval-when attila.lendvai at gmail.com**20060617180148] [Added external-format keyword to read-string-from-file attila.lendvai at gmail.com**20060617180142] [Added eval-when support for the unwalker, fixed some lisp1 bugs Hoan Ton-That **20060613120932] [Support missing result forms in cond-bind and acond Chris Dean **20060601165635 The CLHS says that COND results in: the values of the forms in the first clause whose test-form yields true, or the primary value of the test-form if there are no forms in that clause Meaning (among other things) that (cond (1)) => 1 This is a patch to give COND-BIND and ACOND the same behavior. Before this patch they would return NIL. ] [Make sure the walker doesn't call fboundp on non symbols Marco Baringer **20060531195843] [Export `_' Hoan Ton-That **20060530105625] [Convenience, Lisp-1 support, and partial application syntax Hoan Ton-That **20060522112451] [Added queue->list method (Patch by: Chris Dean ) Marco Baringer **20060517090847] [Added docstring on log-file slot Marco Baringer **20060517090828] [Fix enable-bracket-reader attila.lendvai at gmail.com**20060515173051] [Define apply-lambda/cc method on symbols. Marco Baringer **20060515135717 This new method just calls apply-lambda/cc passing it the symbol-function of the operator. ] [Added remf-keywords macro to remove keyword args attila.lendvai at gmail.com**20060511150622] [implement walker for eval-when Marco Baringer **20060509145223] [Change defclss-struct to allow class-options Marco Baringer **20060509144410] [Fix the return value of compose for fn > 4 attila.lendvai at gmail.com**20060502104311] [Skip nil's in strcat attila.lendvai at gmail.com**20060213230204] [Export *warn-undefined* Marco Baringer **20060427131316] [Signal warning for undefined functions Marco Baringer **20060427131248] [Added the *warn-undenifed* variable. Marco Baringer **20060427131102 We can now check for undenfined varibales/functions at walk time ] [Find-symbol SYSTEM::*HTTP-ENCODING* only if there is a SYSTEM package. Maciek Pasternacki **20060425195734] [Added the REBIND macro (Patch by: Attila Lendvai ) Marco Baringer **20060423105838] [Pass the env argument to make-load-form Marco Baringer **20060423105632] [Fix encoding-keyword-to-native for clisp. (Patch by: Pascal Bourguignon ) Marco Baringer **20060413140523] [src/posixenv.lisp: define `getenv' Luca Capello **20060412132403 ATM, this is the only POSIX function present in src/posixenv.lisp. I also added "getenv" to the list of features in the ASDF file, in order to depend on it in other project (first of all, UCW). ] [Use class-slots instead of our custom 'walk class hierarchy and collect slot defs' code. Marco Baringer **20060405120648 This change should fix problems with allegro. Nathan Bird reported this and suggested the proper solution. ] [Unwalker mistakes Hoan Ton-That **20060401084803] [Let the implementation use the default value. SBCL seems to only accept a real readtable there. levente.meszaros at gmail.com**20060325233110] [Change with-package read-macro specifier so that it returns a progn. Marco Baringer **20060324115026] [Added read-macros.lisp to asdf Marco Baringer **20060324114744] [Added doc strings for the read-macro stuff Marco Baringer **20060324113104] [Added bracket reader and with-package function Marco Baringer **20060324111610] [Dropped our trim-string function, common lisp already provides string-trim Marco Baringer **20060324104938] [Fix typo in walk.lisp Marco Baringer **20060313222523] [Added print-object method for log-category Marco Baringer **20060313222510] [Added copy-stream function Marco Baringer **20060313222455] [matcher ext :AND, :ACCESSORS, :PLIST Kilian Sprotte **20060304195313] [A code UnWalker Hoan Ton-That **20060301075456] [Typo in do-all-elements macro when the indexe parameter is nil Marco Baringer **20060226184405] [Added a print-object method for function-argument-form objects Marco Baringer **20060226184343] [Make the cc interpreter 'see' special variables Marco Baringer **20060224155153 If a symbol is globally bound, and isn't locally overridden, we assume it's a global special and treat it as such. ] [Added enqueue-or-move-to-front method to the lru-queue class Marco Baringer **20060224154525] [Added lru-queue Marco Baringer **20060224145245] [Implement peek-queue Marco Baringer **20060224145231] [Create the queue's buffer to be 1+ the required size Marco Baringer **20060224142145 The length of the buffer is actually one less than the total number of elements we can hold. Since the :size initarg means 'numbor of elements we can store without resizing' we need to create the buffer slightly larger. ] [Added vector based queue implementation Marco Baringer **20060224141820] [Added missing ignore declarations Marco Baringer **20060224121944] [escape html unicode characters henrik.hjelte at poboxes.com*-20060215141526 Not all unicode characters fit the latin-1 encoding, escaping them helps out. ] [escape html unicode characters henrik.hjelte at poboxes.com**20060215141526 Not all unicode characters fit the latin-1 encoding, escaping them helps out. ] [Eliminate runtime call to eval when exporting special variables from cc code to lisp code. levente.meszaros at gmail.com**20060214210552] [Split stream-log-append into brief-stream-log-appender and verbose-stream-log-appender Marco Baringer **20060213185541 The stream-log-appender was wasting too much space on extremly reptative information. The new hierarchy contains three classes: the abstract base class stream-log-appender; a verbose out class (exactly the same output as the original stream-log-appender) called verbose-stream-log-appender and a quieter append called brief-stream-log-appender. NB: This change breaks backwards compatability. All occurences of "make-instance 'stream-log-appender" will need to be replaced with "make-instance 'verbose-stream-log-appender" ] [Fix infinite loop in (setf log.level) Marco Baringer **20060213173230 argh. we'd defined a method for (setf log.level) specialized on SYMBOLs, this method called (get-logger symbol) and passed that back again to (setf log.level). However, when get-logger returned nil (which happens the symbol didn't specify a logging category) we'd again call the same method (since nil is a symbol), and not the one specialized on category objects :( ] [conflict resolution with levente's special variable patch Marco Baringer **20060213181217] [Rework test cases for special variable handling. Levente M??sz??ros **20060211205154] [Make importing and exporting specials explicit functions, plus support importing in defun/cc. Levente M??sz??ros **20060211205043] [Add test cases for dynamic variable handling Levente M??sz??ros **20060209215158] [Fixed bug in with-call/cc's handling of multiple-value-call. (Reported by: Matthew Danish ) Marco Baringer **20060211165654 When the function in a multiple-value-call form was a literal lambda we were accidentaly passing _all_ the arguments passed to m-v-c to the function (the first of these arguments is always the function itself). ] [(setf log.level) needs to, as all setf methods, return the new-value Marco Baringer **20060210154819] [Add test cases for dynamic variable handling Levente M??sz??ros **20060209213739] [Support capturing dynamic variables from lisp via declare. Levente M??sz??ros **20060208214015] [Makes visible the dynamic variables defined in cc code for normal lisp code. Levente M??sz??ros **20060206224603 This has some performance issues when dynamic variables are defined in cc code. ] [Support (declare (special var)) declarations and put variable values in the dynamic environment. Levente M??sz??ros **20060206224208 This patch allows to access dynamic variables defined in cc code from cc code. ] [Ecase->case typo. Maciek Pasternacki **20060130230302] [minor docstring fix Marco Baringer **20060202145727] [Move test suite into its own package Marco Baringer **20060202114156] [Change names of parameters in MULF and DIVF to match documentation Marco Baringer **20060202114140] [Added log.level methods specialized on symbols Marco Baringer **20060202114058] [Added time.lisp Marco Baringer **20060202114049] [Export levenshtein-distance Marco Baringer **20060202114018] [Use FiveAM's new random testing for the parse-float test Marco Baringer **20060124140012] [Reimplement intern-concat to accept only strings and symbols as string designators. Marco Baringer **20060124135505 Simply using PRINC can have different semantics on different lisps. Explicitly allowing only strings and symbols resoles this issue and makes clearer what inter-concat is intended to deal with. (passing objects or numberns to inter-concat was never intentional anyway). ] [Fix thinko in definition of test-op Marco Baringer **20060124131555] [Update copyright dates Marco Baringer **20060123125009] [Added test for escape/unescape-uri using fiveam's new random checking Marco Baringer **20060120110709] [In recent clisps the convert-bytes-to-string function has been renamed to convert-string-from-bytes Marco Baringer **20060113113449] [Stop trying to convert keywords directly to charset symbols. Marco Baringer **20060113113430] [Enable unicode on clisp only if :UNICODE is in *features* Marco Baringer **20060109140827] [Don't use uppercase names for list-matcher symbols. not all lisps have :upcase readtable-case (Reported by: BAM ) Marco Baringer **20051220000456] [Drop char->hex-value. digit-char-p does the exact same thing. Marco Baringer **20051220000406] [Implement QUIT for allegro. (Patch by: BAM ) Marco Baringer **20051220000154] [Use the new octets-to-string function in http.lisp Marco Baringer **20051218124500] [Declare char->hex-value to be inlined Marco Baringer **20051218124425] [Fix previous eswitch/cswitch patch Marco Baringer **20051218124148] [Conditionalize on (and sbcl sb-unicode), not just sbcl Marco Baringer **20051218123532] [remove unneeded escapes svg at surnet.ru**20051213204631] [Implement and export STRING-TO-OCTETS and OCTETS-TO-STRING Marco Baringer **20051218123215 Currently these do something only on SBCL and CLISP. ] [Use &body, instead of &rest, in the lambda lists of ESWITCH and CSWITCH Marco Baringer **20051218122248 This change makes slime add the proper indentation for these forms ] [Export extract-argument-names and walk-lambda-list Marco Baringer **20051211135308] [Fix generation of lambda list from a list of argument-parameter objects (in the walker) Marco Baringer **20051211135245] [Fix handling of &allow-other-keys and lambda lists with only (&key &allow-other-keys) Marco Baringer **20051211131145] [Also make a debug logger Chris Dean **20051209072439] [Fix spelling in log.lisp comments Chris Dean **20051209072321] [Added :wrap-aronud method types ot wrapping-standard method combination Marco Baringer **20051204162319] [added a walker for load-time-value Marco Baringer **20051201170253] [Document the slots of the log-category class Marco Baringer **20051201170222] [Fix walking of macrolet forms Marco Baringer **20051126162913] [include walk.lisp in qbook's autput Marco Baringer **20051126162859] [minor fix in wrapping-standard's docstring Marco Baringer **20051126162847] [Minor change in with-unique-names' docstring Marco Baringer **20051125173827] [Make docs/Makefile easier to adapat to different lisps and systems Marco Baringer **20051125173801] [Document the #L read macro Marco Baringer **20051125173744] [Removed all texinfo syntax from docstrings Marco Baringer **20051125173708] [Added a walker for unwind-protect Marco Baringer **20051118193044] [Make the 'return from unknown block' error a restartable condition Marco Baringer **20051118193020] [Added lispworks specific walk handlers Marco Baringer **20051115122956] [yet another yet another trace cc thinko Marco Baringer **20051112122930] [We had an etypecase form with a T clasue, changed to typecase (Reported by: Luigi Panzeri ) Marco Baringer **20051111171221] [Yet another trace-statement patch by our resident Q&A expert. (Patch by: Aleksandar Bakic ) Marco Baringer **20051110195739] [More fixs to trace-statements (Patch by: Aleksandar Bakic ) Marco Baringer **20051110115953] [thinko in cc trace-statement (Patch by: Aleksandar Bakic ) Marco Baringer **20051110094851] [Drop the :ALL option for *trace-cc* Marco Baringer **20051108131116] [Added a few more trace statements Marco Baringer **20051108130243] [Added *trace-cc* parameter (and supporitng code). See docstring for details. Marco Baringer **20051108125255] [Escape { and } in boring regexps Marco Baringer **20051105152003] [Removed qbook include to non existent file scr/cps.lisp Marco Baringer **20051105151143] [Remove duplicate export of arnesi:form Marco Baringer **20051105151130] [Changed lambda list of IF-BIND so that slime will ident it better. Marco Baringer **20051105150656] [Exported all the symbols related to the walker Marco Baringer **20051028122648] [remove debian/ folder Luca Capello **20051028103802 The CL-Debian group decided to avoid Debian native packages. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310665 ] [CMUCL lexical-variables global var detection svg at surnet.ru**20051024191615] [Added dyn-env parameter to sbcl's call to apply-lambda/cc Marco Baringer **20051021153948] [Added tests for parse-float Marco Baringer **20051021153936] [Specify result element-type in radix-values Marco Baringer **20051018102502] [Typo in last patch Marco Baringer **20051018102126] [Rewrote parse-float in order to support tho :decimal-character keyword parameter Marco Baringer **20051018101950] [Minor fixup to wrapping-standard's docstring Marco Baringer **20051014094112] [Remove ignore declarations for unused variable DYNAMIC-ENVIRONMENT Marco Baringer **20051012141417] [lex-env support for lispworks on windows (Patch by: Mac Chan ) Marco Baringer **20051009103654] [Added the :return-suffix parameter to starts-with Marco Baringer **20051007190426] [Add dynamic-environment to the cc interpreter Marco Baringer **20051007174859 This patch changes the api for evaluate/cc (and associated functions) by adding a dynamic-environment parameter and fixs the catch handler to use this dynamic-environment (and not the lexical environment). ] [Added nfasl to .boring Marco Baringer **20051007174421] [Teach the walker to handle global symbol macros Marco Baringer **20050925155112] [Added if-does-not-exist parameter to write-string-to-file Marco Baringer **20050925155049] [More lexical-(variables|functions) for lispworks (Patch by: Asbj??rn Bj??rnstad ) Marco Baringer **20050906140657] [Fix silly mistake in previous docstring for defmethod/cc patch Marco Baringer **20050903140254] [When a defmethod/cc form has somethnig which looks like a comment we 'pass' that to the underlying defmethod form Marco Baringer **20050901100340] [Added generic error-reporting method on evaluate/cc Marco Baringer **20050901100314] [More lexical-(variables|functions) methods for lispworks (Patch by: Asbj??rn Bj??rnstad ) Marco Baringer **20050831094750] [Fix handling of special operator FUNCTION in the faco of defun/cc functions Marco Baringer **20050831094727] [enhanced defmethod/cc to work in the case of a null argument list and missing body. drewc at tech.coop**20050819201500 ] [Minor whitespace fix to previous patch Marco Baringer **20050827194602] [When sb-unicode is avaible don't encode characters with codes > 127 as html entities binarin at gmail.com**20050827134518] [Make nunescape-as-uri accept external-format parameter binarin at gmail.com**20050827134456] [Use &key instead of &optional in the test suite for the cc interpreter Marco Baringer **20050827184725] [Minor refactoring to avoid sbcl's "deleting unreachable code" warning Marco Baringer **20050827121814] [Introduce the distinction between a keyword argument's name and the effective-keyword used to pass the value. Marco Baringer **20050827111706 we now can tell if the user supplied a keyword name (different from the argument's name) and proceed accordingly. this patch works around cmucl's bug in the handling of generic lambda lists. ] [Fix LEXICAL-FUNCTIONS on cmucl (Patch by: Fabricio Chalub ) Marco Baringer **20050827110128] [Added hash-table-keys and hash-table-values functions Marco Baringer **20050825062935] [Added in a few more tests Marco Baringer **20050824165751] [Fix local-function application Marco Baringer **20050824164938] [Added lexical-variables and lexical-functions for Allegro. (Patch by: Slawek Zak ) Marco Baringer **20050824123802] [Added delete/remove family of functions to common-lisp-cc Marco Baringer **20050817100128] [fixed typo smoof-ra at elder-gods.org**20050816174806] [Added copyright notices Marco Baringer **20050816141938] [Added initial version of lex-env function for lispworks Marco Baringer **20050816141839] [Convert (setf env (register env ...)) into (extend env ...) Marco Baringer **20050816084720] [Moved register/lookup/(setf lookup) into one-liners.lisp, added the extend macro Marco Baringer **20050816084654] [more usefull declaration objects smoof-ra at elder-gods.org**20050815202603] [Change the name of the walker handler for atom so that it doesn't used to walk forms whose car is CL:ATOM. Marco Baringer **20050812114613] [Added required specifier :primary to cc-standard method combination Marco Baringer **20050812114343 This prevents people from accidentaly using defmethod on a cc generic function. You must now either use defmethod/cc (which retains the same API as before), or pass the :primary method qualifier (and if you do we'll assume you know what you're doing). ] [Update the list of exported symbols Marco Baringer **20050812102709] [Two minor indentation fixups Marco Baringer **20050812102429] [Remove type declarations form join-string (ucw passes in strings which violate some of the type declarations) Marco Baringer **20050812102333] [JOIN-STRINGS was not returning the result :( Marco Baringer **20050812070730] [Added more tests for cc-standard method combination Marco Baringer **20050811152516] [Make the arguments to a continuation all option (the equivalent of evaluating (values)) Marco Baringer **20050811152449] [Added cc definintions of common standard functions whcih take functions as parameters (assoc and mapXYZ) Marco Baringer **20050811152400] [Added missing cleane-argument-list function and tests Marco Baringer **20050811130722] [Fix generic/method/function lambda list handling and manipulation in walker and cc-interpreter Marco Baringer **20050811130002] [Added support for &key, &allow-other-keys in lambda/cc (and therefore defun/cc and defmethod/cc) Marco Baringer **20050810140725] [keyword-function-argument-form is not a subclass of optional-argument-form, even though they are superficially similar Marco Baringer **20050810140659] [Move debugging code into DEFK where have access to the name of the continuation we're calling (as apposed to KLAMBDA) Marco Baringer **20050810121305] [Refactor cc-interpreter into a few smaller files in the call-cc directory Marco Baringer **20050810104819] [Refactor FOLD-STRING (Patch by: Janis Dzerins ) Marco Baringer **20050810103438] [the fdefinition/cc table must remeber, other than the def, whether it was a function or a method (since we treat those two differently) Marco Baringer **20050810101541] [Added :method-combination option to the expaniosn of the defgeneric/cc macro Marco Baringer **20050810101446] [Added *debug-evaluate/cc* and related functions Marco Baringer **20050810063228] [Use fedinition/cc, not fdefinition, for defun/cc Marco Baringer **20050810055126] [Typo in name of k-for-apply/cc/optional-argument-default-value continuation Marco Baringer **20050810055105] [Don't use GET so that we don't break package locks. Add now function fdefinition/cc Marco Baringer **20050810054327 Basically it's a bad idea to use #'get and #'(setf get) on standard symbols, however this is something we're going to want to do. We know have our own hash-table (*cc-functions*) which maps symbols to closure objects. ] [ method combination smoof-ra at elder-gods.org**20050810035825] [make closure/cc a funcallable instance (in sbcl) smoof-ra at elder-gods.org**20050809182900 funcalling a closure/cc will just call it with a toplevel continuation that way cc closures can be called totally transparently by non-cc code as long as the cc-closure doesn't call/cc. ] [Added copyright notice to cc-interpreter.lisp Marco Baringer **20050809151738] [Remove occurences of 'cps' in the api. We don't actually cps transforme anymore so this is misleading. Marco Baringer **20050809125933] [Remove 'cps' from test suite, replace it with 'call/cc' Marco Baringer **20050809104818] [Rename cps.lisp to cc-interpreter.lisp Marco Baringer **20050809104737] [Fix typo in fold-strings' docstring Marco Baringer **20050809083006] [Trivial change to the name of the gensym generated by DOLIST* Marco Baringer **20050809061102] [Fix lexical-variables and lexical-functions on clisp Marco Baringer **20050807223244] [Use FDEFINITION instead of SYMBOL-FUNCTION to get a function from a function name. Marco Baringer **20050807222932] [Make sure we only pass symbols to functions like GET and MACRO-FUNCTION Marco Baringer **20050807222905] [Implement lexical-functions for CLISP Marco Baringer **20050807204738] [Implement lexical-variables and lexical-functions for NIL environments Marco Baringer **20050807204711] [Remove arnesi.el from ssytem def Marco Baringer **20050807204654] [Fix evaluation of #'(foo bar) in cps interpreter Marco Baringer **20050806182653] [Delete arnesi.el. SLIME is perfectly able to figure out the indententation by itself. Marco Baringer **20050807075500] [aparently global variables can be found in sbcl lexical environments smoof-ra at elder-gods.org**20050804164859] [Implement environment-p and lexical-variables for CLISP Marco Baringer **20050804165821] [Make the lexenv stuff use generic-functions and methods Marco Baringer **20050804161857] [Fixup lexical-variables and lexical-functions for OpenMCL Marco Baringer **20050804152727 This patch causes lexical-variables to no longer return ignored variables and symbol-macrolets. We've also implemented lexical-functions (though we do some hackery to convert functions names to something "normal" (ie SETF::|FOO::BAR| ==> (SETF FOO::BAR)) ] [Typo in lexical-variables for sbcl (we were accessing lexenv-funs instead of lexenv-vars) Marco Baringer **20050804152051] [Change lexical-variables for sbcl so that it doesn't return ignored variables Marco Baringer **20050804150841] [Fix lexical-variables for cmucl to not return ignored variables Marco Baringer **20050804150256] [Typo in previous patch Marco Baringer **20050804150242] [Implement lexical-functions for cmucl Marco Baringer **20050804143350] [recognise flets from the lexical environment (on sbcl) smoof-ra at elder-gods.org**20050803222732] [Rewrite multiple-value-setf so that my simple mind can understand it. Marco Baringer **20050803104652] [Added cps evaluation of THE forms Marco Baringer **20050803092059] [minor comment fixup Marco Baringer **20050803085322] [Moved defclass progv-form to keep the walker classes defined in alphabetical order Marco Baringer **20050803085254] [Added walker class for THE forms Marco Baringer **20050803085210] [allow new special forms to be added to the walker by shadowing *walker-handlers* smoof-ra at elder-gods.org**20050802165355] [Minor spacing fixs to the previous patch Marco Baringer **20050802152421] [progv smoof-ra at elder-gods.org**20050802150342] [labels can have declarations inside the body smoof-ra at elder-gods.org**20050801193433] [declares needs to be copied in the labels handler just like the other lambda-function-form slots smoof-ra at elder-gods.org**20050801193107] [oops i forgot to actually make the declaration-form instances smoof-ra at elder-gods.org**20050801185641] [initial support for remembering declarations smoof-ra at elder-gods.org**20050801184329 this patch adds a mixin called implicit-progn-with-declare-mixin and uses it instead of implicit-progn-mixin in all the places that allow declares. It has slot which should contain a list of the declares at the top of the implicit-progn. This patch doesn't do anything clever with the declares, it just creates declaration-form objects and points their source slots at the original declares, however it would be easy to modify parse-declaration to generate more usefull declaration objects. ] [Call the property :FEATURES, not FEATURES Marco Baringer **20050729103229] [Rename asdf property version to features, add "cps-interpreter" Marco Baringer **20050728120238] [dont need to register allow-other-keys because its not a binding smoof-ra at elder-gods.org**20050727153603] [fixed type name mismatch for allow-other-keys-function-arguement-form smoof-ra at elder-gods.org**20050727152456] [defmethod arguments should be ignorable, not ignore (openmcl warns whenever you ignore a specialized argument) Marco Baringer **20050726090308] [Typo in extract-argument-names Marco Baringer **20050726090256] [Fix generation of defmethod froms from defmethod/cc; added tests Marco Baringer **20050726085226] [Fix handling of optional arguments in apply-cps-lambda Marco Baringer **20050726085155] [More tests Marco Baringer **20050723133158] [Fix a bug in the handling of the case when LOOKUP finds a value for a name but the value is NIL Marco Baringer **20050723133106] [Export the symbol KALL Marco Baringer **20050723133052] [Change the test for constant-form'ness in walk.lisp Marco Baringer **20050723113019] [Extend the walker to handle #'(setf foo) function names Marco Baringer **20050723104431] [Fix bug in the lambda generated for method forms Marco Baringer **20050720144450] [Added ignore declarations to defun/cc and defmethod/cc to make the compiler happy Marco Baringer **20050720110112] [Temporarily comment out the log tests Marco Baringer **20050720092312] [Rename (optional|keyword|rest)-argument-form classes to include the -form suffix Marco Baringer **20050720092124] [Allow defun/cc defined functions te be called outside of a with-call/cc Marco Baringer **20050720091826] [Added support for &optional arguments in cps closures Marco Baringer **20050720091658] [Added defgeneric/cc Marco Baringer **20050719153441] [Move the error checking code for lambda arguments into apply, not lambda (in cps interpreter) Marco Baringer **20050719153121] [More cps tests Marco Baringer **20050719152327] [Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment Marco Baringer **20050719152230] [Added support to the cps interpreter forl communicating with lexical variables Marco Baringer **20050707094608] [walk.lisp depends on lexenv.lisp Marco Baringer **20050707093140] [added support for walking local varibales in the lexical environment Marco Baringer **20050707093027 this applies to all those variables defined the envorinment object grabbed via an &environment macro argument. ] [mistyped #+openmcl in lexenv.lisp Marco Baringer **20050707092959] [added src/lexenv.lisp to arnesi.asd Marco Baringer **20050707091127] [Rename src/environment.lisp Marco Baringer **20050707091114] [Initial version of environment.lisp Marco Baringer **20050707091019] [Minor docstring fixup for with-call/cc Marco Baringer **20050707090619] [Big patch including all the cps interpreter stuff upto now Marco Baringer **20050707083739] [Fix bug in handling of defclass-struct's :predicate option Marco Baringer **20050706105324] [Initial Import Marco Baringer **20050706101657 This import moves arnesi from arch to darcs. Nothing has actually changed since bese-2004 at common-lisp.net/arnesi--dev--1.4--patch-14 ] [added arch stuff to boring file Marco Baringer **20050706101630] [Setup boring file Marco Baringer **20050706100535] Patch bundle hash: 3b27a72fdeb4e144b08ccb219b0e00b360813a07 From lists at infoway.net Mon Aug 7 13:58:22 2006 From: lists at infoway.net (Daniel Salama) Date: Mon, 7 Aug 2006 09:58:22 -0400 Subject: [Bese-devel] Development/Production Environment In-Reply-To: References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> Message-ID: <8283E2A2-EA49-424D-8826-A0951C0837D7@infoway.net> Well, there's got to be something wrong with my setup. I put that in my .emacs and it still prompts me for a password every time I want to retrieve any file, even in the same session. Any other ideas? I read in Tramp manual that I need to have No Gnus password.el somewhere. I've search for that in my Emacs instance and cannot find it anywhere. Do I really need that file? Where can I find it? Thanks, Daniel On Aug 7, 2006, at 2:41 AM, Ties Stuij wrote: >> Also, why does Tramp keep asking me for a password for every request? > > put this in your emacs: > (setq password-cache-expiry 3600) ;; or however long you want to cache > your passwd From cjstuij at gmail.com Mon Aug 7 15:46:00 2006 From: cjstuij at gmail.com (Ties Stuij) Date: Mon, 7 Aug 2006 17:46:00 +0200 Subject: [Bese-devel] Development/Production Environment In-Reply-To: <8283E2A2-EA49-424D-8826-A0951C0837D7@infoway.net> References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> <8283E2A2-EA49-424D-8826-A0951C0837D7@infoway.net> Message-ID: On 8/7/06, Daniel Salama wrote: > Well, there's got to be something wrong with my setup. > > I put that in my .emacs and it still prompts me for a password every > time I want to retrieve any file, even in the same session. Any other > ideas? I read in Tramp manual that I need to have No Gnus password.el > somewhere. I've search for that in my Emacs instance and cannot find > it anywhere. Do I really need that file? Where can I find it? > did you search for it? on the internet? From henrik at evahjelte.com Mon Aug 7 16:26:14 2006 From: henrik at evahjelte.com (Henrik Hjelte) Date: Mon, 07 Aug 2006 18:26:14 +0200 Subject: [Bese-devel] cl-l10n Message-ID: <1154967974.28393.29.camel@trinidad> It seems my common-lisp.net user hhjelte does not have permissions to the cl-l10n directory, can someone that have authority please add this patch that makes cl-l10n work with allegro. /Henrik Hjelte -------------- next part -------------- New patches: [make cl-l10 work with allegro Henrik Hjelte **20060807101458] { hunk ./load-locale.lisp 32 +(defparameter *lisp-implementation-us-ascii-external-format* + #+sbcl :us-ascii + #+allegro :ascii) + hunk ./load-locale.lisp 116 - (with-input-from-file (stream locale-file :external-format :us-ascii) + (with-input-from-file (stream locale-file :external-format *lisp-implementation-us-ascii-external-format*) } Context: [Fix overrites typo attila.lendvai at gmail.com**20060804181821] [Fix splitting of lines in read-key->value-text-file-into-hashtable attila.lendvai at gmail.com**20060804173235] [Remove now unnecessary fallbacking attila.lendvai at gmail.com**20060804172259] [Added some english plural exceptions attila.lendvai at gmail.com**20060804171826] [Get rid of character names to be more portable attila.lendvai at gmail.com**20060728162424] [Fully honour errorp in the function "locale" again attila.lendvai at gmail.com**20060712203409] [OpenMCL fixes by Lu?s Oliveira attila.lendvai at gmail.com**20060702220420] [Imported doc dir from CVS attila.lendvai at gmail.com**20060702215945] [Use with-input-from-file instead of with-open-file attila.lendvai at gmail.com**20060630144617] [Fix load order of resources (we will probably need to split into common-pre/common-post in the future) attila.lendvai at gmail.com**20060628182616] [Added default localize method that looks up name as a constant or as a lambda with zero args attila.lendvai at gmail.com**20060628182529] [Fix locale-dispatched functions with 0 args attila.lendvai at gmail.com**20060628182335] [encoding-keyword-to-native in arnesi is exported now attila.lendvai at gmail.com**20060625105755] [Fix english plural of words ending with y attila.lendvai at gmail.com**20060625105722] [Export normalize-locale-list and do not call it from with-locale attila.lendvai at gmail.com**20060625105551] [Fix english plural for words ending with y attila.lendvai at gmail.com**20060621130052] [Issue a warning when redefining a function not defined by us. It's probably an error... attila.lendvai at gmail.com**20060618205053] [Use arnesi's encoding-keyword-to-native attila.lendvai at gmail.com**20060618195408] [Make sure the default locale of a used language always gets into the locale list attila.lendvai at gmail.com**20060618195142] [Some fixes to hungarian plural attila.lendvai at gmail.com**20060618195053] [Fix plurals, rename to plural-of attila.lendvai at gmail.com**20060618133737] [Fix vowel high/lowness attila.lendvai at gmail.com**20060618133714] [Fix resource lookup for lambdas returning nil attila.lendvai at gmail.com**20060618133257] [Added some words to the README aboud i18n attila.lendvai at gmail.com**20060617183600] [Fix hungarian plural attila.lendvai at gmail.com**20060617182218] [Added resources attila.lendvai at gmail.com**20060617123408] [Delete getenv, arnesi has a better version attila.lendvai at gmail.com**20060616165528] [Relax the locale rules to work with POSIX attila.lendvai at gmail.com**20060616165500] [Comment out some frequent symbols in the package exports because they cause a lot of headaches attila.lendvai at gmail.com**20060616105701] [Make locale defun nil-tolerant attila.lendvai at gmail.com**20060616105338] [Oh well, time to slow down. Some more fixes... attila.lendvai at gmail.com**20060615222223] [Get rid of a usage or bind attila.lendvai at gmail.com**20060615212654] [Added missing strcat-separated-by function attila.lendvai at gmail.com**20060615203127] [Added arnesi and iterate dependency, lookup-first-matching-resource attila.lendvai at gmail.com**20060615192726] [Get rid of split-sequence dependency attila.lendvai at gmail.com**20060608093207] [Some more normalization attila.lendvai at gmail.com**20060606182611] [Get rid of unnecessary spilt-sequence: package specification attila.lendvai at gmail.com**20060606152451] [Fix some missing pieces attila.lendvai at gmail.com**20060604103508] [Implement en_GB -> en fallback, some cleanup attila.lendvai at gmail.com**20060602193135] [Return (values result foundp) from resource lookup functions attila.lendvai at gmail.com**20060527134311] [Follow CVS attila.lendvai at gmail.com**20060523160212] [Fix lookup-resource mechanism, implicit progn, etc attila.lendvai at gmail.com**20060523154653] [Initial implicit locale specific dispatch levente.meszaros at gmail.com**20060412121043] [Export levente.meszaros at gmail.hu**20060305150311] [Added missing ChangeLog attila.lendvai at gmail.com**20060305145945] [Added missing asd file attila.lendvai at gmail.com**20060305145900] [Use asdf:component-pathname instead of *load-pathname* for less trouble attila.lendvai at gmail.com**20060305144826] [Initial darcs repo attila.lendvai at gmail.com**20060305144647] Patch bundle hash: c37511a84605cf4afae504ba76523b7c9a797571 From attila.lendvai at gmail.com Mon Aug 7 18:59:06 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 7 Aug 2006 20:59:06 +0200 Subject: [Bese-devel] cl-l10n In-Reply-To: <1154967974.28393.29.camel@trinidad> References: <1154967974.28393.29.camel@trinidad> Message-ID: > It seems my common-lisp.net user hhjelte does not have permissions to > the cl-l10n directory, can someone that have authority please add this > patch that makes cl-l10n work with allegro. > > /Henrik Hjelte i've pushed fixes based on this to arnesi and cl-l10n, but i couldn't test the changes... please try it out and fix further if necessary. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From lists at infoway.net Mon Aug 7 19:14:19 2006 From: lists at infoway.net (Daniel Salama) Date: Mon, 7 Aug 2006 15:14:19 -0400 Subject: [Bese-devel] Development/Production Environment In-Reply-To: References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> <846CA6BC-B0CC-4132-9CE8-88F61C5D9410@infoway.net> <8283E2A2-EA49-424D-8826-A0951C0837D7@infoway.net> Message-ID: Yes, but there was a problem on the CVS server yesterday. I was able to download it today and it now works. Thanks, Daniel On Aug 7, 2006, at 11:46 AM, Ties Stuij wrote: > On 8/7/06, Daniel Salama wrote: >> Well, there's got to be something wrong with my setup. >> >> I put that in my .emacs and it still prompts me for a password every >> time I want to retrieve any file, even in the same session. Any other >> ideas? I read in Tramp manual that I need to have No Gnus password.el >> somewhere. I've search for that in my Emacs instance and cannot find >> it anywhere. Do I really need that file? Where can I find it? >> > > did you search for it? on the internet? From attila.lendvai at gmail.com Mon Aug 7 21:09:13 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 7 Aug 2006 23:09:13 +0200 Subject: [Bese-devel] darcs, two branches, conflicts and the nature of exponential problems Message-ID: hi! so, i've been pulling a patch from _dev to _ajax for the third day now. the problem is that darcs, when resolves conflicting patches, operates with an algorithm that is exponential with the conflicts and patches involved. this problem surfaces in the real world when there are two branches of the same project and both are modified simultaneously, which is the case with UCW. possible solutions: 1) only record patches in one of the repos (seems like it's a bit late for this) 2) do not care that there's no subset relation between the patches of the two repos (could this patch be pulled it would conflict and the three lines of it had to be rewritten by hand, anyway.) but i don't like this idea that much, and i think if we pulled the patches in question from _ajax to _dev then the same issue would arise. 3) there's a tedious process to get rid of problematic patches (in the ajax branch, basically rerecord some patches and the transitive closure of their dependencies by hand) but other then being tedious it also renders all instances of that repo invalid and they all need to be darcs get again. ideas? suggestions? i think we'll (i'll) have to do 3 eventually hoping that it'll actually help. the problematic patches if there is someone with deeper darcs knowledge here: 20060529080637-dd2a1-af989a5d419670f87af9f3a1f1fd148aa14dad1a.gz: 8 20060607120319-dd2a1-90e3d39e01c9698b750ab8af72486f05836c90f1.gz: 8 20060618201426-74ae0-6fe26e4fc60fbbdb00cea71c33b107099d826a84.gz: 7 20060526192234-dd2a1-c19bb4ea05bef3ec79bc1f6a383bb57bf14ec463.gz: 6 20060709102712-74ae0-b0a9952b10dfb167988862399ed902ba45800b9a.gz: 6 20060709102712-74ae0-dac742e9171b5ad07cf2dfafbeb0f279438e74e6.gz: 6 20060622123735-dd2a1-5998014dc5f6ca157c7441e7b3b07f7517618c12.gz: 5 20060613220202-0fdcb-5ca9176234cfdb4a9256166caee6adaa1beac991.gz: 4 20060621132840-de23e-f27e931cd118908c4ad6e1e0eb9118e50a1bff30.gz: 4 20060630165226-6b9e8-d0197273bf0bef3e9f04094f5cc5a92275ba2c95.gz: 4 -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From svg at surnet.ru Mon Aug 7 22:21:05 2006 From: svg at surnet.ru (Vladimir Sekissov) Date: Tue, 08 Aug 2006 04:21:05 +0600 (YEKST) Subject: [Bese-devel] [PATCH] STANDARD-SERVER - Flushing output on error Message-ID: <20060808.042105.140093186.svg@surnet.ru> Good day, This patch fixes flushing output on error in HANDLE-REQUEST. Tested with Araneida backend. Best Regards, Vladimir Sekissov -------------- next part -------------- A non-text attachment was scrubbed... Name: CHANGESET.gz Type: application/octet-stream Size: 3303 bytes Desc: not available URL: From evrim at core.gen.tr Mon Aug 7 21:04:24 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Tue, 08 Aug 2006 00:04:24 +0300 Subject: [Bese-devel] ucw+ & www.hedee.com Message-ID: <44D7AAD8.8070005@core.gen.tr> hi, we've deployed our latest app "www.hedee.com" based on ucw+. It's a simple image browser app and shows basic ajax features and dojo widgets. We've tested this with ie6, moz and ff. feedbacks are welcome:) evrim. From lists at infoway.net Tue Aug 8 01:26:22 2006 From: lists at infoway.net (Daniel Salama) Date: Mon, 7 Aug 2006 21:26:22 -0400 Subject: [Bese-devel] ucw+ & www.hedee.com In-Reply-To: <44D7AAD8.8070005@core.gen.tr> References: <44D7AAD8.8070005@core.gen.tr> Message-ID: <7E7EC26D-F9F9-465F-BD95-88DA3A0F7F6E@infoway.net> Evrim, Nice work. I suppose I would ask is sharing the code to the community for educational purposes in the roadmap? Now, for feedback, for some reason there is some flickering when changing pages (Firefox OS X). Other than that, at first, I thought it would be something like http://labs.openlaszlo.org/app-loader.html? lzr=dhtml&lzt=html. I personally like the OpenLaszlo project and now that they support multiple engines (e.g. Flash and DHTML) it's even nicer. However, I'm trying to stay focus on my quest to learn UCW and UCW+. Having said that, and knowing that OpenLaszlo uses Dojo as well, it would be interesting, as a suggestion, to implement some of the controls in the URL I provided in your app. Daniel On Aug 7, 2006, at 5:04 PM, Evrim ULU wrote: > hi, > > we've deployed our latest app "www.hedee.com" based on ucw+. It's a > simple image browser app and shows basic ajax features and dojo > widgets. We've tested this with ie6, moz and ff. > > feedbacks are welcome:) > > evrim. > _______________________________________________ > bese-devel mailing list > bese-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel From lists at infoway.net Tue Aug 8 01:42:37 2006 From: lists at infoway.net (Daniel Salama) Date: Mon, 7 Aug 2006 21:42:37 -0400 Subject: [Bese-devel] SLIME/Tramp Development using remote hosts [Used to be: Development/Production Environment] In-Reply-To: <20060803.042904.148554126.svg@surnet.ru> References: <20060803.022507.12019759.svg@surnet.ru> <29B72DC0-03A8-4843-9673-8D785752A306@infoway.net> <20060803.042904.148554126.svg@surnet.ru> Message-ID: <79C31C4B-D9FA-4EEB-8882-BB7D3181740B@infoway.net> Thanks everyone for your support. I finally got it to work!!! I guess I was getting confused by all the references I found through your emails and Google. There were samples using SLIME-FILENAME- TRANSLATIONS, SLIME-CREATE-FILENAME-TRANSLATOR, SLIME-TRANSLATE-TO- LISP-FILENAME-FUNCTION and SLIME-TRANSLATE-FROM-LISP-FILENAME-FUNCTION. Anyway, this is ALL I needed in my .emacs: (setq tramp-default-method "scpx") (setq password-cache-expiry 7200) (push (slime-create-filename-translator :machine-instance "sun.myhost.net" :remote-host "10.0.10.2" :username "dsalama") slime-filename-translations) Also, I had to install No Gnus password.el (http://ftp.gnus.org/cgi- bin/cvsweb.cgi/gnus/lisp/password.el?rev=7.12) in order for Tramp's password cache to work in my environment (Mac OS X, Emacs from http:// www.apple.com/downloads/macosx/unix_open_source/carbonemacspackage.html) Hope this information helps others. Thanks, Daniel On Aug 2, 2006, at 6:29 PM, Vladimir Sekissov wrote: > > lists> Now, onto the next problem with Slime. I can't C-c C-k. > Whenever I do > lists> that, the lisp debugger comes up saying that I'm trying to > load an > lists> invalid file: > > Customize SLIME-FILENAME-TRANSLATIONS Emacs variable. > >> From documentation: > > Alist of mappings between machine names and filename > translation functions. Each element is of the > form (HOSTNAME-REGEXP TO-LISP FROM-LISP). > ... > > Best Regards, > Vladimir Sekissov From mbaringer at common-lisp.net Tue Aug 8 04:00:13 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 8 Aug 2006 00:00:13 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 7-Aug-2006 Message-ID: <20060808040013.2A6757507C@common-lisp.net> Mon Aug 7 14:55:16 EDT 2006 attila.lendvai at gmail.com * Added encoding support for Allegro I've added it based on the Allegro docs but I can't test it. Someone with a working ACL, please test it! M ./src/string.lisp +15 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20060807.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Tue Aug 8 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 8 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 7-Aug-2006 Message-ID: <20060808043010.9288678000@common-lisp.net> Mon Aug 7 12:23:38 EDT 2006 Henrik Hjelte * Some changes to make it work with Allegro (without cl-launch) M ./etc/conf.lisp -11 +5 M ./src/application-mixins/single-frame-application.lisp -1 +2 M ./src/components/form.lisp +13 M ./src/yaclml/ucw-tags.lisp -3 +5 Wed Aug 2 02:39:44 EDT 2006 Henrik Hjelte * typo in proccess-ajax-error M ./src/per-application-parenscript.lisp -1 +1 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060807.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From henrik at evahjelte.com Tue Aug 8 11:20:43 2006 From: henrik at evahjelte.com (Henrik Hjelte) Date: Tue, 08 Aug 2006 13:20:43 +0200 Subject: [Bese-devel] cl-l10n In-Reply-To: References: <1154967974.28393.29.camel@trinidad> Message-ID: <1155036043.28393.44.camel@trinidad> On Mon, 2006-08-07 at 20:59 +0200, Attila Lendvai wrote: > > It seems my common-lisp.net user hhjelte does not have permissions to > > the cl-l10n directory, can someone that have authority please add this > > patch that makes cl-l10n work with allegro. > > > > /Henrik Hjelte > > i've pushed fixes based on this to arnesi and cl-l10n, but i couldn't > test the changes... > > please try it out and fix further if necessary. > Thanks, it works now, it also made me do an allegro implementation of the string encoding stuff in arnesi. /Henrik Hjelte From mbaringer at common-lisp.net Wed Aug 9 04:00:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 9 Aug 2006 00:00:08 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 8-Aug-2006 Message-ID: <20060809040008.574E2403C@common-lisp.net> Tue Aug 8 07:37:30 EDT 2006 Henrik Hjelte * Allegro duplicate removed M ./src/string.lisp -15 Tue Aug 8 07:11:22 EDT 2006 Henrik Hjelte * Allegro implementation of string-encodings M ./src/string.lisp -1 +23 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20060808.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From evrim at core.gen.tr Wed Aug 9 03:03:15 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Wed, 09 Aug 2006 06:03:15 +0300 Subject: [Bese-devel] ucw+ & www.hedee.com In-Reply-To: <7E7EC26D-F9F9-465F-BD95-88DA3A0F7F6E@infoway.net> References: <44D7AAD8.8070005@core.gen.tr> <7E7EC26D-F9F9-465F-BD95-88DA3A0F7F6E@infoway.net> Message-ID: <44D95073.8060205@core.gen.tr> Daniel Salama wrote: > Evrim, > > Nice work. I suppose I would ask is sharing the code to the community > for educational purposes in the roadmap? > > Now, for feedback, for some reason there is some flickering when > changing pages (Firefox OS X). Other than that, at first, I thought > it would be something like http://labs.openlaszlo.org/app-loader.html? > lzr=dhtml&lzt=html. I personally like the OpenLaszlo project and now > that they support multiple engines (e.g. Flash and DHTML) it's even > nicer. However, I'm trying to stay focus on my quest to learn UCW and > UCW+. Having said that, and knowing that OpenLaszlo uses Dojo as > well, it would be interesting, as a suggestion, to implement some of > the controls in the URL I provided in your app. This is on my road-map. I'm continuously trying to implement dojo widgets in ucw+. Flickering is the problem of dojo so i can't solve it, i periodically update dojo from svn and check if it's better, that's all i can do for now i suppose. I'm also testing how other dojo widgets operate. I'm not sure about lazslo, i'll take a look it later. About the code share, i must ask aycan about this. It's nothing special, just 412 lines of code:) I'm pushing widgets i use to ucw+ but they'r experimental for now. Thnx for the feedback. Evrim. From mbaringer at common-lisp.net Wed Aug 9 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 9 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 8-Aug-2006 Message-ID: <20060809043010.9674B19000@common-lisp.net> Tue Aug 8 15:43:25 EDT 2006 attila.lendvai at gmail.com * Extend and demonstrate support of progress labels M ./examples/forms.lisp -4 +12 M ./src/components/form.lisp -5 +9 M ./src/yaclml/ucw-tags.lisp -3 +7 Tue Aug 8 15:04:53 EDT 2006 attila.lendvai at gmail.com * Various smallies M ./docs/TODO -1 +1 M ./src/components/form.lisp -1 +1 M ./src/per-application-parenscript.lisp -2 +2 M ./ucw.asd -1 +1 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060808.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Thu Aug 10 04:00:05 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 10 Aug 2006 00:00:05 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 9-Aug-2006 Message-ID: <20060810040005.E4E2337004@common-lisp.net> Wed Aug 9 06:34:55 EDT 2006 Hoan Ton-That * Unwalk declarations M ./src/unwalk.lisp -16 +60 M ./src/walk.lisp -3 +4 M ./t/walk.lisp -6 +7 Wed Aug 9 05:38:52 EDT 2006 Hoan Ton-That * Rename some variables in lisp1.lisp M ./src/lisp1.lisp -15 +15 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20060809.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Thu Aug 10 04:30:04 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 10 Aug 2006 00:30:04 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 9-Aug-2006 Message-ID: <20060810043004.BAB2548147@common-lisp.net> Wed Aug 2 10:32:48 EDT 2006 evrim at core.gen.tr UNDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp -5 M ./src/components/widget.lisp -3 +1 Wed Aug 9 08:29:54 EDT 2006 attila.lendvai at gmail.com * Log remote peer address in httpd backend Tested only on sbcl, on other lisps it probably prints nil. Requires the trivial-sockets repo from: http://www.common-lisp.net/project/bese/darcs/trivial-sockets_until-i-can-merge-with-the-mainline/ M ./src/backend/httpd.lisp -5 +8 M ./src/backend/multithread-httpd.lisp -6 +8 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060809.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Thu Aug 10 04:30:17 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 10 Aug 2006 00:30:17 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 9-Aug-2006 Message-ID: <20060810043017.7344F50009@common-lisp.net> Wed Aug 9 18:58:47 EDT 2006 attila.lendvai at gmail.com * Fix conflicts with the extra-tags patch M ./src/components/widget.lisp -9 +10 Wed Aug 9 18:56:37 EDT 2006 attila.lendvai at gmail.com * Added dirty-p-checker slot to generic-html-input This may be a JS lambda or a true/false literal that will be used when checking wether this field is dirty (i.e. when leaving the page). M ./src/components/form.lisp +3 M ./src/per-application-parenscript.lisp -5 +8 Wed Aug 9 18:55:57 EDT 2006 attila.lendvai at gmail.com * Refactored checkbox-field to use a hidden input and do not clear its value at render-time M ./src/components/form.lisp -45 +38 M ./src/per-application-parenscript.lisp -11 +55 Wed Aug 9 18:50:44 EDT 2006 attila.lendvai at gmail.com * Fix progress label positioning M ./wwwroot/ucw/ucw.css -1 +1 Wed Aug 9 18:44:56 EDT 2006 attila.lendvai at gmail.com * Added enable-js-sharpquote-reader M ./src/helpers.lisp -1 +16 M ./src/packages.lisp +1 M ./src/parenscript-utils.lisp +2 M ./src/rerl/standard-dispatcher.lisp -7 +1 Wed Aug 2 10:32:48 EDT 2006 evrim at core.gen.tr UNDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp -5 Wed Aug 2 10:32:48 EDT 2006 evrim at core.gen.tr * extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp +5 M! ./src/components/widget.lisp -12 +11 Wed Aug 9 08:29:54 EDT 2006 attila.lendvai at gmail.com * Log remote peer address in httpd backend Tested only on sbcl, on other lisps it probably prints nil. Requires the trivial-sockets repo from: http://www.common-lisp.net/project/bese/darcs/trivial-sockets_until-i-can-merge-with-the-mainline/ M ./src/backend/httpd.lisp -5 +8 M ./src/backend/multithread-httpd.lisp -6 +8 Tue Aug 8 15:01:57 EDT 2006 attila.lendvai at gmail.com * Session mixin handling similar to session-context, WARNING: small api change! application.session-type and the :session-type initarg has been removed an a session-class method with list method combination has been added. the list of classes are used to calculate an effective session class that'll be used with the application in question. M ./src/application-mixins/single-frame-application.lisp -2 +5 M ./src/packages.lisp +1 M ./src/rerl/protocol.lisp -3 +11 M ./src/rerl/standard-application.lisp -3 +12 M ./src/rerl/standard-classes.lisp -5 +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060809.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From evrim at core.gen.tr Thu Aug 10 04:20:28 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Thu, 10 Aug 2006 07:20:28 +0300 Subject: [Bese-devel] New patches to ucw_dev: 9-Aug-2006 In-Reply-To: <20060810043004.BAB2548147@common-lisp.net> References: <20060810043004.BAB2548147@common-lisp.net> Message-ID: <44DAB40C.6020905@core.gen.tr> Marco Baringer wrote: >Wed Aug 2 10:32:48 EDT 2006 evrim at core.gen.tr > UNDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. > > M ./src/components/html-element.lisp -5 > M ./src/components/widget.lisp -3 +1 > > Oh great. It seems i've screwed up yesterday, sorry Attila. i am using this extra-tags for extra dojo attributes:( Could you explain once more why you didin't like this? Do you want a name change? I am definetly needing this in repo. where is my mind? evrim. From attila.lendvai at gmail.com Thu Aug 10 09:49:50 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 10 Aug 2006 11:49:50 +0200 Subject: [Bese-devel] New patches to ucw_dev: 9-Aug-2006 In-Reply-To: <44DAB40C.6020905@core.gen.tr> References: <20060810043004.BAB2548147@common-lisp.net> <44DAB40C.6020905@core.gen.tr> Message-ID: > > UNDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. > > > > M ./src/components/html-element.lisp -5 > > M ./src/components/widget.lisp -3 +1 > > > > > Oh great. It seems i've screwed up yesterday, sorry Attila. i am using > this extra-tags for extra dojo attributes:( Could you explain once more > why you didin't like this? Do you want a name change? I am definetly > needing this in repo. see possible solutions at the end. issues: - name; non-issue, can be renamed - i'm not sure about the public usefulness of it, because it only allows a static set of extra attributes which is not enough most of the time. and there's already a more general solution for this in the ajax branch, a new protocol method called render-widget-wrapper that can be specialized, overridden, etc. dojo-widget.lisp uses it to customize the rendering of the dojo div's. - causes darcs-level conflicts; non-issue, in that it's already a conflict, but luckily there were not too many changes in widget.lisp to take days to pull it, like the yaclml cleanup patch that changes ucw-tags.lisp, and i'm pulling for several days now... :| solutions: - readd the patch; see issues above. plus consider that it's a transient situation until the render-widget-wrapper patch reaches dev. - darcs level; don't pull the UNDO patch, or pull it and overwrite the file in your local repo keeping it as a pending change. or what i do: keep a local 'official' ucw repo with patches that are not pushed, and not pulling patches into it. for example i have a 'hack' (not generally useful at least) patch for ages that makes (make-instance 'standard-component) work outside a valid *context*, because there are places in my code where i need :component slots, but it's not factored out from standard-component. i keep this patch in my local ucw repo that my collegues are pulling from instead of the official ucw repo. - lisp level; redefine ucw's widget stuff in the project where you need it. i also do that most of the time when i need to change something in a project that makes my life a lot easier, but i'm not sure about the public usefullness of the change. then i usually open a ucw-patches.lisp file in my project and add redefinitions that only my project needs. you could even paste the new widget stuff from the ajax branch there, with a TODO note. - copy the widget stuff into your project's package hth, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From aycan.irican at core.gen.tr Thu Aug 10 11:36:58 2006 From: aycan.irican at core.gen.tr (Aycan iRiCAN) Date: Thu, 10 Aug 2006 14:36:58 +0300 Subject: [Bese-devel] ucw+ & www.hedee.com In-Reply-To: <7E7EC26D-F9F9-465F-BD95-88DA3A0F7F6E@infoway.net> (Daniel Salama's message of "Mon, 7 Aug 2006 21:26:22 -0400") References: <44D7AAD8.8070005@core.gen.tr> <7E7EC26D-F9F9-465F-BD95-88DA3A0F7F6E@infoway.net> Message-ID: <87fyg4styd.fsf@core.gen.tr> Daniel Salama writes: > Evrim, > > Nice work. I suppose I would ask is sharing the code to the community > for educational purposes in the roadmap? > > Now, for feedback, for some reason there is some flickering when > changing pages (Firefox OS X). Other than that, at first, I thought > it would be something like http://labs.openlaszlo.org/app-loader.html? > lzr=dhtml&lzt=html. I personally like the OpenLaszlo project and now > that they support multiple engines (e.g. Flash and DHTML) it's even > nicer. However, I'm trying to stay focus on my quest to learn UCW and > UCW+. Having said that, and knowing that OpenLaszlo uses Dojo as > well, it would be interesting, as a suggestion, to implement some of > the controls in the URL I provided in your app. Ofcourse you can check out the source code: http://coretal.core.gen.tr/cgi-bin/darcsweb.cgi We need more feedback. Kind Regards, -- Aycan iRiCAN C0R3 Computer Security Group http://people.core.gen.tr/~aycan.irican/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available URL: From mb at bese.it Thu Aug 10 19:51:28 2006 From: mb at bese.it (Marco Baringer) Date: Thu, 10 Aug 2006 21:51:28 +0200 Subject: [Bese-devel] Ground Control to Major Baringer; Your circuit's dead, there's something wrong Message-ID: as some of you have noticed i've not been very active lately. Real Life has momentarily taken over and left me with little time and energy to work on ucw related stuff. i'll be back around september, until then i'll still hang out on #ucw and i'll still read the list, though i may not be very responsive. in the mean time attila lendvai has my trust and the final word on any ucw (and arnesi and yaclml and what not) related matters (though i promise to kick him if he does something too stupid). -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From mb at bese.it Thu Aug 10 19:57:08 2006 From: mb at bese.it (Marco Baringer) Date: Thu, 10 Aug 2006 21:57:08 +0200 Subject: [Bese-devel] Re: New patches to ucw_dev: 9-Aug-2006 References: <20060810043004.BAB2548147@common-lisp.net> <44DAB40C.6020905@core.gen.tr> Message-ID: "Attila Lendvai" writes: > - i'm not sure about the public usefulness of it, because it only > allows a static set of extra attributes which is not enough most of > the time. and there's already a more general solution for this in > the ajax branch, a new protocol method called render-widget-wrapper > that can be specialized, overridden, etc. dojo-widget.lisp uses it > to customize the rendering of the dojo div's. i agree with this. the patch, as suggested, looks like an app specific hack, and not something sufficently general enough to be adaptable to other situations where messing with attributes and tags is required. > solutions: > - readd the patch; see issues above. plus consider that it's a transient > situation until the render-widget-wrapper patch reaches dev. as it stands this probably what should be done. the patch does, after all, solve some problems and we know it's gonig to go away eventually. > - darcs level; don't pull the UNDO patch, or pull it and overwrite > the file in your > local repo keeping it as a pending change. or what i do: keep a > local 'official' > ucw repo with patches that are not pushed, and not pulling patches into it. > for example i have a 'hack' (not generally useful at least) patch for ages > that makes (make-instance 'standard-component) work outside a valid > *context*, because there are places in my code where i need :component > slots, but it's not factored out from standard-component. i keep this patch > in my local ucw repo that my collegues are pulling from instead of the > official ucw repo. as a general management and programming practice this is what i'd suggest doing. i personally have _many_ ucw branchs, one, or even two, for each major project with a number of small app specific changes to ucw. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From mbaringer at common-lisp.net Fri Aug 11 04:30:12 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 11 Aug 2006 00:30:12 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 10-Aug-2006 Message-ID: <20060811043012.535CC403D@common-lisp.net> Thu Aug 10 04:54:13 EDT 2006 evrim at core.gen.tr * REDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp +5 M ./src/components/widget.lisp -1 +3 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060810.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From ewagner at northwestern.edu Fri Aug 11 22:16:58 2006 From: ewagner at northwestern.edu (ewagner at northwestern.edu) Date: Fri, 11 Aug 2006 17:16:58 -0500 Subject: [Bese-devel] darcs patch: fixed case in a few places for allegro modern mode Message-ID: <200608112216.k7BMGw5F016449@panopticon.cs.northwestern.edu> Fri Aug 11 17:13:44 CDT 2006 ewagner at northwestern.edu * fixed case in a few places for allegro modern mode -------------- next part -------------- A non-text attachment was scrubbed... Name: fixed-case-in-a-few-places-for-allegro-modern-mode.dpatch Type: text/x-darcs-patch Size: 8125 bytes Desc: A darcs patch for your repository! URL: From mbaringer at common-lisp.net Sat Aug 12 04:00:07 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 12 Aug 2006 00:00:07 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 11-Aug-2006 Message-ID: <20060812040007.554C636014@common-lisp.net> Fri Aug 11 21:16:54 EDT 2006 Hoan Ton-That * Added CIRCULARIZE M ./src/one-liners.lisp -5 +4 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-20060811.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Mon Aug 14 04:15:04 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 14 Aug 2006 00:15:04 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 13-Aug-2006 Message-ID: <20060814041504.70B157E021@common-lisp.net> Sun Aug 13 19:28:56 EDT 2006 attila.lendvai at gmail.com * Fix with-xml-syntax, so that you can use (<:as-is ...) and friends inside it. M ./src/yaclml.lisp -2 +6 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20060813.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mbaringer at common-lisp.net Mon Aug 14 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 14 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 13-Aug-2006 Message-ID: <20060814043010.CA0527C006@common-lisp.net> Sun Aug 13 19:25:35 EDT 2006 attila.lendvai at gmail.com * Added ajax-render-new-tab M ./src/components/dojo-widgets.lisp -6 +21 M ./src/packages.lisp +1 Sun Aug 13 19:15:15 EDT 2006 attila.lendvai at gmail.com * Update example css to get rid of the permanent scrollbar M ./wwwroot/ucw/examples/examples.css -3 +6 Sun Aug 13 19:14:31 EDT 2006 attila.lendvai at gmail.com * Demo ajax-render-new-tab M ./examples/examples.lisp -5 +12 Sun Aug 13 19:13:21 EDT 2006 attila.lendvai at gmail.com * Refactor some js to make it more customizable. Fix small buglets, too... M ./src/l10n/resources/en.lisp +3 M ./src/l10n/resources/hu.lisp +3 M ./src/parenscript-utils.lisp -2 +20 M ./src/per-application-parenscript.lisp -62 +110 M ./src/yaclml/ucw-tags.lisp -2 +4 Sun Aug 13 19:04:46 EDT 2006 attila.lendvai at gmail.com * Update the way js is quoted, don't rely on the (bugous, soon-to-be-fixed) <:as-is :quotedp t quoting M ./src/components/window.lisp -1 +3 M ./src/yaclml/ucw-tags.lisp -2 +3 Sun Aug 13 18:33:30 EDT 2006 attila.lendvai at gmail.com * Use node.inner-h-t-m-l for script tags, fixes mozilla issue, too M ./src/per-application-parenscript.lisp -5 +2 Fri Aug 11 05:03:30 EDT 2006 attila.lendvai at gmail.com * Resolve conflicts with the extra-tags patch again M ./src/components/widget.lisp -9 +10 Thu Aug 10 04:54:13 EDT 2006 evrim at core.gen.tr UNDO: REDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp -5 Thu Aug 10 04:54:13 EDT 2006 evrim at core.gen.tr * REDO: extra-tags slot added to html-element for the of (@ ..) tag. widget-component fixed accordingly to include extra-tags. M ./src/components/html-element.lisp +5 M! ./src/components/widget.lisp -10 +9 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060813.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From attila.lendvai at gmail.com Mon Aug 14 13:50:09 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 14 Aug 2006 15:50:09 +0200 Subject: [Bese-devel] ucw-boxset and the branches Message-ID: hi! i've added the other branch to the boxset, too. you can start it with the start-ajax.lisp. when the repo renames happen, they'll be start.lisp and start-dev.lisp, or something similar. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From eenge at common-lisp.net Mon Aug 14 14:19:28 2006 From: eenge at common-lisp.net (Erik Enge) Date: Mon, 14 Aug 2006 10:19:28 -0400 (EDT) Subject: [Bese-devel] Last chance: move your files off of common-lisp.net FTP, please. Message-ID: <20060814141928.44C5558319@common-lisp.net> See http://common-lisp.net/pipermail/users/2006-August/000006.html for more information. Thanks. From mdanish at andrew.cmu.edu Mon Aug 14 20:51:26 2006 From: mdanish at andrew.cmu.edu (mrd) Date: Mon, 14 Aug 2006 16:51:26 -0400 Subject: [Bese-devel] (using ucw_ajax branch) It's currently impossible to use ucw:action or ucw:ajax-action in a ucw:button specified in TAL due to a very simple issue: expand-action-attributes has a hard-coded ecase statement only allowing certain tags to use ucw:action. I added a case for Mon Aug 14 12:55:07 EDT 2006 Henrik Hjelte * bugfix, it is an error to invoke unread-char twice (see hyperspec) M ./src/yaclml.lisp -52 +50 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20060814.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mbaringer at common-lisp.net Tue Aug 15 04:30:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 15 Aug 2006 00:30:08 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 14-Aug-2006 Message-ID: <20060815043008.070DF70210@common-lisp.net> Mon Aug 14 15:31:57 EDT 2006 attila.lendvai at gmail.com * Added 'javascript-debug-level slot to standard-application M ./src/components/window.lisp -1 +1 M ./src/packages.lisp +1 M ./src/per-application-parenscript.lisp -4 +7 M ./src/rerl/standard-application.lisp +12 M ./src/rerl/standard-classes.lisp +4 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060814.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From henrik at evahjelte.com Tue Aug 15 12:57:26 2006 From: henrik at evahjelte.com (Henrik Hjelte) Date: Tue, 15 Aug 2006 14:57:26 +0200 Subject: [Bese-devel] yaclml xml-reader Message-ID: <1155646646.3702.125.camel@trinidad> There is a problem with the latest changes to make the xml-reader macro in yaclml work with embedded yaclml tags (such as <:as-is). It doesn't show up in sbcl, but it is a bug according to the standard and shows up with at least allegro (when loading the file dojo-widgets.lisp). The problem is that xml-reader-open wants to look ahead in the stream, and then call unread-char twice in a row, which is not allowed according to the ansi spec. I tried to fix this by calling peek-char followed by one unread-char, but it didn't work either because the effect of calling peek-char followed by unread-char is "Unspecified" according to the spec. I see no obvious way to fix this, or how to change xml-reader-open to make <: tags work. One "solution" is to use it.bese.yaclml.tags:as-is instead of <:as-is. Not as pretty though.. Any thoughts? /Henrik Hjelte From attila.lendvai at gmail.com Tue Aug 15 14:08:51 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 15 Aug 2006 16:08:51 +0200 Subject: [Bese-devel] yaclml xml-reader In-Reply-To: <1155646646.3702.125.camel@trinidad> References: <1155646646.3702.125.camel@trinidad> Message-ID: > I see no obvious way to fix this, or how to change xml-reader-open to > make <: tags work. One "solution" is to use it.bese.yaclml.tags:as-is > instead of <:as-is. Not as pretty though.. > > Any thoughts? not much time now, but seems like we must implement or hook-into symbol the original reading somehow. for the curious: the situation is that in a reader macro we encounter a "<" char and depending on the next char it's either an xml tag open or a simple symbol. if it's not an xml tag then we unread the "<" char and restart the reader with a clean readtable. this is fine, but needs two levels of lookahead. my only idea is to implement symbol reading. not too nice but probably works. look at the next char, if it's a ":" then bind *package* to (find-package "<") and simply restart the reader, return what it reads. if it's a space, a "(" or any of the delimiting chars (is there a way in CLHS to check for this?) then return (intern "<") so we won't break with packages shadowing cl:< otherwise we are at an xml open tag and enter our xml reader. i'll take a look at it tomorrow if you don't push a fix for it. thanks Henrik, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From dmgenp at gmail.com Tue Aug 15 19:02:42 2006 From: dmgenp at gmail.com (Dmitry Petukhov) Date: Wed, 16 Aug 2006 01:02:42 +0600 Subject: [Bese-devel] a change to submit-button render? Message-ID: <84ee89da0608151202m50a5441nb89d418ea618606d@mail.gmail.com> i'd like to use ucw:form field classes, and be able to know which one of the serveral submit-buttons were pressed. It seems to me what change to allow this is small, and should not interfere with existing code; but someone more close with ucw will know better. I discribed a problem and my proposed change here: http://paste.lisp.org/display/24174 Could this change be added to ucw repo's ? It may be of use for someone else, and i will not need to redefine render on submit-button in my code. From mbaringer at common-lisp.net Thu Aug 17 04:00:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 17 Aug 2006 00:00:08 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 16-Aug-2006 Message-ID: <20060817040008.0175176001@common-lisp.net> Wed Aug 16 17:11:28 EDT 2006 attila.lendvai at gmail.com tagged 2006-08-16 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20060816.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Thu Aug 17 04:30:09 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 17 Aug 2006 00:30:09 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 16-Aug-2006 Message-ID: <20060817043009.C248C1B010@common-lisp.net> Fri Jun 23 17:42:28 EDT 2006 attila.lendvai at gmail.com * Render custom checkbox images so that the page is not scrolled when they are clicked M ./src/components/form.lisp -2 +1 M ./wwwroot/ucw/ucw.css +4 Fri Jun 23 04:37:56 EDT 2006 attila.lendvai at gmail.com * Merge conflicts with dev branch in forms.lisp M ./src/components/form.lisp -1 +5 Sun Jun 18 09:50:49 EDT 2006 attila.lendvai at gmail.com * Fix simple-form and simple-submit M ./src/yaclml/ucw-tags.lisp -8 +6 Sun Jun 18 09:44:43 EDT 2006 attila.lendvai at gmail.com * Add :www-roots default initarg M ./src/rerl/standard-classes.lisp -1 +5 Sat Jun 17 13:59:26 EDT 2006 attila.lendvai at gmail.com * Added with-ucw-error-handler js macro M ./src/parenscript-utils.lisp +14 M ./src/per-application-parenscript.lisp -47 +55 M ./ucw.asd -1 +1 Sat Jun 17 10:33:55 EDT 2006 attila.lendvai at gmail.com * Merge ajax/dev branch conflicts M ./src/components/ajax.lisp +1 M ./src/components/collapsible-pane.lisp -1 +1 M! ./src/components/form.lisp -7 +5 M ./src/components/widget.lisp -29 +2 M ./src/rerl/standard-action.lisp -5 +76 M ./ucw.asd -4 +1 Fri Jun 16 10:01:12 EDT 2006 attila.lendvai at gmail.com * Use the $ js macro in form.lisp M ./src/components/form.lisp -14 +13 Tue Jun 13 12:17:14 EDT 2006 attila.lendvai at gmail.com * Fix call-callbacks dependencies M ./src/rerl/standard-session-frame.lisp -2 +4 Tue Jun 13 11:59:47 EDT 2006 attila.lendvai at gmail.com * Smarten up callbacks (WARNING: api change) With this patch callbacks are stored in a defstruct. (defstruct (callback-entry (:conc-name callback-) (:constructor %make-callback-entry)) (lambda nil :type function) (dependencies '() :type list) ; a list of callbacks that should be run before this one (executed nil :type boolean) ; while callbacks are processed this flag is used to mark execution (priority 0 :type fixnum) ; callbacks will be called in the order determined by this priority (id nil :type string)) Also fixed submit-callbacks, they are now garanteed to be called after normal callbacks (their priority is -100) The API change is that make-new-callback became register-callback, and its :name parameter is renamed to :id. M ./src/components/form.lisp -3 +3 M ./src/packages.lisp -1 +1 M ./src/rerl/protocol.lisp -8 +1 M ./src/rerl/standard-session-frame.lisp -44 +73 M ./src/yaclml/tal.lisp -1 +1 M ./src/yaclml/ucw-tags.lisp -8 +12 Mon Jun 12 06:40:09 EDT 2006 attila.lendvai at gmail.com * Added build-dojo.sh and updated dojo.js as a binary file When updating dojo.js _darcs/prefs/bianries should have a line at the end like this: dojo\.js so that it's updated as a binary file when someone updates dojo.js. The iuncluded build-dojo.sh builds a cvs dojo and copies the src dir into the ucw wwwroot. In the ucw repo only debug.js is included. If you build your own dojo then you can use the dojo include facility to include stuff that is now in the dojo.js. ./wwwroot/dojo.js -> ./wwwroot/dojo/dojo.js M ./.boring +1 A ./bin/build-dojo.sh A ./etc/ucw.profile.js M ./examples/examples.lisp -3 +1 M ./src/components/window.lisp -3 +9 M ./src/per-application-parenscript.lisp -4 +1 A ./wwwroot/dojo/ M ./wwwroot/dojo/dojo.js A ./wwwroot/dojo/src/ A ./wwwroot/dojo/src/debug.js Mon Jun 12 05:11:30 EDT 2006 attila.lendvai at gmail.com * Got rid of regex matching in parenscript dispatcher Sun Jun 11 11:12:02 EDT 2006 evrim at core.gen.tr * - resolved conflicts for previous parenscript-dispatcher patch. M ./src/rerl/standard-dispatcher.lisp -19 +4 Sat Jun 10 07:27:33 EDT 2006 attila.lendvai at gmail.com * Use both ajax and non-ajax submitting in the add numbers example M ./examples/sum.lisp -12 +4 Fri Jun 9 20:40:25 EDT 2006 attila.lendvai at gmail.com * Added :focused support to some ")) , at body) (write-sequence (string-to-octets (get-output-stream-string ,yaclml-stream) :utf-8) (ucw::network-stream ,request)))) (close-request ,request)))) ;; this is rendered with (action-href ... :ajax t) (" yaclml:*yaclml-stream*) (render ajax-component) (princ "" yaclml:*yaclml-stream*))) M ./src/rerl/protocol.lisp -1 +1 M ./src/rerl/standard-action.lisp -4 +8 M ./src/rerl/standard-component/standard-component.lisp -14 +10 M! ./src/rerl/standard-dispatcher.lisp -8 +18 M ./src/rerl/standard-session-frame.lisp -4 +13 M! ./src/yaclml/ucw-tags.lisp -7 +3 Fri Jun 23 05:12:56 EDT 2006 attila.lendvai at gmail.com tagged 2006-06-23 Sun Jun 18 11:49:56 EDT 2006 attila.lendvai at gmail.com * Merge dev/ajax conflict in l10n example M ./examples/l10n.lisp -3 Sun Jun 18 10:21:59 EDT 2006 attila.lendvai at gmail.com * Backport examples to the dev branch (fix it :) M! ./examples/l10n.lisp +3 Mon Jun 12 13:15:40 EDT 2006 evrim at core.gen.tr * - :initarg :dispatchers added std-application. M ./src/rerl/standard-classes.lisp +1 Wed Jun 7 08:50:15 EDT 2006 evrim at core.gen.tr * - std-application default dispatchers are now provided from via initform. M ./src/rerl/standard-classes.lisp -1 +9 Wed Jun 7 08:49:39 EDT 2006 evrim at core.gen.tr * - removed shared-init :after method of std-application, default dispathers are now in :initform M ./src/rerl/standard-application.lisp -16 Thu Jun 22 08:10:56 EDT 2006 Marco Baringer * Define shared-initialize :after, not a shared-initialize whose first form in (call-next-method) M ./src/rerl/standard-dispatcher.lisp -3 +3 Mon Jun 19 05:55:36 EDT 2006 attila.lendvai at gmail.com * Fix the fix for dispatcher priority M ./src/rerl/standard-dispatcher.lisp -1 +1 Mon Jun 19 03:35:57 EDT 2006 Alexey Antipov * action-dispatcher created with nil priority M ./src/rerl/standard-dispatcher.lisp -3 +4 Sun Jun 18 19:25:21 EDT 2006 evrim at core.gen.tr * - merged conflicts with current dev-branch. tal-matcher updated according to marcos's ends-width patch. M ./src/rerl/standard-dispatcher.lisp -91 +11 Sun Jun 18 16:14:26 EDT 2006 evrim at core.gen.tr * - Introducing the new dispatcher implementation. now we have reusable matchers and handlers. API didn't change a lot for now. Only change is two arg'ed handler lambda()'s are replaced with zero arg-ed one's to form up a standard. Old arguments like application and context can be reached via special *context*. Please see also previous patch comments for more info about what may have changed. M! ./src/rerl/standard-dispatcher.lisp -197 +353 Sun Jun 18 13:45:43 EDT 2006 evrim at core.gen.tr * - ucw example application fixed to reflect changes in new dispacther api. M ./examples/examples.lisp -6 +3 Sun Jun 18 13:45:07 EDT 2006 evrim at core.gen.tr * - ucw admin application dispatchers fixed to reflect new dispatcher api. M ./src/admin/admin.lisp -7 +3 Sun Jun 18 13:44:30 EDT 2006 evrim at core.gen.tr * - ensure-session moved to std-application class. M ./src/rerl/standard-application.lisp +11 Sun Jun 18 13:43:11 EDT 2006 evrim at core.gen.tr * - defentry-point fixed accoring to new disaptcher implementation. It now creates a zero-arged lambda function for action handling. M ./src/rerl/standard-action.lisp -1 +1 Sun Jun 18 13:42:08 EDT 2006 evrim at core.gen.tr * - fixed exports for new dispatcher implementaion. exported dispatchers: * action-dispatcher * minimal-dispatcher * simple-dispatcher * parenscript-dispatcher * url-dispatcher * regexp-dispatcher * tal-dispatcher - *dispatcher-registers* is un-exported since it does not exists anymore. M ./src/packages.lisp -4 +4 Sun Jun 18 13:39:02 EDT 2006 evrim at core.gen.tr * - flush-request-response() moved to object std-request-context. M ./src/rerl/standard-request-context.lisp +8 Thu Jun 22 08:37:35 EDT 2006 Marco Baringer * Merge conflicts with Pupeno's last patch M ./src/components/form.lisp -2 +13 Wed Jun 21 09:28:40 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Be able to define accesskey in other input fields than text. M! ./src/components/form.lisp -8 +7 Wed Jun 21 09:16:57 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Be able to specify accesskey for input elemnts. M! ./src/components/form.lisp -4 +3 Wed Jun 21 08:47:50 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Re-place comments (email and regexp validator). M ./src/components/form.lisp -1 +3 Wed Jun 21 08:28:48 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Export min and max -length for the length-validator. M ./src/packages.lisp +2 Tue Jun 20 15:31:45 EDT 2006 attila.lendvai at gmail.com * Err, really fix the content-length header this time M ./src/backend/common.lisp -1 +1 Tue Jun 20 09:45:10 EDT 2006 attila.lendvai at gmail.com * Fix content-length header in serv-* backend methods M ./src/backend/common.lisp -1 +1 Mon Jun 19 06:11:31 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Esperanto translation. A ./wwwroot/ucw/examples/l10n/eo/ A ./wwwroot/ucw/examples/l10n/eo/greeting.tal M ./wwwroot/ucw/examples/l10n/es_ES/greeting.tal -1 +1 Mon Jun 19 05:50:43 EDT 2006 Jos?? Pablo Ezequiel "Pupeno" Fern??ndez Silva * Spanish translation. A ./wwwroot/ucw/examples/l10n/es_ES/ A ./wwwroot/ucw/examples/l10n/es_ES/greeting.tal Sun Jun 18 17:13:55 EDT 2006 attila.lendvai at gmail.com * Display the locale preference list in the l10n example M ./examples/l10n.lisp -3 +7 M ./wwwroot/ucw/examples/l10n/l10n-example.tal -1 +1 Sun Jun 18 11:35:12 EDT 2006 attila.lendvai at gmail.com * Make the l10n tal example an embeddable non-window component M ./examples/l10n.lisp -13 +7 M ./wwwroot/ucw/examples/l10n/l10n-example.tal -9 +6 Sun Jun 18 10:21:28 EDT 2006 attila.lendvai at gmail.com * Better way to load the examples in the README M ./README -1 +2 Sat Jun 17 13:31:14 EDT 2006 Maciek Pasternacki * Fix last patch (by Alberto Santini ) M ./ucw.asd -15 +8 M ./src/components/form.lisp -20 +31 M ./src/components/widget.lisp -33 +8 M ./src/rerl/standard-action.lisp -5 +5 M ./src/rerl/standard-dispatcher.lisp -23 +31 M ./src/components/form.lisp -2 +2 M ./src/components/form.lisp -7 +16 M ./src/yaclml/ucw-tags.lisp -9 +15 M ./src/helpers.lisp -1 +1 M ./src/rerl/standard-vars.lisp -3 +3 Mon May 29 03:26:32 EDT 2006 Marco Baringer * Implement radio-button widget M ./src/components/form.lisp +64 M ./src/packages.lisp +2 M ./src/yaclml/ucw-tags.lisp -1 +1 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060816.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From attila.lendvai at gmail.com Thu Aug 17 09:31:06 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 17 Aug 2006 11:31:06 +0200 Subject: [Bese-devel] New patches to ucw_ajax: 16-Aug-2006 In-Reply-To: <20060817043009.C248C1B010@common-lisp.net> References: <20060817043009.C248C1B010@common-lisp.net> Message-ID: fyi, this huge patch list for the ajax branch is only because of a darcs optimize --reorder-patches i've also made checkpoints in some repos, and the boxset now contains only a darcs get --partial version of the repositories to spare some space where there are checkpoints. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From nowhere.man at levallois.eu.org Fri Aug 18 13:43:56 2006 From: nowhere.man at levallois.eu.org (Pierre THIERRY) Date: Fri, 18 Aug 2006 15:43:56 +0200 Subject: [Bese-devel] Using ASDF knowledge about files Message-ID: <20060818134356.GC10088@bateleur.arcanes.fr.eu.org> I just tried qbook, and I was annoyed to be forced to essentially retype all files already declared as components to ASDF in qbook-specific comments. Would it be possible that qbook just includes all files of the ASDF system? Curiously, Nowhere man -- nowhere.man at levallois.eu.org OpenPGP 0xD9D50D8A -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From attila.lendvai at gmail.com Fri Aug 18 18:00:26 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 18 Aug 2006 20:00:26 +0200 Subject: [Bese-devel] yaclml xml-reader In-Reply-To: References: <1155646646.3702.125.camel@trinidad> Message-ID: > i'll take a look at it tomorrow if you don't push a fix for it. i've pushed a fix, it's a bit ugly, but works here: restart the reader with a temp *package* and drop it after reading a symbol. it's ugly but it's compile-time ugliness and plays by rules... - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From mbaringer at common-lisp.net Sat Aug 19 04:15:04 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 19 Aug 2006 00:15:04 -0400 (EDT) Subject: [Bese-devel] New patches to yaclml: 18-Aug-2006 Message-ID: <20060819041504.E88A91F009@common-lisp.net> Fri Aug 18 13:20:01 EDT 2006 attila.lendvai at gmail.com * Fix xml-syntax to avoid non-conforming use of unread-char and peek-char M ./src/yaclml.lisp -56 +100 Fri Aug 18 13:19:14 EDT 2006 attila.lendvai at gmail.com * Added some svg attributes M ./src/tags/svg.lisp +10 An updated tarball of yaclml's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/yaclml-20060818.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=yaclml;a=summary From mdanish at andrew.cmu.edu Sun Aug 20 04:50:26 2006 From: mdanish at andrew.cmu.edu (mrd) Date: Sun, 20 Aug 2006 00:50:26 -0400 Subject: [Bese-devel] bug in ucw_ajax expand-action-attribute Message-ID: <20060820045026.GK520@mapcar.org> Expanding further on my previous e-mail, I realized that the current code will cause tons of trouble when you try to use ucw:ajax-action in anything but an anchor. This should probably be redesigned at some point to be actually extensible, still, for now: { hunk ./src/yaclml/tal.lisp 67 - `(( Hi, I've added user-track-module to ucw_dev. One may mix it to get online-users via (application.online-users *app*). Any feedbacks are welcome. evrim. From mbaringer at common-lisp.net Mon Aug 21 04:30:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 21 Aug 2006 00:30:08 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 20-Aug-2006 Message-ID: <20060821043008.E816C61026@common-lisp.net> Sun Aug 20 22:09:42 EDT 2006 evrim at core.gen.tr * new application module: user-track-module This module allows us to track login/logut of users via (setf (session-user) val) hook. mix it with you application and get online-users from (application.online-users *app*). M ./src/packages.lisp +2 M ./src/rerl/modular-application/security-module.lisp -8 +40 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060820.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Tue Aug 22 04:20:01 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 22 Aug 2006 00:20:01 -0400 (EDT) Subject: [Bese-devel] New patches to parenscript: 21-Aug-2006 Message-ID: <20060822042001.072A2120A5@common-lisp.net> Mon Aug 21 05:57:00 EDT 2006 attila.lendvai at gmail.com * Use symbol-name for op matching to fix various bugs/surprises (e.g. `(foo::% 4 2)) M ./src/js.lisp -29 +33 Fri Jul 21 03:50:06 EDT 2006 marijnh at gmail.com * Allow strings and numbers as slot names in object literals M ./src/js.lisp -3 +6 An updated tarball of parenscript's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/parenscript-20060821.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=parenscript;a=summary From mbaringer at common-lisp.net Tue Aug 22 04:30:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 22 Aug 2006 00:30:08 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 21-Aug-2006 Message-ID: <20060822043008.35F1C1D0FF@common-lisp.net> Mon Aug 21 06:55:57 EDT 2006 evrim at core.gen.tr * user-track-module: fixed situation where session is null. M ./src/rerl/modular-application/security-module.lisp +6 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060821.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Wed Aug 23 04:30:08 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 23 Aug 2006 00:30:08 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 22-Aug-2006 Message-ID: <20060823043008.6183B5C174@common-lisp.net> Tue Aug 22 11:46:43 EDT 2006 Maciek Pasternacki * Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting. M ./src/components/form.lisp -3 +14 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060822.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From evrim at core.gen.tr Wed Aug 23 11:14:52 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Wed, 23 Aug 2006 14:14:52 +0300 Subject: [Bese-devel] session expiration & threads Message-ID: <44EC38AC.2020802@core.gen.tr> Hi. It seems removing sessions using (when (= 0 (random 50)) does not fit well with small usered sites. I may propose a seperate thread to expire sessions but i'm not sure about thread compability. Also, there are non-threaded vms. Since session holds all stuff, memory usage will be shown as bloated in most situations. ie. user is gone but all backtracks are there. Any ideas to solve this problem? evrim. From attila.lendvai at gmail.com Wed Aug 23 13:07:27 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Wed, 23 Aug 2006 15:07:27 +0200 Subject: [Bese-devel] session expiration & threads In-Reply-To: <44EC38AC.2020802@core.gen.tr> References: <44EC38AC.2020802@core.gen.tr> Message-ID: > It seems removing sessions using (when (= 0 (random 50)) does not fit > well with small usered sites. I may propose a seperate thread to expire > sessions but i'm not sure about thread compability. Also, there are > non-threaded vms. as some background info: there are already some threading issues around the service protocol. for example the session removal is subject to multithreaded access currently... i'll fix it in ajax eventually (it has bordeaux threads integrated now) but it needs some nontrivial changes in/around the service/dispatch protocol. > Any ideas to solve this problem? how about recording get-universal-time in a slot on app (e.g. last-session-purge-time) and checking the time difference? -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From evrim at core.gen.tr Wed Aug 23 11:53:33 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Wed, 23 Aug 2006 14:53:33 +0300 Subject: [Bese-devel] ucw+ Changes Message-ID: <44EC41BD.80002@core.gen.tr> Hi, Since we were having connections problems with cl-net, we've migrated core-services and ucw+ projects to http://www.core.gen.tr/projects/. To check out ucw+ use: darcs get http://www.core.gen.tr/projects/ucw+ or to update already checked out one: darcs pull http://www.core.gen.tr/projects/ucw+ Here are the list of improvements in ucw+: - :isolate support for defserver-callback - added sample registration/invitation component - client validation support along with dojo.validation namespace. - new dojo profile (validation namespace added) - validators added: not-empty-validator length-validator regexp-validator email-validator ip-validator url-validator integer-validator real-number-validator range-valiadtor number-format-validator date-validator time-validator - new macro: validator-connect with the ability to cascade validators. - validator test for sample usage. - dojo.dialog component updated to be real server-side. - fix for pager to handle null data. - secure-widget to render or not according to session users roles. - login component which uses dialog. See more by running darcs changes. Btw, we've released new ucw+ project at www.teargas.org. Have a nice day. evrim From attila.lendvai at gmail.com Wed Aug 23 16:55:39 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Wed, 23 Aug 2006 18:55:39 +0200 Subject: [Bese-devel] latest patches to ucw_ajax Message-ID: hi! i've pushed some changes to ucw_ajax that needs not-yet committed changes in other projects (where i have no commit rights). the most interesting is the component dirtyness tracking and their automatic refreshing on the client. see the darcs comments and the shared-counter example for details... _ajax now depends on two more projects: trivial-garbage and bordeaux-threads. for both of them you can find a darcs patch attached in this mail that needs to be applied until they get into the official repo. darcs get http://common-lisp.net/~loliveira/darcs/trivial-garbage darcs get http://common-lisp.net/project/bordeaux-threads/darcs/bordeaux-threads also note that if you are using sbcl then you need to check out the latest from CVS and apply this patch: http://retes.hu/~mega/tmp/wht2.diff (for further details on this patch google for "Weak hash tables early adopter edition") clisp should work, although the magic ajax keepalive connection will revert to polling. i can't test other lisps. hope you'll like it, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) -------------- next part -------------- A non-text attachment was scrubbed... Name: bordeaux-threads.patch Type: text/x-patch Size: 3702 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: trivial-garbage.patch Type: text/x-patch Size: 5834 bytes Desc: not available URL: From henrik at evahjelte.com Thu Aug 24 03:14:43 2006 From: henrik at evahjelte.com (Henrik Hjelte) Date: Thu, 24 Aug 2006 05:14:43 +0200 Subject: [Bese-devel] yaclml xml-reader In-Reply-To: References: <1155646646.3702.125.camel@trinidad> Message-ID: <1156389283.3702.239.camel@trinidad> On Fri, 2006-08-18 at 20:00 +0200, Attila Lendvai wrote: > > i'll take a look at it tomorrow if you don't push a fix for it. > > i've pushed a fix, it's a bit ugly, But clever! > but works here: restart the reader > with a temp *package* and drop it after reading a symbol. it's ugly > but it's compile-time ugliness and plays by rules... It works now on Allegro. Thanks! /Henrik Hjelte From mbaringer at common-lisp.net Thu Aug 24 04:30:17 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 24 Aug 2006 00:30:17 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 23-Aug-2006 Message-ID: <20060824043017.3009572C2@common-lisp.net> Sat Aug 5 15:56:50 EDT 2006 attila.lendvai at gmail.com UNDO: Added disallow-response-caching M! ./src/backend/common.lisp -1 +6 Wed Aug 23 12:38:44 EDT 2006 attila.lendvai at gmail.com * Various cleanups M ./src/backend/httpd.lisp -1 +1 M ./src/components/dojo-widgets.lisp -13 +11 M ./src/parenscript-utils.lisp -2 +2 M ./src/per-application-parenscript.lisp -15 +20 M ./src/rerl/standard-dispatcher.lisp -15 +15 M ./ucw.asd -1 +1 Wed Aug 23 12:37:54 EDT 2006 attila.lendvai at gmail.com * Added component dirtyness tracking single-frame-application-mixin's (AJAX apps) have a weak hashtable keeping track of the components that have been marked dirty. a dirty component is a component that needs to be rendered, because something has changed in its state. handle-ajax-request at the end automatically calls ajax-render-dirty-components which iterates all the dirty components of the current session and renders the visiblep one of them into the current ajax answer. rendering is done in a closer-to-window-first order and each component is rendered only once. a component is visiblep when the context.window-component is reachable through (parent component) relation. the client automatically starts a polling timer. the processing of these polling requests either falls asleep on the sever or returns depending on the load. if it returns the client swith into polling mode with a timer, otherwise the connection is kept open until an event happens on the server that needs to be sent to the client. M ./src/application-mixins/single-frame-application.lisp -2 +136 M ./src/components/ajax.lisp -5 +15 M ./src/components/collapsible-pane.lisp -2 +21 M ./src/components/container.lisp -3 +29 M ./src/components/dojo-widgets.lisp -2 +3 M ./src/components/message.lisp -2 +1 M ./src/components/window.lisp +4 M ./src/l10n/resources/en.lisp +3 M ./src/loggers.lisp +2 M ./src/packages.lisp -2 +13 M ./src/per-application-parenscript.lisp +58 M ./src/rerl/protocol.lisp +18 M ./src/rerl/standard-action.lisp -7 +20 M ./src/rerl/standard-classes.lisp -1 +2 M ./src/rerl/standard-component/control-flow.lisp -1 +7 M ./src/rerl/standard-component/standard-component.lisp -1 +47 M ./src/rerl/standard-dispatcher.lisp -1 +46 M ./src/rerl/standard-session.lisp +18 M ./src/yaclml/tal.lisp -1 +1 Wed Aug 23 11:23:29 EDT 2006 attila.lendvai at gmail.com * Added disallow-response-caching M! ./src/backend/common.lisp -5 Wed Aug 23 09:53:00 EDT 2006 attila.lendvai at gmail.com * Updated examples to follow the new dirtyness tracking M ./examples/examples.lisp -6 +9 M ./examples/forms.lisp -2 +2 M ./examples/sum.lisp -2 +1 Wed Aug 23 09:50:48 EDT 2006 attila.lendvai at gmail.com * Fix :component slot handling to tolerate non-components in the slot M ./src/rerl/standard-component/standard-component.lisp -10 +10 Wed Aug 23 08:05:14 EDT 2006 attila.lendvai at gmail.com * Added the shared-counter example M ./etc/start.lisp +1 M ./examples/examples.lisp -1 +4 A ./examples/shared-counter.lisp M ./ucw.asd -1 +2 Wed Aug 23 07:43:48 EDT 2006 attila.lendvai at gmail.com * Integrated bordeaux-threads and clean up some threading issues ...among which the most important is that from now on the processing of requests is serialized for each session. M ./src/backend/multithread-httpd.lisp +1 M ./src/helpers.lisp -6 M ./src/packages.lisp +10 M ./src/rerl/standard-application.lisp +12 M ./src/rerl/standard-classes.lisp -3 +8 M ./src/rerl/standard-dispatcher.lisp -67 +70 M ./src/rerl/standard-server.lisp -4 +4 M ./ucw.asd -1 +2 Wed Aug 23 07:40:37 EDT 2006 attila.lendvai at gmail.com * Updated TODO M ./docs/TODO -9 +7 Wed Aug 23 07:30:05 EDT 2006 attila.lendvai at gmail.com * Use url-prefix in compute-url of standard-app instead of the query path This may break some code, but due to the old behaviour rendering a component in the polling dispatcher (mapped to its own url) calculated wrong action-href's. M ./src/rerl/standard-application.lisp -1 +1 Wed Aug 23 07:29:31 EDT 2006 attila.lendvai at gmail.com * Delete stale collect in remove-expired-sessions M ./src/rerl/standard-application.lisp -2 +1 Wed Aug 23 07:05:24 EDT 2006 attila.lendvai at gmail.com * Updated dojo ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.css -> ./wwwroot/dojo/src/widget/templates/ButtonTemplate.css ./wwwroot/dojo/src/widget/templates/HtmlButtonTemplate.html -> ./wwwroot/dojo/src/widget/templates/ButtonTemplate.html ./wwwroot/dojo/src/widget/templates/HtmlSplitContainer.css -> ./wwwroot/dojo/src/widget/templates/SplitContainer.css ./wwwroot/dojo/src/widget/templates/HtmlTabContainer.css -> ./wwwroot/dojo/src/widget/templates/TabContainer.css ./wwwroot/dojo/src/widget/templates/HtmlTabContainer.html -> ./wwwroot/dojo/src/widget/templates/TabContainer.html M ./wwwroot/dojo/dojo.js M ./wwwroot/dojo/src/debug.js -2 +9 M ./wwwroot/dojo/src/widget/Button.js -7 +3 M ./wwwroot/dojo/src/widget/ContentPane.js -31 +36 M ./wwwroot/dojo/src/widget/SplitContainer.js -4 +3 M ./wwwroot/dojo/src/widget/TabContainer.js -2 +2 M ./wwwroot/dojo/src/widget/html/layout.js -1 +1 Wed Aug 23 06:01:40 EDT 2006 attila.lendvai at gmail.com * Updated user-track stuff to match the new infrastructure, merged conflicts M ./src/application-mixins/secure-application.lisp -12 +10 M ./src/packages.lisp -7 +9 Mon Aug 21 17:41:56 EDT 2006 attila.lendvai at gmail.com * Fix progress label removal when errors happen M ./src/per-application-parenscript.lisp -5 +5 Mon Aug 21 17:32:37 EDT 2006 attila.lendvai at gmail.com * Added some keyword args to UNDO: Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting. M ./src/components/form.lisp -2 +1 Tue Aug 22 11:46:43 EDT 2006 Maciek Pasternacki * Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting. M! ./src/components/form.lisp -39 +47 Mon Aug 21 06:55:57 EDT 2006 evrim at core.gen.tr * user-track-module: fixed situation where session is null. M ./src/application-mixins/secure-application.lisp +6 Sun Aug 20 22:09:42 EDT 2006 evrim at core.gen.tr * new application module: user-track-module This module allows us to track login/logut of users via (setf (session-user) val) hook. mix it with you application and get online-users from (application.online-users *app*). M ./src/application-mixins/secure-application.lisp -8 +40 M! ./src/packages.lisp -7 +7 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060823.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Thu Aug 24 04:30:17 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 24 Aug 2006 00:30:17 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 23-Aug-2006 Message-ID: <20060824043017.2BC3272C1@common-lisp.net> Wed Aug 23 11:23:29 EDT 2006 attila.lendvai at gmail.com * Added disallow-response-caching M ./src/backend/common.lisp +6 Wed Aug 23 09:50:48 EDT 2006 attila.lendvai at gmail.com * Fix :component slot handling to tolerate non-components in the slot M ./src/rerl/standard-component/standard-component.lisp -10 +10 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060823.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Fri Aug 25 04:30:09 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Fri, 25 Aug 2006 00:30:09 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 24-Aug-2006 Message-ID: <20060825043009.8224F30047@common-lisp.net> Sat Aug 5 15:56:50 EDT 2006 attila.lendvai at gmail.com UNDO: Added disallow-response-caching M! ./src/backend/common.lisp -1 +6 Sat Aug 5 15:56:50 EDT 2006 attila.lendvai at gmail.com * Added disallow-response-caching M! ./src/backend/common.lisp -6 +1 Wed Aug 23 07:40:37 EDT 2006 attila.lendvai at gmail.com * Updated TODO M ./docs/TODO -9 +7 Wed Aug 23 07:29:31 EDT 2006 attila.lendvai at gmail.com * Delete stale collect in remove-expired-sessions M ./src/rerl/standard-application.lisp -2 +1 Sat Aug 5 15:30:27 EDT 2006 attila.lendvai at gmail.com * Send expires and other headers when we send a 304 not modified M ./src/backend/common.lisp -6 +5 Sun Jul 9 20:07:55 EDT 2006 attila.lendvai at gmail.com * Fix some indentations M ./src/backend/common.lisp -3 +2 M ./src/vars.lisp -1 +1 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060824.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From aja at clanarmstrong.com Fri Aug 25 06:55:50 2006 From: aja at clanarmstrong.com (AJ Armstrong) Date: Fri, 25 Aug 2006 00:55:50 -0600 Subject: [Bese-devel] Issues with mod-lisp with latest ucw_ajax patches.. Message-ID: Hello, folks After upgrading to the 20060823 version of ucw_ajax (including the fun of patching and installing bordeaux-threads and trivial-garbage as well as patching my sbcl). Now that things finally build and run, my sample code works fine with the httpd backend, but seems broken under mod_lisp - this includes the example code that comes with the package. The apparent issue is that GET and POST methods that used to be mapped to /index.ucw?foo are now going directly to /?foo. So, from my apache logs, the initial request: 127.0.0.1 - - [25/Aug/2006:00:45:24 -0600] "GET /index.ucw HTTP/1.1" 200 6445 Works just fine. But clicking on anthing fails with something like: 127.0.0.1 - - [25/Aug/2006:00:45:41 -0600] "POST /?%5Fs=%5BLAHBLAHBLAH HTTP/1.1" 200 1443 The reason I suspect it is failing is because the apache server is set up to pass *.ucw requests to the lisp-handler (not all requests in the directory "/", which would fail anyway, because it wouldn't find things like the dojo files). Is there something I need to change in the application code or my mod_lisp configuration? -- -------------- AJ Armstrong (aja) aja at clanarmstrong.com From attila.lendvai at gmail.com Fri Aug 25 09:09:59 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 25 Aug 2006 11:09:59 +0200 Subject: [Bese-devel] Issues with mod-lisp with latest ucw_ajax patches.. In-Reply-To: References: Message-ID: > The apparent issue is that GET and POST methods that used to be mapped > to /index.ucw?foo are now going directly to /?foo. So, from my apache > logs, the initial request: > > 127.0.0.1 - - [25/Aug/2006:00:45:24 -0600] "GET /index.ucw HTTP/1.1" 200 6445 > > Works just fine. But clicking on anthing fails with something like: > > 127.0.0.1 - - [25/Aug/2006:00:45:41 -0600] "POST /?%5Fs=%5BLAHBLAHBLAH > HTTP/1.1" 200 1443 > > The reason I suspect it is failing is because the apache server is set > up to pass *.ucw requests to the lisp-handler (not all requests in the > directory "/", which would fail anyway, because it wouldn't find > things like the dojo files). > > Is there something I need to change in the application code or my > mod_lisp configuration? unfortunately there's an open design issue here. this is the patch that broke your code: http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=ucw-ucw_ajax;a=commit;h=20060823113005-6b9e8-63a017ed73f83b760ff1b1f78a244844bc6fdde6.gz the problem is that compute-url of standard app was taking (query-path (context.request *context*))) and this made it impossible to render a component in a request arriving to a different url. now there's a new dispatcher in the ajax branch, the polling-dispatcher, that is mapped to app-url-prefix/polling. this is the point where the ajax apps are connecting for any server events, and these events include rerendered dirty components. so, rendering a dirty component with the old behaviour rendered all action-href's with the "/polling" part in it, which is obviously incorrect. unfortunately i don't understand the entire design around compute-url, so if Marco had a few words on this i would be happy to hear them. but i suspect that the clean solution is this patch and the user code defining compute-url methods on the involved components where it's necessary. it'd be useful to have a permalink example. now, as with apache. i don't know if it's doable, but if it's possible to map intersecting url's with priority you could map the url-prefix of the app (/ in your case) to the UCW server and then map "/ucw/dojo/" "/ucw-static/" to the respective directories. (this may need the rename of the ucw dir to ucw-static in wwwroot, which i will do if people agree and if this solution works at all). looks like it's time to set up apache and mod_lisp here. sorry for the inconveniece... so, opinions? -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From mbaringer at common-lisp.net Sat Aug 26 04:30:11 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Sat, 26 Aug 2006 00:30:11 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 25-Aug-2006 Message-ID: <20060826043011.75DEF43214@common-lisp.net> Fri Aug 25 20:42:31 EDT 2006 attila.lendvai at gmail.com * Export the new hostname-validator M ./src/components/form.lisp -5 M ./src/packages.lisp +1 Fri Aug 25 20:30:58 EDT 2006 attila.lendvai at gmail.com * Renamed to send-polling-response-to-unknown-session M ./src/application-mixins/single-frame-application.lisp -4 +8 M ./src/rerl/standard-dispatcher.lisp -1 +1 Fri Aug 25 19:46:25 EDT 2006 attila.lendvai at gmail.com * Fix dojo tab removing when the component has a key-generator other then #'identity M ./src/components/dojo-widgets.lisp -6 +5 Fri Aug 25 16:09:44 EDT 2006 Alexander Kjeldaas * validator-fixes Added hostname-validator Fixed the e-mail-validator: Name can contain %, hostname can start with 0-9 (3com.com), and hostnames can end with '.' M ./src/components/form.lisp -1 +11 Fri Aug 25 15:57:19 EDT 2006 Alexander Kjeldaas * fix-key-generator-for-dojo-widgets M ./src/components/ajax.lisp -1 +1 M ./src/components/dojo-widgets.lisp -1 +4 Fri Aug 25 16:00:00 EDT 2006 attila.lendvai at gmail.com * Fix collapsible-pane M ./src/components/collapsible-pane.lisp -1 +2 Fri Aug 25 08:02:10 EDT 2006 attila.lendvai at gmail.com * Some cleanups in polling and single-frame-app added a send-polling-response-to-unknown-session, with-lock-held-on-session, some lockings here and there. M ./src/application-mixins/single-frame-application.lisp -3 +17 M ./src/packages.lisp +2 M ./src/rerl/standard-application.lisp -4 +16 M ./src/rerl/standard-component/standard-component.lisp -3 +5 M ./src/rerl/standard-dispatcher.lisp -4 +2 M ./src/rerl/standard-session.lisp +8 Fri Aug 25 08:00:15 EDT 2006 attila.lendvai at gmail.com * Some cleanup on handle-raw-request M ./src/rerl/standard-action.lisp -7 +15 Thu Aug 24 17:41:33 EDT 2006 attila.lendvai at gmail.com * Fix render-nearest-ajax-component with a corner-case M ./src/components/ajax.lisp -7 +9 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060825.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Mon Aug 28 04:30:11 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Mon, 28 Aug 2006 00:30:11 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 27-Aug-2006 Message-ID: <20060828043011.AF63B76348@common-lisp.net> Sun Aug 27 21:14:17 EDT 2006 attila.lendvai at gmail.com * Added a rerl-utils.lisp to resolve load-order issues, added missing lock on session in action dispatcher A ./src/rerl/rerl-utils.lisp M ./src/rerl/standard-application.lisp -20 +9 M ./src/rerl/standard-dispatcher.lisp -1 +2 M ./src/rerl/standard-session.lisp -20 M ./ucw.asd -2 +3 Sun Aug 27 20:47:57 EDT 2006 attila.lendvai at gmail.com * Fix double widget instantiation bug in dojo-widget.lisp, add some asserts/logs M ./src/components/dojo-widgets.lisp -5 +17 M ./src/per-application-parenscript.lisp -6 +9 Sun Aug 27 20:46:33 EDT 2006 attila.lendvai at gmail.com * Added dojo debug-at-all-costs support M ./src/components/window.lisp -13 +24 Sun Aug 27 20:39:50 EDT 2006 attila.lendvai at gmail.com * build-dojo.sh accepts the dojo path as the first param M ./bin/build-dojo.sh +9 Sun Aug 27 09:09:29 EDT 2006 attila.lendvai at gmail.com tagged 2006-08-27 Sun Aug 27 09:05:36 EDT 2006 attila.lendvai at gmail.com * Small fixes/comments to the examples M ./examples/examples.lisp -16 +16 M ./examples/shared-counter.lisp -8 +10 Sun Aug 27 09:04:26 EDT 2006 attila.lendvai at gmail.com * Added assert js macro M ./src/parenscript-utils.lisp +8 Sun Aug 27 09:01:57 EDT 2006 attila.lendvai at gmail.com * Restructure some js to make it work on m$ internet exploder M ./bin/build-dojo.sh -1 +1 M ./src/components/dojo-widgets.lisp -11 +15 M ./src/parenscript-utils.lisp -16 +8 M ./src/per-application-parenscript.lisp -73 +97 Sun Aug 27 09:00:39 EDT 2006 attila.lendvai at gmail.com * Updated dojo M ./wwwroot/dojo/dojo.js M ./wwwroot/dojo/src/debug.js -5 +2 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060827.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From marijnh at gmail.com Mon Aug 28 08:48:05 2006 From: marijnh at gmail.com (Marijn Haverbeke) Date: Mon, 28 Aug 2006 10:48:05 +0200 Subject: [Bese-devel] Small bugfix Message-ID: Some recent patch put back a usage of the widget-component.css-class in form.lisp, but the thing is now called just css-class. Enclosed patch fixes this. Marijn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: css-class-accessor-bugfix Type: application/octet-stream Size: 9495 bytes Desc: not available URL: From marijnh at gmail.com Mon Aug 28 10:21:08 2006 From: marijnh at gmail.com (Marijn Haverbeke) Date: Mon, 28 Aug 2006 12:21:08 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. Message-ID: When adding a dispatcher like this to an application... (simple-dispatcher "foo.ucw" (error "FOO")) ... going to the relevant url will cause UCW to blow up with an error about ... There is no applicable method for the generic function # when called with arguments (NIL [snip]) ... even when debug-on-error is nil for that application. It seems that the :after method of shared-initialize for standard components assumes its frame argument to be a valid frame, which is apparantly not the case when the request is handled by a simple-dispatcher. I added a '(when frame ...)' around the three lines that are using the frame argument in that function, and that seems to at least suppress the problem. But now I need someone who actually really understands these parts of the code to decide whether that is a proper solution, and if not, come up with a better fix. Regards, Marijn -------------- next part -------------- An HTML attachment was scrubbed... URL: From attila.lendvai at gmail.com Mon Aug 28 10:45:35 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 28 Aug 2006 12:45:35 +0200 Subject: [Bese-devel] Small bugfix In-Reply-To: References: Message-ID: > Some recent patch put back a usage of the widget-component.css-class in > form.lisp, but the thing is now called just css-class. Enclosed patch fixes > this. applied, thanks! -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From attila.lendvai at gmail.com Mon Aug 28 11:00:44 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 28 Aug 2006 13:00:44 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. In-Reply-To: References: Message-ID: > When adding a dispatcher like this to an application... > > (simple-dispatcher "foo.ucw" > (error "FOO")) > > ... going to the relevant url will cause UCW to blow up with an error about > > There is no applicable method for the generic function > > # > when called with arguments > > (NIL [snip]) > > ... even when debug-on-error is nil for that application. i've tried it in _ajax, it only logs an error when debug-on-error is nil and returns an empty page. the thing is that you may not use ucw components in all situations. after a quick look you may use them when coming through one of these: - tal-dispatcher - action-dispatcher - entry-point-dispatcher probably the error handling code does not take this into account and tries to create a component that would render the error or a message. hth, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From marijnh at gmail.com Mon Aug 28 11:21:36 2006 From: marijnh at gmail.com (Marijn Haverbeke) Date: Mon, 28 Aug 2006 13:21:36 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. In-Reply-To: References: Message-ID: > > probably the error handling code does not take this into account and > tries to create a component that would render the error or a message. Yes, that is exactly what happens (an error-component is made). So what would be the right way to deal with this? Make handle-request-error check whether there is a valid frame, and just output the error message directly in that case? Marijn -------------- next part -------------- An HTML attachment was scrubbed... URL: From attila.lendvai at gmail.com Mon Aug 28 11:38:14 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 28 Aug 2006 13:38:14 +0200 Subject: [Bese-devel] New patches to ucw_ajax: 27-Aug-2006 In-Reply-To: <20060828043011.AF63B76348@common-lisp.net> References: <20060828043011.AF63B76348@common-lisp.net> Message-ID: > Sun Aug 27 09:09:29 EDT 2006 attila.lendvai at gmail.com > tagged 2006-08-27 > Sun Aug 27 20:47:57 EDT 2006 attila.lendvai at gmail.com > * Fix double widget instantiation bug in dojo-widget.lisp, add some asserts/logs fyi, the tag '2006-08-27' marks a point in the ajax branch where ff, opera and ie all work fine with the examples. i couldn't test other browsers and probably they will need some attention in per-application-parenscript.lisp / import-ajax-received-xhtml-node. the stylesheets need some customizations for ie, it looks ugly but functionally ie works fine, too. i've been sloppy enough to introduce a bug in the refactoring, that's what the extra patch fixes after the tag. i'll keep an eye on ie, but i'm expecting it to break at the very next patch that changes per-app.js... :) i've made some changes to minimize the effects of ie dumbness, but we will see. in the future i'll try to make tags only in those moments where all browsers work fine. have fun, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From attila.lendvai at gmail.com Mon Aug 28 11:49:37 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 28 Aug 2006 13:49:37 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. In-Reply-To: References: Message-ID: > > probably the error handling code does not take this into account and > > tries to create a component that would render the error or a message. > > > Yes, that is exactly what happens (an error-component is made). So what > would be the right way to deal with this? Make handle-request-error check > whether there is a valid frame, and just output the error message directly > in that case? i think (and *context* (context.session *context*)) should be (and *context* (context.session *context*) (context.current-frame *context*)) in handle-request-error ((error error) backtrace) seems like the rest of the code deals with the situation when ucw infrastructure is not available. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From marijnh at gmail.com Mon Aug 28 12:00:51 2006 From: marijnh at gmail.com (Marijn Haverbeke) Date: Mon, 28 Aug 2006 14:00:51 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. In-Reply-To: References: Message-ID: > > (and *context* > (context.session *context*) > (context.current-frame *context*)) > > in handle-request-error ((error error) backtrace) That prevents the initial problem, but an error still generates a blank page instead of the error message that I was expecting. It seems like yaclml output isn't arriving at the client anymore at that point - I can't seem to figure out why. Marijn -------------- next part -------------- An HTML attachment was scrubbed... URL: From attila.lendvai at gmail.com Mon Aug 28 12:39:25 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Mon, 28 Aug 2006 14:39:25 +0200 Subject: [Bese-devel] Bug with backtracking for simple-dispatchers. In-Reply-To: References: Message-ID: > > (and *context* > > (context.session *context*) > > (context.current-frame *context*)) > > > > in handle-request-error ((error error) backtrace) > > > That prevents the initial problem, but an error still generates a blank page > instead of the error message that I was expecting. It seems like yaclml > output isn't arriving at the client anymore at that point - I can't seem to > figure out why. seems like it needs more then. i've got an abort-request locally, but it's httpd-only, it conflicts a little with the patch below and it wasn't tested well nough, so i didn't push it yet. with that and the handle-raw-request macro it could be fixed in _ajax. also look at this pending patch waiting for applying: http://common-lisp.net/pipermail/bese-devel/2006-August/002568.html it may fix that yaclml stream not flushed part. i'd be interested in hearing that, because then i'll apply it and merge with my changes in _ajax. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From mbaringer at common-lisp.net Tue Aug 29 04:30:10 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 29 Aug 2006 00:30:10 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 28-Aug-2006 Message-ID: <20060829043010.F21815301D@common-lisp.net> Mon Aug 28 04:35:48 EDT 2006 marijnh at gmail.com * Fixing incorrect accessor name. M ./src/components/form.lisp -1 +1 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060828.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From attila.lendvai at gmail.com Tue Aug 29 12:25:33 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 29 Aug 2006 14:25:33 +0200 Subject: [Bese-devel] Re: latest patches to ucw_ajax In-Reply-To: References: Message-ID: > _ajax now depends on two more projects: trivial-garbage and > bordeaux-threads. for both of them you can find a darcs patch attached > in this mail that needs to be applied until they get into the official > repo. bordeaux-threads got my patch in the official repo, now only trivial-garbage needs patching. (sidenote: unfortunately my t-g patch will not be applied as-is, so it will have to be unpulled when the author pushes and equivalent of it. (or the entire repo darcs get again)) > also note that if you are using sbcl then you need to check out the > latest from CVS and apply this patch: > http://retes.hu/~mega/tmp/wht2.diff (for further details on this patch > google for "Weak hash tables early adopter edition") seems like mega is updating his sbcl patch regularily, i suggest looking at http://retes.hu/~mega/tmp/ and get the latest wht*.diff the rest of the sbcl patches are in cvs now. so to sum up, these extras are needed currently: - sbcl wht patch when using sbcl (clisp should work, but the js poller will always revert to polling) - trivial-garbage patch in my previous mail hth, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From mbaringer at common-lisp.net Wed Aug 30 04:30:11 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 30 Aug 2006 00:30:11 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 29-Aug-2006 Message-ID: <20060830043011.9DDA561026@common-lisp.net> Tue Aug 29 16:36:59 EDT 2006 attila.lendvai at gmail.com * Added ucw-examples.apache2 config file A ./etc/ucw-examples.apache2 Tue Aug 29 11:48:04 EDT 2006 attila.lendvai at gmail.com * Fix dojo debug config M ./src/components/window.lisp -1 +1 Mon Aug 28 19:58:41 EDT 2006 attila.lendvai at gmail.com * Added rendering-dojo-tooltip-for macro M ./src/components/dojo-widgets.lisp +5 M ./src/packages.lisp +1 Mon Aug 28 06:44:46 EDT 2006 attila.lendvai at gmail.com * Merge comflicts with _dev in form.lisp M ./src/components/form.lisp -45 +38 Mon Aug 28 04:35:48 EDT 2006 marijnh at gmail.com * Fixing incorrect accessor name. M! ./src/components/form.lisp -1 +1 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060829.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From mbaringer at common-lisp.net Wed Aug 30 04:30:11 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Wed, 30 Aug 2006 00:30:11 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 29-Aug-2006 Message-ID: <20060830043011.B29A061028@common-lisp.net> Tue Aug 29 15:25:46 EDT 2006 evrim at core.gen.tr * fix for multithreaded-mod-lisp backend to startup/shutdown properly. added accept-thread kill or we get eaddrinuse. M ./src/backend/httpd.lisp -1 +1 M ./src/backend/multithread-httpd.lisp -11 +15 Tue Aug 29 16:36:59 EDT 2006 attila.lendvai at gmail.com * Added ucw-examples.apache2 config file A ./etc/ucw-examples.apache2 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060829.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From mbaringer at common-lisp.net Thu Aug 31 04:00:06 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 31 Aug 2006 00:00:06 -0400 (EDT) Subject: [Bese-devel] New patches to arnesi_dev: 30-Aug-2006 Message-ID: <20060831040006.4D9C93200A@common-lisp.net> Wed Aug 30 05:31:22 EDT 2006 Maciek Pasternacki * Allegro environment walk fix. M ./src/lexenv.lisp -2 +4 An updated tarball of arnesi_dev's source can be downloaded here: http://common-lisp.net/project/bese/tarballs/arnesi_dev-20060830.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=arnesi_dev;a=summary From mbaringer at common-lisp.net Thu Aug 31 04:30:14 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Thu, 31 Aug 2006 00:30:14 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_ajax: 30-Aug-2006 Message-ID: <20060831043014.594A14714E@common-lisp.net> Wed Aug 30 11:42:03 EDT 2006 attila.lendvai at gmail.com * Fix the previous Content-Type fix futher restructuring the code a little bit M ./src/backend/common.lisp -15 +20 M ./src/backend/httpd.lisp -12 +5 M ./src/backend/mod-lisp.lisp -10 +5 Wed Aug 30 10:55:02 EDT 2006 attila.lendvai at gmail.com * Fix: only parse the Content-Type header if it exists M ./src/backend/httpd.lisp -7 +8 An updated tarball of ucw_ajax's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060830.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary From marijnh at gmail.com Thu Aug 31 07:51:11 2006 From: marijnh at gmail.com (Marijn Haverbeke) Date: Thu, 31 Aug 2006 09:51:11 +0200 Subject: [Bese-devel] New patches to ucw_ajax: 30-Aug-2006 In-Reply-To: <20060831043014.594A14714E@common-lisp.net> References: <20060831043014.594A14714E@common-lisp.net> Message-ID: And here is a patch that fixes a small (but fatal) mod_lisp bug in the previous patch. Marijn On 8/31/06, Marco Baringer wrote: > > > Wed Aug 30 11:42:03 EDT 2006 attila.lendvai at gmail.com > * Fix the previous Content-Type fix futher restructuring the code a > little bit > > M ./src/backend/common.lisp -15 +20 > M ./src/backend/httpd.lisp -12 +5 > M ./src/backend/mod-lisp.lisp -10 +5 > > Wed Aug 30 10:55:02 EDT 2006 attila.lendvai at gmail.com > * Fix: only parse the Content-Type header if it exists > > M ./src/backend/httpd.lisp -7 +8 > > > An updated tarball of ucw_ajax's source can be downloaded here: > http://common-lisp.net/project/ucw/tarballs/ucw_ajax-20060830.tar.gz > > Darcsweb URL: > http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=summary > _______________________________________________ > bese-devel mailing list > bese-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-mod-lisp.patch Type: application/octet-stream Size: 1456 bytes Desc: not available URL: From attila.lendvai at gmail.com Thu Aug 31 18:19:30 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Thu, 31 Aug 2006 20:19:30 +0200 Subject: [Bese-devel] Re: latest patches to ucw_ajax In-Reply-To: References: Message-ID: > so to sum up, these extras are needed currently: > - sbcl wht patch when using sbcl (clisp should work, but the js > poller will always revert to polling) > - trivial-garbage patch in my previous mail update: the official trivial-garbage and bordeaux-thread repos got the patches. the ajax branch in the boxset should work fine with clisp. sbcl still needs the weak ht patch. -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronst?llet) From svg at surnet.ru Fri Aug 11 08:39:25 2006 From: svg at surnet.ru (Vladimir Sekissov) Date: Fri, 11 Aug 2006 08:39:25 -0000 Subject: [Bese-devel] UCW: Strange problem with UCW_DEV, Araneida and SBCL Message-ID: <20060811.145326.105381275.svg@surnet.ru> Good day, I've a very strange problem with latest ucw_dev, Araneida-0.90(multithreaded) and SBCL-0.9.14 (x86-64, no unicode). System is starting as executable image and can work perfectly for a week but from some random point it is starting to fault on serving actions. Can somebody point me where to dig for a bug. Typical errors at such times: 10:22 UCW-LOGGER/+INFO+: ACTION-MATCHER found action: #. 10:22 UCW-LOGGER/+WARN+: No callback found with id "y" in frame # (value is "0"). 10:22 UCW-LOGGER/+WARN+: No callback found with id "x" in frame # (value is "0"). 10:22 UCW-LOGGER/+INFO+: ACTION-HANDLER, handling action: #. 10:22 UCW-LOGGER/+INFO+: Executing action (IT.BESE.UCW:SUBMIT IT.BESE.UCW::F) 10:22 UCW-LOGGER/+INFO+: Serving action (/#/UCW::SUBMIT #) 10:22 UCW-LOGGER/+ERROR+: Handling action error #. 10:23 UCW-LOGGER/+INFO+: URL-MATCHER matched against url-string: "admin". 10:23 UCW-LOGGER/+INFO+: ENTRY-POINT-HANDLER directing control to ACTION-HANDLER. 10:23 UCW-LOGGER/+INFO+: ACTION-HANDLER, handling action: #. 10:23 UCW-LOGGER/+ERROR+: Handling action error #. 10:23 UCW-LOGGER/+ERROR+: Error # while serving action. 10:23 UCW-LOGGER/+INFO+: URL-MATCHER matched against url-string: "admin". 10:23 UCW-LOGGER/+INFO+: ENTRY-POINT-HANDLER directing control to ACTION-HANDLER. 10:23 UCW-LOGGER/+INFO+: ACTION-HANDLER, handling action: #. 10:23 UCW-LOGGER/+ERROR+: Handling action error #. 10:23 UCW-LOGGER/+ERROR+: Error # while serving action. Best Regards, Vladimir Sekissov From attila.lendvai at gmail.com Fri Aug 11 09:19:30 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 11 Aug 2006 09:19:30 -0000 Subject: [Bese-devel] Re: New patches to ucw_dev: 9-Aug-2006 In-Reply-To: <44DC1FEE.2040401@core.gen.tr> References: <20060810043004.BAB2548147@common-lisp.net> <44DAB40C.6020905@core.gen.tr> <44DC1FEE.2040401@core.gen.tr> Message-ID: > >as it stands this probably what should be done. the patch does, after > >all, solve some problems and we know it's gonig to go away eventually. > > > > > > > I've agreed on the attila'a ajax solution but it's not on _dev yet. When > it gets into _dev, i'll update and remove this. you can't remove it but you don't need to either. i've pulled the REDO patch into ajax and recorded another reverse (UNDO) patch of it and resolved the conflicts again. these new patches will be sitting in the ajax branch and will reach dev eventually, but this time i will not hurry pushing it to dev, if that helps. iirc, only the dojo widgets depend on the render-widget-wrapper patch, but they depend on several other patches in ajax, so it'll take time until it'll be needed in dev. (this dependency is not a darcs patch level dependency, that's why i could push the UNDO patch to dev, as opposed to the render-widget-wrapper patch, which does have some darcs level dependency, and can't be pushed to dev, only after all of its dependencies) -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries) From evrim at core.gen.tr Fri Aug 11 09:26:57 2006 From: evrim at core.gen.tr (Evrim ULU) Date: Fri, 11 Aug 2006 09:26:57 -0000 Subject: [Bese-devel] Re: New patches to ucw_dev: 9-Aug-2006 In-Reply-To: References: <20060810043004.BAB2548147@common-lisp.net> <44DAB40C.6020905@core.gen.tr> <44DC1FEE.2040401@core.gen.tr> Message-ID: <44DC3CFA.2050506@core.gen.tr> Attila Lendvai wrote: > > iirc, only the dojo widgets depend on the render-widget-wrapper patch, > but they depend on several other patches in ajax, so it'll take time > until it'll be needed in dev. (this dependency is not a darcs patch > level dependency, that's why i could push the UNDO patch to dev, as > opposed to the render-widget-wrapper patch, which does have some darcs > level dependency, and can't be pushed to dev, only after all of its > dependencies) > Hm, what to ease your pain when merging patches to _ajax? I have the sense that every patch i push to _dev would result in conflicts like this. evrim. From attila.lendvai at gmail.com Fri Aug 11 10:45:07 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Fri, 11 Aug 2006 10:45:07 -0000 Subject: [Bese-devel] darcs and the two branches Message-ID: hi! to answer Evrim's question, here's a much simplified description of how darcs works and it's consequences to dev/ajax (it contains useful info for other developers, so i send this to the list). when you darcs get a repo then you can think of two repos as two versions of the same identity (for sure, darcs get doesn't make a new project... but while a cvs checkout is a completly separated copy, a darcs branch can be a bit smarter) so you can freely pull/push patches between the two repos. in fact this is what happens when you record a patch and push it to the dedicated public repo. you can think of your local copy as a branch, and in fact any branching with darcs happens just like that. the ajax branch is simply a darcs get of dev some time ago with several recorded patches waiting to be pushed to dev. when patches are recorded it's stored in a diff format. darcs can always rebuild the current state of the repo from these patches, and in fact the primary state is in the ordered list of patches, not in the files in the working directory. (darcs check compares the contents of the dir with the successive application of all the patches) a recorded patch also has a list of depended-on pathces that must have already been pulled into a repo for the patch in question to apply. when patches are pulled and there are no conflicts, they are added to the list of patches. if there are conflicts then darcs tries to resolve them (this is an exponential algorithm with no escape currently) and annotate the pulled patch with the required 'merger' hunks. when fails it leaves conflict annotations in the files in working directory, so that you can resolve it by hand and record the resolution as a new patch. it's a bit sloppy wording, but recodring in dev basically means you are _inserting_ patches into the list of patches (of the ajax branch), while recording in ajax means you are _appending_ to this list, which is less intrusive from the pov of darcs. as long as there are no conflicts it works great, and is very flexible. when conflicts come, things can be handled relatively easily with some attention, except when darcs seemingly ends up in an endless loop resolving conflicts. to avoid such situations either the branch should be short-lived enough so the resolution of conflicts won't take ages, or the two branches should only be modified so that there are no conflicts, or at least no more then necessary. in the lights of these, here's a fuzzy list of files that have many new patches in the ajax branch. if you are planning to make changes to these files in the dev branch, please either contact me before pushing it to the official repo (to run a quick test to ensure that darcs can still handle the situation) or try to pull the patch yourself into ajax to see if it works. patching stuff in ajax is ok and is encouraged when possible, because this branch is the one that is more ahead in patches (about 130+ now) and has all the patches that dev has. files with big patch traffic in the ajax branch: - per-application-parenscript.lisp - ucw-tags.lisp - l10n stuff - window.lisp - some action related files in rerl, but they have not that many changes... i'm pulling the yaclml cleanup in ucw-tags.lisp for several days now, and i'm not sure it'll finish sooner then a new version of darcs coming out with an option to bail out and leave the conflict resolution to me... :) and above all these i'm sure it will not apply and will need a resolution by hand (which is 3 lines of code). darcs is cool, but its design has its drawbacks that need to be taken into account when branching. hth, -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" Ingmar Bergman - Smultronst?llet (Wild Strawberries)