[iolib-devel] New patches: 23-Dec-2010
Stelian Ionescu
sionescu at common-lisp.net
Fri Dec 24 10:00:07 UTC 2010
commit 5ee0a9158ac33d07c7f95b015bb391909606105e
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Wed Dec 22 12:55:00 2010 +0100
Fix IOLIB.OS:CREATE-PROCESS to use lfp_spawn() and lfp_spawnp()
src/os/create-process-unix.lisp | 182 ++++++++++++++++++++++++++++-----------
src/os/ffi-functions-unix.lisp | 123 ++++++++++++++++++---------
src/os/ffi-types-unix.lisp | 22 +++--
src/os/os-unix.lisp | 30 ++++---
src/os/pkgdcl.lisp | 2 +-
5 files changed, 244 insertions(+), 115 deletions(-)
commit 71fe656f1fca25eeee0def0c36b1e3c85a1cb3f6
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 02:21:33 2010 +0100
Remove use of "size-of-*" constants
src/iolib.syscalls.asd | 1 -
src/multiplex/backend-epoll.lisp | 6 +-
src/multiplex/backend-kqueue.lisp | 4 +-
src/multiplex/backend-poll.lisp | 8 ++--
src/multiplex/fd-wait.lisp | 2 +-
src/os/pkgdcl.lisp | 2 +-
src/sockets/address.lisp | 6 +-
src/sockets/bsd.lisp | 2 +-
src/sockets/common.lisp | 14 +++---
src/sockets/make-socket.lisp | 7 ++-
src/sockets/pkgdcl.lisp | 4 +-
src/sockets/socket-methods.lisp | 12 +++---
src/sockets/socket-options.lisp | 20 ++++----
src/syscalls/constants.lisp | 17 -------
src/syscalls/ffi-functions-unix.lisp | 6 +-
src/syscalls/pkgdcl.lisp | 82 +++++++++++++++------------------
16 files changed, 84 insertions(+), 109 deletions(-)
commit 95129575bedd7dcbe46e17ad66575ea39f04db49
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 02:04:39 2010 +0100
Move SIZEOF to early.lisp, since the compile-time side-effects of DEFFOLDABLE are not guaranteed when used in the same file
src/syscalls/early.lisp | 8 ++++++++
src/syscalls/ffi-functions-unix.lisp | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-)
commit ca4478de2051db51b9a21f90452341211565e331
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 02:03:36 2010 +0100
Evaluate %DEFFOLDABLE at all times
src/base/deffoldable.lisp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit da25372bd422fe08859acd7eb971ff3a8d5df693
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 01:50:37 2010 +0100
Compile ffi-functions-unix.lisp with SPEED
src/syscalls/ffi-functions-unix.lisp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit e4303335cbfed3b7da03aa86fe598c2687b92e64
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 01:49:48 2010 +0100
Inline BZERO
src/syscalls/ffi-functions-unix.lisp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a48130e3bddd178429f3d588e5c93c6dc09f83e6
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 01:49:34 2010 +0100
SBCL's SB-C:DEFKNOWN seems to be insufficient, use compiler-macro too in DEFFOLDABLE
src/base/deffoldable.lisp | 19 +++++++++++++++----
src/syscalls/ffi-functions-unix.lisp | 2 +-
2 files changed, 16 insertions(+), 5 deletions(-)
commit 3b7002d9cb7d10360cf9f9a885f98ce21275f6f1
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 01:27:55 2010 +0100
Improve DEFALIAS
We need to manually specify the arglist of the aliased function for
the moment
src/base/defalias.lisp | 26 ++++++++++++++------------
src/base/pkgdcl.lisp | 5 +++++
src/syscalls/ffi-functions-unix.lisp | 2 +-
3 files changed, 20 insertions(+), 13 deletions(-)
commit 0851cd98c005f7d5d34fdbc13d56cf7b01135919
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 00:23:43 2010 +0100
Add SIZEOF to IOLIB.SYSCALLS
Make it an alias of CFFI:FOREIGN-TYPE-SIZE and declare it foldable
src/syscalls/ffi-functions-unix.lisp | 9 +++++++++
src/syscalls/pkgdcl.lisp | 3 +++
2 files changed, 12 insertions(+), 0 deletions(-)
commit dda4af22b3adbf3843fdcf6a872611d4572ff4cd
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 00:22:58 2010 +0100
Add CONSTANTP to IOLIB.BASE
src/base/deffoldable.lisp | 6 ++++++
src/base/pkgdcl.lisp | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
commit 48648abe57bf1930e46a9e3a9f715cc755a048c8
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Tue Dec 21 00:22:31 2010 +0100
More namespaces
src/base/defalias.lisp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
commit 6e34f8aa88c11a78689703a6cd31015ff567d18e
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Mon Dec 20 05:02:33 2010 +0100
Add DEFALIAS and DEFFOLDABLE do IOLIB.BASE
src/base/defalias.lisp | 43 +++++++++++++++++++++++++++++++++++++++++++
src/base/deffoldable.lisp | 27 +++++++++++++++++++++++++++
src/base/pkgdcl.lisp | 6 ++++++
src/iolib.base.asd | 2 ++
4 files changed, 78 insertions(+), 0 deletions(-)
commit 2786c67e616bf5b5f648da8c6f2bb4dc29325b83
Author: Stelian Ionescu <sionescu at cddr.org>
Date: Mon Dec 20 04:36:56 2010 +0100
Another round of refactoring, remove system libfixposix and use LFP in IOLIB.SYSCALLS
src/iolib.syscalls.asd | 4 +-
src/libfixposix.asd | 19 -
src/libfixposix/constants.lisp | 17 -
src/libfixposix/ffi-functions.lisp | 109 -----
src/libfixposix/ffi-types.lisp | 138 -------
src/libfixposix/pkgdcl.lisp | 118 ------
src/os/ffi-types-unix.lisp | 2 -
src/streams/gray/fd-mixin.lisp | 2 +-
src/syscalls/constants.lisp | 17 +
src/syscalls/ffi-functions-unix.lisp | 375 +++++++++---------
src/syscalls/ffi-types-unix.lisp | 628 ++++++++++++++++-------------
src/syscalls/pkgdcl.lisp | 734 ++++++++++++++--------------------
tests/streams.lisp | 2 +-
13 files changed, 858 insertions(+), 1307 deletions(-)
An updated tarball of IOLib's source can be downloaded here:
http://common-lisp.net/project/iolib/files/snapshots/iolib-20101223.tar.gz
Main repository: http://gitorious.org/iolib/iolib
Backup 1: http://common-lisp.net/gitweb?p=projects/iolib/iolib.git
Backup 2: http://repo.or.cz/w/iolib.git
More information about the iolib-devel
mailing list