;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- ;;; $Header: src/package.lisp $ ;;; Copyright (c) 2008, Andrea Chiumenti. All rights reserved. ;;; Redistribution and use in source and binary forms, with or without ;;; modification, are permitted provided that the following conditions ;;; are met: ;;; * Redistributions of source code must retain the above copyright ;;; notice, this list of conditions and the following disclaimer. ;;; * Redistributions in binary form must reproduce the above ;;; copyright notice, this list of conditions and the following ;;; disclaimer in the documentation and/or other materials ;;; provided with the distribution. ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. (in-package :cl-user) (export 'HUNCHENTOOT::REQUEST-REALM 'HUNCHENTOOT) (export 'HUNCHENTOOT::SESSION-REALM 'HUNCHENTOOT) (defpackage :claw (:use :cl :closer-mop :hunchentoot :alexandria :cl-ppcre :cl-fad :local-time :split-sequence) (:shadow :flatten) (:documentation "A comprehensive web application framework and server for the Common Lisp programming language") (:export :*html-4.01-strict* :*html-4.01-transitional* :*html-4.01-frameset* :*xhtml-1.0-strict* :*xhtml-1.0-transitional* :*xhtml-1.0-frameset* :*rewind-parameter* :*clawserver-base-path* :*apache-http-port* :*apache-https-port* :*empty-tags* :tag-emptyp :strings-to-jsarray :empty-string-p :build-tagf :page :page-external-format :page-url :page-lisplet :page-current-form :page-req-parameter :page-script-files :page-stylesheet-files :page-class-initscripts :page-instance-initscripts :page-current-component :page-body-init-scripts :htcomponent :htcomponent-page :htcomponent-body :htcomponent-empty :htcomponent-client-id :htcomponent-real-id :htcomponent-script-files :htcomponent-stylesheet-files :htcomponent-class-initscripts :htcomponent-instance-initscript :tag :tag-name :tag-attributes :htbody :htscript :htlink :hthead :htstring :$> :$raw> ;empty tags definition :area> :base> :basefont> :br> :col> :frame> :hr> :img> :input> :isindex> :link> :meta> :param> ;standard tags :a> :abbr> :acronym> :address> :applet> :b> :bdo> :big> :blockquote> :body> :button> :caption> :center> :cite> :code> :colgroup> :dd> :del> :dfn> :dir> :div> :dl> :dt> :em> :fieldset> :font> :form> :frameset> :h1> :h2> :h3> :h4> :h5> :h6> :head> :html> :i> :iframe> :ins> :kbd> :label> :legend> :li> :map> :menu> :noframes> :noscript> :object> :ol> :optgroup> :option> :p> :pre> :q> :s> :samp> :script> :select> :small> :span> :strike> :strong> :style> :sub> :sup> :table> :tbody> :td> :textarea> :tfoot> :th> :thead> :title> :tr> :tt> :u> :ul> :var> ;; class modifiers :page-content :generate-id :metacomponent :wcomponent :wcomponent-informal-parameters :wcomponent-allow-informal-parametersp :wcomponent-template :wcomponent-before-rewind :wcomponent-after-rewind :wcomponent-before-prerender :wcomponent-after-prerender :wcomponent-before-render :wcomponent-after-render :cform :form-method :cform> :action :action-link :action-link> :cinput :cinput> :ctextarea :ctextarea> :cinput-file :cinput-file> :cinput-result-as-list-p :ccheckbox :ccheckbox> :cradio :cradio> :cselect :cselect> :csubmit :csubmit> :csubmit-value :submit-link :submit-link> :input-type :ccheckbox-value :css-class :name-attr :lisplet :lisplet-external-format :lisplet-pages :lisplet-register-page-location :lisplet-register-function-location :lisplet-register-resource-location :lisplet-protect :lisplet-authentication-type :claw-start-session :build-lisplet-location ;; clawserver :clawserver :clawserver-base-path :clawserver-register-lisplet :clawserver-unregister-lisplet :clawserver-start :clawserver-stop :clawserver-port :clawserver-sslport :clawserver-address :clawserver-name :clawserver-sslname :clawserver-mod-lisp-p :clawserver-use-apache-log-p :clawserver-input-chunking-p :clawserver-read-timeout :clawserver-write-timeout :clawserver-login-config #+(and :unix (not :win32)) :clawserver-setuid #+(and :unix (not :win32)) :clawserver-setgid #-:hunchentoot-no-ssl :clawserver-ssl-certificate-file #-:hunchentoot-no-ssl :clawserver-ssl-privatekey-file #-:hunchentoot-no-ssl :clawserver-ssl-privatekey-password :add-exception :component-exceptions :msie-p :*id-and-static-id-description* :describe-component-behaviour :describe-html-attributes-from-class-slot-initargs :clawserver-register-configuration :configuration :configuration-login :principal :current-principal :principal-name :principal-roles :current-lisplet :current-server :current-realm :current-page :current-component :user-locale :page-current-component :user-in-role-p :login :register-library-resource ;;i18n :message-dispatcher :message-dispatch :simple-message-dispatcher :simple-message-dispatcher-add-message :with-message :do-message ;;validation :translator :translator-integer :translator-number :translator-boolean :translator-date :translator-file :translator-encode :translator-decode :translator-string-to-type :translator-type-to-string :translator-value-decode :translator-value-encode :translator-value-string-to-type :translator-value-type-to-string :*simple-translator* :*boolean-translator* :*integer-translator* :*number-translator* :*date-translator-ymd* :*date-translator-time* :*file-translator* :*locales* :validate :validation-errors :validation-compliances :add-validation-compliance :component-validation-errors :validate-required :validate-size :validate-range :validate-number :validate-integer :validate-date-range :exception-monitor :exception-monitor>))