commit 406aba2daf8154d017626b31a4278f671292b00d Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 04:51:35 2009 +0200
First part of Osicat merge.
src/iolib.os.asd | 15 +++ src/os/os-unix.lisp | 343 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/os/pkgdcl.lisp | 57 +++++++++ 3 files changed, 415 insertions(+), 0 deletions(-)
commit b7485a59549926df6289bfc1527e90a73908beba Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 04:37:02 2009 +0200
Style fix.
src/pathnames/file-path.lisp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
commit 2656e2dd5b44137eda0bb3d5ef59aa4e5581c7b5 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 04:32:16 2009 +0200
Add type FILE-PATH-DESIGNATOR.
src/pathnames/file-path.lisp | 13 ++++++++----- src/pathnames/pkgdcl.lisp | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-)
commit 74f049db31a0821a461cc6b3b98d19a735d7a42b Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 04:31:52 2009 +0200
Add FILE-PATH-NAMESTRING method for strings.
src/pathnames/file-path-unix.lisp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
commit bbdb332a489436810f8bc717c912599d2a0aefb7 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 04:10:47 2009 +0200
Use mismatch in ENOUGH-FILE-PATH.
src/pathnames/file-path-unix.lisp | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-)
commit 5908e472399b14e49f5410f1d99d7806de9ec470 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 03:37:08 2009 +0200
Fix initialization of *DEFAULT-EXECUTION-PATH*.
src/pathnames/file-path-unix.lisp | 2 +- src/pathnames/file-path.lisp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
commit 64c7897cd7c5aa18534660b941770466750631b0 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 03:33:56 2009 +0200
Eliminate the distinction between directory and file, have only path components.
src/pathnames/file-path-unix.lisp | 79 +++++++++---------- src/pathnames/file-path.lisp | 153 ++++++++++++++++++------------------- src/pathnames/pkgdcl.lisp | 5 +- tests/file-paths-unix.lisp | 91 +++++++++++----------- 4 files changed, 159 insertions(+), 169 deletions(-)
commit f10e62795818840786fa8be42fdd3bfa17276a37 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 03:30:11 2009 +0200
Rename FILE-PATH-ABSOLUTE-P to ABSOLUTE-FILE-PATH-P and FILE-PATH-RELATIVE-P to RELATIVE-FILE-PATH-P.
src/pathnames/file-path.lisp | 11 +++++++---- src/pathnames/pkgdcl.lisp | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-)
commit 3f35d4fc6764fdbde396983bd1ae0b29a7b77053 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 01:13:17 2009 +0200
Add missing DEFGENERICs.
src/pathnames/file-path.lisp | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-)
commit eb39a2ba167599f393bd3dd372459da499ae3120 Author: Stelian Ionescu sionescu@cddr.org Date: Fri Jul 24 00:14:15 2009 +0200
Specialize FILE-PATH constructor on PATHNAMEs.
src/pathnames/file-path.lisp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
commit 5170cbd0e5074b4ec607e013791e106de6ff32f8 Author: Stelian Ionescu sionescu@cddr.org Date: Thu Jul 23 19:11:08 2009 +0200
Fix PRINT-OBJECT for INET-ADDRESS and FILE-PATH wrt. *PRINT-ESCAPE*.
src/pathnames/file-path.lisp | 5 ++++- src/sockets/address.lisp | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-)
commit 8808020c69ca3f2e60f5301e6a0636819acff01c Author: Stelian Ionescu sionescu@cddr.org Date: Thu Jul 23 17:36:37 2009 +0200
Use :ROOT instead of :ABSOLUTE|:RELATIVE.
src/pathnames/file-path-unix.lisp | 38 +++++++--------- src/pathnames/file-path.lisp | 45 ++++++++++++------- tests/file-paths-unix.lisp | 90 +++++++++++++++++++------------------ 3 files changed, 92 insertions(+), 81 deletions(-)
commit f086f2eaa2ef455681c03f006c0061661ad6d0ca Author: Stelian Ionescu sionescu@cddr.org Date: Thu Jul 23 17:06:43 2009 +0200
Remove EXPAND-USER-DIRECTORY.
src/pathnames/file-path-unix.lisp | 14 -------------- src/pathnames/pkgdcl.lisp | 1 - 2 files changed, 0 insertions(+), 15 deletions(-)
commit f2b74b092450cfa7cc5a7959f9f79805d38649c0 Author: Stelian Ionescu sionescu@cddr.org Date: Thu Jul 23 16:59:42 2009 +0200
Fix ASDF dep.
src/iolib.base.asd | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
commit 0e497757b0b7ab35aa18e51ec669b3f8e04cc006 Author: Stelian Ionescu sionescu@cddr.org Date: Thu Jul 23 15:36:38 2009 +0200
Add FILE-PATH-NAME.
src/pathnames/file-path.lisp | 18 ++++++++++++++---- src/pathnames/pkgdcl.lisp | 1 + tests/file-paths-unix.lisp | 18 +++++++++++++++++- 3 files changed, 32 insertions(+), 5 deletions(-)
An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20090723.tar.gz
Gitweb URL: http://repo.or.cz/w/iolib.git
Stelian Ionescu sionescu@common-lisp.net writes:
First part of Osicat merge.
Is this really really necessary? It'd be nice to keep Osicat separated as a project so that multiple projects can easily use it. But it's your call, of course.
(Of course, I realise Osicat will live on, but it'd certainly be nicer if it could benefit from your patches, etc.)
On Sat, 2009-07-25 at 22:44 +0000, Luis Oliveira wrote:
Stelian Ionescu sionescu@common-lisp.net writes:
First part of Osicat merge.
Is this really really necessary? It'd be nice to keep Osicat separated as a project so that multiple projects can easily use it. But it's your call, of course.
Not necessary but very convenient. My problem was this dependency chain: osicat(syscalls) <- iolib(file-path) <- osicat(high-level) <- iolib(zeta-streams). The way to break this mutual dependency chain was either to merge them or to break osicat in 2 separate libraries and iolib in a half-dozen libraries too. The former was a lot more convenient.
Stelian Ionescu sionescu@cddr.org writes:
Not necessary but very convenient. My problem was this dependency chain: osicat(syscalls) <- iolib(file-path) <- osicat(high-level) <- iolib(zeta-streams).
Splitting osicat-posix and osicat into different systems would be pretty easy since they already live in different packages, etc. (This is mentioned in osicat.asd.)
Out of curiosity, what's iolib.pathnames for?
On Sat, 2009-07-25 at 23:40 +0000, Luis Oliveira wrote:
Stelian Ionescu sionescu@cddr.org writes:
Not necessary but very convenient. My problem was this dependency chain: osicat(syscalls) <- iolib(file-path) <- osicat(high-level) <- iolib(zeta-streams).
Splitting osicat-posix and osicat into different systems would be pretty easy since they already live in different packages, etc. (This is mentioned in osicat.asd.)
True, but I don't want to expose the syscalls into their own package because I intend them to be just an implementation detail, nothing more.
Out of curiosity, what's iolib.pathnames for?
The pathname abstraction that I'm working on. try (iolib.pathnames:file-path "/tmp"), for example