From peter.denno at nist.gov Tue Jan 3 20:33:21 2006 From: peter.denno at nist.gov (Peter Denno) Date: Tue, 3 Jan 2006 15:33:21 -0500 Subject: [cells-gtk-devel] Announcement: cells-gtk using CFFI, and CLISP is back in! Message-ID: <200601031533.21875.peter.denno@nist.gov> Hi, A few days ago, Novikov Leonid sent me [Footnote] a version of cells-gtk running under CLISP and CFFI (the new foreign function interface, http://common-lisp.net/project/cffi/ ). I merged his changes into the CVS repository, and got things running on Lispworks and CMUCL too. There is a tarball snapshot available. (See our homepage http://common-lisp.net/project/cells-gtk/ for more information). The snapshot also includes the version of CFFI used. The new code has been lightly tested by me under: - CLISP 2.36 / linux - Lispworks 4.4 Pro / linux - CMUCL 19c / linux If you try some other lisps and platforms, drop the list a note. I'll check CLISP and Lispworks under Windows, but it'll be a few weeks. FOOTNOTE: Actually he sent it to this list, but it bounced. -- - Best regards, Peter From asimon at math.bme.hu Tue Jan 3 22:20:47 2006 From: asimon at math.bme.hu (Andras Simon) Date: Tue, 3 Jan 2006 23:20:47 +0100 (CET) Subject: [cells-gtk-devel] Announcement: cells-gtk using CFFI, and CLISP is back in! In-Reply-To: <200601031533.21875.peter.denno@nist.gov> References: <200601031533.21875.peter.denno@nist.gov> Message-ID: On Tue, 3 Jan 2006, Peter Denno wrote: > Hi, > > A few days ago, Novikov Leonid sent me [Footnote] a version of cells-gtk > running under CLISP and CFFI (the new foreign function interface, > http://common-lisp.net/project/cffi/ ). I merged his changes into the CVS > repository, and got things running on Lispworks and CMUCL too. This is great news! > > There is a tarball snapshot available. (See our homepage > http://common-lisp.net/project/cells-gtk/ for more information). > > The snapshot also includes the version of CFFI used. > > The new code has been lightly tested by me under: > - CLISP 2.36 / linux > - Lispworks 4.4 Pro / linux > - CMUCL 19c / linux > > If you try some other lisps and platforms, drop the list a note. I'll check > CLISP and Lispworks under Windows, but it'll be a few weeks. You can add ACL 8.0 beta / Linux (without libcellsgtk) to the list of lightly tested platforms. Andras From asimon at math.bme.hu Tue Jan 3 23:13:24 2006 From: asimon at math.bme.hu (Andras Simon) Date: Wed, 4 Jan 2006 00:13:24 +0100 (CET) Subject: [cells-gtk-devel] Announcement: cells-gtk using CFFI, and CLISP is back in! In-Reply-To: References: <200601031533.21875.peter.denno@nist.gov> Message-ID: On Tue, 3 Jan 2006, Andras Simon wrote: >> >> The new code has been lightly tested by me under: >> - CLISP 2.36 / linux >> - Lispworks 4.4 Pro / linux >> - CMUCL 19c / linux >> >> If you try some other lisps and platforms, drop the list a note. I'll >> check >> CLISP and Lispworks under Windows, but it'll be a few weeks. > > You can add ACL 8.0 beta / Linux (without libcellsgtk) to the list of > lightly tested platforms. And SBCL 0.9.7.5 (Linux/x86) with the following trivial patch: --- root/gtk-ffi/gtk-ffi.lisp.ori 2006-01-03 21:02:10.000000000 +0100 +++ root/gtk-ffi/gtk-ffi.lisp 2006-01-03 23:38:37.000000000 +0100 @@ -17,7 +17,7 @@ |# -(defpackage :gtk-ffi (:use :lisp :ffx +(defpackage :gtk-ffi (:use :common-lisp :ffx :uffi)) (in-package :gtk-ffi) I got a lot of warnings and the following error while compiling: erred while invoking # on # restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry performing # on #. 1: [ACCEPT] Continue, treating # on # as having been successful. 2: [ABORT ] Exit debugger, returning to top level. But, by the time SBCL got here, gtk-other was already compiled, and since the retry restart didn't get me any further, I started all over again, and it works. I do get almost 3000 "undefined alien" warnings when running the demo, but it runs fine. Andras From ray.subhasis at gmail.com Tue Jan 10 10:35:52 2006 From: ray.subhasis at gmail.com (Subhasis Ray) Date: Tue, 10 Jan 2006 16:05:52 +0530 Subject: [cells-gtk-devel] new code fails to compile on clisp-2.37/win2K server Message-ID: Hi, I have been trying to load the new cells-gtk on clisp-2.37/windows 2000 server with gtk+2.8.9. It compiles fine till cells/cells.lisp. But fails while trying to compile cells/cell-types.lisp. Here is the output : ;; Compiling file C:\clisp\cells-gtk\cells\cell-types.lisp ... WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-1 in lines 114..126 : STREAMERTEST is neither declared nor bound, it will be treated as if it were declared SPECIAL. ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-1| in lines 114..126 : Not the name of a function: (VAL :ACCESSOR VAL :INITFORM (C~~~ :FROM 0 :TO (^OVAL))) WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : VAL is neither declared nor bound, it will be treated as if it were declared SPECIAL. ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-2| in lines 114..126 : Not the name of a function: (SELF STREAMERTEST) WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : OLD-VALUE is neither declared nor bound, it will be treated as if it were declared SPECIAL. WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : NEW-VALUE is neither declared nor bound, it will be treated as if it were declared SPECIAL. ;; Deleted file C:\clisp\cells-gtk\cells\cell-types.fas WARNING: COMPILE-FILE warned while performing # on #. WARNING: COMPILE-FILE failed while performing # on #. *** - erred while invoking # on # When I tried with cells checked out from the CVS, I got the following error: ;; Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ... ** - Continuable Error FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library :DEFAULT I think this is a problem with the new version of cells-gtk as I can successfully load Vasili's original clisp version and run the demo on the same system [ one modification I had to do was to comment out the #+clisp ... part in the file utils-kt/detritus.lisp ]. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktilton at nyc.rr.com Tue Jan 10 15:11:05 2006 From: ktilton at nyc.rr.com (Kenny Tilton) Date: Tue, 10 Jan 2006 10:11:05 -0500 Subject: [cells-gtk-devel] new code fails to compile on clisp-2.37/win2K server In-Reply-To: References: Message-ID: <43C3CE89.5010705@nyc.rr.com> Subhasis Ray wrote: > Hi, > I have been trying to load the new cells-gtk on clisp-2.37/windows > 2000 server with gtk+2.8.9. It compiles fine till cells/cells.lisp. > But fails while trying to compile cells/cell-types.lisp. > > Here is the output : > > ;; Compiling file C:\clisp\cells-gtk\cells\cell-types.lisp ... > WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-1 in lines 114..126 : > STREAMERTEST is neither declared nor bound, > it will be treated as if it were declared SPECIAL. FWIW, I do not show any "streamertest" in my current cells source. I can guarantee you this, the "stream" stuff in Cells is only partially implemented and not used by anything else in Cells (or any application code, I wager, since it never got finished). So just comment out as necessary. :) > ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-1| in lines 114..126 : > Not the name of a function: (VAL :ACCESSOR VAL :INITFORM (C~~~ :FROM 0 > :TO (^OVAL))) > WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : > VAL is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-2| in lines 114..126 : > Not the name of a function: (SELF STREAMERTEST) > WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : > OLD-VALUE is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) > (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 : > NEW-VALUE is neither declared nor bound, > it will be treated as if it were declared SPECIAL. > ;; Deleted file C:\clisp\cells-gtk\cells\cell-types.fas > WARNING: COMPILE-FILE warned while performing # #x19EEFAF9> on > #. > WARNING: COMPILE-FILE failed while performing # #x19EEFAF9> on > #. > *** - erred while invoking # on > # "cell-types" #x19EEDDDD> > > When I tried with cells checked out from the CVS, I got the following > error: > > ;; Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ... > ** - Continuable Error > FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library > :DEFAULT > > I think this is a problem with the new version of cells-gtk as I can > successfully load Vasili's original clisp version and run the demo on > the same system [ one modification I had to do was to comment out the > #+clisp ... part in the file utils-kt/detritus.lisp ]. That is puzzling. Does CLisp not put :clisp on *features*? If it does,... or by "#clisp part" do you mean you had to knock out the conditional "#+clisp" /and/ the following form? That would make sense, since CLisp MOP has come a long way since I wrote that code. Sounds like that can be removed, as you did. hth, kt From ray.subhasis at gmail.com Wed Jan 11 13:42:53 2006 From: ray.subhasis at gmail.com (Subhasis Ray) Date: Wed, 11 Jan 2006 19:12:53 +0530 Subject: [cells-gtk-devel] new code fails to compile on clisp-2.37/win2K server In-Reply-To: <43C3CE89.5010705@nyc.rr.com> References: <43C3CE89.5010705@nyc.rr.com> Message-ID: > That is puzzling. Does CLisp not put :clisp on *features*? If it > does,... or by "#clisp part" do you mean you had to knock out the > conditional "#+clisp" /and/ the following form? That would make sense, > since CLisp MOP has come a long way since I wrote that code. Sounds like > that can be removed, as you did. Yes, I meant I "had to knock out the conditional "#+clisp" /and/ the following form." My apologies for the confusion. > FWIW, I do not show any "streamertest" in my current cells source Now I know that it's not the source of problem. The real problem seems to be in gtk-core.lisp As I made a fresh trial on another system, it got stuck while trying to compile root\gtk-ffi\gtk-core.lisp at the same place ( i.e., the error message is : ;; Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ... ** - Continuable Error FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library :DEFAULT ) And the same message appears for other functions in that file. After several 'continue'-s, the rest compiles fine, but trying to run gtk-demo results in error. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktilton at nyc.rr.com Wed Jan 11 20:15:16 2006 From: ktilton at nyc.rr.com (Kenny Tilton) Date: Wed, 11 Jan 2006 15:15:16 -0500 Subject: [cells-gtk-devel] new code fails to compile on clisp-2.37/win2K server In-Reply-To: References: <43C3CE89.5010705@nyc.rr.com> Message-ID: <43C56754.60102@nyc.rr.com> Subhasis Ray wrote: > The real problem seems to be in gtk-core.lisp As I made a fresh trial > on another system, it got stuck while trying to compile > root\gtk-ffi\gtk-core.lisp at the same place ( i.e., the error message > is : > ;; Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ... > ** - Continuable Error > FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library > :DEFAULT > ) > > And the same message appears for other functions in that file. After > several 'continue'-s, the rest compiles fine, but trying to run > gtk-demo results in error. My recollection is fuzzy, but I do recall that, in my first effort at adapting Vasilis's original, I sometimes found FFI declarations of foreign functions that "lied" about which module the function would be found in. By "module" I mean Gtk library/DLL. So maybe make sure g_free is in the stated library. Above I see "in library :default". Hmmm. Is that the problem? Important note: AllegroCL never cared if I got the module right (on other unrelated bindings), but Lispworks failed at runtime if I erred on that. Another note: implementations vary as to whether they look for functions when they encounter the binding declaration (meaning I have to have the dll loaded before I compile!) or at runtime. I do not recall CLisp's stance on tis issue. Hope this random info helps. :) kenny From ln at bk.ru Fri Jan 13 07:01:43 2006 From: ln at bk.ru (=?koi8-r?Q?=EC=C5=CF=CE=C9=C4=20=EE=CF=D7=C9=CB=CF=D7?=) Date: Fri, 13 Jan 2006 10:01:43 +0300 Subject: [cells-gtk-devel] new code fails to compile on clisp-2.37/win2Kserver In-Reply-To: Message-ID: > Now I know that it's not the source of problem. The real problem seems to be > in gtk-core.lisp As I made a fresh trial on another system, it got stuck > while trying to compile root\gtk-ffi\gtk-core.lisp at the same place ( i.e., > the error message is : > ;; Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ... > ** - Continuable Error > FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library > :DEFAULT > ) > > And the same message appears for other functions in that file. After several > 'continue'-s, the rest compiles fine, but trying to run gtk-demo results in > error. In gtk-ffi.asd #+(or win32 mswindows)(setf *gtk-lib-path* "E:/GTK/bin/") change "E:/GTK/bin/" to your path to gtk. Hope this help. From root at common-lisp.net Wed Jan 18 16:23:14 2006 From: root at common-lisp.net (root) Date: Wed, 18 Jan 2006 10:23:14 -0600 (CST) Subject: [cells-gtk-devel] Auto-nag: cells-gtk link verifier failed Message-ID: <20060118162314.0F46D1C68D@common-lisp.net> You are being nagged on because your project's name showed up in the nightly Checkbot run. Checkbot checks for broken links etc. This probably means that you are either pointing to a broken link or that someone is pointing to a broken link on your site. Or something else, it check's a bunch of stuff. Update your webpages or you shall be nagged again next week. To find out what's wrong with your webpages, please consult: http://common-lisp.net/checkbot/checkbot-common-lisp.net.html Any questions? You can reach the author of this cronjob at admin at common-lisp.net Thanks! From philip at glyf.org Fri Jan 20 00:20:46 2006 From: philip at glyf.org (Philip) Date: Thu, 19 Jan 2006 19:20:46 -0500 Subject: [cells-gtk-devel] cells-gtk CVS ffx.lisp is missing Message-ID: Hello, root/gtk-ffi/ffx.lisp file is missing from the CVS repository. I can't get it from the snapshots either, because the links are broken. Could someone, please, upload the file (or a snapshot of their checkout) and then drop a link. Thank you. From peter.denno at nist.gov Fri Jan 20 14:47:23 2006 From: peter.denno at nist.gov (Peter Denno) Date: Fri, 20 Jan 2006 09:47:23 -0500 Subject: [cells-gtk-devel] cells-gtk CVS ffx.lisp is missing In-Reply-To: References: Message-ID: <200601200947.23885.peter.denno@nist.gov> On Thursday 19 January 2006 19:20, Philip wrote: > Hello, > > root/gtk-ffi/ffx.lisp file is missing from the CVS repository. I can't > get it from the snapshots either, because the links are broken. > > Could someone, please, upload the file (or a snapshot of their > checkout) and then drop a link. Done. (I updated the CVS). As of Jan 14 common-lisp.net is using a new server and they did not restore the ftp properly. So right now the links to the snapshots and cellsgtk.so files are missing. I have written them a note, and I'll be checking back later today to see whether any progress is made. > > Thank you. -- - Best regards, Peter