r10724: change from ftp to http access for boa
[kmrcl.git] / package.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          package.lisp
6 ;;;; Purpose:       Package definition for kmrcl package
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Apr 2000
9 ;;;;
10 ;;;; $Id$
11 ;;;;
12 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; KMRCL users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
18
19 (in-package #:cl-user)
20
21 (defpackage #:kmrcl
22   (:nicknames #:kl)
23   (:use #:cl)
24   (:export
25    #:ensure-integer
26    #:mklist
27    #:filter
28    #:map-and-remove-nils
29    #:appendnew
30    #:memo-proc
31    #:memoize
32    #:defun-memo
33    #:_f
34    #:compose
35    #:until
36    #:while
37    #:for
38
39    ;; strings.lisp
40    #:string-trim-whitespace
41    #:string-left-trim-whitespace
42    #:string-right-trim-whitespace
43    #:mapappend
44    #:mapcar-append-string
45    #:mapcar2-append-string
46    #:position-char
47    #:position-not-char
48    #:delimited-string-to-list
49    #:string-delimited-string-to-list
50    #:list-to-delimited-string
51    #:prefixed-fixnum-string
52    #:integer-string
53    #:fast-string-search
54    #:string-substitute
55    #:string-to-list-skip-delimiter
56    #:string-starts-with
57    #:count-string-char
58    #:count-string-char-if
59    #:hexchar
60    #:charhex
61    #:encode-uri-string
62    #:decode-uri-string
63    #:non-alphanumericp
64    #:random-string
65    #:first-char
66    #:last-char
67    #:ensure-string
68    #:string-right-trim-one-char
69    #:string-strip-ending
70    #:string-maybe-shorten
71    #:string-elide
72    #:shrink-vector
73    #:collapse-whitespace
74    #:string->list
75    #:trim-non-alphanumeric
76    
77    ;; io.lisp
78    #:indent-spaces
79    #:indent-html-spaces
80    #:print-n-chars
81    #:print-n-strings
82    #:print-list
83    #:print-rows
84    #:write-fixnum
85    #:file-subst
86    #:stream-subst
87    #:null-output-stream
88    #:directory-tree
89    #:write-utime-hms
90    #:write-utime-hm
91    #:write-utime-ymdhms
92    #:write-utime-ymdhm
93    #:write-utime-hms-stream
94    #:write-utime-hm-stream
95    #:write-utime-ymdhms-stream
96    #:write-utime-ymdhm-stream
97    #:with-utime-decoding
98    #:with-utime-decoding-utc-offset
99    #:is-dst
100    #:year
101    #:month
102    #:day-of-month
103    #:hour
104    #:minute
105    #:second
106    #:daylight-p
107    #:zone
108    #:day-of-month
109    #:day-of-week
110    #:+datetime-number-strings+   
111    #:utc-offset
112    #:copy-binary-stream
113
114    ;; impl.lisp
115    #:probe-directory
116    #:cwd
117    #:quit
118    #:command-line-arguments
119    #:copy-file
120    #:run-shell-command
121
122    ;; lists.lisp
123    #:remove-from-tree-if
124    #:find-tree
125    #:with-each-file-line
126    #:with-each-stream-line
127    #:remove-keyword
128    #:remove-keywords
129    #:append-sublists
130    #:alist-elem-p
131    #:alistp
132    #:get-alist
133    #:update-alist
134    #:alist-plist
135    #:plist-alist
136    #:update-plist
137    #:get-plist
138    #:flatten
139    #:unique-slot-values
140    
141    ;; seq.lisp
142    #:nsubseq
143    
144    ;; math.lisp
145    #:ensure-integer
146    #:histogram
147    #:fixnum-width
148    #:scaled-epsilon
149    #:sinc
150    #:numbers-within-percentage
151
152    ;; macros.lisp
153    #:time-iterations
154    #:time-seconds
155    #:in
156    #:mean
157    #:with-gensyms
158    #:let-if
159    #:let-when
160    #:aif
161    #:awhen
162    #:awhile
163    #:aand
164    #:acond
165    #:alambda
166    #:it
167    #:mac
168    #:mv-bind
169    #:deflex
170    #:def-cached-vector
171    #:def-cached-instance
172    #:with-ignore-errors
173    #:ppmx
174    #:defconstant*
175    #:defvar-unbound
176    
177    ;; files.lisp
178    #:print-file-contents
179    #:read-stream-to-string
180    #:read-file-to-string
181    #:read-file-to-usb8-array
182    #:read-stream-to-strings
183    #:read-file-to-strings
184    
185    ;; strings.lisp
186    #:string-append
187    #:count-string-words
188    #:substitute-string-for-char
189    #:string-trim-last-character
190    #:nstring-trim-last-character
191    #:string-hash
192    #:is-string-empty
193    #:is-char-whitespace
194    #:not-whitespace-char
195    #:is-string-whitespace
196    #:string-invert
197    #:escape-xml-string
198    #:make-usb8-array
199    #:usb8-array-to-string
200    #:string-to-usb8-array
201    #:substitute-chars-strings
202    #:add-sql-quotes
203    #:escape-backslashes
204    #:concat-separated-strings
205    #:print-separated-strings
206    #:lex-string
207    #:split-alphanumeric-string
208    
209    ;; strmatch.lisp
210    #:score-multiword-match
211    #:multiword-match
212    
213    ;; symbols.lisp
214    #:ensure-keyword
215    #:ensure-keyword-upcase
216    #:ensure-keyword-default-case
217    #:concat-symbol
218    #:concat-symbol-pkg
219    #:show
220    #:show-variables
221    #:show-functions
222    
223    ;; From attrib-class.lisp
224    #:attributes-class
225    #:slot-attribute
226    #:slot-attributes
227
228    #:generalized-equal
229
230    ;; From buffered input
231    
232    #:make-fields-buffer
233    #:read-buffered-fields
234    
235    ;; From datetime.lisp
236    #:pretty-date
237    #:date-string
238    #:print-float-units
239    #:print-seconds
240    #:posix-time-to-utime
241    #:utime-to-posix-time
242    
243    ;; From random.lisp
244    #:seed-random-generator
245    #:random-choice
246    
247    ;; From repl.lisp
248    #:make-repl
249    #:init/repl
250    
251    ;; From web-utils
252    #:*base-url*
253    #:base-url!
254    #:make-url
255    #:*standard-html-header*
256    #:*standard-xhtml-header*
257    #:*standard-xml-header*
258    #:user-agent-ie-p
259    #:decode-uri-query-string
260    #:split-uri-query-string
261    
262    ;; From xml-utils
263    #:sgml-header-stream
264    #:xml-tag-contents
265    #:positions-xml-tag-contents
266    #:cdata-string
267    #:write-cdata
268    
269    ;; From console
270    #:*console-msgs*
271    #:cmsg
272    #:cmsg-c
273    #:cmsg-add
274    #:cmsg-remove
275    #:fixme
276
277    ;; byte-stream
278    #:make-binary-array-output-stream
279    #:get-output-stream-data
280    #:dump-output-stream-data
281    #:make-byte-array-input-stream
282
283    ;; sockets.lisp
284    #:make-active-socket
285    #:close-active-socket
286    
287    ;; listener.lisp
288    #:init/listener
289    #:stop-all/listener
290    #:listener
291    
292    ;; fformat.lisp
293    #:fformat
294
295    ;; os.lisp
296    #:command-output
297    #:run-shell-command-output-stream
298    #:delete-directory-and-files
299    #:file-size
300    #:getpid
301
302    ;; color.lisp
303    #:rgb->hsv
304    #:rgb255->hsv255
305    #:hsv->rgb
306    #:hsv255->rgb255
307    #:hsv-equal
308    #:hsv255-equal
309    #:hsv-similar
310    #:hsv255-similar
311    #:hue-difference
312    #:hue-difference-fixnum
313    ))
314
315
316