interface.lisp 6.76 KB
Newer Older
1 2 3
;;;; ---------------------------------------------------------------------------
;;;; Handle ASDF package upgrade, including implementation-dependent magic.

4
(uiop/package:define-package :asdf/interface
5
  (:nicknames :asdf :asdf-utilities)
6 7 8
  (:recycle :asdf/interface :asdf)
  (:unintern
   #:loaded-systems ; makes for annoying SLIME completion
9
   #:output-files-for-system-and-operation) ; ASDF-BINARY-LOCATION function we use to detect ABL
10
  (:use :uiop/common-lisp :uiop :asdf/upgrade :asdf/session
11
   :asdf/component :asdf/system :asdf/system-registry :asdf/find-component
12 13
   :asdf/operation :asdf/action :asdf/lisp-action
   :asdf/output-translations :asdf/source-registry
14 15
   :asdf/forcing :asdf/plan :asdf/operate :asdf/find-system :asdf/parse-defsystem
   :asdf/bundle :asdf/concatenate-source
16
   :asdf/backward-internals :asdf/backward-interface :asdf/package-inferred-system)
17 18
  ;; Note: (1) we are NOT automatically reexporting everything from previous packages.
  ;; (2) we only reexport UIOP functionality when backward-compatibility requires it.
19
  (:export
20
   #:defsystem #:find-system #:load-asd #:locate-system #:coerce-name #:primary-system-name
21
   #:oos #:operate #:make-plan #:perform-plan #:sequential-plan
22
   #:system-definition-pathname
23
   #:search-for-system-definition #:find-component #:component-find-path
24
   #:compile-system #:load-system #:load-systems #:load-systems*
25
   #:require-system #:test-system #:clear-system
26 27
   #:operation #:make-operation #:find-operation
   #:upward-operation #:downward-operation #:sideway-operation #:selfward-operation
28
                      #:non-propagating-operation
29
   #:build-op #:make
30
   #:load-op #:prepare-op #:compile-op
Robert Goldman's avatar
Robert Goldman committed
31
   #:prepare-source-op #:load-source-op #:test-op #:define-op
32 33
   #:feature #:version #:version-satisfies #:upgrade-asdf
   #:implementation-identifier #:implementation-type #:hostname
34
   #:input-files #:output-files #:output-file #:perform #:perform-with-restarts
35
   #:operation-done-p #:explain #:action-description #:component-sideway-dependencies
36
   #:needed-in-image-p
37
   #:component-load-dependencies #:run-shell-command ; deprecated, do not use
38
   #:bundle-op #:monolithic-bundle-op #:precompiled-system #:compiled-file #:bundle-system
39
   #:program-system
40 41
   #:basic-compile-bundle-op #:prepare-bundle-op
   #:compile-bundle-op #:load-bundle-op #:monolithic-compile-bundle-op #:monolithic-load-bundle-op
42 43
   #:lib-op #:dll-op #:deliver-asd-op #:program-op #:image-op
   #:monolithic-lib-op #:monolithic-dll-op #:monolithic-deliver-asd-op
44 45 46 47 48 49 50 51 52
   #:concatenate-source-op
   #:load-concatenated-source-op
   #:compile-concatenated-source-op
   #:load-compiled-concatenated-source-op
   #:monolithic-concatenate-source-op
   #:monolithic-load-concatenated-source-op
   #:monolithic-compile-concatenated-source-op
   #:monolithic-load-compiled-concatenated-source-op
   #:operation-monolithic-p
53
   #:required-components
54
   #:component-loaded-p
55 56

   #:component #:parent-component #:child-component #:system #:module
57
   #:file-component #:source-file #:c-source-file #:java-source-file
58
   #:cl-source-file #:cl-source-file.cl #:cl-source-file.lsp
59
   #:static-file #:doc-file #:html-file
60 61
   #:file-type #:source-file-type

62 63
   #:register-preloaded-system #:sysdef-preloaded-system-search
   #:register-immutable-system #:sysdef-immutable-system-search
64

65 66
   #:package-inferred-system #:register-system-packages
   #:package-system ;; backward-compatibility during migration, to be removed in a further release.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81

   #:component-children          ; component accessors
   #:component-children-by-name
   #:component-pathname
   #:component-relative-pathname
   #:component-name
   #:component-version
   #:component-parent
   #:component-system
   #:component-encoding
   #:component-external-format

   #:component-depends-on ; backward-compatible name rather than action-depends-on
   #:module-components ; backward-compatibility
   #:operation-on-warnings #:operation-on-failure ; backward-compatibility
82
   #:component-property ; backward-compatibility
83
   #:traverse ; backward-compatibility
84 85 86 87 88 89 90 91 92 93

   #:system-description
   #:system-long-description
   #:system-author
   #:system-maintainer
   #:system-license
   #:system-licence
   #:system-source-file
   #:system-source-directory
   #:system-relative-pathname
94
   #:system-homepage
95
   #:system-mailto
96
   #:system-bug-tracker
97 98
   #:system-long-name
   #:system-source-control
99
   #:map-systems
100 101 102
   #:system-defsystem-depends-on
   #:system-depends-on
   #:system-weakly-depends-on
103 104 105 106 107 108

   #:*system-definition-search-functions*   ; variables
   #:*central-registry*
   #:*compile-file-warnings-behaviour*
   #:*compile-file-failure-behaviour*
   #:*resolve-symlinks*
109
   #:*asdf-verbose* ;; unused. For backward-compatibility only.
110 111 112 113
   #:*verbose-out*

   #:asdf-version

114 115 116
   #:compile-condition #:compile-file-error #:compile-warned-error #:compile-failed-error
   #:compile-warned-warning #:compile-failed-warning
   #:operation-error #:compile-failed #:compile-warned #:compile-error ;; backward compatibility
117 118 119 120 121 122 123 124 125 126
   #:error-name
   #:error-pathname
   #:load-system-definition-error
   #:error-component #:error-operation
   #:system-definition-error
   #:missing-component
   #:missing-component-of-version
   #:missing-dependency
   #:missing-dependency-of-version
   #:circular-dependency        ; errors
127
   #:duplicate-names #:non-toplevel-system #:non-system-system #:bad-system-name #:system-out-of-date
128
   #:package-inferred-system-missing-package-error
129
   #:operation-definition-warning #:operation-definition-error
130

131
   #:try-recompiling ; restarts
132
   #:retry
133
   #:accept
134 135
   #:coerce-entry-to-directory
   #:remove-entry-from-registry
136
   #:clear-configuration-and-retry
137

138 139 140 141 142 143 144 145 146 147 148 149 150 151 152

   #:*encoding-detection-hook*
   #:*encoding-external-format-hook*
   #:*default-encoding*
   #:*utf-8-external-format*

   #:clear-configuration
   #:*output-translations-parameter*
   #:initialize-output-translations
   #:disable-output-translations
   #:clear-output-translations
   #:ensure-output-translations
   #:apply-output-translations
   #:compile-file*
   #:compile-file-pathname*
153
   #:*warnings-file-type* #:enable-deferred-warnings-check #:disable-deferred-warnings-check
154 155 156 157 158 159 160 161
   #:enable-asdf-binary-locations-compatibility
   #:*default-source-registries*
   #:*source-registry-parameter*
   #:initialize-source-registry
   #:compute-source-registry
   #:clear-source-registry
   #:ensure-source-registry
   #:process-source-registry
162 163
   #:system-registered-p ;; DEPRECATED
   #:registered-system #:registered-systems #:already-loaded-systems
164 165
   #:resolve-location
   #:asdf-message
166
   #:*user-cache*
167 168 169 170 171 172 173
   #:user-output-translations-pathname
   #:system-output-translations-pathname
   #:user-output-translations-directory-pathname
   #:system-output-translations-directory-pathname
   #:user-source-registry
   #:system-source-registry
   #:user-source-registry-directory
174 175
   #:system-source-registry-directory
   ))
176