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

4
(asdf/package:define-package :asdf/interface
5
  (:nicknames :asdf :asdf-utilities)
6
7
  (:recycle :asdf/interface :asdf)
  (:unintern
8
   #:*asdf-revision* #:around #:asdf-method-combination
9
10
11
12
   #:do-traverse #:do-dep #:do-one-dep #:visit-action #:component-visited-p
   #:split #:make-collector
   #:loaded-systems ; makes for annoying SLIME completion
   #:output-files-for-system-and-operation) ; obsolete ASDF-BINARY-LOCATION function
13
  (:use :asdf/common-lisp :asdf/driver :asdf/upgrade :asdf/cache
14
   :asdf/component :asdf/system :asdf/find-system :asdf/find-component
15
16
   :asdf/operation :asdf/action :asdf/lisp-action
   :asdf/output-translations :asdf/source-registry
17
   :asdf/plan :asdf/operate :asdf/defsystem :asdf/bundle :asdf/concatenate-source
18
19
   :asdf/backward-internals :asdf/backward-interface)
  ;; TODO: automatically generate interface with reexport?
20
21
22
23
24
25
26
  (:export
   #:defsystem #:find-system #:locate-system #:coerce-name
   #:oos #:operate #:traverse #:perform-plan
   #:system-definition-pathname #:with-system-definitions
   #:search-for-system-definition #:find-component #:component-find-path
   #:compile-system #:load-system #:load-systems
   #:require-system #:test-system #:clear-system
27
28
   #:operation #:make-operation #:find-operation
   #:upward-operation #:downward-operation #:sideway-operation #:selfward-operation
29
30
   #:build-system #:build-op
   #:load-op #:prepare-op #:compile-op
31
32
33
34
   #:prepare-source-op #:load-source-op #:test-op
   #:feature #:version #:version-satisfies #:upgrade-asdf
   #:implementation-identifier #:implementation-type #:hostname
   #:input-files #:output-files #:output-file #:perform
35
   #:operation-done-p #:explain #:action-description #:component-sideway-dependencies
36
   #:needed-in-image-p
37
   ;; #:run-program ; we can't export it, because SB-GROVEL :use's both ASDF and SB-EXT.
38
   #:component-load-dependencies #:run-shell-command ; deprecated, do not use
39
   #:bundle-op #:monolithic-bundle-op #:precompiled-system #:compiled-file #:bundle-system
40
   #+ecl #:make-build
41
42
43
   #:basic-fasl-op #:prepare-fasl-op #:fasl-op #:load-fasl-op #:monolithic-fasl-op
   #:lib-op #:dll-op #:binary-op #:program-op
   #:monolithic-lib-op #:monolithic-dll-op #:monolithic-binary-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
   #:file-type
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
   #:source-file-type

   #: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
77
   #:component-property ; backward-compatibility
78
79
80
81
82
83
84
85
86
87

   #:system-description
   #:system-long-description
   #:system-author
   #:system-maintainer
   #:system-license
   #:system-licence
   #:system-source-file
   #:system-source-directory
   #:system-relative-pathname
88
   #:system-homepage
89
   #:system-mailto
90
   #:system-bug-tracker
91
92
   #:system-long-name
   #:system-source-control
93
94
95
96
97
98
99
100
   #:map-systems

   #:*system-definition-search-functions*   ; variables
   #:*central-registry*
   #:*compile-file-warnings-behaviour*
   #:*compile-file-failure-behaviour*
   #:*resolve-symlinks*
   #:*load-system-operation*
101
   #:*asdf-verbose* ;; unused. For backward-compatibility only.
102
103
104
105
   #:*verbose-out*

   #:asdf-version

106
107
108
   #: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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
   #: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
   #:duplicate-names

   #:try-recompiling
   #:retry
   #:accept                     ; restarts
   #:coerce-entry-to-directory
   #:remove-entry-from-registry

   #:*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*
141
   #:*warnings-file-type* #:enable-deferred-warnings-check #:disable-deferred-warnings-check
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
   #: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
   #:system-registered-p #:registered-systems #:already-loaded-systems
   #:resolve-location
   #:asdf-message
   #: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
   #:system-source-registry-directory))
161