X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/1d51a2eea8537084e9e681c297422047ae858989..f4efa7fff2efa6a3144fc664683137df92c42f91:/src/packages.lisp?ds=sidebyside diff --git a/src/packages.lisp b/src/packages.lisp dissimilarity index 88% index ba61e89..44a6977 100644 --- a/src/packages.lisp +++ b/src/packages.lisp @@ -1,106 +1,53 @@ -(defpackage :lisp-on-lines - (:use :arnesi - ;:iterate - ;:meta-model - :common-lisp - ;:it.bese.ucw - ;:clsql - :contextl) - (:nicknames :lol :mewa) - - #+nil(:shadowing-import-from - :ucw - :parent) - - #+nil(:shadowing-import-from - :iterate - :with) - -#+nil (:shadowing-import-from - :clsql - :time-difference - :make-time - :time-ymd - :date-ymd - :date - :get-time - :time-element - :time+ - :date-element) - - (:export - - #:find-description - #:ensure-description - #:define-description - - #:define-display - #:display - #:*display* - #:*object* - - #:find-attribute - #:attribute-label - - - - ;;;; CLSQL meta-model/default attributes definers - ;;;; TODO: should be moved to meta-model, - ;;;; with lol specific function implemented like the - ;;;; CLOS meta-model - :define-view-for-table - :define-views-for-database - - - ;;;; The LoL 3 displays - #:defdisplay - #:defdescription - #:defattribute - #:display - #:display* - #:display-using-description - #:display-attribute - #:call-display - - #:standard-attribute - #:attribute.name - -;;;; Standard Layers - - #:editor - #:one-line - #:as-string - #:as-table -;;;; Wrapping layers - #:wrap-div - #:wrap-link - - #:show-attribute-labels - ;;;; "Lines", the newest creation. - :defline - - ;;;; A macro shortcut for creating ucw actions - :action - - ;;;; Mewa Exports - :find-occurence - - ;;attributes - :attributes - :attribute-value - :define-attributes - :with-default-attributes - :set-default-attributes - :set-attribute - :find-attribute - - ;; Some CRUD - #:crud - #:crud-editor - #:crud-viewer - #:crud-summary - #:crud-database - #:instance)) - -(cl:defpackage #:lol-test - (:use :cl :lisp-on-lines :stefil :contextl)) \ No newline at end of file +(defpackage #:lisp-on-lines + (:use + :common-lisp + #:contextl + #:closer-mop + #:postmodern + #:alexandria) + (:nicknames #:lol) + (:export + +;; ROFL stuff here temporarily + #:standard-db-access-class + #:make-object-from-plist + #:described-db-access-class + #:select-only + #:select + #:insert-into + #:select-objects + #:select-only-n-objects + +;; Descriptions + #:find-description + #:description-of + #:define-description + #:described-object + #:described-class + #:described-standard-class + #:with-active-descriptions + #:with-inactive-descriptions + + ;; Displays + #:define-display + #:display + #:display-using-description + #:*display* + #:*object* + + ;; Attributes + #:find-attribute + #:attribute + #:attributes + #:attribute-label + #:attribute-function + #:attribute-value + #:active-attributes + + ;; Standard Library + #:editable + #:string-attribute-editor + #:number-attribute-editor + #:password-attribute-editor)) + +