Re: [Ecls-list] [maintainership]

2015-02-18 Thread Matthew Mondor
Sorry for not having been active, including on this list. On Sun, 15 Feb 2015 21:55:20 +0100 Daniel Kochmański jackdan...@hellsgate.pl wrote: most of you have probably noticed, that ECL is unmaintained for quite a while. Some spontaneous attempts are made, like submitting a patch, or

[Ecls-list] NUL-termination bug in SOCKET-BIND and SOCKET-CONNECT

2014-10-14 Thread Matthew Mondor
Fixed a NUL-termination bug in SOCKET-BIND and SOCKET-CONNECT. by Arto Bendiken http://sourceforge.net/p/ecls/ecl/ci/fa48714dd86d4bf2c3c1f0210cca3e7875771e92/

Re: [Ecls-list] Link .o or .so to a running ECL program

2014-10-01 Thread Matthew Mondor
On Wed, 01 Oct 2014 12:00:54 -0300 José Roberto B. de A. Monteiro jord...@gmail.com wrote: I am wondering if it is possible to link a pure C compiled file, in .o or .so (or .dll) formats, into a running Lisp process and how I can do that. The case is a am running ECL via Emacs+Slime and it

Re: [Ecls-list] Patch queue housecleaning

2014-09-22 Thread Matthew Mondor
On Mon, 22 Sep 2014 15:08:09 +0200 Arto Bendiken a...@bendiken.net wrote: On Mon, Sep 22, 2014 at 7:42 AM, Philipp Marek phil...@marek.priv.at wrote: I added you to the project; thank you very much for any time and help that you can offer! Thanks, Phil. I've accordingly taken care of

Re: [Ecls-list] How to manually invoke garbage collector?

2014-07-12 Thread Matthew Mondor
On Sat, 12 Jul 2014 14:11:31 +0200 Michal smieciar...@gmail.com wrote: Hello, In Guile we can manually trigger garbage collector using (gc) or scm_gc() from Scheme or C code respectively. Is there such possibility in ECL? (describe 'gc) Although if I remember, it's not uncommon

Re: [Ecls-list] Segfault in windows using cl-async

2014-06-20 Thread Matthew Mondor
On Fri, 20 Jun 2014 11:19:00 -0700 Andrew Lyon orthecreede...@gmail.com wrote: Hello all. I'm the author of cl-async ( https://github.com/orthecreedence/cl-async) and I'm getting segfaults when using it in Windows with ECL (Windows 7 x64, ECL git (52bbd351500), libffi 3.0.11, libevent 2.0.21,

Re: [Ecls-list] How to Link SB-BSD-SOCKETS into Stand-Alone Program

2014-06-16 Thread Matthew Mondor
On Mon, 16 Jun 2014 23:43:15 -0400 Jimmy Lu gongchuo...@gmail.com wrote: I sequestered SB-BSD-SOCKETS and it still did not work. It seems more of an ECL problem, failing to recognize SB-BSD-SOCKETS as a dependency and link it into the standalone program, or there is something I am missing to

Re: [Ecls-list] Automatic string conversion - wanted or needed?

2014-05-01 Thread Matthew Mondor
I expect other fallout than bugs 289 and 290 is possible. I suggest to also check the code for the various grep matches: c/array.d:141: case t_base_string: c/array.d:284: case t_base_string: c/array.d:876: case t_base_string: c/array.d:903: case t_base_string: c/array.d:1053: case

Re: [Ecls-list] Automatic string conversion - wanted or needed?

2014-05-01 Thread Matthew Mondor
On Thu, 01 May 2014 11:44:00 +0200 Pascal J. Bourguignon p...@informatimago.com wrote: clisp distinguishes the following encodings: CUSTOM:*DEFAULT-FILE-ENCODING* for :external-format :default CUSTOM:*FOREIGN-ENCODING*for FFI CUSTOM:*MISC-ENCODING* for the rest

Re: [Ecls-list] ECL stability tips

2013-12-01 Thread Matthew Mondor
On Sat, 30 Nov 2013 11:04:58 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: Correction: surrounded by other syscalls related to interrupt control). Despite this I decided to initially stress test the application, and it had a decent uptime, until the same issue happened again. I

[Ecls-list] ECL stability tips

2013-11-30 Thread Matthew Mondor
As I'm working on a new project written in Lisp for ECL, I have encountered some stability issues, but it seems that it's now getting much more stable after having investigated the issues and consequently doing some tests. Ideally this should probably eventually be documented better and

[Ecls-list] Nowait semaphore/mailbox diff review

2013-11-04 Thread Matthew Mondor
has to be carefully reviewed. Thanks, -- Matt commit f2ee44eeeba84bcdb7af8100c6c4a3570f2665ff Author: Matthew Mondor mmon...@pulsar-zone.net Date: Mon Nov 4 23:33:50 2013 -0500 Implement a few non-blocking MP functions: MP:TRY-GET-SEMAPHORE returns NIL if the semaphore could

Re: [Ecls-list] Nowait semaphore/mailbox diff review

2013-11-04 Thread Matthew Mondor
On Tue, 5 Nov 2013 00:26:49 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: (the format-diff generated variant) -- Matt From f2ee44eeeba84bcdb7af8100c6c4a3570f2665ff Mon Sep 17 00:00:00 2001 From: Matthew Mondor mmon...@pulsar-zone.net Date: Mon, 4 Nov 2013 23:33:50 -0500 Subject: [PATCH

Re: [Ecls-list] A few compiled results questions

2013-10-30 Thread Matthew Mondor
On Tue, 29 Oct 2013 22:59:50 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: [...] Internally, ECL converts this into (LET* ((X (FOO)) (A X)) (DECLARE (FIXNUM A)) ...) Now, since A is read only, it is replaced by the value X, which was not declared to be a FIXNUM. One

Re: [Ecls-list] Flaw in subtypep ? / catching stack-overflow ? / memory-limits experience ?

2013-10-28 Thread Matthew Mondor
On Mon, 28 Oct 2013 19:38:46 +0100 Eckhard Wiederhold e...@ecky.fr wrote: - (subtypep 'si:property-list 'condition) and (subtypep 'si::proper-list 'condition) raise Stack overflow. serious-condition Question: Is this some issue I need to report here:

[Ecls-list] A few compiled results questions

2013-10-28 Thread Matthew Mondor
Hello again, I have two compiter-related questions. These are not bug reports and if they point at aspects where optimizations could be safely enhanced, it is low priority, as the generated code is not buggy. It's all for the better if I can learn more about how the compiler deals with these.

Re: [Ecls-list] mapping invalid octet sequence to unicode private areas or others.

2013-10-25 Thread Matthew Mondor
On Mon, 21 Oct 2013 15:46:48 +0200 Pascal J. Bourguignon p...@informatimago.com wrote: Matthew Mondor mm_li...@pulsar-zone.net writes: If you also mean that CLisp can also optionally do such conversions transparently on request (or that its interface allows user code to do this more

Re: [Ecls-list] git HEAD doesn't build

2013-10-25 Thread Matthew Mondor
On Mon, 21 Oct 2013 10:42:55 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Mon, 21 Oct 2013 16:29:38 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Mon, Oct 21, 2013 at 4:26 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: Perhaps also causing

[Ecls-list] mp.lsp with-lock diff review

2013-10-23 Thread Matthew Mondor
Please review this diff, which basically makes two changes: - Refer to the mp:*current-process* symbol once rather than twice to avoid redundant resolution - Since the lock object's count slot is considered a fixnum by the internal code, also declare it as fixnum to avoid calling a

Re: [Ecls-list] Project status and changes (directions? help?)

2013-10-21 Thread Matthew Mondor
On Mon, 21 Oct 2013 12:24:50 +0200 Pascal J. Bourguignon p...@informatimago.com wrote: When reading utf-8 or other unicode streams, invalid byte sequences can signal errors, be substituted by a given character, or be encoded into application reseved code points to be able to transparently

Re: [Ecls-list] git HEAD doesn't build

2013-10-21 Thread Matthew Mondor
On Mon, 21 Oct 2013 16:11:50 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: This one is old and no longer updated. We moved to SF's standard git repos some time ago. https://sourceforge.net/p/ecls/ecl/ci/master/tree/ Perhaps also causing confusion is that at

Re: [Ecls-list] git HEAD doesn't build

2013-10-21 Thread Matthew Mondor
On Mon, 21 Oct 2013 16:29:38 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Mon, Oct 21, 2013 at 4:26 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: Perhaps also causing confusion is that at http://sourceforge.net/projects/ecls/?source=directory 12.7.1

Re: [Ecls-list] Project status and changes (directions? help?)

2013-10-20 Thread Matthew Mondor
On Mon, 7 Oct 2013 10:54:01 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: * *I am resigning and opening the position of ECL maintainer for anyone to take*. I will grant him or her with full administrative rights and full responsibility over the project's future. No need

Re: [Ecls-list] Project status and changes (please read)

2013-10-18 Thread Matthew Mondor
On Fri, 18 Oct 2013 21:04:10 +0100 Dima Pasechnik dimpase+...@gmail.com wrote: I don't know what makes one think that LGPLv3 has issues with web applications. This applies to AGPL, but not to LGPL, as far as I know. You are right about the AGPL, however, the LGPL3 license inherits from the

Re: [Ecls-list] Project status and changes (please read)

2013-10-10 Thread Matthew Mondor
On Mon, 7 Oct 2013 10:54:01 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: * The consequence is that the time I can devote to ECL has serious ups and downs. In an environment of rapidly developing tools and libraries, this is quite unfortunate, as the project may lag

Re: [Ecls-list] Project status and changes (please read)

2013-10-10 Thread Matthew Mondor
On Thu, 10 Oct 2013 17:51:14 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Mon, 7 Oct 2013 10:54:01 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: * I am not going to change ECL's license. LGPL3's restrictions on web applications seem stupid to me

Re: [Ecls-list] UFFI returning double is broken?

2013-10-04 Thread Matthew Mondor
On Fri, 4 Oct 2013 13:06:37 + (UTC) anri p. anr...@mail.com wrote: I've recently encountered a situation, when calling compiled C function like: double fn( double a); from ECL causes to return garbage. It seem that it is ether an UFFI bug or misconfiguration in the build

Re: [Ecls-list] How to wrap C++ classes using ECLs foreign function interface?

2013-07-17 Thread Matthew Mondor
On Wed, 17 Jul 2013 21:43:00 +0900 Dietrich Bollmann dietr...@formgames.org wrote: - Functions might be faster than methods Something like this?: === definitions === (defun make-cube (key (size 1.0)) (ffi:c-inline (size) (:double) :pointer-void new Cube(#0) :one-liner t)) (defun

Re: [Ecls-list] How to wrap and return constant pointers with c-inline?

2013-07-07 Thread Matthew Mondor
On Sun, 7 Jul 2013 17:27:38 +0200 Peter Enerccio enerc...@gmail.com wrote: Constness of a pointer, in c and c++ means absolutely nothing. It is just a way for programmer to self policy, same as private/public in c++/java, they are only for compilers to throw errors and programmers to avoid

Re: [Ecls-list] ECL as an embedded language on an Android game

2013-07-07 Thread Matthew Mondor
On Sat, 06 Jul 2013 11:35:35 +0200 Pascal J. Bourguignon p...@informatimago.com wrote: Unless I'm mistaken (disclaimer: I'm no lawyer), dynamic linking is fine, as it allows to fulfill the requirement that the user be able to upgrade the LGPL dependencies, while static linking might be

Re: [Ecls-list] How to wrap and return constant pointers with c-inline?

2013-07-07 Thread Matthew Mondor
On Sun, 7 Jul 2013 18:17:28 +0200 Peter Enerccio enerc...@gmail.com wrote: Sure. memory can be read only, but that has more to do with OS, CPU registers and segmentation, really. And it only applies to cstrings and constant numbers, really. You cant mark class/struct in ro memory, because

Re: [Ecls-list] Upcoming

2013-07-03 Thread Matthew Mondor
On Tue, 2 Jul 2013 12:16:07 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: * Declaration of C variables (let ((a (cos 1.0)) (declare (:double a)) ...) * Direct references to C variables (ffi:c-inline (a b) (:double :double) :void #0 = cos(#1)) * Embed

Re: [Ecls-list] [Robert Goldman] Re: [asdf-devel] Cannot use latest git ECL (asdf/quicklisp are involved)

2013-06-24 Thread Matthew Mondor
On Mon, 24 Jun 2013 16:19:45 +0200 Didier Verna did...@lrde.epita.fr wrote: Matthew Mondor mm_li...@pulsar-zone.net wrote: Condition of type: SIMPLE-FILE-ERROR I don't get that: ECL (Embeddable Common-Lisp) 12.7.1 The versions I have are 12.12.1 and 13.5.1, it probably has been fixed

Re: [Ecls-list] [Robert Goldman] Re: [asdf-devel] Cannot use latest git ECL (asdf/quicklisp are involved)

2013-06-24 Thread Matthew Mondor
On Mon, 24 Jun 2013 10:29:46 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: presented as SIMPLE-FILE-ERROR in these new implementations which s/implementations/versions/ /me blames la fete nationale :) -- Matt

Re: [Ecls-list] ECL doesn't support weak key hash-tables?

2013-06-16 Thread Matthew Mondor
On Sun, 16 Jun 2013 12:24:23 +0300 timo.my...@wickedbsd.net (Timo Myyrä) wrote: Hi, When trying to load cl+ssl via quicklisp it raises error that ECL doesn't support weak key hash tables. Problem seems to be raised in trivial-garbage. Here's quick way to replicate this: (ql:quickload

Re: [Ecls-list] How to add an object file to the compile command line generated by 'asdf:make-build'?

2013-06-12 Thread Matthew Mondor
On Thu, 13 Jun 2013 10:32:39 +0900 Dietrich Bollmann dietr...@formgames.org wrote: In my ECL FFI code I rely on the C++ class 'Cube' implemented in 'Cube.h' and 'Cube.cpp'. [...] Is there a better way - for example a keyword parameter for 'asdf:make-build' etc. - which allows to add object

Re: [Ecls-list] Temporarily disabling the GC

2013-06-11 Thread Matthew Mondor
On Mon, 10 Jun 2013 07:02:41 -0700 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Mon, Jun 10, 2013 at 4:39 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I believe that boehm-gc permits to temporarily disable the GC for critical sections? By a quick look

[Ecls-list] Temporarily disabling the GC

2013-06-10 Thread Matthew Mondor
Hello, I believe that boehm-gc permits to temporarily disable the GC for critical sections? By a quick look, it seems that ECL does not export such facility right now, but would it be nonsense to eventually allow this for use by rare but specific code sections which should ideally execute as

Re: [Ecls-list] [ANN] ECL 13.5.1

2013-05-28 Thread Matthew Mondor
On Tue, 28 May 2013 22:19:54 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: See file src/CHANGELOG or browse it online http://ecls.cvs.sourceforge.net/viewvc/ecls/ecl/src/CHANGELOG?view=markup Thanks for the release. I confirm that post-release ECL git HEAD works fine

Re: [Ecls-list] Filenames encoding

2013-05-23 Thread Matthew Mondor
On Thu, 23 May 2013 08:01:51 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: Unfortunately, path/file names encoding are OS-specific, file-system specific and may be locale specific... [...] I found the reference I was looking for only after posting the previous message; also see: http

Re: [Ecls-list] Function type proclaimations not working?

2013-05-16 Thread Matthew Mondor
On Thu, 16 May 2013 15:09:59 -0700 Jason Sewall jasonsew...@gmail.com wrote: P.S. Here's the C file (or the first part of it, anyway) if I add the optimize directive to the above: Would it be possible to indicate what you expect different below? /*Compiler: ECL 13.4.1

Re: [Ecls-list] ECL and UIs

2013-04-30 Thread Matthew Mondor
On Tue, 30 Apr 2013 11:42:12 -0700 Jason Sewall jasonsew...@gmail.com wrote: I have a C library I have been working on and I'd like to use (Common) Lisp to write a UI to go on top of it. I first seized upon ECL for the Lisp, since I could easily make an interface to the library, and I had a

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-26 Thread Matthew Mondor
On Tue, 16 Apr 2013 09:18:21 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Sat, 13 Apr 2013 22:22:21 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: If that's not already possible, do you think that it would be a good idea to also configure the temporary path via a variable

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-16 Thread Matthew Mondor
On Sat, 13 Apr 2013 22:22:21 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: If that's not already possible, do you think that it would be a good idea to also configure the temporary path via a variable, such that it can be set in ~/.eclrc ? Shortly after posting this, I realized

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-13 Thread Matthew Mondor
On Sat, 13 Apr 2013 12:03:47 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Sat, 13 Apr 2013 00:16:19 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: I have change this, though, and #+unix is now reported for all what is now considered unix. The build now

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-13 Thread Matthew Mondor
On Sat, 13 Apr 2013 20:06:45 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Sat, Apr 13, 2013 at 7:44 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: ;;; Loading #P/usr/local/ecl/lib/ecl-13.4.1/profile.fas ;; ;; Error while loading /home/mmondor/.slime/fasl

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-13 Thread Matthew Mondor
On Sat, 13 Apr 2013 20:06:45 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Sat, Apr 13, 2013 at 7:44 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: ;;; Loading #P/usr/local/ecl/lib/ecl-13.4.1/profile.fas ;; ;; Error while loading /home/mmondor/.slime/fasl

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-12 Thread Matthew Mondor
On Sat, 13 Apr 2013 00:16:19 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: There is a bit of confusion here. ECL simply exports several C macros as features. :unix is exported because the compiler reports unix, not because it detects a unix-compatible system. Actually

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-02 Thread Matthew Mondor
On Tue, 2 Apr 2013 23:17:10 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Tue, Apr 2, 2013 at 9:35 PM, Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: If you have a critical bug (two about FORMAT have been reported, but I may as well leave them

Re: [Ecls-list] RC 14.4.1 almost ready

2013-04-02 Thread Matthew Mondor
On Tue, 2 Apr 2013 19:29:50 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Tue, 2 Apr 2013 17:46:43 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: I cannot have a deeper look immediately, but should try to investigate it soon... If I understand, ASDF expects *FEATURE

Re: [Ecls-list] CPU count

2013-03-22 Thread Matthew Mondor
On Fri, 22 Mar 2013 11:46:16 +0530 Vijay Mathew vijay.the.lis...@gmail.com wrote: Is there a function in ECL to find the number of processors? Not that I know, although it's often a good idea to provide a configuration knob such that the user of the software can decide how many threads to use.

Re: [Ecls-list] CPU count

2013-03-22 Thread Matthew Mondor
On Fri, 22 Mar 2013 12:52:19 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Fri, 22 Mar 2013 11:46:16 +0530 Vijay Mathew vijay.the.lis...@gmail.com wrote: Is there a function in ECL to find the number of processors? Not that I know, although it's often a good idea to provide

Re: [Ecls-list] CPU count

2013-03-22 Thread Matthew Mondor
On Fri, 22 Mar 2013 13:03:51 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: I forgot to mention it, but another complexity is that thread to CPU affinity configuration is also OS-specific. Several systems appear to support pthread_setaffinity_np(3) but it's an unofficial extension

Re: [Ecls-list] compile package dependencies to C

2013-03-07 Thread Matthew Mondor
On Thu, 7 Mar 2013 13:26:22 -0500 Sam Sam gamgee...@hotmail.com wrote: Now, about the name mangling - is there any way to control it? For example, i had a (defun main ... which got renamed to L1main(). Not so bad yet, but the top-level LISP code gets wrapped in a function with a

Re: [Ecls-list] compile package dependencies to C

2013-03-01 Thread Matthew Mondor
On Fri, 1 Mar 2013 14:30:41 -0500 Sam Sam gamgee...@hotmail.com wrote: Currently, i use (asdf:make-build :example but that doesnt leave any C files around. example.asd: (defsystem :example :depends-on (:cl-opengl :cl-glu :cl-glut) :serial t :components ((:file simple))) I've

Re: [Ecls-list] Any way to get stack out of condition?

2013-02-02 Thread Matthew Mondor
On Sun, 3 Feb 2013 02:32:42 +0100 Peter Enerccio enerc...@gmail.com wrote: I actually got it working, so it was most likely problem on my side. Thanks! You're welcome, and I'm glad that it works, -- Matt -- Everyone

Re: [Ecls-list] Low-level FFI -- dereferencing a C string

2013-02-01 Thread Matthew Mondor
On Fri, 01 Feb 2013 09:34:48 -0700 Alfred Steffens Jr apste...@netwood.net wrote: I have an ECL interpreter embedded in a C application, linked with -lecl. I have a global string char name[32]; strcpy(name, hello); The C function GetName returns the address of name[], int GetName()

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-31 Thread Matthew Mondor
On Thu, 31 Jan 2013 07:58:17 +0100 Peter Enerccio enerc...@gmail.com wrote: Even if I put declaim in the file, it is still compiled with DEBUG 0 ;;; Compiling /media/home/home/enerccio/ projects/gaia/gaia/src/postinit.lisp. ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 If

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-31 Thread Matthew Mondor
On Thu, 31 Jan 2013 17:03:44 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: Hmm that's not impossible, especially if it's a recent migration or concerns mostly the bytecode interpreter (which I have less experience with except for the REPL). s/migration/regression/ of course :) -- Matt

Re: [Ecls-list] Overwriting cl functions

2013-01-29 Thread Matthew Mondor
On Tue, 29 Jan 2013 15:07:19 +0100 Peter Enerccio enerc...@gmail.com wrote: Hello, I wanted to ask if it is possible to overwrite functions in common-lisp package. I know I can do it in c level, but I would rather do it in lisp level, if it is possible. The part that allows to unlock/lock

Re: [Ecls-list] Special variables and threads

2013-01-18 Thread Matthew Mondor
On Fri, 18 Jan 2013 20:58:41 +0100 Peter Enerccio enerc...@gmail.com wrote: Hello, I have a question. Are special variables safe for multithreading? Ie, if one thread sets them, others will not be changed? Because of their dynamic nature, if they are bound by a thread, they can safely be used

Re: [Ecls-list] Special variables and threads

2013-01-18 Thread Matthew Mondor
On Fri, 18 Jan 2013 22:40:49 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Jan 18, 2013 at 9:50 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: If you however want to create them from a thread using defparameter/defvar, I'd have to check but my guess

Re: [Ecls-list] Better handling of printing errors

2013-01-18 Thread Matthew Mondor
On Sat, 19 Jan 2013 02:09:58 +0100 Peter Enerccio enerc...@gmail.com wrote: Right now, I there is a problem with lisp, the resulting condition is not very helpful, unless I go into backtrace. In some environments, however, I can't do such a thing, so I am left with (if printed readably):

Re: [Ecls-list] Apologies for spam

2013-01-06 Thread Matthew Mondor
On Sun, 6 Jan 2013 10:26:10 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: It seems that my email account was compromised from USA, using SMTP access to gmail (is this possible at al?) to send email to all my contacts and lists. That's possible without SSL via SMTP if it

Re: [Ecls-list] Performance plots are now zoomable

2012-12-15 Thread Matthew Mondor
On Sat, 15 Dec 2012 11:17:06 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: Sorry, wrong address: *http://ecls.sourceforge.net/pictures/index_json.html* Very nice, and cute. Is there still the intention to keep the normal index though? Personally it's easier for me to

Re: [Ecls-list] Performance plots are now zoomable

2012-12-15 Thread Matthew Mondor
On Sat, 15 Dec 2012 10:35:22 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: Perhaps another suggestion idea would be a link to the json table with the numbers, in case someone wants to run custom scripts on the results? I thought that the results were in a single json file with a label

Re: [Ecls-list] Defconstant impossible with ffi?

2012-12-13 Thread Matthew Mondor
On Thu, 13 Dec 2012 16:17:28 +0100 Peter Enerccio enerc...@gmail.com wrote: Hello, I am trying to compile file containing only this: (DEFCONSTANT +SDL_HWSURFACE+ (FFI:C-INLINE () () :INT SDL_HWSURFACE :ONE-LINER T :SIDE-EFFECTS NIL)) Any more success embedding these within a LET so

Re: [Ecls-list] Automatic memory reclamation

2012-12-13 Thread Matthew Mondor
On Thu, 13 Dec 2012 19:50:01 +0100 Peter Enerccio enerc...@gmail.com wrote: Is it possible for automatic memory reclamation when object is no longer needed (ie it's parent foreign type has been disposed in the ecl memory)? Or the same equivalent for defclass made class instance. The

Re: [Ecls-list] [ANN] ECL 12.12.1 released

2012-12-08 Thread Matthew Mondor
On Sat, 8 Dec 2012 11:17:26 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Sat, Dec 8, 2012 at 1:12 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I however noticed when adapting the pkgsrc package that the project page seems to lack a 12.12.1 source tarball

Re: [Ecls-list] [ANN] ECL 12.12.1 released

2012-12-07 Thread Matthew Mondor
Thanks for the release. I however noticed when adapting the pkgsrc package that the project page seems to lack a 12.12.1 source tarball (with 12.7.1 available there). Thanks, -- Matt -- LogMeIn Rescue: Anywhere,

Re: [Ecls-list] [ANN] ECL 12.12.1 released

2012-12-07 Thread Matthew Mondor
On Fri, 7 Dec 2012 19:12:27 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: Thanks for the release. I however noticed when adapting the pkgsrc package that the project page seems to lack a 12.12.1 source tarball (with 12.7.1 available there). I checked again and the issue seemed

Re: [Ecls-list] Release candidate

2012-12-06 Thread Matthew Mondor
On Thu, 6 Dec 2012 11:00:36 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: There are open issues, such as the naming of libraries in Windows, but the current build is sufficiently in shape to consider making a new release. Please report otherwise. I have updated boehm-gc

Re: [Ecls-list] Large set of changes (~29 commits)

2012-12-01 Thread Matthew Mondor
On Sun, 2 Dec 2012 01:09:15 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: Last week I got a bit mad trying to read out the C code generated by ECL and so I decided to clean it up a bit. The result is a rather large set of patches which are being uploaded as I write.

Re: [Ecls-list] Large set of changes (~29 commits)

2012-12-01 Thread Matthew Mondor
On Sat, 1 Dec 2012 22:22:53 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: I'll first have to test a more recent gmp though, which is necessary for ECL HEAD. Err, boehm-gc. -- Matt -- Keep yourself connected

Re: [Ecls-list] Resitricted mode - possible?

2012-11-14 Thread Matthew Mondor
On Wed, 14 Nov 2012 20:27:13 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Wed, Nov 14, 2012 at 2:42 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I forgot to write about another alternative using bytecode though... if all code compiles to bytecode only

Re: [Ecls-list] Resitricted mode - possible?

2012-11-13 Thread Matthew Mondor
On Tue, 13 Nov 2012 12:38:11 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: Dear Peter, I would appreciate if, instead of directing the questions to my private email, you would send them to the mailing list for future use of other people. This is not a private

Re: [Ecls-list] Building native EXE on Windows is too hard!

2012-11-08 Thread Matthew Mondor
On Thu, 8 Nov 2012 10:04:47 +0200 Ralph Möritz ralph.moer...@outlook.com wrote: Re. #2, I don't really mind what ECL does with large constant strings behind the scenes, the point is that ECL *knows* which compiler it's using so it *could* do whatever is necessary such as setting

Re: [Ecls-list] Building native EXE on Windows is too hard!

2012-11-08 Thread Matthew Mondor
On Thu, 8 Nov 2012 04:45:22 -0500 Matthew Mondor mm_li...@pulsar-zone.net wrote: For the library paths, on ELF systems RPATH can be used (such that the runtime linker knows where to look for libraries without extra configuration) and ECL is supposed to automatically link objects

Re: [Ecls-list] Building native EXE on Windows is too hard!

2012-11-07 Thread Matthew Mondor
On Wed, 7 Nov 2012 15:16:57 +0200 Ralph Möritz ralph.moer...@outlook.com wrote: 2. Why do we manually have to set C::*COMPILE-IN-CONSTANTS* to T? Some compilers have difficulty with large C constant strings, such that ECL had to append the data to the fasl files instead, but I thought that this

Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127

2012-10-30 Thread Matthew Mondor
On Tue, 30 Oct 2012 11:50:17 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: The original code works for me just fine (defimplementation arglist (name) (multiple-value-bind (arglist foundp) (ext:function-lambda-list name) (if foundp arglist

[Ecls-list] print_lock(), mutexes

2012-10-29 Thread Matthew Mondor
Hello, I'm about to drop the following local patch as it didn't help me much so far to help diagnose an occasional lock that ECL occasionally experience under high load (where all threads end up parked or yielding, so possibly some deadlock situation). I thought I'd post it here in case you

[Ecls-list] Too few arguments for proclaimed function MAP-INTO

2012-10-24 Thread Matthew Mondor
I've seen the compiler warn about the following usage of MAP-INTO: (map-into (make-list 4) #'gensym) ;;; ! Too few arguments for proclaimed function MAP-INTO And then noticed that the PROCLAMATION indeed has an extra SEQUENCE: (proclamation map-into (sequence function-designator sequence

Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127

2012-10-23 Thread Matthew Mondor
On Sun, 21 Oct 2012 12:20:33 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Sat, 20 Oct 2012 22:19:46 +0400 Stas Boukarev stass...@gmail.com wrote: The problem is that sys:function-lambda-list doesn't like macros or special operators anymore. Clearly, the name suggests

[Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127

2012-10-15 Thread Matthew Mondor
Hello, Anyone also experience the above error, along with a delay, and if typing during that delay, lost characters? Most notably when typing inside a WITH-OPEN-FILE macro, but I know it also happened in a few other cases, although I forgot where. This is using a fairly recent SLIME and quite

Re: [Ecls-list] Package locks and symbol-package

2012-10-10 Thread Matthew Mondor
On Tue, 09 Oct 2012 21:17:22 -0400 Zach Beane x...@xach.com wrote: The default package use list if :use is not provided is implementation-defined. SBCL is unique (I think) in using the empty list. Historically other Lisps had at least the CL package and possibly others in the default list.

[Ecls-list] Package locks and symbol-package

2012-10-09 Thread Matthew Mondor
Hello, Is the following behaviour intentional? I realize that it must be implementation-dependent, although I noticed these differences between ECL and SBCL. ECL: (make-package :foo) - #FOO package (defparameter foo::gentemp 10) - GENTEMP (symbol-package 'foo::gentemp) - #COMMON-LISP package

Re: [Ecls-list] Package locks and symbol-package

2012-10-09 Thread Matthew Mondor
On Tue, 9 Oct 2012 19:55:52 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: ECL: (make-package :foo) - #FOO package (defparameter foo::gentemp 10) - GENTEMP (symbol-package 'foo::gentemp) - #COMMON-LISP package Also: SBCL: * (make-package :foo) #PACKAGE FOO * (in-package :foo

Re: [Ecls-list] Package locks and symbol-package

2012-10-09 Thread Matthew Mondor
On Tue, 9 Oct 2012 21:12:58 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: So if I understand, a virgin package automatically uses CL? use---a list of package designators. The default is implementation-defined. Well, sorry for the noise, using (make-package :foo :use nil) works fine

[Ecls-list] ECL_FOREIGN_DATA_P(), ecl_foreign_data_pointer_safe(), etc

2012-10-02 Thread Matthew Mondor
Hello again, When reviving my old ecl-unix code, I wanted to isolate the various FFI hacks I put in it to another file and actually ended mostly reimplementing them. This also made me look at the C and assembly results when for instance looking at what C structure accessors looked like. I

Re: [Ecls-list] EPIPE and C errors

2012-10-02 Thread Matthew Mondor
On Mon, 1 Oct 2012 23:23:54 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Sep 21, 2012 at 12:11 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I noticed that functions such as WRITE-SEQUENCE will signal a condition of type SIMPLE-ERROR if EPIPE

Re: [Ecls-list] ECL_FOREIGN_DATA_P(), ecl_foreign_data_pointer_safe(), etc

2012-10-02 Thread Matthew Mondor
On Tue, 2 Oct 2012 15:40:01 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Tue, Oct 2, 2012 at 1:14 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I also noticed that my DECLAIM to inline the accessor functions do not appear to work, so there also always

Re: [Ecls-list] EPIPE and C errors

2012-10-02 Thread Matthew Mondor
On Mon, 1 Oct 2012 23:23:54 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Sep 21, 2012 at 12:11 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I noticed that functions such as WRITE-SEQUENCE will signal a condition of type SIMPLE-ERROR if EPIPE

Re: [Ecls-list] EPIPE and C errors

2012-10-02 Thread Matthew Mondor
On Tue, 2 Oct 2012 23:32:57 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Tue, Oct 2, 2012 at 11:24 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: The httpd currently matches it fine using (or end-of-file si::simple-stream-error) Use STREAM-ERROR instead

Re: [Ecls-list] EPIPE and C errors

2012-09-24 Thread Matthew Mondor
On Mon, 24 Sep 2012 22:23:31 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: I would say no ERRNO is needed, provided we have the appropriate error hierarchy. Right now ECL does not return ERRNO in any of the errors generated by the C library. To be fair, the errno would

Re: [Ecls-list] EPIPE and C errors

2012-09-24 Thread Matthew Mondor
On Mon, 24 Sep 2012 22:26:27 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Sep 21, 2012 at 12:11 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I noticed that functions such as WRITE-SEQUENCE will signal a condition of type SIMPLE-ERROR if EPIPE

Re: [Ecls-list] EPIPE and C errors

2012-09-24 Thread Matthew Mondor
On Mon, 24 Sep 2012 22:26:27 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: I just checked: it cannot be WRITE-SEQUENCE that signals the error, but the file operations. This definitely could be fixed. Do you have a simple reproducible example so that I can trace the chain

Re: [Ecls-list] EPIPE and C errors

2012-09-24 Thread Matthew Mondor
On Mon, 24 Sep 2012 22:26:27 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Sep 21, 2012 at 12:11 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: I noticed that functions such as WRITE-SEQUENCE will signal a condition of type SIMPLE-ERROR if EPIPE

Re: [Ecls-list] ECL and profiling

2012-09-21 Thread Matthew Mondor
On Fri, 21 Sep 2012 09:51:57 +0200 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: On Fri, Sep 21, 2012 at 12:14 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: So would a C profiler currently be my best resort? Right now I would say it is. Do not be scared: function

[Ecls-list] EPIPE and C errors

2012-09-20 Thread Matthew Mondor
Hello, I noticed that functions such as WRITE-SEQUENCE will signal a condition of type SIMPLE-ERROR if EPIPE is returned when writing. This is admitedly in non-standard territory, as only TYPE-ERROR is specified for WRITE-SEQUENCE. I could wrap these calls closely inside a

Re: [Ecls-list] ECL and profiling

2012-09-20 Thread Matthew Mondor
On Sat, 15 Sep 2012 13:36:22 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: I have resumed a bit work on my httpd (now named Crow), and since yesterday it also hosts my personal site. The server's hardware is modest compared to my development system (although Crow runs fine

  1   2   3   >