From ahefner at gmail.com Fri Jun 2 22:02:48 2006 From: ahefner at gmail.com (Andy Hefner) Date: Fri, 2 Jun 2006 18:02:48 -0400 Subject: [mcclim-devel] execute-frame-command In-Reply-To: References: Message-ID: <31ffd3c40606021502k53cdb7a2gee912b18e27f9221@mail.gmail.com> On 5/25/06, Christophe Rhodes wrote: > Hi, > > Is > > (defun foo () > (let ((frame (make-application-frame 'climacs))) > (clim-sys:make-process (lambda () (run-frame-top-level frame))) > (execute-frame-command frame `(com-find-file "/tmp/foo.txt")))) > > expected to be "safe"? At present, this is subject to a race > condition, because the frame need not have been adopted properly by > the time the execute-frame-command runs, and so it need not have a > top-level sheet. I still think this is a bad idea - the application thread may be running another command, or an event handler might be accessing the stream state or output history, and the usual thread safety problems can crop up. McCLIM could add a lock around command execution and locks on stream panes that would protect you 99.9% of the time (but still wouldn't solve your problem). It might be a better idea to follow the suggestion made in the spec of queuing command events that can be executed in the main thread at its leisure (adding an enqueued-commands slot to the frame which the event handler for command events fills, and perhaps have read-frame-command first pull commands from that queue). From asf at boinkor.net Mon Jun 5 18:59:46 2006 From: asf at boinkor.net (Andreas Fuchs) Date: Mon, 05 Jun 2006 20:59:46 +0200 Subject: [mcclim-devel] reminder: freeze period starts tomorrow! Message-ID: <87d5dn1l99.wl%asf@boinkor.net> Hi there, just thought it would be good to post a little reminder: if you want to get any patches in before the release next sunday, you should post your patch to this list. The freeze period starts tomorrow evening (CEST), so you have a bit more than 24 hours. Cheers, -- Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs From rpgoldman at real-time.com Tue Jun 6 13:11:03 2006 From: rpgoldman at real-time.com (rpgoldman at real-time.com) Date: Tue, 6 Jun 2006 08:11:03 -0500 Subject: [mcclim-devel] Plea for test.... In-Reply-To: <87d5dn1l99.wl%asf@boinkor.net> References: <87d5dn1l99.wl%asf@boinkor.net> Message-ID: <17541.32487.741626.871237@necronomicon.sift.info> I'd be obliged to anyone who could test the CFFI port of mcclim-freetype. It works well for me on Allegro, but I have not tested it on CMUCL or SBCL. I hate to see it go out through the freeze with any howling bugs... Thanks, R From asf at boinkor.net Tue Jun 6 21:07:43 2006 From: asf at boinkor.net (Andreas Fuchs) Date: Tue, 06 Jun 2006 23:07:43 +0200 Subject: [mcclim-devel] freeze period for Trinity Sunday mcclim starts now. Message-ID: <87irnexaao.wl%asf@boinkor.net> Hi, This mail marks the start of the freeze period for the Trinity Sunday release. Please test things (freetype-cffi comes to mind), and report any bugs that you find. As always, improvements to documentations and fixes for reported bugs are very welcome; I ask you to hold off other commits until after the release on next sunday. Let's make this as good as the last release (: -- Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs From strandh at labri.fr Wed Jun 7 18:22:49 2006 From: strandh at labri.fr (Robert Strandh) Date: Wed, 7 Jun 2006 20:22:49 +0200 Subject: [mcclim-devel] "bug" report: old style eval-when causes warnings in SBCL Message-ID: <17543.6521.265496.674361@serveur5.labri.fr> Hello, I have found two occurrences in McCLIM of old-style EVAL-WHEN: 1. In graphics.lisp, line 871 in a macro body, which means that everyone using that macro will get the warning message 2. In design.lisp, line 274 in a format control string, which I guess is less serious. -- Robert Strandh --------------------------------------------------------------------- Greenspun's Tenth Rule of Programming: any sufficiently complicated C or Fortran program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp. --------------------------------------------------------------------- From strandh at labri.fr Wed Jun 7 18:26:07 2006 From: strandh at labri.fr (Robert Strandh) Date: Wed, 7 Jun 2006 20:26:07 +0200 Subject: [mcclim-devel] coordinate-epsilon defined twice Message-ID: <17543.6719.586078.450005@serveur5.labri.fr> Hello, In coordinates.lisp, the function coordinate-epsilon is first defined to return a value greater than 0, and then redefined to return 0 (and to be inlined). Having that function return 0 causes a lot of problem in my Bezier region code, and it is surely not what was intended. -- Robert Strandh --------------------------------------------------------------------- Greenspun's Tenth Rule of Programming: any sufficiently complicated C or Fortran program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp. --------------------------------------------------------------------- From Eric.Kow at loria.fr Fri Jun 9 09:05:09 2006 From: Eric.Kow at loria.fr (Eric Y. Kow) Date: Fri, 9 Jun 2006 11:05:09 +0200 Subject: [mcclim-devel] pointer-butt missing (mcclim 0.9.2) Message-ID: <20060609090509.GA279@chartreuse.loria.fr> Dear McClim developers, While trying to install McClim on clisp/Mac OS X, I get two errors which might interest you. I send you this bug report upon #lisp/antifuchs' advice. Thanks! Summary ------- package gray is locked DEFMETHOD POINTER-BUTT: missing lambda list Context ------- I'm just a user, really. All I want to do is run the software KPML (http://www.purl.org/net/kpml) which claims to want a CLIM. Attached -------- my .clisprc the error log Platform -------- Mac OS X 10.4.6 (powerpc) clisp 2.38 asdf revision 1.98 spatial-trees 0.2 mcclim 0.9.2 My (darwinports) CLISP ---------------------- GNU CLISP 2.38 (2006-01-24) (built 3358753487) (memory 3358754081) Software: GNU C 4.0.0 20041026 (Apple Computer, Inc. build 4061) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -I. -L/opt/local/lib -L/opt/local/lib -x none -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation libcharset.a -lreadline -lncurses -liconv -L/opt/local/lib -lsigsegv -lc -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libiconv 1.10 libreadline 5.0 Features: (REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE BASE-CHAR=CHARACTER UNIX MACOS) C Modules: (clisp i18n syscalls regexp) Installation directory: /opt/local/lib/clisp/ User language: ENGLISH Machine: POWER MACINTOSH (POWER MACINTOSH) -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran?ais. -------------- next part -------------- (defparameter *kowey-lispdir* "/Volumes/Data/Users/kow/opt/common-lisp/") (load (concatenate 'string *kowey-lispdir* "asdf.lisp")) (setf *central-registry* '(*default-pathname-defaults* ;; I would like to refactor this to use *kowey-lispdir* above #p"/Volumes/Data/Users/kow/opt/common-lisp/systems/")) -------------- next part -------------- ;; Loading file /Volumes/Data/Users/kow/.clisprc ... ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/asdf.lisp ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/asdf.lisp ;; Loaded file /Volumes/Data/Users/kow/.clisprc [1]> (asdf:oos 'asdf:load-op :mcclim) ; loading system definition from mcclim.asd into # ;; Loading file mcclim.asd ... ; registering # as CLIM-LISP ; registering # as CLIM-CORE ; registering # as GOATEE-CORE ; registering # as CLIM-POSTSCRIPT ; registering # as CLIM ; registering # as CLIM-CLX ; registering # as CLIM-NULL ; registering # as CLIM-OPENGL ; registering # as CLIM-LOOKS ; registering # as CLIM-CLX-USER ; registering # as CLIM-EXAMPLES ; registering # as SCIGRAPH ; registering # as CLIM-LISTENER ; registering # as MCCLIM ;; Loaded file mcclim.asd ; loading system definition from spatial-trees.asd into # ;; Loading file spatial-trees.asd ... ; registering # as SPATIAL-TREES ;; Loaded file spatial-trees.asd ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/package.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/package.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/basedefs.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/basedefs.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rectangles.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rectangles.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/patch.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/patch.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/patch.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/patch.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/fix-clisp.lisp ... ** - Continuable Error INTERN("ORIGINAL-INPUT-STREAM-P"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: RETRY :R1 Retry performing # on #. ACCEPT :R2 Continue, treating # on # as having been successful. ABORT :R3 ABORT Break 1 [2]> continue ** - Continuable Error DEFGENERIC((INPUT-STREAM-P NIL STREAM)): (# # #) is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: RETRY :R1 Retry performing # on #. ACCEPT :R2 Continue, treating # on # as having been successful. ABORT :R3 ABORT Break 1 [3]> continue ** - Continuable Error INTERN("ORIGINAL-OUTPUT-STREAM-P"): # is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: RETRY :R1 Retry performing # on #. ACCEPT :R2 Continue, treating # on # as having been successful. ABORT :R3 ABORT Break 1 [4]> continue ** - Continuable Error DEFGENERIC((OUTPUT-STREAM-P NIL STREAM)): (# # #) is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: RETRY :R1 Retry performing # on #. ACCEPT :R2 Continue, treating # on # as having been successful. ABORT :R3 ABORT Break 1 [5]> continue ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/fix-clisp.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/fix-clisp.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/fix-clisp.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/package.lisp ... ;; (INTERACTIVE-STREAM-P) is patched. ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/package.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/package.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/package.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/r-trees.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/r-trees.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/greene-trees.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/greene-trees.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rstar-trees.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rstar-trees.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rplus-trees.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/rplus-trees.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/x-trees.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/spatial-trees-0.2/x-trees.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/decls.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/decls.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/decls.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/decls.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/protocol-classes.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/protocol-classes.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/mp-nil.lisp ... WARNING in CONDITION-WAIT-WAIT-FUNC in lines 124..133 : *ALL-PORTS* is neither declared nor bound, it will be treated as if it were declared SPECIAL. ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/mp-nil.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/mp-nil.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/Lisp-Dep/mp-nil.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/utils.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/utils.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/protocol-classes.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/protocol-classes.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/utils.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/utils.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/design.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/design.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/design.fas ... WARNING: Replacing method # #)> in # WARNING: Replacing method #)> in # WARNING: Replacing method # #)> in # WARNING: Replacing method #)> in # ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/design.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/X11-colors.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/X11-colors.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/coordinates.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/coordinates.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/setf-star.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/setf-star.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/coordinates.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/coordinates.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/transforms.lisp ... WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option: (USE-VALUE (VALUE) :REPORT (LAMBDA (SINK) (FORMAT SINK "Supply a transformation to use instead of the inverse.")) VALUE) ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/transforms.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/transforms.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/transforms.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/setf-star.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/setf-star.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/regions.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/regions.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/regions.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/regions.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/sheets.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/sheets.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/sheets.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/sheets.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/pixmap.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/pixmap.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/events.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/events.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/events.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/events.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/pixmap.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/pixmap.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/ports.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/ports.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/ports.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/ports.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/grafts.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/grafts.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/X11-colors.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/X11-colors.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/medium.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/medium.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/medium.fas ... WARNING: Replacing method # #)> in # WARNING: Replacing method #)> in # WARNING: Replacing method #)> in # WARNING: Replacing method #)> in # ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/medium.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/output.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/output.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/input.lisp ... WARNING in 536 536 (DEFMETHOD SCROLL-QUANTUM (PANE) ...)-74-1-1 in line 536 : variable PANE is not used. Misspelled or missing IGNORE declaration? ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/input.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/repaint.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/repaint.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/output.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/output.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/graphics.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/graphics.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/views.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/views.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/views.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/views.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/graphics.fas ... WARNING: Replacing method # # #)> in # WARNING: Replacing method # #)> in # WARNING: Replacing method # # # # #)> in # WARNING: Replacing method # #)> in # WARNING: Replacing method # # # #)> in # WARNING: Replacing method # # # # # #)> in # WARNING: Replacing method # # #)> in # WARNING: Replacing method # # # # # # # # # #)> in # WARNING: Replacing method # # # # # # #)> in # WARNING: Replacing method # # # # # # # # # # #)> in # ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/graphics.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/stream-output.lisp ... ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/stream-output.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/stream-output.fas ... WARNING: The generic function # is being modified, but has already been called. WARNING: The generic function # is being modified, but has already been called. WARNING: The generic function # is being modified, but has already been called. ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/stream-output.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/recording.lisp ... WARNING in 1064 1070 (DEFMETHOD RECOMPUTE-EXTENT-FOR-CHANGED-CHILD :AROUND ...)-131-1-1 in lines 1064..1070 : variable OLD-MIN-X is not used. Misspelled or missing IGNORE declaration? WARNING in 1064 1070 (DEFMETHOD RECOMPUTE-EXTENT-FOR-CHANGED-CHILD :AROUND ...)-131-1-1 in lines 1064..1070 : variable OLD-MIN-Y is not used. Misspelled or missing IGNORE declaration? WARNING in 1064 1070 (DEFMETHOD RECOMPUTE-EXTENT-FOR-CHANGED-CHILD :AROUND ...)-131-1-1 in lines 1064..1070 : variable OLD-MAX-X is not used. Misspelled or missing IGNORE declaration? WARNING in 1064 1070 (DEFMETHOD RECOMPUTE-EXTENT-FOR-CHANGED-CHILD :AROUND ...)-131-1-1 in lines 1064..1070 : variable OLD-MAX-Y is not used. Misspelled or missing IGNORE declaration? WARNING in 1734 1768 (DEF-GRECORDING DRAW-TEXT (# STRING POINT-X ...) ...)-187-2-1-1-1 in lines 1734..1768 : variable HEIGHT is not used. Misspelled or missing IGNORE declaration? ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/recording.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/input.fas ... ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/input.fas ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/recording.fas ... WARNING: The generic function # is being modified, but has already been called. ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/recording.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/encapsulate.lisp ... WARNING: The function (SETF STREAM-CURSOR-POSITION) is hidden by a SETF expander. ;; Wrote file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/encapsulate.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. ;; Loading file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/encapsulate.fas ... WARNING: The generic function # is being modified, but has already been called. WARNING: The generic function # is being modified, but has already been called. WARNING: The generic function # is being modified, but has already been called. ;; Loaded file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/encapsulate.fas ;; Compiling file /Volumes/Data/Users/kow/opt/common-lisp/mcclim-0.9.2/stream-input.lisp ... *** - DEFMETHOD POINTER-BUTT: missing lambda list The following restarts are available: RETRY :R1 Retry performing # on #. ACCEPT :R2 Continue, treating # on # as having been successful. ABORT :R3 ABORT Break 1 CLIMI[6]> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From asf at boinkor.net Fri Jun 9 09:29:29 2006 From: asf at boinkor.net (Andreas Fuchs) Date: Fri, 09 Jun 2006 11:29:29 +0200 Subject: [mcclim-devel] Forward: pointer-butt missing (mcclim 0.9.2) References: <20060609090509.GA279@chartreuse.loria.fr> Message-ID: <878xo67k3q.wl%asf@boinkor.net> As I don't know who has the admin password for this list, I asked Eric Kow to send the bug report to me, and am now forwarding it. -------------- next part -------------- An embedded message was scrubbed... From: "Eric Y. Kow" Subject: pointer-butt missing (mcclim 0.9.2) Date: Fri, 9 Jun 2006 11:05:09 +0200 Size: 30420 URL: From christopher.a.johnson at gmail.com Sun Jun 18 01:21:13 2006 From: christopher.a.johnson at gmail.com (Christopher Johnson) Date: Sat, 17 Jun 2006 18:21:13 -0700 Subject: [mcclim-devel] McCLIM/CLX on MacOS X Message-ID: <524278140606171821v6a579571m25e478b4c567f4a6@mail.gmail.com> Working through the hello-world example in "A guided tour of CLIM 2006", I get an error. I think I need to do more CLX setup for MacOS X, but I'm unsure how to proceed. The error is below. Any help would be appreciated. The value NIL is not of type NUMBER. [Condition of type TYPE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (CLIM-CLX::PARSE-CLX-SERVER-PATH #) 1: (FIND-PORT :SERVER-PATH NIL) 2: (FIND-FRAME-MANAGER) 3: ((SB-PCL::FAST-METHOD RUN-FRAME-TOP-LEVEL :AROUND (APPLICATION-FRAME)) # #S(SB-PCL::FAST-METHOD-CALL :FUNCTION # :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (1 . T)) # NIL) 4: (SB-INT:EVAL-IN-LEXENV (RUN-FRAME-TOP-LEVEL (MAKE-APPLICATION-FRAME (QUOTE HELLO-WORLD))) -- Chris Johnson Christopher.A.Johnson at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From csr21 at cam.ac.uk Sun Jun 18 08:05:40 2006 From: csr21 at cam.ac.uk (Christophe Rhodes) Date: Sun, 18 Jun 2006 09:05:40 +0100 Subject: [mcclim-devel] McCLIM/CLX on MacOS X In-Reply-To: <524278140606171821v6a579571m25e478b4c567f4a6@mail.gmail.com> (Christopher Johnson's message of "Sat, 17 Jun 2006 18:21:13 -0700") References: <524278140606171821v6a579571m25e478b4c567f4a6@mail.gmail.com> Message-ID: "Christopher Johnson" writes: > Working through the hello-world example in "A guided tour of CLIM 2006", I get an error.? > I think I need to do more CLX setup for MacOS X, but I'm unsure how to proceed.? The error > is below.? Any help would be appreciated. > The value NIL is not of type NUMBER. > ?? [Condition of type TYPE-ERROR] > Restarts: > ? 0: [ABORT-REQUEST] Abort handling SLIME request. > ? 1: [ABORT] Exit debugger, returning to top level. > Backtrace: > ? 0: (CLIM-CLX::PARSE-CLX-SERVER-PATH #) You probably don't have a $DISPLAY variable set in your shell / lisp process. Are you running X11.app? If not, that's the first mistake; if so, then either running your lisp or emacs from the xterm (as opposed to Terminal.app) or exporting DISPLAY=0.0 from your shell before starting your lisp should help. Cheers, Christophe From nikodemus at random-state.net Sun Jun 18 11:02:38 2006 From: nikodemus at random-state.net (Nikodemus Siivola) Date: Sun, 18 Jun 2006 14:02:38 +0300 Subject: [mcclim-devel] Re: McCLIM/CLX on MacOS X References: <524278140606171821v6a579571m25e478b4c567f4a6@mail.gmail.com> Message-ID: <874pyi9169.fsf@logxor.random-state.net> Christophe Rhodes writes: > You probably don't have a $DISPLAY variable set in your shell / lisp > process. Are you running X11.app? If not, that's the first mistake; > if so, then either running your lisp or emacs from the xterm (as > opposed to Terminal.app) or exporting DISPLAY=0.0 from your shell > before starting your lisp should help. FWIW, something like the bit below in ~/.MacOSX/environment.plist should also do the trick for running X-stuff from outside an xterm (assuming X11.app is running, of course). Decorate with other environment variables to taste. DISPLAY :0.0 Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs." From rpgoldman at real-time.com Sun Jun 18 14:29:37 2006 From: rpgoldman at real-time.com (rpgoldman at real-time.com) Date: Sun, 18 Jun 2006 09:29:37 -0500 Subject: [mcclim-devel] Re: McCLIM/CLX on MacOS X In-Reply-To: <874pyi9169.fsf@logxor.random-state.net> References: <524278140606171821v6a579571m25e478b4c567f4a6@mail.gmail.com> <874pyi9169.fsf@logxor.random-state.net> Message-ID: <17557.25425.102154.405075@necronomicon.sift.info> How about putting this up on the McCLIM Cliki for the assistance of future Mac sufferers? [I don't use a Mac, or I'd do it myself; I'd be too afraid of garbling.] Best, R From christopher.a.johnson at gmail.com Tue Jun 20 17:51:05 2006 From: christopher.a.johnson at gmail.com (Christopher Johnson) Date: Tue, 20 Jun 2006 10:51:05 -0700 Subject: [mcclim-devel] Loading CLX for McCLIM Message-ID: <524278140606201051g6cf86cf5n7ce93233333719fd@mail.gmail.com> One more thing. How do I load a backend or frame manager for McCLIM? Hello-world now errors with: No CLIM backends have been loaded! [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (CLIM-INTERNALS::FIND-DEFAULT-SERVER-PATH) 1: (FIND-PORT :SERVER-PATH NIL) 2: (FIND-FRAME-MANAGER) 3: ((SB-PCL::FAST-METHOD RUN-FRAME-TOP-LEVEL I'm very new to lisp and clim, and I really appreciate your help. -- Chris Johnson Christopher.A.Johnson at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amoroso at mclink.it Tue Jun 20 18:22:03 2006 From: amoroso at mclink.it (Paolo Amoroso) Date: Tue, 20 Jun 2006 20:22:03 +0200 Subject: [mcclim-devel] Loading CLX for McCLIM In-Reply-To: <524278140606201051g6cf86cf5n7ce93233333719fd@mail.gmail.com> (Christopher Johnson's message of "Tue, 20 Jun 2006 10:51:05 -0700") References: <524278140606201051g6cf86cf5n7ce93233333719fd@mail.gmail.com> Message-ID: <87bqsnu1pw.fsf@plato.moon.paoloamoroso.it> "Christopher Johnson" writes: > One more thing. How do I load a backend or frame manager for McCLIM? Here is a short explanation, see section "Alternate frame manager": http://mcclim.cliki.net/Tip Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log From csr21 at cam.ac.uk Wed Jun 21 11:33:14 2006 From: csr21 at cam.ac.uk (Christophe Rhodes) Date: Wed, 21 Jun 2006 12:33:14 +0100 Subject: [mcclim-devel] interactive-stream-p Message-ID: Hi, The Gray stream function interactive-stream-p is "specified" in CLIM. Would it be reasonable to make it return T for most of the extended streams that CLIM provides and NIL for postscript streams (and potentially other batched output streams such as pdf, when a backend for that shows up)? At present I believe it returns NIL for everything. The use case I have is being able to use the same drawing routine for screen and print, customizing behaviour based on the value of (interactive-stream-p stream). Cheers, Christophe From ahefner at gmail.com Fri Jun 23 21:17:47 2006 From: ahefner at gmail.com (Andy Hefner) Date: Fri, 23 Jun 2006 17:17:47 -0400 Subject: [mcclim-devel] interactive-stream-p In-Reply-To: References: Message-ID: <31ffd3c40606231417o5da793a1q913f29bd8bc5a61d@mail.gmail.com> On 6/21/06, Christophe Rhodes wrote: > Hi, > > The Gray stream function interactive-stream-p is "specified" in CLIM. > Would it be reasonable to make it return T for most of the extended > streams that CLIM provides and NIL for postscript streams (and > potentially other batched output streams such as pdf, when a backend > for that shows up)? At present I believe it returns NIL for > everything. A fine idea! From rpgoldman at real-time.com Mon Jun 26 01:19:53 2006 From: rpgoldman at real-time.com (rpgoldman at real-time.com) Date: Sun, 25 Jun 2006 20:19:53 -0500 Subject: [mcclim-devel] questions about space requirements and graph layout Message-ID: <17567.13881.582686.542048@necronomicon.sift.info> I was careless and did not check up on my application that used graph layout while a couple of rounds of changes were made. Now I find that my application is all stuffed up, and I was hoping that someone could make some suggestions. In particular: 1. My old code would draw graphs, and at the end of each graph-drawing function would invoke: (change-space-requirements stream :min-width (bounding-rectangle-width rect) :min-height (bounding-rectangle-height rect)) In the past this seemed to Do The Right Thing: the application pane (at the top, over an interactor pane) would get larger, and scroll bars would appear as needed. Now, however, something that seems very wrong to me happens, viz: a. I stretch the frame larger than its original size. b. I invoke a graph drawer. c. The frame resizes itself to its original size. My conjecture is that the effect of changing space requirements may have changed. Weirdly, the space requirement is now: [1i] GRAPH-MDP(74): :i 22 A NEW CLIMI::STANDARD-SPACE-REQUIREMENT @ #x881c250a = # 0 Class --------> # 1 WIDTH --------> double-float = 0.0d0 [#x00000000 00000000] 2 MAX-WIDTH ----> fixnum 100000000 [#x17d78400] 3 MIN-WIDTH ----> double-float = 0.0d0 [#x00000000 00000000] 4 HEIGHT -------> double-float = 0.0d0 [#x00000000 00000000] 5 MAX-HEIGHT ---> fixnum 100000000 [#x17d78400] 6 MIN-HEIGHT ---> double-float = 0.0d0 [#x00000000 00000000] although the current-width is 6952.0 and the current-height is 4261.5. I was considering that perhaps I should have been changing the width and height slots of the space-requirement instead of min- values, but (a) this used to work and (b) it seems like none of my changed space requirements are "taking." Here's what happens when I trace change-space-requirements: 0[9]: (CLIM:CHANGE-SPACE-REQUIREMENTS # :WIDTH 6952.0 :HEIGHT 4261.5 :MIN-WIDTH 6952.0 :MIN-HEIGHT 4261.5) 0* (CALL-METHOD # ((MULTIPLE-VALUE-PROG1 (PROGN # # #) #))) 1[9]: (CLIM:CHANGE-SPACE-REQUIREMENTS # :RESIZE-FRAME NIL) 1* (MULTIPLE-VALUE-PROG1 (PROGN # # #) #) 1[9]: returned NIL 0[9]: returned NIL Possibly the information about the space requirements is not properly percolating up from the application-pane to its enclosing viewport-pane? [1i] GRAPH-MDP(85): :i A TENURED CLIM-EXTENSIONS:VIEWPORT-PANE @ #x72d0c35a = # 0 Class --------> # 1 REGION -------> # 2 NATIVE-TRANSFORMATION -> # 3 NATIVE-REGION -> # 4 DEVICE-TRANSFORMATION -> The symbol NIL 5 DEVICE-REGION -> The symbol NIL 6 POINTER-CURSOR -> The symbol :DEFAULT 7 ENABLED-P ----> The symbol T 8 CURRENT-WIDTH -> The symbol NIL 9 CURRENT-HEIGHT -> The symbol NIL 10 TRANSFORMATION -> # 11 QUEUE --------> # 12 NAME ---------> A simple-string (14) "(Unnamed Pane)" 13 MANAGER ------> # 14 FRAME --------> # 15 ENABLEDP -----> The symbol NIL 16 SPACE-REQUIREMENT -> The symbol NIL 17 NEW-WIDTH ----> The symbol NIL 18 NEW-HEIGHT ---> The symbol NIL 19 REDISPLAY-NEEDED -> The symbol NIL 20 PORT ---------> # 21 MIRROR-TRANSFORMATION -> # 22 MIRROR-REGION -> # 23 PARENT -------> # 24 USER-WIDTH ---> The symbol NIL 25 USER-MIN-WIDTH -> The symbol NIL 26 USER-MAX-WIDTH -> The symbol NIL 27 USER-HEIGHT --> The symbol NIL 28 USER-MIN-HEIGHT -> The symbol NIL 29 USER-MAX-HEIGHT -> The symbol NIL 30 X-SPACING ----> fixnum 0 [#x00000000] 31 Y-SPACING ----> fixnum 0 [#x00000000] 32 FOREGROUND ---> # 33 BACKGROUND ---> # 34 TEXT-STYLE ---> # 35 ALIGN-X ------> The symbol :LEFT 36 ALIGN-Y ------> The symbol :TOP 37 CHILD --------> # [1i] GRAPH-MDP(86): :i 37 A TENURED APPLICATION-PANE @ #x72d0bc22 = # 0 Class --------> # 1 MARKINGS -----> The symbol NIL 2 POINT-1-X ----> The symbol NIL 3 POINT-1-Y ----> The symbol NIL 4 POINT-2-X ----> The symbol NIL 5 POINT-2-Y ----> The symbol NIL 6 DRAGGING-P ---> The symbol NIL 7 REGION -------> # 8 NATIVE-TRANSFORMATION -> # 9 NATIVE-REGION -> # 10 DEVICE-TRANSFORMATION -> The symbol NIL 11 DEVICE-REGION -> # 12 POINTER-CURSOR -> The symbol :DEFAULT 13 ENABLED-P ----> The symbol T 14 CURRENT-WIDTH -> single-float = 6952.0 [#x45d94000] 15 CURRENT-HEIGHT -> single-float = 4261.5 [#x45852c00] 16 TRANSFORMATION -> # 17 QUEUE --------> # 18 NAME ---------> The symbol MDP 19 MANAGER ------> # 20 FRAME --------> # 21 ENABLEDP -----> The symbol NIL 22 SPACE-REQUIREMENT -> # 23 NEW-WIDTH ----> The symbol NIL 24 NEW-HEIGHT ---> The symbol NIL 25 PORT ---------> # 26 MIRROR-TRANSFORMATION -> # 27 MIRROR-REGION -> # 28 PARENT -------> # 29 X-SPACING ----> fixnum 0 [#x00000000] 30 Y-SPACING ----> fixnum 0 [#x00000000] 31 ALIGN-X ------> The symbol :LEFT 32 ALIGN-Y ------> The symbol :TOP 33 CHILDREN -----> The symbol NIL 34 RECORDING-P --> The symbol T 35 DRAWING-P ----> The symbol T 36 OUTPUT-HISTORY -> # 37 CURRENT-OUTPUT-RECORD -> # 38 CURRENT-TEXT-OUTPUT-RECORD -> The symbol NIL 39 LOCAL-RECORD-P -> The symbol T ... 123 (MISC C APPLICATION-PANE) -> # 2. I have three flavors of layouts, two use the built in graph types, and one uses my own, experimental tree-with-cross-edges graph subtype. Previously they all three worked (for some definition of "worked," that does not extend to "lays out graphs in an aesthetically-pleasing way :->). Now only my own tree-with-cross-edges works; the other two seem to display nothing, although I can see a traced call to format-graph-from-roots, I find reasonable bounds (which *should* trigger the addition of scroll bars, AFAICT), and if I take a long and laborious trip down into the guts of the pane's output record, I find a CLIMI::DAG-GRAPH-OUTPUT-RECORD inside a STANDARD-SEQUENCE-OUTPUT-RECORD inside a STANDARD-UPDATING-OUTPUT-RECORD. As I said, this used to work, but alas, that was even before the addition of spatial-trees, so I'm not sure where this went south. Any suggestions about how I might figure out why this is not showing up? Actually, it might be as simple as the graph being so large that none of it actually appears in the part of the pane that is actually displayed... So perhaps the answer to this question reduces to answering question 1... From rpgoldman at real-time.com Mon Jun 26 01:37:24 2006 From: rpgoldman at real-time.com (rpgoldman at real-time.com) Date: Sun, 25 Jun 2006 20:37:24 -0500 Subject: [mcclim-devel] for bears of very little brain (pathname accepter w/ completion) Message-ID: <17567.14932.561358.601150@necronomicon.sift.info> Is there anywhere a completing read for pathnames, possibly with type defaults? I know that mgr has a nice file-selector-gadget, but I'm a little reluctant to use it, since it's still not fused with McCLIM proper (unless that's changed?). I think also that there's something inside CLIMACS, but it hasn't been freed up for more generic McCLIM use (or has it?). Thanks, R From rpgoldman at real-time.com Mon Jun 26 18:23:48 2006 From: rpgoldman at real-time.com (rpgoldman at real-time.com) Date: Mon, 26 Jun 2006 13:23:48 -0500 Subject: [mcclim-devel] follow-up about format-graph-from-roots question Message-ID: <17568.9780.538863.967157@necronomicon.sift.info> Seems like this may be more a problem with scrolling panes than with format-graph-from-roots. Previously, I incorrectly reported that I was having trouble with the built-in graph types, but not with my own. That was wrong --- it seemed to be true only because my graphs were smaller. So it now seems that the problem arises with any graph that is installed inside an application pane with :scroll-bars :both. Has anyone else seen problems with scrolling application panes, either especially with graphs in them or just in general? I am starting to suspect that my change-space-requirements fu is weak.... thanks, R