projects/iolib/iolib.git
2 years agoCosmetic changes zstreams
Stelian Ionescu [Tue, 20 Jul 2010 13:50:19 +0000] 
Cosmetic changes

2 years agoRemove support for old Gray stream methods on Clisp
Stelian Ionescu [Tue, 20 Jul 2010 13:50:00 +0000] 
Remove support for old Gray stream methods on Clisp

2 years agoRemove EAGAIN
Stelian Ionescu [Sun, 4 Jul 2010 14:50:08 +0000] 
Remove EAGAIN

2 years agoMake .asd files loadable and compileable again
Stelian Ionescu [Wed, 30 Jun 2010 17:38:54 +0000] 
Make .asd files loadable and compileable again

2 years agoFix IOLIB.TRIVIAL-SOCKETS
Stelian Ionescu [Wed, 30 Jun 2010 17:13:57 +0000] 
Fix IOLIB.TRIVIAL-SOCKETS

2 years agoFix socket initialization
Stelian Ionescu [Wed, 23 Jun 2010 08:48:56 +0000] 
Fix socket initialization

2 years agoSTREAM-FORCE-OUTPUT now tries to flush the output buffer without blocking
Stelian Ionescu [Wed, 23 Jun 2010 06:57:57 +0000] 
STREAM-FORCE-OUTPUT now tries to flush the output buffer without blocking

2 years agoWrap WIFSIGNALED
Francois-Rene Rideau [Tue, 22 Jun 2010 18:20:45 +0000] 
Wrap WIFSIGNALED

2 years agoAdd sysconf(3)
Francois-Rene Rideau [Tue, 22 Jun 2010 18:20:11 +0000] 
Add sysconf(3)

2 years agoFix typo
Stelian Ionescu [Tue, 22 Jun 2010 18:11:43 +0000] 
Fix typo

2 years agoMake all stream FDs non-blocking, not just sockets
Stelian Ionescu [Sat, 12 Jun 2010 18:19:51 +0000] 
Make all stream FDs non-blocking, not just sockets

2 years agoAdd PRINT-OBJECT for class DUAL-CHANNEL-GRAY-STREAM
Stelian Ionescu [Sat, 12 Jun 2010 18:19:23 +0000] 
Add PRINT-OBJECT for class DUAL-CHANNEL-GRAY-STREAM

2 years agoRemove class DUAL-CHANNEL-SINGLE-FD-MIXIN
Stelian Ionescu [Wed, 9 Jun 2010 16:36:13 +0000] 
Remove class DUAL-CHANNEL-SINGLE-FD-MIXIN

2 years agoOnly grovel O_CLOEXEC on Linux
Stelian Ionescu [Tue, 8 Jun 2010 10:59:49 +0000] 
Only grovel O_CLOEXEC on Linux

2 years agoExport process-related symbols
Stelian Ionescu [Sun, 6 Jun 2010 19:05:18 +0000] 
Export process-related symbols

2 years agoAdd CREATE-PROCESS
Stelian Ionescu [Sun, 6 Jun 2010 18:59:39 +0000] 
Add CREATE-PROCESS

2 years agoFix .asd files for ASDF2
Stelian Ionescu [Sun, 6 Jun 2010 12:35:30 +0000] 
Fix .asd files for ASDF2

2 years agoUse IOLIB.BASE:CL-SOURCE-FILE as component-class for tests and examples
Stelian Ionescu [Thu, 3 Jun 2010 08:23:32 +0000] 
Use IOLIB.BASE:CL-SOURCE-FILE as component-class for tests and examples

2 years agoAdd ISYS:SYSCALL-ERROR-P
Stelian Ionescu [Thu, 3 Jun 2010 08:22:54 +0000] 
Add ISYS:SYSCALL-ERROR-P

2 years agoAdd git config stuff for special treatment of lisp and texinfo files
Stelian Ionescu [Wed, 2 Jun 2010 14:55:09 +0000] 
Add git config stuff for special treatment of lisp and texinfo files

2 years agoFix CONNECT to signal a SOCKET-ERROR when getting a POLL-ERROR
Stelian Ionescu [Fri, 28 May 2010 10:43:20 +0000] 
Fix CONNECT to signal a SOCKET-ERROR when getting a POLL-ERROR

2 years agoRemove «Syntax:» from file headers
Stelian Ionescu [Thu, 27 May 2010 09:11:14 +0000] 
Remove «Syntax:» from file headers

2 years agoACCEPT-CONNECTION now doesn't duplicate the FD any more
Stelian Ionescu [Wed, 26 May 2010 10:55:53 +0000] 
ACCEPT-CONNECTION now doesn't duplicate the FD any more

2 years agoUse project page for texinfo-docstrings
Stelian Ionescu [Tue, 25 May 2010 17:19:17 +0000] 
Use project page for texinfo-docstrings

2 years agoUpdate link to texinfo-docstrings
Stelian Ionescu [Tue, 25 May 2010 17:13:41 +0000] 
Update link to texinfo-docstrings

2 years agoFix .asd files for ASDF2
Stelian Ionescu [Tue, 25 May 2010 15:12:54 +0000] 
Fix .asd files for ASDF2

2 years agoAdd class MUFFLED-SOURCE-FILE
Stelian Ionescu [Tue, 25 May 2010 05:18:23 +0000] 
Add class MUFFLED-SOURCE-FILE

Make CL-SOURCE-FILE inherit MUFFLED-SOURCE-FILE and remote UTF-8 usage
around file compilation.

2 years agoRemove UTF-8 characters from sources
Stelian Ionescu [Tue, 25 May 2010 05:07:18 +0000] 
Remove UTF-8 characters from sources

2 years agoFix WRAP-BODY-FOR-RETURN-STAR for (SETF <FOO>) functions
Stelian Ionescu [Tue, 25 May 2010 04:52:39 +0000] 
Fix WRAP-BODY-FOR-RETURN-STAR for (SETF <FOO>) functions

2 years agoAdd ASDF component class iolib.base:cl-source-file
Stelian Ionescu [Tue, 25 May 2010 04:25:50 +0000] 
Add ASDF component class iolib.base:cl-source-file

3 years agoExport a few recently added symbols
Francois-Rene Rideau [Sun, 16 May 2010 14:06:16 +0000] 
Export a few recently added symbols

3 years agoAllow DEFSYSCALL and DEFCFUN* to receive the syscall name as a string
Stelian Ionescu [Wed, 19 May 2010 12:33:40 +0000] 
Allow DEFSYSCALL and DEFCFUN* to receive the syscall name as a string

3 years agoFix UTF8-EXTRA-BYTES on non-Unicode Lisps
Stelian Ionescu [Sat, 15 May 2010 18:08:30 +0000] 
Fix UTF8-EXTRA-BYTES on non-Unicode Lisps

3 years agoStyle changes
Stelian Ionescu [Sat, 15 May 2010 17:37:03 +0000] 
Style changes

3 years agoBetter waitpid(2)
Stelian Ionescu [Sat, 15 May 2010 17:34:52 +0000] 
Better waitpid(2)

3 years agoFix typo
Stelian Ionescu [Sat, 15 May 2010 17:15:23 +0000] 
Fix typo

3 years agoRename TIMEOUT->MILISEC to TIMEOUT->MILLISECONDS
Stelian Ionescu [Sat, 15 May 2010 17:15:00 +0000] 
Rename TIMEOUT->MILISEC to TIMEOUT->MILLISECONDS

3 years agoThe examples don't depend on cl-serializer any more
Stelian Ionescu [Sat, 15 May 2010 16:42:34 +0000] 
The examples don't depend on cl-serializer any more

3 years agoFix if_nametoindex() too
Stelian Ionescu [Sat, 15 May 2010 15:43:43 +0000] 
Fix if_nametoindex() too

3 years agoInclude syscall name in errors signaled by nice(2) and getenv(2)
Stelian Ionescu [Sat, 15 May 2010 15:40:27 +0000] 
Include syscall name in errors signaled by nice(2) and getenv(2)

3 years agoFix signalig of socket errors
Stelian Ionescu [Sat, 15 May 2010 15:39:06 +0000] 
Fix signalig of socket errors

3 years agoMake sure that CLOSE is a generic function on ECL
Stelian Ionescu [Sat, 15 May 2010 15:11:00 +0000] 
Make sure that CLOSE is a generic function on ECL

3 years agoUntabify
Stelian Ionescu [Sat, 15 May 2010 15:10:35 +0000] 
Untabify

3 years agoSignal TYPE-ERROR in ioctl/fcntl
Stelian Ionescu [Sat, 15 May 2010 15:10:21 +0000] 
Signal TYPE-ERROR in ioctl/fcntl

3 years agoDon't restart ioctl(2) calls automatically
Stelian Ionescu [Fri, 14 May 2010 15:07:43 +0000] 
Don't restart ioctl(2) calls automatically

3 years agoThe REQUEST parameter of ioctl(2) is an unsigned int not a signed int
Stelian Ionescu [Fri, 14 May 2010 10:53:43 +0000] 
The REQUEST parameter of ioctl(2) is an unsigned int not a signed int

3 years agoStop using :NO-ERROR in HANDLER-CASE forms: it's cool but generates slow code
Stelian Ionescu [Thu, 13 May 2010 15:11:51 +0000] 
Stop using :NO-ERROR in HANDLER-CASE forms: it's cool but generates slow code

3 years agoInclude syscall name in SYSCALL-ERRORs
Stelian Ionescu [Wed, 12 May 2010 16:33:01 +0000] 
Include syscall name in SYSCALL-ERRORs

3 years agoBetter names for some IOBUF functions
Stelian Ionescu [Mon, 10 May 2010 20:44:28 +0000] 
Better names for some IOBUF functions

3 years agoBetter %WRITE-SIMPLE-ARRAY-UB8
Stelian Ionescu [Mon, 10 May 2010 20:35:01 +0000] 
Better %WRITE-SIMPLE-ARRAY-UB8

3 years agoFix typo: the socket option is TCP_WINDOW_CLAMP not TCP_WINDOW.
Stelian Ionescu [Sun, 9 May 2010 12:10:28 +0000] 
Fix typo: the socket option is TCP_WINDOW_CLAMP not TCP_WINDOW.

3 years agoFix the fix to FLAGS-CASE
Stelian Ionescu [Sun, 11 Apr 2010 13:10:35 +0000] 
Fix the fix to FLAGS-CASE

3 years agoFix macro FLAGS-CASE
Stelian Ionescu [Fri, 9 Apr 2010 14:28:26 +0000] 
Fix macro FLAGS-CASE

3 years agoExplain that the client "quit" feature doesn't exist in ex7-server either.
Peter Keller [Wed, 7 Apr 2010 21:23:26 +0000] 
Explain that the client "quit" feature doesn't exist in ex7-server either.

3 years agoDon't define FDOPENDIR on BSD systems for the moment.
Stelian Ionescu [Mon, 5 Apr 2010 22:13:22 +0000] 
Don't define FDOPENDIR on BSD systems for the moment.

3 years agoUse DEFWRAPPER for CMSG accessors.
Stelian Ionescu [Mon, 5 Apr 2010 21:49:58 +0000] 
Use DEFWRAPPER for CMSG accessors.

3 years agoMake DIRFD a wrapper, export always.
Stelian Ionescu [Mon, 5 Apr 2010 21:01:00 +0000] 
Make DIRFD a wrapper, export always.

3 years agoRe-indent.
Stelian Ionescu [Mon, 5 Apr 2010 20:17:40 +0000] 
Re-indent.

3 years agoExport RUN-EX8-SERVER from IOLIB.EXAMPLES
Stelian Ionescu [Mon, 5 Apr 2010 20:17:22 +0000] 
Export RUN-EX8-SERVER from IOLIB.EXAMPLES

3 years agoRemove old NOTINLINE declamations.
Stelian Ionescu [Mon, 5 Apr 2010 00:20:48 +0000] 
Remove old NOTINLINE declamations.

3 years agoFix tests SIMPLE-UDP-CLIENT.[12]
Stelian Ionescu [Mon, 5 Apr 2010 00:20:10 +0000] 
Fix tests SIMPLE-UDP-CLIENT.[12]

3 years agoStyle change.
Stelian Ionescu [Sun, 4 Apr 2010 20:37:21 +0000] 
Style change.

3 years agoSmall fixes to the examples.
Stelian Ionescu [Sun, 4 Apr 2010 19:55:47 +0000] 
Small fixes to the examples.

3 years agoRemove prefix %SYS- from syscalls.
Stelian Ionescu [Sun, 4 Apr 2010 17:51:25 +0000] 
Remove prefix %SYS- from syscalls.

3 years agoFix array deftypes.
Stelian Ionescu [Sun, 4 Apr 2010 17:48:59 +0000] 
Fix array deftypes.

3 years agoRemove obsolete check for O_NONBLOCK: FDs are always non-blocking now.
Stelian Ionescu [Sun, 4 Apr 2010 17:10:00 +0000] 
Remove obsolete check for O_NONBLOCK: FDs are always non-blocking now.

3 years agoRename CMSG accessors.
Stelian Ionescu [Sun, 4 Apr 2010 16:57:32 +0000] 
Rename CMSG accessors.

3 years agoFix SIGNAL-SYSCALL-ERROR/RESTART, some cleanup in IOLIB.SYSCALLS
Stelian Ionescu [Sun, 4 Apr 2010 16:29:06 +0000] 
Fix SIGNAL-SYSCALL-ERROR/RESTART, some cleanup in IOLIB.SYSCALLS

3 years agoDon't autodetect IPv6 support: make it always disabled by default.
Stelian Ionescu [Sat, 3 Apr 2010 03:07:04 +0000] 
Don't autodetect IPv6 support: make it always disabled by default.

3 years agoThis is the initial revision of the tutorial and associated examples.
Peter Keller [Fri, 2 Apr 2010 15:41:07 +0000] 
This is the initial revision of the tutorial and associated examples.
The tutorial describes IPV4 TCP blocking and non-blocking I/O in addition
to a couple of threaded examples. "tutorial.tmpl" is the source file used by
"gen-tutorial" to create the atual "tutorial" file. Please see the README for
more information.

The autogenerated "tutorial" file is actually committed since it allows people
who clone the repository to view the tutorial without having to know how to
make it. This means if tutorial.tmpl or the examples are changed, the tutorial
file should be regenerated and rechecked in.

Signed-off-by: Stelian Ionescu <sionescu@cddr.org>

3 years agoMake stream FDs nonblocking by default, various fixes.
Stelian Ionescu [Tue, 30 Mar 2010 11:48:35 +0000] 
Make stream FDs nonblocking by default, various fixes.

3 years agoFix %READ-ONCE/NO-HANG and %FILL-BUF/NO-HANG.
Stelian Ionescu [Tue, 30 Mar 2010 01:53:35 +0000] 
Fix %READ-ONCE/NO-HANG and %FILL-BUF/NO-HANG.

3 years agoRemove useless check in MAYBE-REWIND-IOBUF.
Stelian Ionescu [Tue, 30 Mar 2010 01:51:52 +0000] 
Remove useless check in MAYBE-REWIND-IOBUF.

3 years agoFix enabling of *SAFETY-CHECKS*.
Stelian Ionescu [Tue, 30 Mar 2010 01:43:32 +0000] 
Fix enabling of *SAFETY-CHECKS*.

3 years agoCall DEFAULT-{READ,WRITE}-FN through their function objects.
Stelian Ionescu [Tue, 30 Mar 2010 01:03:58 +0000] 
Call DEFAULT-{READ,WRITE}-FN through their function objects.

3 years agoAdd %READ-ONCE/NO-HANG.
Stelian Ionescu [Tue, 30 Mar 2010 01:02:17 +0000] 
Add %READ-ONCE/NO-HANG.

3 years agoRe-arrange test clauses in STREAM-READ-CHAR-NO-HANG.
Stelian Ionescu [Mon, 29 Mar 2010 00:01:38 +0000] 
Re-arrange test clauses in STREAM-READ-CHAR-NO-HANG.

3 years agoFix bug in STREAM-READ-CHAR-NO-HANG.
Stelian Ionescu [Mon, 29 Mar 2010 00:01:17 +0000] 
Fix bug in STREAM-READ-CHAR-NO-HANG.

3 years agoRewrite STREAM-READ-CHAR and STREAM-READ-CHAR-NO-HANG.
Stelian Ionescu [Sat, 27 Mar 2010 02:37:27 +0000] 
Rewrite STREAM-READ-CHAR and STREAM-READ-CHAR-NO-HANG.

3 years agoNo initform for slot EOL-WRITER.
Stelian Ionescu [Thu, 25 Mar 2010 11:58:04 +0000] 
No initform for slot EOL-WRITER.

3 years agoAdd fast path for EWOULDBLOCK in SIGNAL-SOCKET-ERROR.
Stelian Ionescu [Wed, 24 Mar 2010 23:59:49 +0000] 
Add fast path for EWOULDBLOCK in SIGNAL-SOCKET-ERROR.

3 years agoRemove %WRITE-LINE-TERMINATOR and replace it with eol-writer function stored in the...
Stelian Ionescu [Wed, 24 Mar 2010 22:20:47 +0000] 
Remove %WRITE-LINE-TERMINATOR and replace it with eol-writer function stored in the stream.

3 years agoRewrite STREAM-WRITE-STRING to fix bug reported by Andrey Moskvitin and make code...
Stelian Ionescu [Wed, 24 Mar 2010 21:56:12 +0000] 
Rewrite STREAM-WRITE-STRING to fix bug reported by Andrey Moskvitin and make code clearer.

3 years agoAdd and export condition IOLIB.STREAMS:NO-CHARACTERS-TO-UNREAD, use it in %STREAM...
Stelian Ionescu [Wed, 24 Mar 2010 20:30:29 +0000] 
Add and export condition IOLIB.STREAMS:NO-CHARACTERS-TO-UNREAD, use it in %STREAM-UNREAD-CHAR.

3 years agoRenamed package NET.TRIVIAL-SOCKETS to IOLIB.TRIVIAL-SOCKETS, shadow SOCKET-ERROR.
Stelian Ionescu [Thu, 18 Mar 2010 21:19:14 +0000] 
Renamed package NET.TRIVIAL-SOCKETS to IOLIB.TRIVIAL-SOCKETS, shadow SOCKET-ERROR.

3 years agoAvoid calling NULL callbacks.
Peter Keller [Sat, 6 Mar 2010 23:09:57 +0000] 
Avoid calling NULL callbacks.

3 years agoFix docstrings
Stelian Ionescu [Tue, 19 Jan 2010 16:50:32 +0000] 
Fix docstrings

3 years agoSignal SUBTYPE-ERROR when a MEMORY-ZSTREAM is initialized with data inconsistent...
Stelian Ionescu [Thu, 14 Jan 2010 16:42:14 +0000] 
Signal SUBTYPE-ERROR when a MEMORY-ZSTREAM is initialized with data inconsistent with the specified elementh-type.

3 years agoFix typo and untabify.
Stelian Ionescu [Thu, 14 Jan 2010 16:09:48 +0000] 
Fix typo and untabify.

3 years agoRename IOLIB.ZETA-STREAMS -> IOLIB.ZSTREAMS
Stelian Ionescu [Thu, 14 Jan 2010 16:09:24 +0000] 
Rename IOLIB.ZETA-STREAMS -> IOLIB.ZSTREAMS

3 years agoFix DELETE-FILES: pass correct closure to WALK-DIRECTORY.
Stelian Ionescu [Wed, 13 Jan 2010 21:05:14 +0000] 
Fix DELETE-FILES: pass correct closure to WALK-DIRECTORY.

Bug spotted by Levente Mészáros.

3 years agoUse package :iolib.sockets in :iolib.trivial-sockets.
Stelian Ionescu [Tue, 12 Jan 2010 18:02:32 +0000] 
Use package :iolib.sockets in :iolib.trivial-sockets.

3 years agoDelete spurious .gitignore
Stelian Ionescu [Tue, 12 Jan 2010 00:48:55 +0000] 
Delete spurious .gitignore

3 years agoReplace EQ with EQL.
Stelian Ionescu [Tue, 12 Jan 2010 00:45:35 +0000] 
Replace EQ with EQL.

3 years agoPRINT-OBJECT for INET-ADDRESS now respects *PACKAGE*.
Stelian Ionescu [Tue, 12 Jan 2010 00:20:59 +0000] 
PRINT-OBJECT for INET-ADDRESS now respects *PACKAGE*.

3 years agoPass OS environment as optional arg not keyword arg.
Stelian Ionescu [Tue, 12 Jan 2010 00:19:55 +0000] 
Pass OS environment as optional arg not keyword arg.

3 years agoStyle changes in .asd files: don't qualify ASDF symbols since the file is already...
Stelian Ionescu [Fri, 8 Jan 2010 16:51:58 +0000] 
Style changes in .asd files: don't qualify ASDF symbols since the file is already loaded into its own *package* that uses ASDF.

3 years agoExport restarts IGNORE-SYSCALL-ERROR and RETRY-SYSCALL.
Stelian Ionescu [Tue, 29 Dec 2009 17:17:37 +0000] 
Export restarts IGNORE-SYSCALL-ERROR and RETRY-SYSCALL.

3 years agoSmall fix: ignoring wrong variable.
Stelian Ionescu [Mon, 28 Dec 2009 15:42:21 +0000] 
Small fix: ignoring wrong variable.

3 years agoAdd %SYS-EXIT that calls _exit(2) not exit(3).
David Lichteblau [Mon, 28 Dec 2009 15:30:03 +0000] 
Add %SYS-EXIT that calls _exit(2) not exit(3).