From sionescu at common-lisp.net Wed Aug 5 09:00:08 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Wed, 05 Aug 2009 05:00:08 -0400 Subject: [iolib-devel] New patches: 4-Aug-2009 Message-ID: commit 8a36bb21a66a179c9b7ab474dba16a8757fe0945 Author: Stelian Ionescu Date: Wed Aug 5 05:35:07 2009 +0200 FILE-PATH accessors now take file-path designators. src/pathnames/file-path-unix.lisp | 3 +- src/pathnames/file-path.lisp | 99 +++++++++++++++++++------------------ src/pathnames/pkgdcl.lisp | 1 + 3 files changed, 53 insertions(+), 50 deletions(-) commit b3db156e03bcb58790ad86f26eca70bc9be00ba4 Author: Stelian Ionescu Date: Wed Aug 5 04:56:01 2009 +0200 Fix ustring concatenation. src/base/ustrings.lisp | 4 ++-- src/pathnames/file-path-unix.lisp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 6882c9a2e26b8ff26282fb47cd5657d0899669dd Author: Stelian Ionescu Date: Wed Aug 5 04:55:40 2009 +0200 Really fix compiler macros. src/base/ustrings.lisp | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 0a9fbe1b758921417f045b3e1c7428c5abf625e9 Author: Stelian Ionescu Date: Wed Aug 5 04:41:38 2009 +0200 Fix compiler macro. src/base/ustrings.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6f2211763d4e00082420c8e6aa2b1ceeb86b78e5 Author: Stelian Ionescu Date: Wed Aug 5 04:20:21 2009 +0200 Add compiler macros for MAKE-USTRING, STRING-TO-USTRING and USTRING. src/base/ustrings.lisp | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) commit 24401e37e18393f88cb2b5b266ee8f39aecaeec5 Author: Stelian Ionescu Date: Wed Aug 5 04:12:52 2009 +0200 Split type USTRING in SIMPLE-USTRING and COMPLEX-USTRING. src/base/pkgdcl.lisp | 1 + src/base/uchars.lisp | 8 +++++++- src/base/ustrings.lisp | 10 ++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) commit 7951a6d7a303578418b25e836b699e4f552b8c31 Author: Stelian Ionescu Date: Wed Aug 5 03:28:44 2009 +0200 Add missing DEFGENERIC. src/pathnames/file-path.lisp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090804.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Thu Aug 6 09:00:08 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Thu, 06 Aug 2009 05:00:08 -0400 Subject: [iolib-devel] New patches: 5-Aug-2009 Message-ID: commit 2871ba97de09adeafafab74fddaa2f47eae56f24 Author: Stelian Ionescu Date: Thu Aug 6 04:09:37 2009 +0200 Import FILE-PATH-NAMESTRING/USTRING where needed. src/os/os-unix.lisp | 18 +++++++++--------- src/os/pkgdcl.lisp | 1 + src/streams/zeta/file-unix.lisp | 2 +- src/streams/zeta/pkgdcl.lisp | 1 + 4 files changed, 12 insertions(+), 10 deletions(-) commit 39b7c4c574f62f24c22fbdc00134657ae37914c3 Author: Stelian Ionescu Date: Thu Aug 6 00:58:54 2009 +0200 Make most FILE-PATH operators and accessors regular functions. src/pathnames/file-path-unix.lisp | 49 ++++++++++++++------------- src/pathnames/file-path.lisp | 67 +++++++----------------------------- 2 files changed, 39 insertions(+), 77 deletions(-) commit b0cc7b057cd44a35b5f4dd778c5a3c870e76ff17 Author: Stelian Ionescu Date: Wed Aug 5 23:58:24 2009 +0200 Ignore some args. src/streams/zeta/file-unix.lisp | 1 + src/streams/zeta/stream.lisp | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) commit e41f4814140b79442416b2088021982a21fd4aa5 Author: Stelian Ionescu Date: Wed Aug 5 23:56:45 2009 +0200 Fix dependency order iolib.syscalls.asd src/iolib.syscalls.asd | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c3b4c69cf7d023f5e2e03f271f664a4fa1baad94 Author: Stelian Ionescu Date: Wed Aug 5 23:53:39 2009 +0200 Fix stale docstrings. src/os/os-unix.lisp | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit f2e67425c4a3ec5eab1d7b8ccee13b8d755436f4 Author: Stelian Ionescu Date: Wed Aug 5 23:53:23 2009 +0200 Implement RESOLVE-FILE-PATH. src/os/os-unix.lisp | 61 ++++++++++++++++++++++++++++++++++++++------------ src/os/pkgdcl.lisp | 2 +- 2 files changed, 47 insertions(+), 16 deletions(-) commit 4401cf8ec961a1ef8e28d0cc0ea6a1ec9f0b9d29 Author: Stelian Ionescu Date: Wed Aug 5 23:51:52 2009 +0200 Add %SYS-REALPATH. src/syscalls/ffi-functions-unix.lisp | 9 +++++++++ src/syscalls/pkgdcl.lisp | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) commit 9045145c4e78b55c0e52d396e2053a4d0e951e82 Author: Stelian Ionescu Date: Wed Aug 5 23:43:28 2009 +0200 Unexport ABSOLUTE-FILE-PATH. src/os/pkgdcl.lisp | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit cddeba09f4e2ae574697cccfbed4913d0321bb72 Author: Stelian Ionescu Date: Wed Aug 5 23:42:18 2009 +0200 Better MERGE-FILE-PATHS. src/pathnames/file-path.lisp | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) commit 0bb2a2414616ba156771ecec8b424cfb970b0872 Author: Stelian Ionescu Date: Wed Aug 5 23:42:02 2009 +0200 Better MAKE-FILE-PATH. src/pathnames/file-path.lisp | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) commit 047ec975a22464009d094d7916dbcecaef016a38 Author: Stelian Ionescu Date: Wed Aug 5 23:39:27 2009 +0200 Use USTRING instead of :STRING in syscalls. src/os/os-unix.lisp | 20 +++++--- src/streams/zeta/file-unix.lisp | 45 ++++++++++--------- src/streams/zeta/pkgdcl.lisp | 2 +- src/syscalls/ffi-functions-unix.lisp | 80 +++++++++++++++++---------------- 4 files changed, 77 insertions(+), 70 deletions(-) commit b942df5390408b25cb84e64cdf882bec38326cc1 Author: Stelian Ionescu Date: Wed Aug 5 23:36:47 2009 +0200 Add foreign type USTRING. src/syscalls/ustring-cstring.lisp | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) commit f3bb9a4e2edf5e97f37f1539878651a0797e7b1c Author: Stelian Ionescu Date: Wed Aug 5 23:36:03 2009 +0200 Improve CSTRING-TO-USTRING and USTRING-TO-CSTRING, add WITH-CSTRING-TO-USTRING and WITH-USTRING-TO-CSTRING. src/syscalls/pkgdcl.lisp | 5 ++ src/syscalls/ustring-cstring.lisp | 97 ++++++++++++++++++++++--------------- 2 files changed, 62 insertions(+), 40 deletions(-) commit fbb7069350bb78f3183cd11e553e2ca9f416ab21 Author: Stelian Ionescu Date: Wed Aug 5 23:33:41 2009 +0200 Add +cstring-path-max+. src/syscalls/pkgdcl.lisp | 2 ++ src/syscalls/ustring-cstring.lisp | 3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) commit a2e1bf2f279233c6646230183b37469fa5e216f1 Author: Stelian Ionescu Date: Wed Aug 5 23:32:36 2009 +0200 Use ustrings in ??struct passwd?? and ??struct group??. src/syscalls/ffi-types-unix.lisp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 86d1be107ff4a153ddc57e7b0b8fbfc756214a2d Author: Stelian Ionescu Date: Wed Aug 5 23:32:03 2009 +0200 Fix buffer size in %SYS-GETPW{NAM,UID} and %SYS-GETGR{NAM,ID}. src/syscalls/ffi-functions-unix.lisp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit d5446f6f85d8eb85d8309910e605e3c156ace42c Author: Stelian Ionescu Date: Wed Aug 5 23:29:34 2009 +0200 Remove FILENAME-DESIGNATOR and NATIVE-NAMESTRING. src/syscalls/designators.lisp | 13 ------------- src/syscalls/pkgdcl.lisp | 2 -- 2 files changed, 0 insertions(+), 15 deletions(-) commit 929d9d5fa9a53fe19e7cecc7d6234f42d2bf53d4 Author: Stelian Ionescu Date: Wed Aug 5 23:28:40 2009 +0200 Test for type USTRING in SYSCALL-WRAPPER. src/syscalls/early.lisp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 44f0373a2b2e4f9f3d8b8a5e6de7a2d9750b1ad1 Author: Stelian Ionescu Date: Wed Aug 5 23:27:50 2009 +0200 Small change to %USTRING. src/base/ustrings.lisp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090805.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Fri Aug 7 09:00:08 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Fri, 07 Aug 2009 05:00:08 -0400 Subject: [iolib-devel] New patches: 6-Aug-2009 Message-ID: commit c058cb8645dac45030564c491534d27f55d2cde8 Author: Stelian Ionescu Date: Fri Aug 7 00:49:09 2009 +0200 One more type declaration fix. src/syscalls/ustring-cstring.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 29e3a5d5e2cd883a25e16f04772c9d1e55c9ef62 Author: Stelian Ionescu Date: Thu Aug 6 23:45:17 2009 +0200 Fix type declarations. src/syscalls/ustring-cstring.lisp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6163c0f5b0ad2904396161add554e9651882c0c2 Author: Stelian Ionescu Date: Thu Aug 6 23:18:51 2009 +0200 Fix USTRING trim functions. src/base/ustrings.lisp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit bb2c31bbae43dcea5ead5356bf952152ad1c2d1d Author: Stelian Ionescu Date: Thu Aug 6 23:18:32 2009 +0200 Fix type COMPLEX-USTRING. src/base/uchars.lisp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 6c486a6991bd09d004718d9a1a630f977b6a8c7a Author: Stelian Ionescu Date: Thu Aug 6 19:27:02 2009 +0200 Better STRIP-DOTS. src/os/os-unix.lisp | 12 ++++++------ src/os/pkgdcl.lisp | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) commit 8ea9e0c681ff03fa48b6d3880da2126f34c213e7 Author: Stelian Ionescu Date: Thu Aug 6 12:28:07 2009 +0200 Fix RESOLVE-SYMLINKS. src/os/os-unix.lisp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090806.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Sat Aug 8 09:00:08 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Sat, 08 Aug 2009 05:00:08 -0400 Subject: [iolib-devel] New patches: 7-Aug-2009 Message-ID: commit 04358b22786ea280ea33fb070b1c68fcce483e29 Author: Stelian Ionescu Date: Fri Aug 7 21:31:59 2009 +0200 Nicer DEFINE-USTRING-COMPARISON. src/base/ustrings.lisp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090807.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Mon Aug 10 09:00:10 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Mon, 10 Aug 2009 05:00:10 -0400 Subject: [iolib-devel] New patches: 9-Aug-2009 Message-ID: commit c18cca3b418c5cf6a243816d1311a3a8e1e2b36e Author: Stelian Ionescu Date: Sun Aug 9 17:02:07 2009 +0200 Inhibit compiler-macro expansion in MAKE-USTRING tests. tests/ustrings.lisp | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) commit 03e7a8eef291a5ef5a90fb46de54bebcbc658f2b Author: Stelian Ionescu Date: Sun Aug 9 17:01:35 2009 +0200 Whitespace. src/base/ustrings.lisp | 1 - src/pathnames/file-path-unix.lisp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090809.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Wed Aug 12 09:00:09 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Wed, 12 Aug 2009 05:00:09 -0400 Subject: [iolib-devel] New patches: 11-Aug-2009 Message-ID: commit 4b1dd9720a28196422531646e856b96650a79479 Author: Stelian Ionescu Date: Wed Aug 12 04:08:56 2009 +0200 Fix character size detection. src/syscalls/unix-syscall-path-strings.lisp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 304e3e09f4a74eed06af969a56a2ac3254ce1e82 Author: Stelian Ionescu Date: Wed Aug 12 03:49:07 2009 +0200 Remove superfluous checks. src/syscalls/unix-syscall-path-strings.lisp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 7b9b521ca392ccae930c27fd8bff767e51c241e4 Author: Stelian Ionescu Date: Wed Aug 12 03:48:51 2009 +0200 Fix docstring. src/syscalls/ffi-functions-unix.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 996c96566ed0e40bd6f8d2ee4d4245f2305a4cdb Author: Stelian Ionescu Date: Wed Aug 12 03:36:08 2009 +0200 Fix/add comments. src/syscalls/unix-syscall-path-strings.lisp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 5fed43476ab6f71190c359a90c37318f4a2c6489 Author: Stelian Ionescu Date: Wed Aug 12 03:32:01 2009 +0200 Fix test BIG-STREAM-COMPARISION-TEST. tests/streams.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 17eb84fe31f2c3df4a228b153768199828a8d181 Author: Stelian Ionescu Date: Wed Aug 12 03:25:48 2009 +0200 Remove USTRINGs. src/base/pkgdcl.lisp | 27 +-- src/base/uchars.lisp | 178 -------------- src/base/ustrings.lisp | 284 ---------------------- src/iolib.base.asd | 2 - tests/defsuites.lisp | 3 - tests/iolib-tests.asd | 2 - tests/uchars.lisp | 500 -------------------------------------- tests/ustrings.lisp | 632 ------------------------------------------------ 8 files changed, 1 insertions(+), 1627 deletions(-) commit f86ccb3d224daf59eebb24c62e3d4d9fddc57942 Author: Stelian Ionescu Date: Wed Aug 12 03:21:49 2009 +0200 Use #\Null-escaped strings for *nix paths. src/iolib.syscalls.asd | 4 +- src/os/os-unix.lisp | 26 ++-- src/os/pkgdcl.lisp | 3 +- src/pathnames/file-path-unix.lisp | 59 +++---- src/pathnames/file-path.lisp | 27 ++-- src/streams/zeta/file-unix.lisp | 2 +- src/streams/zeta/pkgdcl.lisp | 1 - src/syscalls/early.lisp | 2 +- src/syscalls/ffi-functions-unix.lisp | 68 ++++---- src/syscalls/ffi-types-unix.lisp | 14 +- src/syscalls/pkgdcl.lisp | 10 +- src/syscalls/unix-syscall-path-strings.lisp | 223 +++++++++++++++++++++++++++ src/syscalls/ustring-cstring.lisp | 186 ---------------------- tests/file-paths-unix.lisp | 2 +- 14 files changed, 323 insertions(+), 304 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090811.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Thu Aug 13 09:00:18 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Thu, 13 Aug 2009 05:00:18 -0400 Subject: [iolib-devel] New patches: 12-Aug-2009 Message-ID: commit 294cc36bfbeee43619aed3b3cf83886601095610 Author: Stelian Ionescu Date: Wed Aug 12 21:11:02 2009 +0200 Fix namestring computation, add tests. src/pathnames/file-path-unix.lisp | 9 +-- src/pathnames/file-path.lisp | 47 +++++---- tests/file-paths-unix.lisp | 200 +++++++++++++++++++++++++++++++----- 3 files changed, 199 insertions(+), 57 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090812.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Mon Aug 17 09:00:10 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Mon, 17 Aug 2009 05:00:10 -0400 Subject: [iolib-devel] New patches: 16-Aug-2009 Message-ID: commit 3e6aa577dc822b9c4b28d1f99b68f474d2f02553 Author: Stelian Ionescu Date: Mon Aug 17 03:25:18 2009 +0200 Move MAKE-FILE-PATH and MERGE-FILE-PATH around. src/pathnames/file-path-unix.lisp | 21 +++++++++++++++++++++ src/pathnames/file-path.lisp | 30 ------------------------------ 2 files changed, 21 insertions(+), 30 deletions(-) commit a83ecdc080a8999af4f7ee1e208b8dcccd1f5b56 Author: Stelian Ionescu Date: Mon Aug 17 03:25:01 2009 +0200 Small fix in unix-path initializer. src/pathnames/file-path-unix.lisp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit ea406409fa4b60d5183bd611a52761b2b7925a67 Author: Stelian Ionescu Date: Mon Aug 17 03:24:15 2009 +0200 Cosmetic change. src/os/os-unix.lisp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit f2ce7eac381712610a2598c161fc9ca293193e31 Author: Stelian Ionescu Date: Thu Aug 13 02:49:53 2009 +0200 Add %SYS-FDOPENDIR and %SYS-DIRFD. src/syscalls/ffi-functions-unix.lisp | 8 ++++++++ src/syscalls/pkgdcl.lisp | 2 ++ 2 files changed, 10 insertions(+), 0 deletions(-) commit f5f985067b54affe282065640b58b350a94228e6 Author: Stelian Ionescu Date: Thu Aug 13 02:31:43 2009 +0200 Export struct dirent entry types. src/syscalls/pkgdcl.lisp | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090816.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git From sionescu at common-lisp.net Mon Aug 24 09:00:16 2009 From: sionescu at common-lisp.net (Stelian Ionescu) Date: Mon, 24 Aug 2009 05:00:16 -0400 Subject: [iolib-devel] New patches: 23-Aug-2009 Message-ID: commit 1d8f7d4a952a4f86dbaacb260aa8a3baf7b60f9e Author: Stelian Ionescu Date: Sun Aug 23 21:24:04 2009 +0200 Make INVALID-FILE-PATH inherit TYPE-ERROR. src/pathnames/file-path.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c0e6bf052ebc9c1b7583260765b226672eacd598 Author: Stelian Ionescu Date: Sun Aug 23 21:23:41 2009 +0200 Indent IF-LET correctly. src/sockets/socket-options.lisp | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) commit 08f71a76a884d8d8af4efbaa1f5cf036fa908487 Author: Stelian Ionescu Date: Sun Aug 23 21:23:21 2009 +0200 Remove old TODOs. src/os/os-unix.lisp | 1 - src/sockets/grovel.lisp | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090823.tar.gz Gitweb URL: http://repo.or.cz/w/iolib.git