2.26.75: detach asdf-driver from asdf. Make it work.
authorFrancois-Rene Rideau <tunes@google.com>
Fri, 11 Jan 2013 15:48:55 +0000 (10:48 -0500)
committerFrancois-Rene Rideau <tunes@google.com>
Fri, 11 Jan 2013 15:48:55 +0000 (10:48 -0500)
19 files changed:
action.lisp
asdf-driver.asd [new file with mode: 0644]
asdf.asd
backward-interface.lisp
bundle.lisp
component.lisp
configuration.lisp
doc/index.html
find-component.lisp
generate-asdf.asd
header.lisp
lisp-build.lisp
operate.lisp
output-translations.lisp
pathname.lisp
plan.lisp
source-registry.lisp
system.lisp
upgrade.lisp

index df7b54d..c8d79fa 100644 (file)
    #:perform #:perform-with-restarts #:retry #:accept))
 (in-package :asdf/action)
 
-(when-upgrade ()
-  (undefine-functions
-   '(explain output-files perform perform-with-restarts
-     operation-done-p compute-action-stamp component-depends-on mark-operation-done)))
-
 (deftype action () '(cons operation component)) ;; a step to be performed while building the system
 
 ;;;; self-description
diff --git a/asdf-driver.asd b/asdf-driver.asd
new file mode 100644 (file)
index 0000000..1cc19f6
--- /dev/null
@@ -0,0 +1,18 @@
+;;; -*- mode: lisp -*-
+
+(defsystem :asdf-driver
+  :licence "MIT"
+  :description "Basic general-purpose utilities used by ASDF"
+  :long-description "Basic general-purpose utilities that is in such a need
+that you can't portably construct a complete program without using them."
+  :components
+  ((:file "header")
+   (:file "package")
+   (:file "compatibility" :depends-on ("package"))
+   (:file "utility" :depends-on ("compatibility"))
+   (:file "pathname" :depends-on ("utility"))
+   (:file "stream" :depends-on ("utility"))
+   (:file "os" :depends-on ("pathname" "stream"))
+   (:file "image" :depends-on ("os"))
+   (:file "run-program" :depends-on ("os"))
+   (:file "lisp-build" :depends-on ("pathname"))))
index 7e80e8d..e0ec421 100644 (file)
--- a/asdf.asd
+++ b/asdf.asd
@@ -15,7 +15,7 @@
   :licence "MIT"
   :description "Another System Definition Facility"
   :long-description "ASDF builds Common Lisp software organized into defined systems."
-  :version "2.26.74" ;; to be automatically updated by bin/bump-revision
+  :version "2.26.75" ;; to be automatically updated by bin/bump-revision
   :depends-on ()
   :components ((:module "build" :components ((:file "asdf")))))
 
@@ -23,5 +23,6 @@
     ((o compile-op)
      (c (eql (first (module-components
                      (first (module-components (find-system :asdf))))))))
-  (declare (ignorable o))
-  (perform (make-instance 'load-source-op) c))
+  (declare (ignorable o c))
+  #-asdf2.27 (perform (make-instance 'load-source-op) c)
+  #+asdf2.27 (perform (make-instance 'monolithic-load-concatenated-source-op) (find-system 'generate-asdf)))
index 8caae23..e56d232 100644 (file)
@@ -18,8 +18,6 @@
    #:system-definition-pathname))
 (in-package :asdf/backward-interface)
 
-(when-upgrade () (undefine-function 'component-load-dependencies))
-
 (defun* component-load-dependencies (component)
   ;; Old deprecated name for the same thing. Please update your software.
   (component-sibling-dependencies component))
index 4609c96..0cd3e24 100644 (file)
@@ -22,8 +22,6 @@
    #:system-fasl))
 (in-package :asdf/bundle)
 
-(when-upgrade () (undefine-function 'trivial-system-p))
-
 (defclass bundle-op (operation)
   ((build-args :initarg :args :initform nil :accessor bundle-op-build-args)
    (name-suffix :initarg :name-suffix :initform nil)
index 4bc3d67..eb7b7bb 100644 (file)
@@ -27,8 +27,6 @@
    #:*default-encoding* #:*utf-8-external-format*))
 (in-package :asdf/component)
 
-(when-upgrade () (undefine-functions '(component-relative-pathname source-file-type)))
-
 (defgeneric* component-name (component)
   (:documentation "Name of the COMPONENT, unique relative to its parent"))
 (defgeneric* component-system (component)
index d9988fc..70370b7 100644 (file)
@@ -17,8 +17,6 @@
    #:resolve-relative-location-component #:resolve-absolute-location-component))
 (in-package :asdf/configuration)
 
-(when-upgrade () (undefine-function 'resolve-location))
-
 (define-condition invalid-configuration ()
   ((form :reader condition-form :initarg :form)
    (location :reader condition-location :initarg :location)
index 5163e78..314ec43 100644 (file)
@@ -78,7 +78,7 @@
           (free software successor of the old proprietary DEFSYSTEM's and predecessor of ASDF),
           Sean Ross's <a href="http://sean-ross.blogspot.com/search/label/mudballs">mudballs</a>
           (aborted attempt at making things cleaner than in ASDF),
-          Peter Jetter's <a href="http://www.cliki.net/faslpath">faslpath</a>
+          Peter Etter's <a href="http://www.cliki.net/faslpath">faslpath</a>
           (a much simpler system establishing a mapping between packages and files),
           Alexander Kahl's <a href="http://www.cliki.net/evol">evol</a>
           (a reimplementation of the GNU autotools stack in Lisp),
index 3db1cff..1d0a741 100644 (file)
@@ -16,8 +16,6 @@
    #:missing-required-by #:missing-version))
 (in-package :asdf/find-component)
 
-(when-upgrade () (undefine-function 'find-component))
-
 ;;;; Missing component conditions
 
 (define-condition missing-component-of-version (missing-component)
index 0ea8ab5..8500b59 100644 (file)
@@ -2,59 +2,32 @@
 
 (defsystem :generate-asdf
   :licence "MIT"
-  :description "Generate a monolithic asdf.lisp from all its components"
+  :description "All the components needed to build asdf.lisp"
+  :description "Generate asdf.lisp based on this and monolithic-concatenate-source-op"
   ;; :defsystem-depends-on (:asdf/bundle)
   :class :concatenated-source-system
   ;; :include-dependencies t
   :translate-output-p nil
   :concatenated-source-file "tmp/generated-asdf.lisp"
-#|
-  :depends-on (:asdf-header
-               :asdf-package
-               :asdf-portability
-               :asdf-utility
-               :asdf-pathname
-               :asdf-upgrade
-               :asdf-interface
-               :asdf-lisp-build
-               :asdf-action
-               :asdf-bundle
-               :asdf-backward-compat
-               :asdf-footer))
-|#
   :serial t
   :components
-  ((:file "header")
-   (:module
-    "utils" :pathname "" :components
-    ((:file "package")
-     (:file "compatibility" :depends-on ("package"))
-     (:file "utility" :depends-on ("compatibility"))
-     (:file "pathname" :depends-on ("utility"))
-     (:file "stream" :depends-on ("utility"))
-     (:file "os" :depends-on ("pathname" "streams"))
-     (:file "image" :depends-on ("os"))
-     (:file "run-program" :depends-on ("os"))
-     (:file "lisp-build" :depends-on ("pathname"))))
-   (:module
-    "code" :pathname "" :components
-     (:file "upgrade")
-     (:file "component")
-     (:file "system" :depends-on ("component"))
-     (:file "find-system" :depends-on ("system"))
-     (:file "find-component" :depends-on ("find-system"))
-     (:file "operation")
-     (:file "action" :depends-on ("find-component" "operation"))
-     (:file "lisp-action" :depends-on ("action" "lisp-build"))
-     (:file "plan" :depends-on ("action"))
-     (:file "operate" :depends-on ("plan"))
-     (:file "configuration")
-     (:file "output-translations" :depends-on ("configuration" "operate"))
-     (:file "source-registry" :depends-on ("configuration" "find-system"))
-     (:file "backward-internals" :depends-on ("action" "operate"))
-     (:file "defsystem" :depends-on ("backward-internals"))
-     (:file "bundle" :depends-on ("lisp-action"))
-     (:file "concatenate-source" :depends-on ("lisp-action"))
-     (:file "backward-interface" :depends-on ("lisp-action")))
+  ((:file "upgrade")
+   (:file "component")
+   (:file "system" :depends-on ("component"))
+   (:file "find-system" :depends-on ("system"))
+   (:file "find-component" :depends-on ("find-system"))
+   (:file "operation")
+   (:file "action" :depends-on ("find-component" "operation"))
+   (:file "lisp-action" :depends-on ("action" "lisp-build"))
+   (:file "plan" :depends-on ("action"))
+   (:file "operate" :depends-on ("plan"))
+   (:file "configuration")
+   (:file "output-translations" :depends-on ("configuration" "operate"))
+   (:file "source-registry" :depends-on ("configuration" "find-system"))
+   (:file "backward-internals" :depends-on ("action" "operate"))
+   (:file "defsystem" :depends-on ("backward-internals"))
+   (:file "bundle" :depends-on ("lisp-action"))
+   (:file "concatenate-source" :depends-on ("lisp-action"))
+   (:file "backward-interface" :depends-on ("lisp-action"))
    (:file "interface")
-   (:file "footer" :depends-on ("interface")))))
+   (:file "footer" :depends-on ("interface"))))
index e472f14..b645a18 100644 (file)
@@ -1,5 +1,5 @@
 ;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; coding: utf-8 -*-
-;;; This is ASDF 2.26.74: Another System Definition Facility.
+;;; This is ASDF 2.26.75: Another System Definition Facility.
 ;;;
 ;;; Feedback, bug reports, and patches are all welcome:
 ;;; please mail to <asdf-devel@common-lisp.net>.
index 986ec99..c742bcf 100644 (file)
@@ -16,8 +16,6 @@
    #:combine-fasls))
 (in-package :asdf/lisp-build)
 
-(eval-when (:compile-toplevel :load-toplevel :execute) (undefine-function 'compile-file*))
-
 (defvar *compile-file-warnings-behaviour*
   (or #+clisp :ignore :warn)
   "How should ASDF react if it encounters a warning when compiling a file?
index eaac663..99a91f7 100644 (file)
@@ -15,8 +15,6 @@
    #:upgrade-asdf #:cleanup-upgraded-asdf #:*post-upgrade-hook*))
 (in-package :asdf/operate)
 
-(when-upgrade () (undefine-function 'operate))
-
 (defgeneric* operate (operation-class system &key &allow-other-keys))
 
 (defun* cleanup-upgraded-asdf ()
index 12da803..4c08556 100644 (file)
@@ -20,8 +20,6 @@
    ))
 (in-package :asdf/output-translations)
 
-(when-upgrade () (undefine-functions '(apply-output-translations (setf output-translations))))
-
 (define-condition invalid-output-translation (invalid-configuration warning)
   ((format :initform (compatfmt "~@<Invalid asdf output-translation ~S~@[ in ~S~]~@{ ~@?~}~@:>"))))
 
index c09499d..098eb8a 100644 (file)
@@ -54,8 +54,6 @@
    #:parse-file-location-info #:parse-windows-shortcut))
 (in-package :asdf/pathname)
 
-(eval-when (:compile-toplevel :load-toplevel :execute) (fmakunbound 'translate-pathname*))
-
 ;;; User-visible parameters
 (defvar *resolve-symlinks* t
   "Determine whether or not ASDF resolves symlinks when defining systems.
index 60b7127..ce3ae40 100644 (file)
--- a/plan.lisp
+++ b/plan.lisp
@@ -24,8 +24,6 @@
    #:perform-plan #:plan-operates-on-p))
 (in-package :asdf/plan)
 
-(when-upgrade () (undefine-functions '(traverse perform-plan traverse-action)))
-
 ;;;; Planned action status
 
 (defgeneric* plan-action-status (plan operation component)
index c0e6372..e2bdea1 100644 (file)
    #:sysdef-source-registry-search))
 (in-package :asdf/source-registry)
 
-(when-upgrade ()
-  (undefine-functions '(inherit-source-registry process-source-registry
-                        process-source-registry-directive)))
-
 (define-condition invalid-source-registry (invalid-configuration warning)
   ((format :initform (compatfmt "~@<Invalid source registry ~S~@[ in ~S~]~@{ ~@?~}~@:>"))))
 
index 255adf4..f3d9560 100644 (file)
    #:system-defsystem-depends-on))
 (in-package :asdf/system)
 
-(when-upgrade ()
-  (undefine-functions '(find-system system-source-file
-                        system-relative-pathname builtin-system-p)))
-
 (defgeneric* find-system (system &optional error-p))
 (declaim (ftype (function (t t) t) probe-asd))
 
index d8c3b9e..1e5b43e 100644 (file)
@@ -31,7 +31,7 @@
          ;; "2.345.6" would be a development version in the official upstream
          ;; "2.345.0.7" would be your seventh local modification of official release 2.345
          ;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
-         (asdf-version "2.26.74")
+         (asdf-version "2.26.75")
          (existing-asdf (find-class (find-symbol* :component :asdf nil) nil))
          (existing-version *asdf-version*)
          (already-there (equal asdf-version existing-version)))