Re: [Ecls-list] Release status

2012-06-24 Thread Alessandro Serra
Hi,
there is a typing error in legacy.h: FINXUMP.

#define FIXNUMP(o)  ECL_FINXUMP(o)

A question. There is any function to create a string object from a
wchar_t array?
May be something similar at make_simple_base_string for char arrays?
Thanks,

Alessandro

On Fri, Jun 22, 2012 at 12:39 PM, Matthew Mondor
mm_li...@pulsar-zone.net wrote:
 On Fri, 22 Jun 2012 12:28:10 +0200
 Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com wrote:

 On Fri, Jun 22, 2012 at 12:21 PM, Matthew Mondor
 mm_li...@pulsar-zone.netwrote:

  I think that the ANSI symbol to C function indexes are very nice.  I
  did not understand the sorting order (perhaps there simply is none
  though).


 It just copy-pastes the order in the ANSI specification. That is why I also
 added some code to create a sorted index, which unfortunately is at the
 bottom of the manual and many people will probably miss
 http://ecls.sourceforge.net/new-manual/ix01.html

 I indeed found the index at the bottom afterwards :)

 Perhaps that alphabetic order in the subpages would also be nice to
 more easily locate a symbol with the eyes, but most pages are not too
 small, and I can simply ctrl-F and type a keyword to find a symbol in
 the page if needed...  So not a major issue.
 --
 Matt

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Ecls-list mailing list
 Ecls-list@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ecls-list



-- 
The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words.
                   How To Build A Universe That Doesn't Fall Apart Two
Days Later
                   Philip K. Dick

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] bug give up lock

2012-02-21 Thread Alessandro Serra
Hi,
Compiling eclI have obtained the following error:
| Attempted to give up lock #lock EXT:RUN-PROGRAM that is not owned
by process #process SI:SIGNAL-SERVICING
I'm using the git code compiled with: --enable-threads.
The OS is Linux 2.6.32-38-generic #83-Ubuntu SMP i686 GNU/Linux.

I fix it removing the ECL_WITH_LOCK_ from the function defun
si::wait-for-all-processes of the file unixsys.d.

289c289
 //ECL_WITH_LOCK_BEGIN(env, cl_core.external_processes_lock) {
---
 ECL_WITH_LOCK_BEGIN(env, cl_core.external_processes_lock) {
291c291
   //  } ECL_WITH_LOCK_END(env, 
cl_core.external_processes_lock);
---
   } ECL_WITH_LOCK_END(env, 
 cl_core.external_processes_lock);


-- 
The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words.
                   How To Build A Universe That Doesn't Fall Apart Two
Days Later
                   Philip K. Dick

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] slime

2012-01-15 Thread Alessandro Serra
Hi Juanjo,
it is the package named swank. It downloads all slime files.
Or, to install and configure SLIME in one step, you can use:
(ql:quickload quicklisp-slime-helper)

Alessandro

On Sun, Jan 15, 2012 at 12:55 AM, Juan Jose Garcia-Ripoll
juanjose.garciarip...@googlemail.com wrote:
 Thanks for reporting this problem, Alessandro. I will look into it.

 BTW, how does one use the slime from quicklisp? I have always relied on
 the CVS version, but it would be nice to be able to test the one in this
 distribution as well.

 Juanjo

 --
 Instituto de Física Fundamental, CSIC
 c/ Serrano, 113b, Madrid 28006 (Spain)
 http://juanjose.garciaripoll.googlepages.com



-- 
The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words.
                   How To Build A Universe That Doesn't Fall Apart Two
Days Later
                   Philip K. Dick

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] bug loading a compiled file containing unicode characters

2012-01-15 Thread Alessandro Serra
Hi all,
When I try to load the following compiled file:
--
(defvar a Медвед)
--
I obtein the following error condition:

Unexpected end of file on #string-input stream from commo
   [Condition of type end-of-file]

I met this error trying to compile the examples of gtk-cffi.

Best Regards,
Alessandro

-- 
The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words.
                   How To Build A Universe That Doesn't Fall Apart Two
Days Later
                   Philip K. Dick

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] slime

2012-01-14 Thread Alessandro Serra
Hi all,
I had a problem with the last version of slime (the one used by
quickload) and the cvs of ecl.
Ecl generates a memory condition in cl-peek-char.
I fixed it adding the :element-type key to the socket-accept function
in the swank-ecl.lisp.

-
 (defimplementation accept-connection (socket
  key external-format
  buffering timeout)
  (declare (ignore timeout))
  (sb-bsd-sockets:socket-make-stream (accept socket)
 :output t
 :input t
 :buffering (ecase buffering
  ((t) :full)
  ((nil) :none)
  (:line line))
 :external-format external-format
 :element-type '(unsigned-byte 8)))


You can test the bug using the following code:


(defun accept-connection (socket)
  (sb-bsd-sockets:socket-make-stream
   (sb-bsd-sockets:socket-accept socket)
   :output t
   :input t
   :buffering :full
   :external-format nil
;   :element-type '(unsigned-byte 8)))
   ))

(defun resolve-hostname (name)
  (car (sb-bsd-sockets:host-ent-addresses
(sb-bsd-sockets:get-host-by-name name

(defun create-socket ()
  (let ((socket (make-instance 'sb-bsd-sockets:inet-socket
   :type :stream
   :protocol :tcp)))
(setf (sb-bsd-sockets:sockopt-reuse-address socket) t)
(sb-bsd-sockets:socket-bind socket (resolve-hostname 127.0.0.1) 5000)
(sb-bsd-sockets:socket-listen socket 1)
socket))

(defun test ()
  (let ((socket (create-socket)))
(format t created~%)
(let ((stream (accept-connection socket))
  (length 5))
  (format t accepted~%)
  (let* ((buffer (make-array length
 :initial-element 0
 :element-type '(unsigned-byte 8)))
 (count (read-sequence buffer stream)))
(format t ~A~% buffer)))
(sb-bsd-sockets:socket-close socket)))

(test)
---

Best Regards,
Alessandro

-- 
The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words.
                   How To Build A Universe That Doesn't Fall Apart Two
Days Later
                   Philip K. Dick

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list