From luca at pca.it Mon May 1 11:26:08 2006 From: luca at pca.it (Luca Capello) Date: Mon, 01 May 2006 13:26:08 +0200 Subject: [Bese-devel] Re: Load a custom ucwctl.conf References: <031901c66233$fa96d180$d80a0a0a@acceleration.net> <87irp7c3ht.fsf@gismo.pca.it> Message-ID: <87vesqyoj3.fsf@gismo.pca.it> Hello! On Mon, 17 Apr 2006 23:10:38 +0200, Luca Capello wrote: > On Mon, 17 Apr 2006 17:31:20 +0200, Nathan Bird wrote: >>> Nathan, I think this was what you asked for, right? Do you (or >>> other) want to test the patch before inclusion? >> >> I'll give it a whirl, where can I get it? None of the 16(!) patches >> I pulled this morning jumped out at me as doing this. > > Included a preliminary patch, you need to apply it with [...] > As soon as it will be confirmed to work as expected, I'll commit to > ucw_dev. As no one reported errors with the preliminary patch, I just pushed it to ucw_dev. Please let me know if breaks something. Ties, can you update the necessary docs as well (except the manual page), please? Thx, bye, Gismo / Luca -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From mb at bese.it Mon May 1 13:22:08 2006 From: mb at bese.it (Marco Baringer) Date: Mon, 01 May 2006 15:22:08 +0200 Subject: [Bese-devel] ucw boxset Message-ID: i've created a simple script which downloads all of ucw's dependencies and creates a easy to use startup script: http://common-lisp.net/project/ucw/ucw-boxset.tar.gz [3.6MB] the download contains all the code neccessary to run ucw (i went so far as even include asdf). loading the examples requires unpacking that tarball and loading the included start.lisp script. comments? -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From chriss at muon.de Mon May 1 13:28:28 2006 From: chriss at muon.de (Christian Haselbach) Date: Mon, 1 May 2006 15:28:28 +0200 Subject: [Bese-devel] UCW submit action issues Message-ID: <20060501132828.GA9899@tngtech.com> Hello, I have got some issues with form and submit action. I want to perform a certain action when a submit button is clicked. (defaction call-viewer ((bac b-action-component) name) (incf (counter bac)) (call 'b-viewer :name name)) (defmethod render ((bac b-action-component)) (<:h1 (<:as-html "Choose your action #" (counter bac))) (let ((name "n/a")) ( Message-ID: Marco Baringer writes: > comments? um, i totaly forgot the real reason i announced that: i would like it if people could download it and make sure it does actually run. just see if this works as expected: wget http://common-lisp.net/project/ucw/ucw-boxset.tar.gz tar -zxf ucw-boxset.tar.gz cd ucw-boxset YOURLISPHERE --load start.lisp (the only defect atm is that start.lisp assumes your pwd is the ucw-boxset directory) -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From mb at bese.it Mon May 1 13:55:45 2006 From: mb at bese.it (Marco Baringer) Date: Mon, 01 May 2006 15:55:45 +0200 Subject: [Bese-devel] Re: tabbed-pane makeover References: Message-ID: "Ties Stuij" writes: > hi all, > I applied a patch to the ucw_public repository that brings the > tabbed-pane into the century of the fruit-bat so to speak. e.g. it now > wraps panes in divs in stead of a table for more design flexibility. > And incidentally it is not dependent on a tal file anymore. See the > example admin section, which has gotten a face-lift. If you dislike it > much, let me know. applied, thanks. if you feel like making the examples and admin app prettier please do so. -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From mbaringer at common-lisp.net Tue May 2 04:30:04 2006 From: mbaringer at common-lisp.net (Marco Baringer) Date: Tue, 2 May 2006 00:30:04 -0400 (EDT) Subject: [Bese-devel] New patches to ucw_dev: 1-May-2006 Message-ID: <20060502043004.1B2FB61026@common-lisp.net> Mon May 1 11:42:50 EDT 2006 Marco Baringer * Added send-redirect function. send-redirect does what redirect-component's render method did but it's usable from a simple-dispatcher (or anywhere else we don't have ucw's component context machinery). M ./src/components/redirect.lisp -3 +11 M ./src/packages.lisp -1 +1 Mon May 1 09:53:14 EDT 2006 Marco Baringer * Use dolist*, not dolist, in tabbed-pane's render method. M ./src/components/tabbed-pane.lisp -1 +1 Mon May 1 09:50:00 EDT 2006 Marco Baringer * Using (when (whatever) T) is weird, use (whatever) instead M ./src/components/form.lisp -3 +2 Mon May 1 09:48:49 EDT 2006 Marco Baringer * Minor indentation/whitespace fixups in src/components/form.lisp M ./src/components/form.lisp -7 +11 Sun Apr 30 20:17:56 EDT 2006 cjstuij at gmail.com * make-with-dummy-request-nicer M ./src/rerl/standard-request-context.lisp -2 +1 Sun Apr 30 19:39:20 EDT 2006 cjstuij at gmail.com * tabbed-pane-makeover - tabbed panes are now wrapped in divs in stead of a table, for more design flexibility. Is no longer tied to a tal file. M ./src/admin/admin.lisp -6 +4 M ./src/components/tabbed-pane.lisp -18 +14 M ./wwwroot/stylesheet.css -17 +42 Fri Apr 28 12:58:29 EDT 2006 Nathan Bird * Removing integer-range-validator, use number-range-validator instead. M ./examples/forms.lisp -10 M ./src/components/form.lisp -5 +3 Fri Apr 28 12:49:49 EDT 2006 Nathan Bird * the value of a number-field should be nil, not 0, if nothing was entered. M ./src/components/form.lisp -1 +1 Mon May 1 07:00:31 EDT 2006 Luca Capello * bin/ucwctl: allow a custom ucwctl.conf via -u|--ucwctl-file This adds the possibility to specify a different ucwctl.conf file instead of the default /etc/ucw/ucwctl.conf. Moreover, by default ucwctl now reads ~/.ucw/ucwctl.conf it it exists, overriding the values in the general /etc/ucw/ucwctl.conf, and the same happens if the ucwctl.conf is specified via the command line option. All command line options override the values present in any ucwctl.conf files. The order is the following: 1) /etc/ucw/ucwctl.conf (if it exists) 2) ~/.ucw/ucwctl.conf (if it exists) 3) -u|--ucwctl-file (if specified, exit if it cannot be read) 4) command line options A deeper discussion is available at: http://common-lisp.net/pipermail/bese-devel/2006-April/001932.html http://common-lisp.net/pipermail/bese-devel/2006-April/001961.html M ./bin/ucwctl -58 +88 M ./bin/ucwctl.1 -1 +11 An updated tarball of ucw_dev's source can be downloaded here: http://common-lisp.net/project/ucw/tarballs/ucw_dev-20060501.tar.gz Darcsweb URL: http://uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=summary From chr at nybo.no Tue May 2 08:01:20 2006 From: chr at nybo.no (=?ISO-8859-1?Q?Christian_Nyb=F8?=) Date: Tue, 2 May 2006 10:01:20 +0200 Subject: [Bese-devel] Re: ucw boxset In-Reply-To: References: Message-ID: Marco Baringer writes: > i would like it if people could download it and make sure it does > actually run. just see if this works as expected: > > wget http://common-lisp.net/project/ucw/ucw-boxset.tar.gz > tar -zxf ucw-boxset.tar.gz > cd ucw-boxset > YOURLISPHERE --load start.lisp > > (the only defect atm is that start.lisp assumes your pwd is the ucw- > boxset directory) Is there anything in the archive? I only see null-bytes. -- chr From vagif at cox.net Tue May 2 06:30:58 2006 From: vagif at cox.net (Vagif Hagverdiyev) Date: Mon, 1 May 2006 23:30:58 -0700 Subject: [Bese-devel] Re: ucw boxset In-Reply-To: Message-ID: <000c01c66db1$f95516e0$0302a8c0@p4> Does not work on windows lispworks. 1. Windows does not have symlinks. So asdf cannot find files. I solved this problem following way: 1. delete subfolder systems 2. In start.lisp remove form with systems folder in asdf-registry and replace it with following form: (defvar *lib-dirs* "c:/lisp/ucw-boxset/") (dolist (dir-candidate (directory (concatenate 'string *lib-dirs* "*/"))) (let ((asd-candidate (merge-pathnames "*.asd" dir-candidate))) (when (directory asd-candidate) (push dir-candidate asdf:*central-registry*)))) 2. When loading lispworks.lisp gives error "package comm. Not found". Solved by providing (require "comm") before loading lispworks.lisp 3. When starting ucw server with httpd gives error: trivial-sockets bla bla not supported. Do not know what that means, tried to switch to aserve, got another error, gave up. This is great effort, and in right direction, that you decided to assemble a single download-install package. But I think it lacks certain thing essential for success of ANY web framework. In my opinion it is: SPECIFICLY TARGETING WINDOWS!! When you will be able to create a download-install package that will smoothly run on windows, then you will see start of wide adoption of ucw. -----Original Message----- From: bese-devel-bounces at common-lisp.net [mailto:bese-devel-bounces at common-lisp.net] On Behalf Of Marco Baringer Sent: Monday, May 01, 2006 6:38 AM To: bese-devel at common-lisp.net Subject: [Bese-devel] Re: ucw boxset Marco Baringer writes: > comments? um, i totaly forgot the real reason i announced that: i would like it if people could download it and make sure it does actually run. just see if this works as expected: wget http://common-lisp.net/project/ucw/ucw-boxset.tar.gz tar -zxf ucw-boxset.tar.gz cd ucw-boxset YOURLISPHERE --load start.lisp (the only defect atm is that start.lisp assumes your pwd is the ucw-boxset directory) -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen _______________________________________________ bese-devel mailing list bese-devel at common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel From mb at bese.it Tue May 2 08:47:11 2006 From: mb at bese.it (Marco Baringer) Date: Tue, 02 May 2006 10:47:11 +0200 Subject: [Bese-devel] Re: ucw boxset References: Message-ID: Christian Nyb? writes: > Is there anything in the archive? I only see null-bytes. my bad. i created a cronjob to update the archive daily and the crontob was borken. it should be fixed now. -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From attila.lendvai at gmail.com Tue May 2 09:10:37 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 2 May 2006 11:10:37 +0200 Subject: [Bese-devel] Re: ucw boxset In-Reply-To: <000c01c66db1$f95516e0$0302a8c0@p4> References: <000c01c66db1$f95516e0$0302a8c0@p4> Message-ID: > 1. Windows does not have symlinks. So asdf cannot find files. windows (ntfs) does have symlinks, but they only work for dirs though. unfortunately the _only_ program i know that can create them is FAR, a norton clone. but luckily once they are created they are transparent for programs that don't care about them. files can only be hardlinked. - attila (alias 101 on irc &no 'its not lisp code :) From attila.lendvai at gmail.com Tue May 2 10:48:07 2006 From: attila.lendvai at gmail.com (Attila Lendvai) Date: Tue, 2 May 2006 12:48:07 +0200 Subject: [Bese-devel] two patches for arnesi Message-ID: hi! * Skip nil's in strcat * Fix the return value of compose for fn > 4 - attila (alias 101 on irc &no 'its not lisp code :) -------------- next part -------------- A non-text attachment was scrubbed... Name: arnesi-compose.patch Type: text/x-patch Size: 29919 bytes Desc: not available URL: From chr at nybo.no Tue May 2 11:16:39 2006 From: chr at nybo.no (=?ISO-8859-1?Q?Christian_Nyb=F8?=) Date: Tue, 2 May 2006 13:16:39 +0200 Subject: [Bese-devel] ucw boxset In-Reply-To: References: Message-ID: On May 2, 2006, at 10:47, Marco Baringer wrote: > Christian Nyb? writes: > >> Is there anything in the archive? I only see null-bytes. > > my bad. i created a cronjob to update the archive daily and the > crontob was borken. it should be fixed now. Thanks. Loads nicely with slime. What is the recommended way of starting it? Should I start slime from within emacs and load start.lisp from there: ;; In emacs: M-x slime RET ... wait a while ... ,cd RET ~/lisp/boxset/ucw-boxset RET ;; in the slime buffer: CL-USER> (load "start") or should I start slime with a prefix argument to have it prompt me for the command like this: ;; In emacs: C-u M-x slime RET /Applications/openmcl/ccl/scripts/openmcl -l /Users/chr/lisp/boxset/ ucw-boxset/start.lisp RET Either way, I don't see the message from the last form in start.lisp: (write-line "UCW Started. Point your browser to http://127.0.0.1:8080/") -- chr From mb at bese.it Tue May 2 11:38:25 2006 From: mb at bese.it (Marco Baringer) Date: Tue, 02 May 2006 13:38:25 +0200 Subject: [Bese-devel] Re: ucw boxset References: <000c01c66db1$f95516e0$0302a8c0@p4> Message-ID: "Vagif Hagverdiyev" writes: > Does not work on windows lispworks. > > 1. Windows does not have symlinks. So asdf cannot find files. > I solved this problem following way: > 1. delete subfolder systems we know, when we generating the boxset, exactly which .asd files we need. i've changed the build script so that a lisp file is created which explicitly loads all these .asd files. asdf:*central-registry* is still set to ucw-boxset/systems, but i don't think it matters anymore. > 2. When loading lispworks.lisp gives error "package comm. Not found". > Solved by providing (require "comm") before loading lispworks.lisp is this trivial-sockets' lispworks.lisp? i tried with the personal edition on MacOS X and not only was it not neccessary but (require :comm) failed with an error about comm not existing. > 3. When starting ucw server with httpd gives error: trivial-sockets bla bla > not supported. > Do not know what that means, tried to switch to aserve, got another error, > gave up. what lisp are you testing this on? i had to make a few changes to trivial sockets (after downloading the boxset apply the patches i've attached to the trivial-sockets directory). > This is great effort, and in right direction, that you decided to assemble a > single download-install package. > > But I think it lacks certain thing essential for success of ANY web > framework. > In my opinion it is: SPECIFICLY TARGETING WINDOWS!! > When you will be able to create a download-install package that will > smoothly run on windows, then you will see start of wide adoption of ucw. cool, go for it! the scripts used to generate the boxset are in a darcs repo at: http://common-lisp.net/project/ucw/repos/ucw-boxset atm they assume openmcl and a unix system (it's just a bunch of shell scripts) but any patches wolud be welcome. -------------- next part -------------- A non-text attachment was scrubbed... Name: CHANGES Type: application/octet-stream Size: 1364 bytes Desc: not available URL: -------------- next part -------------- -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen From door at lcpi.ru Tue May 2 11:39:56 2006 From: door at lcpi.ru (Alexey Antipov) Date: Tue, 2 May 2006 15:39:56 +0400 Subject: [Bese-devel] UCW submit action issues In-Reply-To: <20060501132828.GA9899@tngtech.com> References: <20060501132828.GA9899@tngtech.com> Message-ID: <20060502113956.GA24863@rabbit.loc> On Mon, May 01, 2006 at 03:28:28PM +0200, Christian Haselbach wrote: > I have got some issues with form and submit action. I want to perform > a certain action when a submit button is clicked. Please check that dojo.js used, i.e. you have something like