From marsijanin at gmail.com Sat Sep 19 18:30:05 2009 From: marsijanin at gmail.com (marsijanin at gmail.com) Date: Sat, 19 Sep 2009 22:30:05 +0400 Subject: [iolib-devel] Termios (3p) support for iolib (proof of concept) Message-ID: <87y6oaiy8i.fsf@fobos.mars> Good ${time_of_the_day}! I wrote some code that implement API for working with serial interface devices (RS-232/422/485), i.e. termios API. It's covering now only posix specific features of the termios specification (i.e. no iutf8 etc.). I hope, the following code can be useful. -------------- next part -------------- A non-text attachment was scrubbed... Name: iolib.termios.tar.gz Type: application/octet-stream Size: 29547 bytes Desc: iolib.termios URL: From sionescu at cddr.org Tue Sep 29 21:46:37 2009 From: sionescu at cddr.org (Stelian Ionescu) Date: Tue, 29 Sep 2009 23:46:37 +0200 Subject: [iolib-devel] New bugtracker Message-ID: <1254260797.2244.4.camel@blackhole.cddr.org> I've created a project on Launchpad, so if you fancy there's https://launchpad.net/iolib now -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From sionescu at common-lisp.net Wed Sep 30 09:00:15 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Wed, 30 Sep 2009 05:00:15 -0400 Subject: [iolib-devel] New patches: 29-Sep-2009 Message-ID: commit 19b2ee4de250348d4ae8b325f9476168bda96f74 Author: Stelian Ionescu Date: Wed Sep 30 05:41:17 2009 +0200 Fix WALK-DIRECTORY. src/os/os-unix.lisp | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 93b1d83747453112fdf174b12711a16b0432514b Author: Stelian Ionescu Date: Wed Sep 30 05:28:43 2009 +0200 Compile tests at definition-time. tests/base.lisp | 14 ++-- tests/events.lisp | 10 +- tests/file-paths-unix.lisp | 178 ++++++++++++++++++++++---------------------- tests/sockets.lisp | 124 +++++++++++++++--------------- tests/streams.lisp | 2 +- 5 files changed, 164 insertions(+), 164 deletions(-) commit 2b4e7f376824d0f906883bb354574caeb87c80ce Author: Stelian Ionescu Date: Wed Sep 30 04:34:26 2009 +0200 Add CALL-WITH-DIRECTORY-ITERATOR, WITH-DIRECTORY-ITERATOR, MAPDIR, LIST-DIRECTORY and WALK-DIRECTORY. src/os/os-unix.lisp | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/os/pkgdcl.lisp | 10 ++-- 2 files changed, 132 insertions(+), 5 deletions(-) commit 428ce5ee6f8348b79c30c447c347ceb9c4ef02eb Author: Stelian Ionescu Date: Wed Sep 30 02:22:38 2009 +0200 Don't use IOLIB.SYSCALLS in IOLIB.OS src/os/os-unix.lisp | 91 ++++++++++++++++++++++++++------------------------- src/os/pkgdcl.lisp | 2 +- 2 files changed, 47 insertions(+), 46 deletions(-) commit a2b41c0102cba546dd5ac4c322a81027d0c42503 Author: Stelian Ionescu Date: Wed Sep 30 01:04:47 2009 +0200 Handle ELOOP in GET-FILE-KIND. src/os/os-unix.lisp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 1811a0137ed802a605496d86d30ceecaeb8031ca Author: Stelian Ionescu Date: Wed Sep 30 00:42:59 2009 +0200 Rename READ-LINK to READ-SYMLINK, split MAKE-LINK into MAKE-SYMLINK and MAKE-HARDLINK. src/os/os-unix.lisp | 44 +++++++++++++++++++++++++++----------------- src/os/pkgdcl.lisp | 5 +++-- 2 files changed, 30 insertions(+), 19 deletions(-) commit 585cca2b1b410ece0cefe644b2adf11028321118 Author: Stelian Ionescu Date: Wed Sep 30 00:31:58 2009 +0200 Get rid of the trailing slash in FILE-PATH namestrings. src/os/os-unix.lisp | 3 +-- src/pathnames/file-path-unix.lisp | 34 ++++++++++++---------------------- src/pathnames/file-path.lisp | 10 ++-------- tests/file-paths-unix.lisp | 24 ++++++++++++------------ 4 files changed, 27 insertions(+), 44 deletions(-) commit 4a368795851e5709a5dfa3d5ee9d95c1d2e871e4 Author: Stelian Ionescu Date: Tue Sep 29 21:57:58 2009 +0200 Fix docstrings: FILE-PATH objects cannot be wild. src/os/os-unix.lisp | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) commit fce9618dad0a443df9f39b0084cdcc35599be7b8 Author: Stelian Ionescu Date: Mon Sep 28 23:51:00 2009 +0200 Better error message. src/pathnames/file-path-unix.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9d2a9259e574d50186f0ef47000feda686aaff47 Author: Stelian Ionescu Date: Wed Sep 23 22:18:19 2009 +0200 Eliminate AS-DIRECTORY argument of PARSE-FILE-PATH. src/os/os-unix.lisp | 8 +-- src/pathnames/file-path-unix.lisp | 21 +++---- tests/file-paths-unix.lisp | 112 ++++--------------------------------- 3 files changed, 23 insertions(+), 118 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090929.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From marsijanin at gmail.com Wed Sep 30 18:18:26 2009 From: marsijanin at gmail.com (marsijanin) Date: Wed, 30 Sep 2009 22:18:26 +0400 Subject: [iolib-devel] Termios support - new variant Message-ID: Good ${current_time_of_day} again! I've made some changes: 0 - cffi-greovel file with termios constants (icanon etc.) is generating automatically from constants list; 1 - non posix features, such iutf8 are `#+linux' or `#+bsd' marked. I've run it only under linux, and all `#+bsd' marked features still need to be checking under BDS box (currently i don't have any). Still hooping, that it can be usefully, Nikolay V. Razbegaiev. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: iolib.termios.tar.gz Type: application/x-gzip Size: 6405 bytes Desc: not available URL: