r7061: initial property settings
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 7 Sep 2003 06:34:45 +0000 (06:34 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 7 Sep 2003 06:34:45 +0000 (06:34 +0000)
21 files changed:
2/base.lisp
2/data.lisp
2/downloads.lisp
2/htmlgen.lisp
2/lml2-tests.asd
2/lml2.asd
2/package.lisp
2/read-macro.lisp
2/stdsite.lisp
2/tests.lisp
2/utils.lisp
api.lisp
base.lisp
downloads.lisp
lml-tests.asd
lml.asd
package.lisp
read-macro.lisp
stdsite.lisp
tests.lisp
utils.lisp

index ee6598eb231bbd57e3a36311f90e788b939f27d7..91319c26527e25a01f88c1ebd3925c74215f77f3 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: base.lisp,v 1.7 2003/07/12 17:54:05 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index 3d4c3985322ff3837415e5efe325d5925dbbcc78..8480e3b20bf45124c43027566ae1640bdc14eb67 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: data.lisp,v 1.3 2003/07/12 17:54:05 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index f6a0bf4aafb6a4b1ce5f4d984890a4a627080581..36af36d49fe929bde551b40974232524ff2a6758 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.lisp,v 1.6 2003/07/12 18:13:42 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index 710b3681532ab70b2301981ca229e74f30d76a4c..7ec4756dab2f877729d03b794d7849d330d04045 100644 (file)
@@ -1,6 +1,6 @@
 ;; -*- mode: common-lisp; package: lml2 -*-
 ;;
-;; $Id: htmlgen.lisp,v 1.21 2003/08/02 10:03:10 kevin Exp $
+;; $Id$
 ;;
 ;; copyright (c) 1986-2000 Franz Inc, Berkeley, CA 
 ;; copyright (c) 2003 Kevin Rosenberg
index 50f18be3caf5832df1f9d9761d43fafff0c68eb6..9d220bae9d4e6e51d179975b1b2719c104402808 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2003
 ;;;;
-;;;; $Id: lml2-tests.asd,v 1.1 2003/06/20 04:12:29 kevin Exp $
+;;;; $Id$
 ;;;; *************************************************************************
 
 (defpackage #:lml2-tests-system
index bfb45206cce6855a062ce9ed73656099b07e8a97..9f4cfbf3aa1e953ed1d2aec301b0c13e6e8b7196 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: lml2.asd,v 1.3 2003/07/15 19:25:28 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index 805aa68207473208891ec86ba1c0f09b5571bc28..51a515c343d29de7254cde164373b9ffd561b474 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  June 2003
 ;;;;
-;;;; $Id: package.lisp,v 1.6 2003/07/13 04:56:12 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index cea9af9fad10ce4f8b8be485cc5515e929141c56..8e97b9d4cbb72a05cdb27d600781126a3c2ce4ff 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: read-macro.lisp,v 1.2 2003/07/12 17:54:05 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index 259bb80da1d6fbc0b95f02350cd3cd5c3d268ded..aef383be5f87f02032b5eb4cc0c97d0bf934423c 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: stdsite.lisp,v 1.7 2003/07/12 17:54:05 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index 12265fb102831a82c3c5caaff44a665ade8771ee..a364c75214375da88f8534d5d63d67afc34d2582 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2003
 ;;;;
-;;;; $Id: tests.lisp,v 1.3 2003/07/15 19:25:28 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2000-2003 by Kevin Rosenberg.
 ;;;; Rights of modification and redistribution are in the LICENSE file.
index 0eef8e48f6bc930c8d64af243c3fcff9d735ae61..2d2a9d82e818ea33eada60dadfcb7783883fa28d 100644 (file)
@@ -1,89 +1,89 @@
-;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
-;;;; *************************************************************************\r
-;;;; FILE IDENTIFICATION\r
-;;;;\r
-;;;; Name:          utils.lisp\r
-;;;; Purpose:       General purpose utilities\r
-;;;; Author:        Kevin M. Rosenberg\r
-;;;; Date Started:  June 2002\r
-;;;;\r
-;;;; $Id: utils.lisp,v 1.5 2003/07/15 21:49:36 kevin Exp $\r
-;;;;\r
-;;;; This file, part of LML2, is copyrighted and open-source software.\r
-;;;; Rights of modification and redistribution are in the LICENSE file.\r
-;;;;\r
-;;;; *************************************************************************\r
-\r
-(in-package #:lml2)\r
-\r
-(defmacro aif (test then &optional else)\r
-  `(let ((it ,test))\r
-     (if it ,then ,else)))\r
-\r
-(defmacro awhen (test-form &body body)\r
-  `(aif ,test-form\r
-        (progn ,@body)))\r
-\r
-(defun print-file-contents (file &optional (strm *standard-output*))\r
-  "Opens a reads a file. Returns the contents as a single string"\r
-  (when (probe-file file)\r
-    (let ((eof (cons 'eof nil)))\r
-      (with-open-file (in file :direction :input)\r
-        (do ((line (read-line in nil eof) \r
-                   (read-line in nil eof)))\r
-            ((eq line eof))\r
-          (write-string line strm)\r
-          (write-char #\newline strm))))))\r
-\r
-(defun date-string (ut)\r
-  (check-type ut integer)\r
-  (multiple-value-bind (sec min hr day mon year dow daylight-p zone)\r
-      (decode-universal-time ut)\r
-    (declare (ignore daylight-p zone))\r
-    (format nil "~[Mon~;Tue~;Wed~;Thu~;Fri~;Sat~;Sun~], ~d ~[Jan~;Feb~;Mar~;Apr~;May~;Jun~;Jul~;Aug~;Sep~;Oct~;Nov~;Dec~] ~d ~2,'0d:~2,'0d:~2,'0d" \r
-           dow day (1- mon) year hr min sec)))\r
-\r
-(defun lml-quit (&optional (code 0))\r
-  "Function to exit the Lisp implementation."\r
-    #+allegro (excl:exit code)\r
-    #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)\r
-    #+(or cmu scl) (ext:quit code)\r
-    #+cormanlisp (win32:exitprocess code)\r
-    #+gcl (lisp:bye code)\r
-    #+lispworks (lw:quit :status code)\r
-    #+lucid (lcl:quit code)\r
-    #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1)))\r
-    #+openmcl (ccl:quit code)\r
-    #+(and mcl (not openmcl)) (declare (ignore code))\r
-    #+(and mcl (not openmcl)) (ccl:quit)\r
-    #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)\r
-    (error 'not-implemented :proc (list 'quit code)))\r
-\r
-\r
-(defun lml-cwd ()\r
-  "Returns the current working directory. Based on CLOCC's DEFAULT-DIRECTORY function."\r
-  #+allegro (excl:current-directory)\r
-  #+clisp (#+lisp=cl ext:default-directory #-lisp=cl lisp:default-directory)\r
-  #+(or cmu scl) (ext:default-directory)\r
-  #+cormanlisp (ccl:get-current-directory)\r
-  #+lispworks (hcl:get-working-directory)\r
-  #+lucid (lcl:working-directory)\r
-  #+sbcl (sb-unix:posix-getcwd/)\r
-  #+mcl (ccl:mac-default-directory)\r
-  #-(or allegro clisp cmu scl sbcl cormanlisp lispworks lucid mcl) (truename "."))\r
-\r
-\r
-#+ignore\r
-(defun fformat (&rest args)\r
-  (declare (dynamic-extent args))\r
-  (apply (if (find-package 'kmrcl)\r
-            (symbol-function (intern (symbol-name #:fformat)\r
-                                     (symbol-name #:kmrcl)))\r
-            #'format)\r
-        args))\r
-\r
-(defmacro fformat (stream control-string &rest args)\r
-  (if stream\r
-      `(funcall (formatter ,control-string) ,stream ,@args)\r
-      `(format nil ,control-string ,@args)))\r
-  \r
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          utils.lisp
+;;;; Purpose:       General purpose utilities
+;;;; Author:        Kevin M. Rosenberg
+;;;; Date Started:  June 2002
+;;;;
+;;;; $Id$
+;;;;
+;;;; This file, part of LML2, is copyrighted and open-source software.
+;;;; Rights of modification and redistribution are in the LICENSE file.
+;;;;
+;;;; *************************************************************************
+
+(in-package #:lml2)
+
+(defmacro aif (test then &optional else)
+  `(let ((it ,test))
+     (if it ,then ,else)))
+
+(defmacro awhen (test-form &body body)
+  `(aif ,test-form
+        (progn ,@body)))
+
+(defun print-file-contents (file &optional (strm *standard-output*))
+  "Opens a reads a file. Returns the contents as a single string"
+  (when (probe-file file)
+    (let ((eof (cons 'eof nil)))
+      (with-open-file (in file :direction :input)
+        (do ((line (read-line in nil eof) 
+                   (read-line in nil eof)))
+            ((eq line eof))
+          (write-string line strm)
+          (write-char #\newline strm))))))
+
+(defun date-string (ut)
+  (check-type ut integer)
+  (multiple-value-bind (sec min hr day mon year dow daylight-p zone)
+      (decode-universal-time ut)
+    (declare (ignore daylight-p zone))
+    (format nil "~[Mon~;Tue~;Wed~;Thu~;Fri~;Sat~;Sun~], ~d ~[Jan~;Feb~;Mar~;Apr~;May~;Jun~;Jul~;Aug~;Sep~;Oct~;Nov~;Dec~] ~d ~2,'0d:~2,'0d:~2,'0d" 
+           dow day (1- mon) year hr min sec)))
+
+(defun lml-quit (&optional (code 0))
+  "Function to exit the Lisp implementation."
+    #+allegro (excl:exit code)
+    #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)
+    #+(or cmu scl) (ext:quit code)
+    #+cormanlisp (win32:exitprocess code)
+    #+gcl (lisp:bye code)
+    #+lispworks (lw:quit :status code)
+    #+lucid (lcl:quit code)
+    #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1)))
+    #+openmcl (ccl:quit code)
+    #+(and mcl (not openmcl)) (declare (ignore code))
+    #+(and mcl (not openmcl)) (ccl:quit)
+    #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)
+    (error 'not-implemented :proc (list 'quit code)))
+
+
+(defun lml-cwd ()
+  "Returns the current working directory. Based on CLOCC's DEFAULT-DIRECTORY function."
+  #+allegro (excl:current-directory)
+  #+clisp (#+lisp=cl ext:default-directory #-lisp=cl lisp:default-directory)
+  #+(or cmu scl) (ext:default-directory)
+  #+cormanlisp (ccl:get-current-directory)
+  #+lispworks (hcl:get-working-directory)
+  #+lucid (lcl:working-directory)
+  #+sbcl (sb-unix:posix-getcwd/)
+  #+mcl (ccl:mac-default-directory)
+  #-(or allegro clisp cmu scl sbcl cormanlisp lispworks lucid mcl) (truename "."))
+
+
+#+ignore
+(defun fformat (&rest args)
+  (declare (dynamic-extent args))
+  (apply (if (find-package 'kmrcl)
+            (symbol-function (intern (symbol-name #:fformat)
+                                     (symbol-name #:kmrcl)))
+            #'format)
+        args))
+
+(defmacro fformat (stream control-string &rest args)
+  (if stream
+      `(funcall (formatter ,control-string) ,stream ,@args)
+      `(format nil ,control-string ,@args)))
+  
index 6530189687fadf99a533f090f6dfc74d0015ed40..c3c07214a76d298c935774c6a272389211dd8f1c 100644 (file)
--- a/api.lisp
+++ b/api.lisp
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg based on Matthew Danish's code
 ;;;; Date Started:  Nov 2002
 ;;;;
-;;;; $Id: api.lisp,v 1.2 2003/06/06 21:59:30 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;; and Copyright (c) 2002 Matthew Danish
index 5a51d4f31cb694ce04a98839510ef1248be17e6a..9465155a540846d134c1b413e9b5d0c5f4d450f1 100644 (file)
--- a/base.lisp
+++ b/base.lisp
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: base.lisp,v 1.23 2003/06/20 08:35:22 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index bd260e773315b762a63ba095bd5045b07c8a1ebe..d78f776ffcee171a3d52b6804c186a1ba5671f34 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.lisp,v 1.11 2003/06/15 13:49:42 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index 432c49d5399277885e2444d694a3416bbf6abc62..1520de0616713038c3445b0ef6ef500a0b9de8fc 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2003
 ;;;;
-;;;; $Id: lml-tests.asd,v 1.1 2003/06/07 02:26:07 kevin Exp $
+;;;; $Id$
 ;;;; *************************************************************************
 
 (defpackage #:lml-tests-system
diff --git a/lml.asd b/lml.asd
index b07bcb0be26cda36b709829af137a07e3a58890f..d6cb401989d39dfc38e163370b5c1d5182588a01 100644 (file)
--- a/lml.asd
+++ b/lml.asd
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: lml.asd,v 1.15 2003/06/06 21:59:30 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index c753d83b2ed4d0999c578a18596a8c26d3c3d197..d6a10de1dd69e4c1d86fa3811450ddc696584ba3 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: package.lisp,v 1.7 2003/06/07 22:46:04 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index f8740bf441a7aae3d7779a9e93d6189bd5042ca8..d20fe6491f3558d5c28ed8302d2e1f1f320b9e6d 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: read-macro.lisp,v 1.3 2003/06/17 17:50:45 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index 1836d7cdff63aa8710c5ad43b23e892abaa3354b..006fe51df98c411397c070c206fc1725506d59d9 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: stdsite.lisp,v 1.4 2003/06/06 21:59:30 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
index 04012a73a494782be7238d30b2847b3ea3e779e6..3b881f386b3318b5dd144283cbf7fdee41273ea7 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2003
 ;;;;
-;;;; $Id: tests.lisp,v 1.1 2003/06/07 02:26:07 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
 ;;;;
index 6ce238437347d831eb09e705fc639bd4570060db..cc13440f4237f48b21168d13408a407c33b23756 100644 (file)
@@ -1,4 +1,4 @@
-;;; $Id: utils.lisp,v 1.8 2003/06/06 21:59:30 kevin Exp $
+;;; $Id$
 ;;;;
 ;;;; General purpose utilities