My name is John D and I like 16 | Einstürzende Neubauten. 18 |
19 |20 | My favorite 21 | book is the inspiring Weaving the Web by 23 | Tim Berners-Lee 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /utils/chunga-1.1.1/CHANGELOG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-watson/lisp_practical_semantic_web/cb55635a973b0330e0628ed3a59fcf5388eb5b67/utils/chunga-1.1.1/CHANGELOG.txt -------------------------------------------------------------------------------- /utils/chunga-1.1.1/chunga.asd: -------------------------------------------------------------------------------- 1 | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- 2 | ;;; $Header: /usr/local/cvsrep/chunga/chunga.asd,v 1.20 2008/05/24 18:38:30 edi Exp $ 3 | 4 | ;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved. 5 | 6 | ;;; Redistribution and use in source and binary forms, with or without 7 | ;;; modification, are permitted provided that the following conditions 8 | ;;; are met: 9 | 10 | ;;; * Redistributions of source code must retain the above copyright 11 | ;;; notice, this list of conditions and the following disclaimer. 12 | 13 | ;;; * Redistributions in binary form must reproduce the above 14 | ;;; copyright notice, this list of conditions and the following 15 | ;;; disclaimer in the documentation and/or other materials 16 | ;;; provided with the distribution. 17 | 18 | ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED 19 | ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 22 | ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 24 | ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 | ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 | ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | (asdf:defsystem :chunga 31 | :serial t 32 | :version "1.1.1" 33 | :depends-on (:trivial-gray-streams) 34 | :components ((:file "packages") 35 | (:file "specials") 36 | (:file "util") 37 | (:file "known-words") 38 | (:file "conditions") 39 | (:file "read") 40 | (:file "streams") 41 | (:file "input") 42 | (:file "output"))) 43 | -------------------------------------------------------------------------------- /utils/chunga-1.1.1/packages.lisp: -------------------------------------------------------------------------------- 1 | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- 2 | ;;; $Header: /usr/local/cvsrep/chunga/packages.lisp,v 1.19 2008/05/24 18:38:30 edi Exp $ 3 | 4 | ;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved. 5 | 6 | ;;; Redistribution and use in source and binary forms, with or without 7 | ;;; modification, are permitted provided that the following conditions 8 | ;;; are met: 9 | 10 | ;;; * Redistributions of source code must retain the above copyright 11 | ;;; notice, this list of conditions and the following disclaimer. 12 | 13 | ;;; * Redistributions in binary form must reproduce the above 14 | ;;; copyright notice, this list of conditions and the following 15 | ;;; disclaimer in the documentation and/or other materials 16 | ;;; provided with the distribution. 17 | 18 | ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED 19 | ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 22 | ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 24 | ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 | ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 | ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 | ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | (in-package :cl-user) 31 | 32 | (defpackage :chunga 33 | (:use :cl :trivial-gray-streams) 34 | #+:lispworks 35 | (:import-from :lw :when-let) 36 | (:export :*accept-bogus-eols* 37 | :*current-error-message* 38 | :*treat-semicolon-as-continuation* 39 | :assert-char 40 | :as-keyword 41 | :as-capitalized-string 42 | :chunga-error 43 | :chunga-warning 44 | :chunked-input-stream 45 | :chunked-input-stream-extensions 46 | :chunked-input-stream-trailers 47 | :chunked-io-stream 48 | :chunked-output-stream 49 | :chunked-stream 50 | :chunked-stream-input-chunking-p 51 | :chunked-stream-output-chunking-p 52 | :chunked-stream-stream 53 | :input-chunking-body-corrupted 54 | :input-chunking-unexpected-end-of-file 55 | :make-chunked-stream 56 | :read-http-headers 57 | :peek-char* 58 | :read-char* 59 | :read-line* 60 | :read-name-value-pair 61 | :read-name-value-pairs 62 | :read-token 63 | :skip-whitespace 64 | :syntax-error 65 | :token-char-p 66 | :trim-whitespace 67 | :with-character-stream-semantics)) 68 | 69 | -------------------------------------------------------------------------------- /utils/cl-base64-3.3.3/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002-2003 by Kevin Rosenberg 2 | 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 1. Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. The name of the Authors may not be used to endorse or promote products 14 | derived from this software without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 17 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 23 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 25 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 26 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /utils/cl-base64-3.3.3/cl-base64.asd: -------------------------------------------------------------------------------- 1 | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- 2 | ;;;; ************************************************************************* 3 | ;;;; FILE IDENTIFICATION 4 | ;;;; 5 | ;;;; Name: cl-base64.asd 6 | ;;;; Purpose: ASDF definition file for Cl-Base64 7 | ;;;; Programmer: Kevin M. Rosenberg 8 | ;;;; Date Started: Dec 2002 9 | ;;;; 10 | ;;;; $Id$ 11 | ;;;; ************************************************************************* 12 | 13 | (in-package #:cl-user) 14 | (defpackage #:cl-base64-system (:use #:asdf #:cl)) 15 | (in-package #:cl-base64-system) 16 | 17 | 18 | (defsystem cl-base64 19 | :name "cl-base64" 20 | :author "Kevin M. Rosenberg based on initial code by Juri Pakaste" 21 | :version "3.1" 22 | :maintainer "Kevin M. Rosenberg")) 82 | (equal (simple-echo-xml-string xml) 83 | xml))) 84 | 85 | ;;;; eof -------------------------------------------------------------------------------- /utils/s-xml/test/tracer.lisp: -------------------------------------------------------------------------------- 1 | ;;;; -*- mode: lisp -*- 2 | ;;;; 3 | ;;;; $Id: tracer.lisp,v 1.2 2004/06/11 11:14:43 scaekenberghe Exp $ 4 | ;;;; 5 | ;;;; A simple SSAX tracer example that can be used to understand how the hooks are called 6 | ;;;; 7 | ;;;; Copyright (C) 2004 Sven Van Caekenberghe, Beta Nine BVBA. 8 | ;;;; 9 | ;;;; You are granted the rights to distribute and use this software 10 | ;;;; as governed by the terms of the Lisp Lesser General Public License 11 | ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. 12 | 13 | (in-package :s-xml) 14 | 15 | (defun trace-xml-log (level msg &rest args) 16 | (indent *standard-output* level) 17 | (apply #'format *standard-output* msg args) 18 | (terpri *standard-output*)) 19 | 20 | (defun trace-xml-new-element-hook (name attributes seed) 21 | (let ((new-seed (cons (1+ (car seed)) (1+ (cdr seed))))) 22 | (trace-xml-log (car seed) 23 | "(new-element :name ~s :attributes ~:[()~;~:*~s~] :seed ~s) => ~s" 24 | name attributes seed new-seed) 25 | new-seed)) 26 | 27 | (defun trace-xml-finish-element-hook (name attributes parent-seed seed) 28 | (let ((new-seed (cons (1- (car seed)) (1+ (cdr seed))))) 29 | (trace-xml-log (car parent-seed) 30 | "(finish-element :name ~s :attributes ~:[()~;~:*~s~] :parent-seed ~s :seed ~s) => ~s" 31 | name attributes parent-seed seed new-seed) 32 | new-seed)) 33 | 34 | (defun trace-xml-text-hook (string seed) 35 | (let ((new-seed (cons (car seed) (1+ (cdr seed))))) 36 | (trace-xml-log (car seed) 37 | "(text :string ~s :seed ~s) => ~s" 38 | string seed new-seed) 39 | new-seed)) 40 | 41 | (defun trace-xml (in) 42 | "Parse and trace a toplevel XML element from stream in" 43 | (start-parse-xml in 44 | (make-instance 'xml-parser-state 45 | :seed (cons 0 0) 46 | ;; seed car is xml element nesting level 47 | ;; seed cdr is ever increasing from element to element 48 | :new-element-hook #'trace-xml-new-element-hook 49 | :finish-element-hook #'trace-xml-finish-element-hook 50 | :text-hook #'trace-xml-text-hook))) 51 | 52 | (defun trace-xml-file (pathname) 53 | "Parse and trace XMl from the file at pathname" 54 | (with-open-file (in pathname) 55 | (trace-xml in))) 56 | 57 | ;;;; eof 58 | -------------------------------------------------------------------------------- /utils/split-sequence/README.cCLan-install: -------------------------------------------------------------------------------- 1 | 1. Make a symlink in "~/lisp-systems/"[*] pointing to the .asd file 2 | 2. Start your asdf-enabled lisp 3 | 2a. Ensure that "~/lisp-systems/"[*] is in asdf:*central-registry* 4 | 3. At the lisp prompt, type '(asdf:oos 'asdf:load-op "split-sequence")'. This 5 | will compile and load the system into your running lisp. 6 | 7 | [*] This path ("~/lisp-systems/") is only a suggestion; the important 8 | thing is that asdf know where to find the .asd file. Adsf uses the 9 | contents of the variable ASDF:*CENTRAL-REGISTRY* to find its system 10 | definitions. 11 | 12 | These instructions were automatically generated by cCLan software. Use 13 | at your own peril. 14 | -------------------------------------------------------------------------------- /utils/split-sequence/split-sequence.asd: -------------------------------------------------------------------------------- 1 | ;;; -*- Lisp -*- mode 2 | (defpackage #:split-sequence-system (:use #:cl #:asdf)) 3 | (in-package :split-sequence-system) 4 | 5 | (defsystem :split-sequence 6 | :version "20011114.1" 7 | :components ((:file "split-sequence"))) 8 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2005 David Lichteblau 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation files 5 | (the "Software"), to deal in the Software without restriction, 6 | including without limitation the rights to use, copy, modify, merge, 7 | publish, distribute, sublicense, and/or sell copies of the Software, 8 | and to permit persons to whom the Software is furnished to do so, 9 | subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 18 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 19 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/CVS/Entries: -------------------------------------------------------------------------------- 1 | /COPYING/1.1/Sun Dec 4 23:41:05 2005// 2 | /Makefile/1.1.1.1/Wed Nov 9 22:11:00 2005// 3 | /README/1.3/Thu Sep 14 17:45:36 2006// 4 | /mixin.lisp/1.7/Sat Nov 1 03:13:22 2008// 5 | /package.lisp/1.5/Wed Sep 10 16:36:29 2008// 6 | /trivial-gray-streams.asd/1.1.1.1/Wed Nov 9 22:11:00 2005// 7 | D 8 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/CVS/Repository: -------------------------------------------------------------------------------- 1 | trivial-gray-streams 2 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous:anonymous@common-lisp.net:/project/cl-plus-ssl/cvsroot 2 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: clean 2 | clean: 3 | rm -f *.fasl *.x86f *.fas *.ufsl *.lib *.pfsl 4 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/README: -------------------------------------------------------------------------------- 1 | trivial-gray-streams 2 | ==================== 3 | 4 | This system provides an extremely thin compatibility layer for gray 5 | streams. It is nearly *too* trivial for a complete package, except that 6 | I have copy&pasted this code into enough projects now that I decided to 7 | factor it out once again now, and then *never* have to touch it again. 8 | 9 | 10 | How to use it 11 | ============= 12 | 13 | 1. Use the package TRIVIAL-GRAY-STREAMS instead of whatever 14 | implementation-specific package you would have to use otherwise to 15 | get at gray stream symbols. 16 | 2. For STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE, notice that we 17 | use two required arguments and allow additional keyword arguments. 18 | So the lambda list when defining a method on either function should look 19 | like this: 20 | (stream sequence start end &key) 21 | 3. In order for (2) to work on all Lisps, make sure to subclass all your 22 | stream classes from TRIVIAL-GRAY-STREAM-MIXIN if you intend to define 23 | methods on those two generic functions. 24 | 25 | 26 | Extensions 27 | ========== 28 | 29 | Generic function STREAM-READ-SEQUENCE (stream sequence start end &key) 30 | Generic function STREAM-WRITE-SEQUENCE (stream sequence start end &key) 31 | 32 | See above. 33 | 34 | Generic function STREAM-FILE-POSITION (stream) => file position 35 | Generic function (SETF STREAM-FILE-POSITION) (position-spec stream) => successp 36 | 37 | Will only be called by LispWorks and CLISP. 38 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/package.lisp: -------------------------------------------------------------------------------- 1 | (in-package :trivial-gray-streams-system) 2 | 3 | #+cmu 4 | (eval-when (:compile-toplevel :load-toplevel :execute) 5 | (require :gray-streams)) 6 | 7 | #+allegro 8 | (eval-when (:compile-toplevel :load-toplevel :execute) 9 | (unless (fboundp 'stream:stream-write-string) 10 | (require "streamc.fasl"))) 11 | 12 | #+ecl 13 | (eval-when (:compile-toplevel :load-toplevel :execute) 14 | (gray::redefine-cl-functions)) 15 | 16 | (macrolet 17 | ((frob () 18 | (let 19 | ((common-symbols 20 | '(#:fundamental-stream #:fundamental-input-stream 21 | #:fundamental-output-stream #:fundamental-character-stream 22 | #:fundamental-binary-stream #:fundamental-character-input-stream 23 | #:fundamental-character-output-stream 24 | #:fundamental-binary-input-stream 25 | #:fundamental-binary-output-stream #:stream-read-char 26 | #:stream-unread-char #:stream-read-char-no-hang 27 | #:stream-peek-char #:stream-listen #:stream-read-line 28 | #:stream-clear-input #:stream-write-char #:stream-line-column 29 | #:stream-start-line-p #:stream-write-string #:stream-terpri 30 | #:stream-fresh-line #:stream-finish-output #:stream-force-output 31 | #:stream-clear-output #:stream-advance-to-column 32 | #:stream-read-byte #:stream-write-byte))) 33 | `(defpackage :trivial-gray-streams 34 | (:use :cl) 35 | (:import-from #+sbcl :sb-gray 36 | #+allegro :excl 37 | #+cmu :ext 38 | #+clisp :gray 39 | #+openmcl :ccl 40 | #+lispworks :stream 41 | #+ecl :gray 42 | #-(or sbcl allegro cmu clisp openmcl lispworks ecl) ... 43 | ,@common-symbols) 44 | (:export #:trivial-gray-stream-mixin 45 | #:stream-read-sequence 46 | #:stream-write-sequence 47 | #:stream-file-position 48 | ,@common-symbols))))) 49 | (frob)) 50 | -------------------------------------------------------------------------------- /utils/trivial-gray-streams-2008-11-02/trivial-gray-streams.asd: -------------------------------------------------------------------------------- 1 | ;;; -*- mode: lisp -*- 2 | 3 | (defpackage :trivial-gray-streams-system 4 | (:use :cl :asdf)) 5 | (in-package :trivial-gray-streams-system) 6 | 7 | (defsystem :trivial-gray-streams 8 | :serial t 9 | :components ((:file "package") (:file "mixin"))) 10 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/LICENSE: -------------------------------------------------------------------------------- 1 | (This is the MIT / X Consortium license as taken from 2 | http://www.opensource.org/licenses/mit-license.html) 3 | 4 | Copyright (c) 2003 Erik Enge 5 | Copyright (c) 2006-2007 Erik Huelsmann 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining 8 | a copy of this software and associated documentation files (the 9 | "Software"), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, sublicense, and/or sell copies of the Software, and to 12 | permit persons to whom the Software is furnished to do so, subject to 13 | the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 22 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/Makefile: -------------------------------------------------------------------------------- 1 | # $Id: Makefile 80 2006-02-12 10:09:49Z ehuelsmann $ 2 | # $URL: svn+ssh://ehuelsmann@common-lisp.net/project/usocket/svn/usocket/tags/0.4.1/Makefile $ 3 | 4 | clean: 5 | find -name -o -name "*~" -o -name "*.err" -o -name "*.x86f" -o -name "*.lib" -o -name "*.fas" -o -name "*.fasl" -o -name "*.faslmt" -o -name "*.ufsl" -o -name "*.abcl" | xargs rm 6 | 7 | commit: 8 | make clean; svn up; svn ci 9 | 10 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/TODO: -------------------------------------------------------------------------------- 1 | 2 | - Implement wait-for-input-internal for 3 | * SBCL Win32 4 | 5 | - Implement errors for (the alien interface code of) 6 | * SBCL Unix 7 | * CMUCL Unix 8 | * OpenMCL 9 | 10 | 11 | - Extend ABCL socket support with the 4 java errors in java.net.* 12 | so that they can map to our usocket errors instead of mapping 13 | all errors to unknown-error. 14 | 15 | - Add INET6 support. 16 | 17 | For more TODO items, see http://trac.common-lisp.net/usocket/report. 18 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/doc/backends.txt: -------------------------------------------------------------------------------- 1 | -*- text -*- 2 | 3 | $Id: backends.txt 182 2007-01-19 23:43:12Z ehuelsmann $ 4 | 5 | A document to describe which APIs a backend should implement. 6 | 7 | 8 | Each backend should implement: 9 | 10 | Functions: 11 | 12 | - handle-condition 13 | - socket-connect 14 | - socket-listen 15 | - get-hosts-by-name [ optional ] 16 | - get-host-by-address [ optional ] 17 | 18 | 19 | Methods: 20 | 21 | - socket-close 22 | - socket-accept 23 | - get-local-name 24 | - get-peer-name 25 | 26 | and - for ip sockets - these methods: 27 | 28 | - get-local-address 29 | - get-local-port 30 | - get-peer-address 31 | - get-peer-port 32 | 33 | 34 | An error-handling function, resolving implementation specific errors 35 | to this list of errors: 36 | 37 | - address-in-use-error 38 | - address-not-available-error 39 | - bad-file-descriptor-error 40 | - connection-refused-error 41 | - invalid-argument-error 42 | - no-buffers-error 43 | - operation-not-supported-error 44 | - operation-not-permitted-error 45 | - protocol-not-supported-error 46 | - socket-type-not-supported-error 47 | - network-unreachable-error 48 | - network-down-error 49 | - network-reset-error 50 | - host-down-error 51 | - host-unreachable-error 52 | - shutdown-error 53 | - timeout-error 54 | - unkown-error 55 | 56 | and these conditions: 57 | 58 | - interrupted-condition 59 | - unkown-condition 60 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/abcl-socket.txt: -------------------------------------------------------------------------------- 1 | 2 | ABCL provides a callback interface to java objects, next to these calls: 3 | 4 | - ext:make-socket 5 | - ext:socket-close 6 | - ext:make-server-socket 7 | - ext:socket-accept 8 | - ext:get-socket-stream (returning an io-stream) 9 | 10 | abcl-swank (see SLIME) shows how to call directly into java. 11 | 12 | 13 | See for the sockets implementation: 14 | 15 | - src/org/armedbear/lisp 16 | * socket.lisp 17 | * socket_stream.java 18 | * SocketStream.java 19 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/active-sockets-apis.txt: -------------------------------------------------------------------------------- 1 | -*- text -*- 2 | 3 | A document to summarizing which API's of the different implementations 4 | are associated with 'Step 1'. 5 | 6 | Interface to be implemented in step 1: 7 | 8 | - socket-connect 9 | - socket-close 10 | - get-host-by-address 11 | - get-hosts-by-name 12 | 13 | (and something to do with errors; maybe move this to step 1a?) 14 | 15 | SBCL 16 | ==== 17 | 18 | sockets: 19 | - socket-bind 20 | - make-instance 'inet-socket 21 | - socket-make-stream 22 | - socket-connect (ip vector-quad) port 23 | - socket-close 24 | 25 | DNS name resolution: 26 | - get-host-by-name 27 | - get-host-by-address 28 | - ::host-ent-addresses 29 | - host-ent-name 30 | 31 | 32 | CMUCL 33 | ===== 34 | 35 | sockets: 36 | - ext:connect-to-inet-socket (ip integer) port 37 | - sys:make-fd-stream 38 | - ext:close-socket 39 | 40 | DNS name resolution: 41 | - ext:host-entry-name 42 | - ext::lookup-host-entry 43 | - ext:host-entry-addr-list 44 | - ext:lookup-host-entry 45 | 46 | 47 | ABCL 48 | ==== 49 | 50 | sockets 51 | - ext:socket-connect (hostname string) port 52 | - ext:get-socket-stream 53 | - ext:socket-close 54 | 55 | 56 | clisp 57 | ===== 58 | 59 | sockets 60 | - socket-connect port (hostname string) 61 | - close (socket) 62 | 63 | 64 | Allegro 65 | ======= 66 | 67 | sockets 68 | - make-socket 69 | - socket-connect 70 | - close 71 | 72 | DNS resolution 73 | - lookup-hostname 74 | - ipaddr-to-hostname 75 | 76 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/address-apis.txt: -------------------------------------------------------------------------------- 1 | 2 | -*- text -*- 3 | 4 | Step 2 of the master plan: Implementing (get-local-address sock) and 5 | (get-peer-address sock). 6 | 7 | 8 | Step 2 is about implementing: 9 | 10 | (get-local-address sock) -> ip 11 | (get-peer-address sock) -> ip 12 | (get-local-port sock) -> port 13 | (get-peer-port sock) -> port 14 | (get-local-name sock) -> ip, port 15 | (get-peer-name sock) -> ip, port 16 | 17 | 18 | ABCL 19 | ==== 20 | 21 | FFI / J-calls to "getLocalAddress"+"getAddress", "getLocalPort" (local) 22 | FFI / J-calls to "getInetAddress"+"getAddress", "getPort" (peer) 23 | 24 | (see SLIME / swank-abcl.lisp for an example on how to do that) 25 | 26 | 27 | Allegro 28 | ======= 29 | 30 | (values (socket:remote-host sock) 31 | (socket:remote-port)) -> 32bit ip, port 32 | 33 | (values (socket:local-host sock) 34 | (socket:local-port sock)) -> 32bit ip, port 35 | 36 | CLISP 37 | ===== 38 | 39 | (socket:socket-stream-local sock nil) -> address (as dotted quad), port 40 | (socket:socket-stream-peer sock nil) -> address (as dotted quad), port 41 | 42 | 43 | CMUCL 44 | ===== 45 | 46 | (ext:get-peer-host-and-port sock-fd) -> 32-bit-addr, port (peer) 47 | (ext:get-socket-host-and-port sock-fd) -> 32-bit-addr, port (local) 48 | 49 | 50 | LispWorks 51 | ========= 52 | 53 | (comm:socket-stream-address sock-stream) -> 32-bit-addr, port 54 | or: (comm:get-socket-address sock) -> 32-bit-addr, port 55 | 56 | (comm:socket-stream-peer-address sock-stream) -> 32-bit-addr, port 57 | or: (comm:get-socket-peer-address sock) -> 32-bit-addr, port 58 | 59 | 60 | OpenMCL 61 | ======= 62 | 63 | (values (ccl:local-host sock) (ccl:local-port sock)) -> 32-bit ip, port 64 | (values (ccl:remote-host sock) (ccl:remote-port sock)) -> 32-bit ip, port 65 | 66 | 67 | SBCL 68 | ==== 69 | 70 | (sb-bsd-sockets:socket-name sock) -> vector-quad, port 71 | (sb-bsd-sockets:socket-peer-name sock) -> vector-quad, port 72 | 73 | 74 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/allegro-socket.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | (require :sock) 4 | 5 | accept-connection (sock passive-socket) &key wait Generic function. 6 | dotted-to-ipaddr dotted &key errorp Function. 7 | ipaddr-to-dotted ipaddr &key values Function. 8 | ipaddr-to-hostname ipaddr Function. 9 | lookup-hostname hostname 10 | lookup-port portname protocol Function. 11 | make-socket &key type format address-family connect &allow-other-keys Function. 12 | with-pending-connect &body body Macro. 13 | receive-from (sock datagram-socket) size &key buffer extract Generic function. 14 | send-to sock &key 15 | shutdown sock &key direction 16 | socket-control stream &key output-chunking output-chunking-eof input-chunking 17 | socket-os-fd sock Generic function. 18 | 19 | remote-host socket Generic function. 20 | local-host socket Generic function. 21 | local-port socket 22 | 23 | remote-filename socket 24 | local-filename socket 25 | remote-port socket 26 | socket-address-family socket 27 | socket-connect socket 28 | socket-format socket 29 | socket-type socket 30 | 31 | errors 32 | 33 | :address-in-use Local socket address already in use 34 | :address-not-available Local socket address not available 35 | :network-down Network is down 36 | :network-reset Network has been reset 37 | :connection-aborted Connection aborted 38 | :connection-reset Connection reset by peer 39 | :no-buffer-space No buffer space 40 | :shutdown Connection shut down 41 | :connection-timed-out Connection timed out 42 | :connection-refused Connection refused 43 | :host-down Host is down 44 | :host-unreachable Host is unreachable 45 | :unknown Unknown error 46 | 47 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/clisp-sockets.txt: -------------------------------------------------------------------------------- 1 | http://clisp.cons.org/impnotes.html#socket 2 | 3 | (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket]) 4 | (SOCKET:SOCKET-SERVER-HOST socket-server) 5 | (SOCKET:SOCKET-SERVER-PORT socket-server) 6 | (SOCKET:SOCKET-WAIT socket-server &OPTIONAL [seconds [microseconds]]) 7 | (SOCKET:SOCKET-ACCEPT socket-server &KEY :ELEMENT-TYPE :EXTERNAL-FORMAT :BUFFERED :TIMEOUT) 8 | (SOCKET:SOCKET-CONNECT port &OPTIONAL [host] &KEY :ELEMENT-TYPE :EXTERNAL-FORMAT :BUFFERED :TIMEOUT) 9 | (SOCKET:SOCKET-STATUS socket-stream-or-list &OPTIONAL [seconds [microseconds]]) 10 | (SOCKET:SOCKET-STREAM-HOST socket-stream) 11 | (SOCKET:SOCKET-STREAM-PORT socket-stream) 12 | (SOCKET:SOCKET-SERVICE-PORT &OPTIONAL service-name (protocol "tcp")) 13 | (SOCKET:SOCKET-STREAM-PEER socket-stream [do-not-resolve-p]) 14 | (SOCKET:SOCKET-STREAM-LOCAL socket-stream [do-not-resolve-p]) 15 | (SOCKET:SOCKET-STREAM-SHUTDOWN socket-stream direction) 16 | (SOCKET:SOCKET-OPTIONS socket-server &REST {option}*) 17 | 18 | 19 | (posix:resolve-host-ipaddr &optional host) 20 | 21 | with the host-ent structure: 22 | 23 | name - host name 24 | aliases - LIST of aliases 25 | addr-list - LIST of IPs as dotted quads (IPv4) or coloned octets (IPv6) 26 | addrtype - INTEGER address type IPv4 or IPv6 27 | 28 | 29 | Errors are of type 30 | 31 | SYSTEM::SIMPLE-OS-ERROR 32 | with a 1 element (integer) SYSTEM::$FORMAT-ARGUMENTS list 33 | 34 | This integer stores the OS error reported; meaning WSA* codes on Win32 35 | and E* codes on *nix, only: unix.lisp in CMUCL shows 36 | BSD, Linux and SRV4 have different number assignments for the same 37 | E* constant names :-( 38 | 39 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/cmucl-sockets.txt: -------------------------------------------------------------------------------- 1 | http://cvs2.cons.org/ftp-area/cmucl/doc/cmu-user/internet.html 2 | 3 | $Id: cmucl-sockets.txt 91 2006-02-13 08:01:51Z ehuelsmann $ 4 | 5 | extensions:lookup-host-entry host 6 | 7 | [structure] 8 | host-entry 9 | 10 | name aliases addr-type addr-list 11 | 12 | [Function] 13 | extensions:create-inet-listener port &optional kind &key :reuse-address :backlog :interface 14 | => socket fd 15 | 16 | [Function] 17 | extensions:accept-tcp-connection unconnected 18 | => socket fd, address 19 | 20 | [Function] 21 | extensions:connect-to-inet-socket host port &optional kind 22 | => socket fd 23 | 24 | [Function] 25 | extensions:close-socket socket 26 | 27 | 28 | 29 | [Private function] 30 | extensions::get-peer-host-and-port socket-fd 31 | 32 | [Private function] 33 | extentsions::get-socket-host-and-port socket-fd 34 | 35 | 36 | 37 | There's currently only 1 condition to be raised: 38 | 39 | SOCKET-ERROR (derived from SIMPLE-ERROR) 40 | which has a SOCKET-ERRNO slot containing the unix error number. 41 | 42 | 43 | 44 | 45 | [Function] 46 | extensions:add-oob-handler fd char handler 47 | 48 | [Function] 49 | extensions:remove-oob-handler fd char 50 | 51 | [Function] 52 | extensions:remove-all-oob-handlers fd 53 | 54 | [Function] 55 | extensions:send-character-out-of-band fd char 56 | 57 | [Function] 58 | extensions:create-inet-socket &optional type 59 | => socket fd 60 | 61 | [Function] 62 | extensions:get-socket-option socket level optname 63 | 64 | [Function] 65 | extensions:set-socket-option socket level optname optval 66 | 67 | [Function] 68 | extensions:ip-string addr 69 | 70 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/errors.txt: -------------------------------------------------------------------------------- 1 | EADDRINUSE 48 address-in-use-error 2 | EADDRNOTAVAIL 49 address-not-available-error 3 | EAGAIN interrupted-error ;; not 1 error code: bsd == 11; non-bsd == 35 4 | EBADF 9 bad-file-descriptor-error 5 | ECONNREFUSED 61 connection-refused-error 6 | EINTR 4 interrupted-error 7 | EINVAL 22 invalid-argument-error 8 | ENOBUFS 55 no-buffers-error 9 | ENOMEM 12 out-of-memory-error 10 | EOPNOTSUPP 45 operation-not-supported-error 11 | EPERM 1 operation-not-permitted-error 12 | EPROTONOSUPPORT 43 protocol-not-supported-error 13 | ESOCKTNOSUPPORT 44 socket-type-not-supported-error 14 | ENETUNREACH 51 network-unreachable-error 15 | ENETDOWN 50 network-down-error 16 | ENETRESET 52 network-reset-error 17 | ESHUTDOWN 58 already-shutdown-error 18 | ETIMEDOUT 60 connection-timeout-error 19 | EHOSTDOWN 64 host-down-error 20 | EHOSTUNREACH 65 host-unreachable-error 21 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/lw-sockets.txt: -------------------------------------------------------------------------------- 1 | 2 | $Id: lw-sockets.txt 91 2006-02-13 08:01:51Z ehuelsmann $ 3 | 4 | http://www.lispworks.com/reference/lwu41/lwref/LWRM_37.HTM 5 | 6 | Package: COMM 7 | 8 | ip-address-string 9 | socket-stream-address 10 | socket-stream-peer-address 11 | start-up-server 12 | start-up-server-and-mp 13 | string-ip-address 14 | with-noticed-socket-stream 15 | 16 | Needed components for usocket: 17 | 18 | comm::get-fd-from-socket socket-fd 19 | => socket-fd 20 | 21 | comm::accept-connection-to-socket socket-fd 22 | => socket-fd 23 | 24 | comm::close-socket 25 | comm::create-tcp-socket-for-service 26 | => socket-fd 27 | 28 | open-tcp-stream peer-host peer-port &key direction element-type 29 | => socket-stream 30 | 31 | get-host-entry (see http://www.lispworks.com/documentation/lw445/LWRM/html/lwref-30.htm#pgfId-897837) 32 | get-socket-address 33 | 34 | get-socket-peer-address 35 | => address, port 36 | 37 | socket-stream socket-fd 38 | => stream 39 | 40 | socket socket-stream (guessed from http://www.lispworks.com/documentation/lw445/LWRM/html/lwref-43.htm) 41 | => socket-fd 42 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/openmcl-sockets.txt: -------------------------------------------------------------------------------- 1 | http://openmcl.clozure.com/Doc/sockets.html 2 | 3 | make-socket [Function] 4 | accept-connection [Function] 5 | dotted-to-ipaddr [Function] 6 | ipaddr-to-dotted [Function] 7 | ipaddr-to-hostname [Function] 8 | lookup-hostname [Function] 9 | lookup-port [Function] 10 | receive-from [Function] 11 | send-to [Function] 12 | shutdown [Function] 13 | socket-os-fd [Function] 14 | remote-port [Function] 15 | local-host [Function] 16 | local-port [Function] 17 | 18 | socket-address-family [Function] 19 | 20 | socket-connect [Function] 21 | socket-format [Function] 22 | socket-type [Function] 23 | socket-error [Class] 24 | socket-error-code [Function] 25 | socket-error-identifier [Function] 26 | socket-error-situation [Function] 27 | close [method] 28 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/notes/usock-sockets.txt: -------------------------------------------------------------------------------- 1 | Package: 2 | 3 | clisp : socket 4 | cmucl : extensions 5 | sbcl : sb-bsd-sockets 6 | lw : comm 7 | openmcl: openmcl-socket 8 | allegro: sock 9 | 10 | Connecting (TCP/inet only) 11 | 12 | clisp : socket-connect port &optional [host] &key :element-type :external-format :buffered :timeout = > socket-stream 13 | cmucl : connect-to-inet-socket host port &optional kind => file descriptor 14 | sbcl : sb-socket-connect socket &rest address => socket 15 | lw : open-tcp-stream hostname service &key direction element-type buffered => stream-object 16 | openmcl: socket-connect socket => :active, :passive or nil 17 | allegro: make-socket (&rest args &key type format connect address-family eol) => socket 18 | 19 | Closing 20 | 21 | clisp : close socket 22 | cmucl : close-socket socket 23 | sbcl : socket-close socket 24 | lw : close socket 25 | openmcl: close socket 26 | allegro: close socket 27 | 28 | Errors -------------------------------------------------------------------------------- /utils/usocket-0.4.1/package.lisp: -------------------------------------------------------------------------------- 1 | ;;;; $Id: package.lisp 452 2008-10-22 07:18:07Z ctian $ 2 | ;;;; $URL: svn+ssh://ehuelsmann@common-lisp.net/project/usocket/svn/usocket/tags/0.4.1/package.lisp $ 3 | 4 | ;;;; See the LICENSE file for licensing information. 5 | 6 | #+lispworks (cl:require "comm") 7 | 8 | (cl:eval-when (:execute :load-toplevel :compile-toplevel) 9 | (cl:defpackage :usocket 10 | (:use :cl) 11 | (:export #:*wildcard-host* 12 | #:*auto-port* 13 | 14 | #:socket-connect ; socket constructors and methods 15 | #:socket-listen 16 | #:socket-accept 17 | #:socket-close 18 | #:get-local-address 19 | #:get-peer-address 20 | #:get-local-port 21 | #:get-peer-port 22 | #:get-local-name 23 | #:get-peer-name 24 | 25 | #:wait-for-input ; waiting for input-ready state (select() like) 26 | #:make-wait-list 27 | #:add-waiter 28 | #:remove-waiter 29 | #:remove-all-waiters 30 | 31 | #:with-connected-socket ; convenience macros 32 | #:with-server-socket 33 | #:with-client-socket 34 | #:with-socket-listener 35 | 36 | #:usocket ; socket object and accessors 37 | #:stream-usocket 38 | #:stream-server-usocket 39 | #:socket 40 | #:socket-stream 41 | 42 | #:host-byte-order ; IP(v4) utility functions 43 | #:hbo-to-dotted-quad 44 | #:hbo-to-vector-quad 45 | #:vector-quad-to-dotted-quad 46 | #:dotted-quad-to-vector-quad 47 | #:ip= 48 | #:ip/= 49 | 50 | #:integer-to-octet-buffer ; Network utility functions 51 | #:octet-buffer-to-integer 52 | #:port-to-octet-buffer 53 | #:port-from-octet-buffer 54 | #:ip-to-octet-buffer 55 | #:ip-from-octet-buffer 56 | 57 | #:with-mapped-conditions 58 | 59 | #:socket-condition ; conditions 60 | #:ns-condition 61 | #:socket-error ; errors 62 | #:ns-error 63 | #:unknown-condition 64 | #:ns-unknown-condition 65 | #:unknown-error 66 | #:ns-unknown-error 67 | 68 | #:insufficient-implementation ; conditions regarding usocket support level 69 | #:unsupported 70 | #:unimplemented 71 | ))) 72 | 73 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/run-usocket-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test script to be run from the usocket source root 4 | # 5 | # Unfortunately, it currently works only with SBCL 6 | # in my setup... 7 | # 8 | # I need to figure out how to setup ASDF with the other lisps 9 | # I have installed: cmucl, ABCL, clisp, allegro and lispworks 10 | 11 | cd `dirname $0`/test 12 | rm tests.log 13 | 14 | if test -z "$1" ; then 15 | lisps=*.conf 16 | else 17 | lisps=$1 18 | fi 19 | 20 | for my_lisp_conf in $lisps ; do 21 | 22 | 23 | args= 24 | lisp_bin= 25 | lisp_name= 26 | lisp_exit="(quit result)" 27 | 28 | . $my_lisp_conf 29 | 30 | if test -z "$lisp_bin" ; then 31 | echo "YOU NEED TO SET A LISP BINARY IN YOUR CONF FILE" 32 | exit 1 33 | fi 34 | 35 | if test -z "$lisp_name" ; then 36 | lisp_name="`basename \"$lisp_bin\"`" 37 | fi 38 | 39 | echo " 40 | #-sbcl (load \"asdf.lisp\") 41 | 42 | (asdf:operate #-sbcl 'asdf:load-source-op 43 | #+sbcl 'asdf:load-op :usocket-test) 44 | 45 | (let ((result (if (usocket-test:do-tests) 1 0))) 46 | $lisp_exit) 47 | " | $lisp_bin $args 48 | 49 | if test $? -eq 1 ; then 50 | echo "PASS: $lisp_name" >> tests.log 51 | else 52 | echo "FAIL: $lisp_name" >> tests.log 53 | fi 54 | 55 | echo "Above the test results gathered for $lisp_name." 56 | 57 | done 58 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/abcl.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args= 4 | 5 | # lisp_bin is required! 6 | lisp_bin=~/src/abcl-0.0.9/abcl 7 | lisp_name=ArmedBear 8 | 9 | # lisp_exit is required! 10 | lisp_exit="(quit :status result)" 11 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/allegro.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args="-batch" 4 | 5 | # lisp_bin is required! 6 | lisp_bin="~/src/acl/acl70_trial/alisp" 7 | lisp_name=Allegro 8 | 9 | # lisp_exit is required! 10 | lisp_exit="(exit result :no-unwind t)" 11 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/clisp.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args= 4 | 5 | # lisp_bin is required! 6 | lisp_bin=clisp 7 | lisp_name=clisp 8 | 9 | # lisp_exit is required! 10 | lisp_exit="(quit result)" 11 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/cmucl.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args= 4 | 5 | # lisp_bin is required! 6 | lisp_bin="~/src/bin/lisp" 7 | lisp_name=CMUCL 8 | 9 | # lisp_exit is required! 10 | lisp_exit="(unix:unix-exit result)" 11 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/package.lisp: -------------------------------------------------------------------------------- 1 | ;;;; $Id: package.lisp 57 2006-02-07 19:39:46Z ehuelsmann $ 2 | ;;;; $URL: svn+ssh://ehuelsmann@common-lisp.net/project/usocket/svn/usocket/tags/0.4.1/test/package.lisp $ 3 | 4 | ;;;; See the LICENSE file for licensing information. 5 | 6 | (in-package :cl-user) 7 | 8 | (eval-when (:execute :load-toplevel :compile-toplevel) 9 | (defpackage :usocket-test 10 | (:use :cl :regression-test) 11 | (:nicknames :usoct) 12 | (:export :do-tests :run-usocket-tests))) 13 | 14 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/sbcl.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args= 4 | 5 | # lisp_bin is required! 6 | lisp_bin=sbcl 7 | lisp_name=SBCL 8 | 9 | # lisp_exit is required! 10 | lisp_exit="(quit status :recklessly-p t)" 11 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/usocket-test.asd: -------------------------------------------------------------------------------- 1 | ;;;; $Id: usocket-test.asd 46 2006-02-06 20:50:07Z ehuelsmann $ 2 | ;;;; $URL: svn+ssh://ehuelsmann@common-lisp.net/project/usocket/svn/usocket/tags/0.4.1/test/usocket-test.asd $ 3 | 4 | ;;;; See the LICENSE file for licensing information. 5 | 6 | (in-package #:cl-user) 7 | 8 | (defpackage #:usocket-test-system 9 | (:use #:cl #:asdf)) 10 | 11 | (in-package #:usocket-test-system) 12 | 13 | (defsystem usocket-test 14 | :name "usocket-test" 15 | :author "Erik Enge" 16 | :version "0.1.0" 17 | :licence "MIT" 18 | :description "Tests for usocket" 19 | :depends-on (:usocket :rt) 20 | :components ((:file "package") 21 | (:file "test-usocket" 22 | :depends-on ("package")))) 23 | -------------------------------------------------------------------------------- /utils/usocket-0.4.1/test/your-lisp.conf.in: -------------------------------------------------------------------------------- 1 | # lisp binary test setup file 2 | 3 | args= 4 | 5 | # lisp_bin is required! 6 | lisp_bin=