projects/iolib/iolib.git
4 years agoPreliminary new SOCKET-CONNECTED-P. socket-connected-p
Stelian Ionescu [Sun, 30 Nov 2008 17:04:21 +0000] 
Preliminary new SOCKET-CONNECTED-P.

4 years agoSmall fix in %WRITE-OCTETS-FROM-FOREIGN-MEMORY.
Stelian Ionescu [Sat, 20 Dec 2008 22:21:25 +0000] 
Small fix in %WRITE-OCTETS-FROM-FOREIGN-MEMORY.

4 years agoMake SIZE-OF a DEFGENERIC.
Stelian Ionescu [Sat, 20 Dec 2008 22:05:16 +0000] 
Make SIZE-OF a DEFGENERIC.

4 years agoSmall changes to DYNAMIC-BUFFER conditions.
Stelian Ionescu [Sat, 20 Dec 2008 16:13:44 +0000] 
Small changes to DYNAMIC-BUFFER conditions.

4 years agoSimplify SEEK-READ-CURSOR.
Stelian Ionescu [Sat, 20 Dec 2008 16:03:17 +0000] 
Simplify SEEK-READ-CURSOR.

4 years agoCleanup of DYNAMIC-BUFFER code.
Stelian Ionescu [Fri, 19 Dec 2008 22:52:03 +0000] 
Cleanup of DYNAMIC-BUFFER code.

4 years agoFix ASDF deps of IO.MULTIPLEX
Stelian Ionescu [Fri, 19 Dec 2008 15:54:34 +0000] 
Fix ASDF deps of IO.MULTIPLEX

4 years agoSmall fix of assertion message in INITIALIZE-INSTANCE of DYNAMIC-BUFFER.
Stelian Ionescu [Fri, 19 Dec 2008 14:29:03 +0000] 
Small fix of assertion message in INITIALIZE-INSTANCE of DYNAMIC-BUFFER.

4 years agoAdd back (include "stdlib.h") to fix compilation on FreeBSD.
Stelian Ionescu [Fri, 19 Dec 2008 02:09:26 +0000] 
Add back (include "stdlib.h") to fix compilation on FreeBSD.

4 years agoRemove superfluous include.
Stelian Ionescu [Tue, 16 Dec 2008 20:10:17 +0000] 
Remove superfluous include.

4 years agoSimplify socket wrappers.
Stelian Ionescu [Tue, 16 Dec 2008 20:04:10 +0000] 
Simplify socket wrappers.

4 years agoUse single-colon package qualifier for NIX:POSIX-ERROR.
Stelian Ionescu [Thu, 11 Dec 2008 14:59:43 +0000] 
Use single-colon package qualifier for NIX:POSIX-ERROR.

4 years agoSomehow fix the workaround for the fact that POLLRDHUP is not evailable everywhere.
Stelian Ionescu [Thu, 11 Dec 2008 00:18:38 +0000] 
Somehow fix the workaround for the fact that POLLRDHUP is not evailable everywhere.

4 years agoRemove SO_BSDCOMPAT socket option.
Stelian Ionescu [Wed, 10 Dec 2008 22:39:57 +0000] 
Remove SO_BSDCOMPAT socket option.

4 years agoBetter mangling of Gray stream symbols.
Stelian Ionescu [Tue, 9 Dec 2008 00:11:03 +0000] 
Better mangling of Gray stream symbols.

4 years agoRemove now obsolete BUG note.
Stelian Ionescu [Mon, 8 Dec 2008 00:55:51 +0000] 
Remove now obsolete BUG note.

4 years agoSome cleanup of Gray stream code.
Stelian Ionescu [Mon, 8 Dec 2008 00:46:31 +0000] 
Some cleanup of Gray stream code.

4 years agoCheck stream writing for EPIPE and signal a HANGUP if so.
Stelian Ionescu [Sat, 6 Dec 2008 14:23:40 +0000] 
Check stream writing for EPIPE and signal a HANGUP if so.

4 years agoFirst round of Gray Stream code cleanup.
Stelian Ionescu [Sat, 6 Dec 2008 13:38:34 +0000] 
First round of Gray Stream code cleanup.

4 years agoRename *DEBUG* to *SAFETY-CHECKS*, add docstring.
Stelian Ionescu [Sat, 6 Dec 2008 00:22:00 +0000] 
Rename *DEBUG* to *SAFETY-CHECKS*, add docstring.

4 years agoAdd debugging asserts to stream buffer functions.
Attila Lendvai [Fri, 5 Dec 2008 19:21:03 +0000] 
Add debugging asserts to stream buffer functions.

4 years agoAdd debug helpers.
Attila Lendvai [Fri, 5 Dec 2008 19:12:59 +0000] 
Add debug helpers.

4 years agoFix DEFINE-SOCKET-CALL and drop docstrings for socket syscalls.
Stelian Ionescu [Fri, 5 Dec 2008 19:11:53 +0000] 
Fix DEFINE-SOCKET-CALL and drop docstrings for socket syscalls.

4 years agoMake socket syscalls specify the socket FD in case of errors.
Stelian Ionescu [Fri, 5 Dec 2008 18:43:23 +0000] 
Make socket syscalls specify the socket FD in case of errors.

4 years agoMake CLOSE of SELECT-MULTIPLEXERs double-free-safe.
Stelian Ionescu [Fri, 5 Dec 2008 17:21:45 +0000] 
Make CLOSE of SELECT-MULTIPLEXERs double-free-safe.

4 years agoMake FREE-IOBUF double-free-safe.
Stelian Ionescu [Fri, 5 Dec 2008 17:14:21 +0000] 
Make FREE-IOBUF double-free-safe.

4 years agoAdd stream.lisp to zeta-streams.
Stelian Ionescu [Sun, 30 Nov 2008 16:54:02 +0000] 
Add stream.lisp to zeta-streams.

4 years agoStyle fix.
Stelian Ionescu [Sun, 30 Nov 2008 16:52:53 +0000] 
Style fix.

4 years agoRemove obsolescence notes.
Stelian Ionescu [Sun, 30 Nov 2008 16:42:27 +0000] 
Remove obsolescence notes.

4 years agoReplace use of ENSURE-SUBNET-MASK with ENSURE-NETMASK.
Stelian Ionescu [Sun, 30 Nov 2008 01:47:19 +0000] 
Replace use of ENSURE-SUBNET-MASK with ENSURE-NETMASK.

4 years agoAdd and export IPV4-NETWORK=.
Stelian Ionescu [Sat, 29 Nov 2008 15:59:02 +0000] 
Add and export IPV4-NETWORK=.

4 years agoModify INET-ADDRESS-IN-NETWORK-P and INET-ADDRESSES-IN-SAME-NETWORK-P to specialize...
Stelian Ionescu [Sat, 29 Nov 2008 15:57:44 +0000] 
Modify INET-ADDRESS-IN-NETWORK-P and INET-ADDRESSES-IN-SAME-NETWORK-P to specialize on the class IPV4-NETWORK.

4 years agoAdd and export class IPV4-NETWORK.
Stelian Ionescu [Sat, 29 Nov 2008 15:34:51 +0000] 
Add and export class IPV4-NETWORK.

4 years agoRename ENSURE-SUBNET-MASK to ENSURE-NETMASK and make it obsolete.
Stelian Ionescu [Sat, 29 Nov 2008 15:32:48 +0000] 
Rename ENSURE-SUBNET-MASK to ENSURE-NETMASK and make it obsolete.

4 years agoFix typo in docstring of INET-ADDRESS-NETWORK-CLASS.
Stelian Ionescu [Sat, 29 Nov 2008 15:16:35 +0000] 
Fix typo in docstring of INET-ADDRESS-NETWORK-CLASS.

4 years agoRename MAKE-SUBNET-MASK to MAKE-NETMASK and make it obsolete.
Stelian Ionescu [Sat, 29 Nov 2008 15:14:28 +0000] 
Rename MAKE-SUBNET-MASK to MAKE-NETMASK and make it obsolete.

4 years agoMove SOCKET-READ-FN and SOCKET-WRITE-FN to socket-methods.lisp
Stelian Ionescu [Tue, 18 Nov 2008 18:19:32 +0000] 
Move SOCKET-READ-FN and SOCKET-WRITE-FN to socket-methods.lisp

4 years agoTODO entry.
Stelian Ionescu [Tue, 18 Nov 2008 16:57:40 +0000] 
TODO entry.

4 years agoRemove SERIES use.
Stelian Ionescu [Wed, 12 Nov 2008 01:31:22 +0000] 
Remove SERIES use.

4 years agoResolve port designators in BIND-ADDRESS and CONNECT instead of the MAKE-SOCKET helpers.
Stelian Ionescu [Fri, 7 Nov 2008 10:49:13 +0000] 
Resolve port designators in BIND-ADDRESS and CONNECT instead of the MAKE-SOCKET helpers.

4 years agoFix closing order of FD-MIXIN instances.
Stelian Ionescu [Fri, 31 Oct 2008 21:11:20 +0000] 
Fix closing order of FD-MIXIN instances.

4 years agoFix previous commit.
Stelian Ionescu [Sat, 25 Oct 2008 16:59:48 +0000] 
Fix previous commit.

4 years agoAutodetect IPv6 support and initialise NET.SOCKETS:*IPV6* accordingly.
Stelian Ionescu [Sat, 25 Oct 2008 16:56:59 +0000] 
Autodetect IPv6 support and initialise NET.SOCKETS:*IPV6* accordingly.

4 years agoAdd Scieneer Common Lisp support
Stelian Ionescu [Thu, 16 Oct 2008 08:26:36 +0000] 
Add Scieneer Common Lisp support

4 years agoFix for modern mode.
Stelian Ionescu [Thu, 16 Oct 2008 08:19:18 +0000] 
Fix for modern mode.

4 years agoDon't signal error in %HANDLE-ONE-FD when an FD isn't monitored.
Stelian Ionescu [Mon, 13 Oct 2008 09:41:45 +0000] 
Don't signal error in %HANDLE-ONE-FD when an FD isn't monitored.

4 years agoHandle EINPROGRESS too in CALL-WITH-SOCKET-TO-WAIT-CONNECT.
Stelian Ionescu [Thu, 25 Sep 2008 23:21:21 +0000] 
Handle EINPROGRESS too in CALL-WITH-SOCKET-TO-WAIT-CONNECT.

4 years agoFix assertion in REMOVE-FD-HANDLERS.
Stelian Ionescu [Thu, 25 Sep 2008 20:53:23 +0000] 
Fix assertion in REMOVE-FD-HANDLERS.

4 years agoReally add types.lisp
Stelian Ionescu [Thu, 25 Sep 2008 20:26:43 +0000] 
Really add types.lisp

4 years agoComment out the definition of structs ucred(Linux) and sockcred(*BSD) because they...
Stelian Ionescu [Thu, 25 Sep 2008 16:18:10 +0000] 
Comment out the definition of structs ucred(Linux) and sockcred(*BSD) because they're not used ATM.

4 years agoAnother round of IO.MULTIPLEX cleanup, API changes.
Stelian Ionescu [Mon, 22 Sep 2008 16:25:24 +0000] 
Another round of IO.MULTIPLEX cleanup, API changes.

4 years agoFix base DEFMACRO in case of empty bodies.
Stelian Ionescu [Mon, 22 Sep 2008 04:05:13 +0000] 
Fix base DEFMACRO in case of empty bodies.

4 years agoAdd type FUNCTION-DESIGNATOR to base package.
Stelian Ionescu [Sun, 21 Sep 2008 22:46:44 +0000] 
Add type FUNCTION-DESIGNATOR to base package.

4 years agoMore IO.MULTIPLEX cleanup.
Stelian Ionescu [Sun, 21 Sep 2008 20:09:40 +0000] 
More IO.MULTIPLEX cleanup.

4 years agoEvent loop cleanup.
Stelian Ionescu [Sun, 21 Sep 2008 05:01:05 +0000] 
Event loop cleanup.

4 years agoDon't use ALEXANDRIA:ENSURE-SYMBOL in base pkgdcl.lisp
Stelian Ionescu [Sun, 21 Sep 2008 04:06:32 +0000] 
Don't use ALEXANDRIA:ENSURE-SYMBOL in base pkgdcl.lisp

4 years agoBetter re-exporting of symbols from iolib.base
Stelian Ionescu [Sun, 21 Sep 2008 04:03:03 +0000] 
Better re-exporting of symbols from iolib.base

4 years agoRename multiplexer backend files.
Stelian Ionescu [Wed, 17 Sep 2008 14:23:30 +0000] 
Rename multiplexer backend files.

4 years agoDispatch ERROR events after regular events and add argument ERRORP to callbacks.
Stelian Ionescu [Sun, 14 Sep 2008 20:43:38 +0000] 
Dispatch ERROR events after regular events and add argument ERRORP to callbacks.

4 years agoFix SEND-TO docstring.
Stelian Ionescu [Sun, 14 Sep 2008 20:40:26 +0000] 
Fix SEND-TO docstring.

4 years agoFix RELINQUISH.
Stelian Ionescu [Thu, 11 Sep 2008 22:33:27 +0000] 
Fix RELINQUISH.

4 years agoFix tests.
Stelian Ionescu [Wed, 10 Sep 2008 16:05:30 +0000] 
Fix tests.

4 years agoMove gray stream code to base pacakge.
Stelian Ionescu [Wed, 10 Sep 2008 16:04:48 +0000] 
Move gray stream code to base pacakge.

4 years agoFix iolib-tests.asd
Stelian Ionescu [Wed, 10 Sep 2008 15:52:48 +0000] 
Fix iolib-tests.asd

4 years agoAdd EVAL-WHENs.
Stelian Ionescu [Wed, 10 Sep 2008 15:50:30 +0000] 
Add EVAL-WHENs.

4 years agoInclude trivial-gray-streams.
Stelian Ionescu [Wed, 10 Sep 2008 15:45:30 +0000] 
Include trivial-gray-streams.

4 years agoSmall header fix.
Stelian Ionescu [Tue, 9 Sep 2008 16:21:14 +0000] 
Small header fix.

4 years agoMore checks when initialising BUFFERs.
Stelian Ionescu [Sun, 7 Sep 2008 20:58:37 +0000] 
More checks when initialising BUFFERs.

4 years agoAllow initializing FILE-DEVICEs with already-open file descriptors.
Stelian Ionescu [Sun, 7 Sep 2008 20:02:31 +0000] 
Allow initializing FILE-DEVICEs with already-open file descriptors.

4 years agoMove some type definitions around.
Stelian Ionescu [Sat, 6 Sep 2008 00:31:54 +0000] 
Move some type definitions around.

4 years agoRefactor file opening.
Stelian Ionescu [Fri, 5 Sep 2008 15:35:56 +0000] 
Refactor file opening.

4 years agoRename some buffer methods.
Stelian Ionescu [Fri, 5 Sep 2008 14:20:41 +0000] 
Rename some buffer methods.

4 years agoAdd a CHECK-TYPE to MAKE-IOBUF.
Stelian Ionescu [Fri, 5 Sep 2008 14:19:46 +0000] 
Add a CHECK-TYPE to MAKE-IOBUF.

4 years agoFix CLAMP-TIMEOUT for NULL timeouts.
Stelian Ionescu [Fri, 5 Sep 2008 14:18:42 +0000] 
Fix CLAMP-TIMEOUT for NULL timeouts.

4 years agoCosmetic changes.
Stelian Ionescu [Thu, 4 Sep 2008 19:02:04 +0000] 
Cosmetic changes.

4 years agoCosmetic changes.
Stelian Ionescu [Thu, 4 Sep 2008 17:31:58 +0000] 
Cosmetic changes.

4 years agoUse keyword instead of optional args for device functions.
Stelian Ionescu [Thu, 4 Sep 2008 15:23:17 +0000] 
Use keyword instead of optional args for device functions.

4 years agoRefactor device code.
Stelian Ionescu [Thu, 4 Sep 2008 02:10:29 +0000] 
Refactor device code.

4 years agoClose FDs in a CLOSE method :AROUND DUAL-CHANNEL-SINGLE-FD-MIXIN.
Stelian Ionescu [Tue, 2 Sep 2008 13:29:17 +0000] 
Close FDs in a CLOSE method :AROUND DUAL-CHANNEL-SINGLE-FD-MIXIN.

4 years agoAdd missing EVAL-WHEN around SELECT-SOCKET-CLASS.
Stelian Ionescu [Tue, 2 Sep 2008 11:28:23 +0000] 
Add missing EVAL-WHEN around SELECT-SOCKET-CLASS.

4 years agoAdd section headers in socket-methods.lisp
Stelian Ionescu [Tue, 2 Sep 2008 11:23:54 +0000] 
Add section headers in socket-methods.lisp

4 years agoFix typo in %RECEIVE-FROM.
Stelian Ionescu [Tue, 2 Sep 2008 11:03:07 +0000] 
Fix typo in %RECEIVE-FROM.

4 years agoCleaner SEND-TO.
Stelian Ionescu [Tue, 2 Sep 2008 10:56:07 +0000] 
Cleaner SEND-TO.

4 years agoMinor improvement to RECEIVE-FROM.
Stelian Ionescu [Tue, 2 Sep 2008 10:44:33 +0000] 
Minor improvement to RECEIVE-FROM.

4 years agoCleaner RECEIVE-FROM.
Stelian Ionescu [Tue, 2 Sep 2008 10:00:46 +0000] 
Cleaner RECEIVE-FROM.

4 years agoRename restart CONTINUE to RETRY in %%SEND-TO and %%RECEIVE-FROM.
Stelian Ionescu [Tue, 2 Sep 2008 01:27:17 +0000] 
Rename restart CONTINUE to RETRY in %%SEND-TO and %%RECEIVE-FROM.

4 years agoRefactor %RECEIVE-FROM internals.
Stelian Ionescu [Tue, 2 Sep 2008 01:15:14 +0000] 
Refactor %RECEIVE-FROM internals.

4 years agoMinor cleanup on ZETA-STREAMS.
Stelian Ionescu [Tue, 2 Sep 2008 01:06:10 +0000] 
Minor cleanup on ZETA-STREAMS.

4 years agoSEND-TO and RECEIVE-FROM don't accept strings any more.
Stelian Ionescu [Mon, 1 Sep 2008 23:42:07 +0000] 
SEND-TO and RECEIVE-FROM don't accept strings any more.

4 years agoBetter %%RECEIVE-FROM.
Stelian Ionescu [Mon, 1 Sep 2008 22:59:48 +0000] 
Better %%RECEIVE-FROM.

4 years agoImprove RECEIVE-FROM and its compiler macro.
Stelian Ionescu [Mon, 1 Sep 2008 22:22:50 +0000] 
Improve RECEIVE-FROM and its compiler macro.

4 years agoRemove CHECK-BOUNDS from gray streams since it's already in the base package.
Stelian Ionescu [Mon, 1 Sep 2008 21:36:20 +0000] 
Remove CHECK-BOUNDS from gray streams since it's already in the base package.

4 years agoImprove WITH-CLOSE-ON-ERROR.
Stelian Ionescu [Sun, 31 Aug 2008 13:51:10 +0000] 
Improve WITH-CLOSE-ON-ERROR.

4 years agoAdd INLINE declamations for foreign wrappers.
Stelian Ionescu [Sat, 30 Aug 2008 08:45:29 +0000] 
Add INLINE declamations for foreign wrappers.

4 years agoRename GET-ERRNO/SET-ERRNO to %SYS-ERRNO/(SETF %SYS-ERRNO).
Stelian Ionescu [Fri, 29 Aug 2008 23:46:13 +0000] 
Rename GET-ERRNO/SET-ERRNO to %SYS-ERRNO/(SETF %SYS-ERRNO).

4 years agoFix IOMUX::REMOVE-FD.
Stelian Ionescu [Fri, 29 Aug 2008 17:18:00 +0000] 
Fix IOMUX::REMOVE-FD.

4 years agoFix ACCEPT-CONNECTION.
Stelian Ionescu [Fri, 29 Aug 2008 13:32:18 +0000] 
Fix ACCEPT-CONNECTION.

4 years agoFix docstrings of a few address conversion functions.
Stelian Ionescu [Wed, 27 Aug 2008 11:49:57 +0000] 
Fix docstrings of a few address conversion functions.

Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>

4 years agoStyle change.
Stelian Ionescu [Mon, 25 Aug 2008 14:23:00 +0000] 
Style change.

Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>

4 years agoDefine _XOPEN_SOURCE on all OSes.
Stelian Ionescu [Sat, 23 Aug 2008 19:33:36 +0000] 
Define _XOPEN_SOURCE on all OSes.

Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>